GetSystemDirectory function kernel32

int GetSystemDirectory(
  1. Pointer<Utf16> lpBuffer,
  2. int uSize
)

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);