.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH MSVCRT__getdcwd 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBMSVCRT__getdcwd\fR (MSVCRT.@) .SH SYNOPSIS char* CDECL MSVCRT__getdcwd ( int \fIdrive\fR, char* \fIbuf\fR, int \fIsize\fR ) .SH DESCRIPTION .PP Get the current working directory on a given disk. .SH PARAMS \fIdrive\fR \fB[In]\fR Drive letter to get the current working directory from. .PP \fIbuf\fR \fB[Out]\fR Destination for the current working directory. .PP \fIsize\fR \fB[In]\fR Length of \fIdrive\fR in characters. .PP .SH RETURNS .PP \fBSuccess:\fR If \fIdrive\fR is \fBNULL\fR, returns an allocated string containing the path. Otherwise populates \fIdrive\fR with the path and returns it. .PP \fBFailure:\fR \fBNULL\fR. errno indicates the error. .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.