GetLogicalDriveStrings function Null safety kernel32

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

Fills a buffer with strings that specify valid drives in the system.

DWORD GetLogicalDriveStringsW(
  DWORD  nBufferLength,
  LPWSTR lpBuffer
);

Implementation

int GetLogicalDriveStrings(int nBufferLength, Pointer<Utf16> lpBuffer) =>
    _GetLogicalDriveStrings(nBufferLength, lpBuffer);