MSVCRT__getdrive(3w)

MSVCRT__getdrive3w

Usage

int CDECL MSVCRT__getdrive
(
)

Overview

Get the current drive number.

Params

None.

Returns

Success: The drive letter number from 1 to 26 ("A:" to "Z:").

Failure: 0.

Implementation

Declared in "msvcrt.h".

Implemented in "dlls/msvcrt/dir.c".

Debug channel "msvcrt".

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.