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 497bb29 commit 2393c41Copy full SHA for 2393c41
Source/ProcMonDebugOutput/ProcMonDebugOutput.cpp
@@ -18,10 +18,8 @@ HANDLE OpenProcessMonitorLogger(void)
18
// I'm attempting the open every time because the user could start
19
// Process Monitor after their process.
20
g_hDevice = ::CreateFile(L"\\\\.\\Global\\ProcmonDebugLogger",
21
- GENERIC_READ | GENERIC_WRITE,
22
- FILE_SHARE_READ |
23
- FILE_SHARE_WRITE |
24
- FILE_SHARE_DELETE,
+ GENERIC_WRITE,
+ FILE_SHARE_WRITE,
25
NULL,
26
OPEN_EXISTING,
27
FILE_ATTRIBUTE_NORMAL,
0 commit comments