GetDriveType function Null safety kernel32

int GetDriveType(
  1. Pointer<Utf16> lpRootPathName
)

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);