GetDllDirectory function Null safety kernel32

int GetDllDirectory(
  1. int nBufferLength,
  2. Pointer<Utf16> lpBuffer
)

Retrieves the application-specific portion of the search path used to locate DLLs for the application.

DWORD GetDllDirectoryW(
  DWORD  nBufferLength,
  LPWSTR lpBuffer
);

Implementation

int GetDllDirectory(int nBufferLength, Pointer<Utf16> lpBuffer) =>
    _GetDllDirectory(nBufferLength, lpBuffer);