GetDriveType function kernel32
Determines whether a disk drive is a removable, fixed, CD-ROM, RAM disk, or network drive.
UINT GetDriveTypeW(
LPCWSTR lpRootPathName
);
Implementation
int GetDriveType(Pointer<Utf16> lpRootPathName) =>
_GetDriveType(lpRootPathName);