_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 "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 © 2023 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Sep 2023.