I have a code which works fine:
HANDLE hEvent = CreateEvent(NULL, TRUE, FALSE, L"Global\\MyEvent");
But when I run it from the low integrity process, the hEvent is 0 and GetLastError()
returns ERROR_ACCESS_DENIED.
How can I create an event in this case?