We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9b3003 commit d6fb2c0Copy full SHA for d6fb2c0
main.c
@@ -6,7 +6,7 @@ ds_open_handle(
6
PWCHAR pwPath
7
)
8
{
9
- return CreateFileW(pwPath, GENERIC_READ | SYNCHRONIZE | DELETE, FILE_SHARE_READ, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
+ return CreateFileW(pwPath, DELETE, 0, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
10
}
11
12
static
0 commit comments