Release 960114
[wine/gsoc-2012-control.git] / include / drive.h
blobab9fa9d9dc0bf5f8685fc24e7d150ccf8810a16b
1 /*
2 * DOS drive handling declarations
4 * Copyright 1995 Alexandre Julliard
5 */
7 #ifndef __WINE_DRIVE_H
8 #define __WINE_DRIVE_H
10 #include "wintypes.h"
12 #define MAX_DOS_DRIVES 26
14 extern int DRIVE_Init(void);
15 extern int DRIVE_IsValid( int drive );
16 extern int DRIVE_GetCurrentDrive(void);
17 extern int DRIVE_SetCurrentDrive( int drive );
18 extern int DRIVE_FindDriveRoot( const char **path );
19 extern const char * DRIVE_GetRoot( int drive );
20 extern const char * DRIVE_GetDosCwd( int drive );
21 extern const char * DRIVE_GetUnixCwd( int drive );
22 extern const char * DRIVE_GetLabel( int drive );
23 extern DWORD DRIVE_GetSerialNumber( int drive );
24 extern int DRIVE_SetSerialNumber( int drive, DWORD serial );
25 extern int DRIVE_Chdir( int drive, const char *path );
26 extern int DRIVE_Disable( int drive );
27 extern int DRIVE_Enable( int drive );
29 #endif /* __WINE_DRIVE_H */