#ifndef _NTLDR_H
#if (PHNT_MODE != PHNT_MODE_KERNEL)
#if (PHNT_VERSION >= PHNT_WINDOWS_8)
// rev
/**
* The LdrSetDllDirectory routine adds a directory to the search path used to locate DLLs for the application.
*
* \param PathName The directory to be added to the search path. If this parameter is NULL, the function restores the default search order.
* \return NTSTATUS Successful or errant status.
* \sa https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-setdlldirectoryw
*/
NTSYSAPI
NTSTATUS
NTAPI
LdrSetDllDirectory(
_In_ PCUNICODE_STRING PathName
);
View code on GitHubNo description available.