char* CDECL _getdcwd ( int drive, char* buf, int size )
Get the current working directory on a given disk.
|drive||[In]||Drive letter to get the current working directory from.|
|buf||[Out]||Destination for the current working directory.|
|size||[In]||Length of drive in characters.|
Success: If drive is NULL, returns an allocated string containing the path. Otherwise populates drive with the path and returns it.
Failure: NULL. errno indicates the error.
Declared in "msvcrt/direct.h". https://source.winehq.org/source/include/msvcrt/direct.h
Implemented in "dlls/msvcrt/dir.c". https://source.winehq.org/source/dlls/msvcrt/dir.c
Debug channel "msvcrt".
Copyright © 2021 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Oct 2021.