Scroll to navigation

GetDriveType16(3w) Wine API GetDriveType16(3w)

NAME

GetDriveType16 (KRNL386.136)

SYNOPSIS

UINT16 GetDriveType16
(
UINT16 drive
)
 

PARAMS

[In] number (NOT letter) of drive.
 

DESCRIPTION

Get the type of a drive in Win16.
 

RETURNS

The type of the Drive. For a list see GetDriveTypeW from kernel32.
 

NOTES

Note that it returns DRIVE_REMOTE for CD-ROMs, since MSCDEX uses the remote drive API. The return value DRIVE_REMOTE for CD-ROMs has been verified on Win 3.11 and Windows(tm) 95. Some programs rely on it, so don't do any pseudo-clever changes.
 

IMPLEMENTATION

Declared in "wine/winbase16.h".
Implemented in "dlls/krnl386.exe16/file.c".
Debug channel "file".
Oct 2012 Wine API