For the complete documentation index, see llms.txt. This page is also available as Markdown.

LdrLoadDll

[DllImport("ntdll.dll", ExactSpelling = true)]
[DefaultDllImportSearchPaths(DllImportSearchPath.System32)]
public static extern unsafe NTSTATUS LdrLoadDll(
    [Optional] char* PathToFile,
    [Optional] uint Flags,
    UNICODE_STRING* ModuleFileName,
    HANDLE* ModuleHandle);

Last updated