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

Function EraLoadLibraryW

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

Source from the content-addressed store, hash-verified

861 HANDLE Result = TrueCreateFile2(lpFileName, dwDesiredAccess, dwShareMode, dwCreationDisposition, pCreateExParams);
862
863 return Result;
864}
865
866EXTERN_C BOOL __stdcall EraCreateDirectoryA(LPCSTR lpPathName, LPSECURITY_ATTRIBUTES lpSecurityAttributes)
867{
868 USES_CONVERSION;
869 LPCWSTR PathName = A2W(lpPathName);
870 FixRelativePath(PathName);
871 BOOL Result = TrueCreateDirectoryW(PathName, lpSecurityAttributes);
872
873 return Result;
874}
875
876EXTERN_C BOOL __stdcall EraCreateDirectoryW(LPCWSTR lpPathName, LPSECURITY_ATTRIBUTES lpSecurityAttributes)
877{
878 FixRelativePath(lpPathName);
879 BOOL Result = TrueCreateDirectoryW(lpPathName, lpSecurityAttributes);
880
881 return Result;
882}
883
884EXTERN_C HMODULE __stdcall EraLoadLibraryExA(LPCSTR lpLibFileName, _Reserved_ HANDLE hFile, _In_ DWORD dwFlags)
885{
886 USES_CONVERSION;
887 LPCWSTR LibName = A2W(lpLibFileName);

Callers

nothing calls this directly

Calls 4

PatchNeededImportsFunction · 0.85
GetRuntimeModuleFunction · 0.85
dataMethod · 0.80
c_strMethod · 0.80

Tested by

no test coverage detected