winfsp unit tests and fixes

This commit is contained in:
Scott E. Graves 2024-11-08 10:17:43 -06:00
parent 2d74fb30de
commit 2bd847b833

View File

@ -256,7 +256,7 @@ TYPED_TEST(winfsp_test, delete_can_delete_on_close_after_mapping) {
16U * sys_info.dwAllocationGranularity, nullptr);
EXPECT_TRUE(mapping != nullptr);
auto *view = MapViewOfFile(mapping, FILE_MAP_ALL_ACCESS, 0, 0, 0);
auto *view = ::MapViewOfFile(mapping, FILE_MAP_ALL_ACCESS, 0, 0, 0);
EXPECT_TRUE(view != nullptr);
for (PUINT8 ptr = reinterpret_cast<PUINT8>(view),