FindFirstVolume function Null safety kernel32

int FindFirstVolume(
  1. Pointer<Utf16> lpszVolumeName,
  2. int cchBufferLength
)

Retrieves the name of a volume on a computer. FindFirstVolume is used to begin scanning the volumes of a computer.

HANDLE FindFirstVolumeW(
  LPWSTR lpszVolumeName,
  DWORD  cchBufferLength
);

Implementation

int FindFirstVolume(Pointer<Utf16> lpszVolumeName, int cchBufferLength) =>
    _FindFirstVolume(lpszVolumeName, cchBufferLength);