NAME

_chdrive  (MSVCRT.@)

SYNOPSIS

 int CDECL  _chdrive
 (
  int newdrive
 )

DESCRIPTION

Change the current drive.

PARAMS

newdrive [In] Drive number to change to (1 = 'A', 2 = 'B', ...).

RETURNS

Success: 0. The current drive is set to newdrive.

Failure: -1. errno indicates the error.

NOTES

See SetCurrentDirectoryA.

IMPLEMENTATION

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 Dec 2024.