MCPcopy Create free account
hub / github.com/WinDurango/WinDurango / EraCreateFileA

Function EraCreateFileA

projects/WinDurango.KernelX/src/kernelx.cpp:811–821  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

809 lpFileName = convert.data();
810 }
811}
812
813EXTERN_C HANDLE __stdcall EraCreateFileW(LPCWSTR lpFileName, DWORD dwDesiredAccess, DWORD dwShareMode,
814 LPSECURITY_ATTRIBUTES lpSecurityAttributes, DWORD dwCreationDisposition,
815 DWORD dwFlagsAndAttributes, HANDLE hTemplateFile)
816{
817 // We do this so we have a Logan event copy, so we know when AcpHal tries to communicate via DeviceIoControl.
818 if (wcscmp(lpFileName, L"\\\\?\\acpi_hal#logan#0#{f764922a-de30-40a5-a66e-c46cb191a1cd}") == 0)
819 {
820 HANDLE Event = CreateEventW(NULL, FALSE, FALSE, NULL);
821 LoganHandle = Event;
822
823 LoganInit();
824 SetLastError(ERROR_SUCCESS);

Callers

nothing calls this directly

Calls 1

FixRelativePathFunction · 0.85

Tested by

no test coverage detected