GetSystemDirectory function kernel32
Retrieves the path of the system directory. The system directory contains system files such as dynamic-link libraries and drivers.
UINT GetSystemDirectoryW(
LPWSTR lpBuffer,
UINT uSize
);
Implementation
int GetSystemDirectory(Pointer<Utf16> lpBuffer, int uSize) =>
_GetSystemDirectory(lpBuffer, uSize);