_chdrive (MSVCRT.@)
int CDECL _chdrive ( int newdrive )
Change the current drive.
newdrive | [In] | Drive number to change to (1 = 'A', 2 = 'B', ...). |
Success: 0. The current drive is set to newdrive.
Failure: -1. errno indicates the error.
See SetCurrentDirectoryA.
Declared in "include/msvcrt/direct.h". gitlab.winehq.org/wine/wine/blob/master/include/msvcrt/direct.h
Implemented in "dlls/msvcrt/dir.c". gitlab.winehq.org/wine/wine/blob/master/dlls/msvcrt/dir.c
Debug channel "msvcrt".
Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Nov 2024.