#ifndef _NTRTL_H
/**
* The RtlGetCurrentDirectory_U routine retrieves the current directory for the current process.
*
* \param BufferLength The length of the buffer for the current directory string, in WCHARs. The buffer length must include room for a terminating null character.
* \param Buffer A pointer to the buffer that receives the current directory string.
* \return If the function succeeds, the return value specifies the number of characters that are written to the buffer, not including the terminating null character.
* \sa https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-getcurrentdirectory
*/
NTSYSAPI
ULONG
NTAPI
RtlGetCurrentDirectory_U(
_In_ ULONG BufferLength,
_Out_writes_bytes_(BufferLength) PWSTR Buffer
);
View code on GitHub
No description available.