GetVolumePathNamesForVolumeName function kernel32
Retrieves a list of drive letters and mounted folder paths for the specified volume.
BOOL GetVolumePathNamesForVolumeNameW(
LPCWSTR lpszVolumeName,
LPWCH lpszVolumePathNames,
DWORD cchBufferLength,
PDWORD lpcchReturnLength
);
Implementation
int GetVolumePathNamesForVolumeName(
Pointer<Utf16> lpszVolumeName,
Pointer<Utf16> lpszVolumePathNames,
int cchBufferLength,
Pointer<Uint32> lpcchReturnLength,
) => _GetVolumePathNamesForVolumeName(
lpszVolumeName,
lpszVolumePathNames,
cchBufferLength,
lpcchReturnLength,
);