winfsp unit tests and fixes
This commit is contained in:
parent
2d74fb30de
commit
2bd847b833
@ -256,7 +256,7 @@ TYPED_TEST(winfsp_test, delete_can_delete_on_close_after_mapping) {
|
|||||||
16U * sys_info.dwAllocationGranularity, nullptr);
|
16U * sys_info.dwAllocationGranularity, nullptr);
|
||||||
EXPECT_TRUE(mapping != 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);
|
EXPECT_TRUE(view != nullptr);
|
||||||
|
|
||||||
for (PUINT8 ptr = reinterpret_cast<PUINT8>(view),
|
for (PUINT8 ptr = reinterpret_cast<PUINT8>(view),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user