#ifndef _NTLDR_H
#if (PHNT_MODE != PHNT_MODE_KERNEL)
#if (PHNT_VERSION >= PHNT_WINDOWS_8)
// rev
/**
* The LdrGetDllDirectory routine retrieves the application-specific portion of the search path used to locate DLLs for the application.
*
* \param PathName A pointer to a buffer that receives the application-specific portion of the search path.
* \return NTSTATUS Successful or errant status.
* \sa https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-getdlldirectoryw
*/
NTSYSAPI
NTSTATUS
NTAPI
LdrGetDllDirectory(
_Out_ PUNICODE_STRING PathName
);
View code on GitHubNo description available.