---
name: "GetDriveType16"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/GetDriveType16"
---

# 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"**.
