.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH MSVCRT__chdrive 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBMSVCRT__chdrive\fR (MSVCRT.@) .SH SYNOPSIS int CDECL MSVCRT__chdrive ( int \fInewdrive\fR ) .SH DESCRIPTION .PP Change the current drive. .SH PARAMS \fInewdrive\fR \fB[In]\fR Drive number to change to (\fB1\fR = \fB'A'\fR, \fB2\fR = \fB'B'\fR, \fB...\fR). .PP .SH RETURNS .PP \fBSuccess:\fR \fB0.\fR The current drive is set to \fInewdrive\fR. .PP \fBFailure:\fR \fB-1.\fR errno indicates the error. .SH NOTES .PP See \fBSetCurrentDirectoryA(3w)\fR. .SH IMPLEMENTATION .PP Not declared in a Wine header. The function is either undocumented, or missing from Wine. .PP Implemented in \fB"dlls/msvcrt/dir.c"\fR. .PP Debug channel \fB"msvcrt"\fR.