QueryDosDevice function kernel32
Retrieves information about MS-DOS device names. The function can obtain the current mapping for a particular MS-DOS device name. The function can also obtain a list of all existing MS-DOS device names.
DWORD QueryDosDeviceW(
LPCWSTR lpDeviceName,
LPWSTR lpTargetPath,
DWORD ucchMax
);
Implementation
int QueryDosDevice(
Pointer<Utf16> lpDeviceName,
Pointer<Utf16> lpTargetPath,
int ucchMax,
) => _QueryDosDevice(lpDeviceName, lpTargetPath, ucchMax);