GetVolumePathName function kernel32
Retrieves the volume mount point where the specified path is mounted.
BOOL GetVolumePathNameW(
LPCWSTR lpszFileName,
LPWSTR lpszVolumePathName,
DWORD cchBufferLength);
Implementation
int GetVolumePathName(Pointer<Utf16> lpszFileName,
Pointer<Utf16> lpszVolumePathName, int cchBufferLength) =>
_GetVolumePathName(lpszFileName, lpszVolumePathName, cchBufferLength);