Added some missing GUIDs.
[wine] / include / drive.h
1 /*
2  * DOS drive handling declarations
3  *
4  * Copyright 1995 Alexandre Julliard
5  */
6
7 #ifndef __WINE_DRIVE_H
8 #define __WINE_DRIVE_H
9
10 #include "windef.h"
11
12 #define MAX_DOS_DRIVES  26
13
14 /* Drive flags */
15
16 #define DRIVE_DISABLED        0x0001  /* Drive is disabled */
17 #define DRIVE_SHORT_NAMES     0x0002  /* Drive fs has 8.3 file names */
18 #define DRIVE_CASE_SENSITIVE  0x0004  /* Drive fs is case sensitive */
19 #define DRIVE_CASE_PRESERVING 0x0008  /* Drive fs is case preserving */
20 #define DRIVE_FAIL_READ_ONLY  0x0010  /* Fail opening read-only files for writing */
21 #define DRIVE_READ_VOL_INFO   0x0020  /* Try to read volume info from the device? */
22
23 extern int DRIVE_Init(void);
24 extern int DRIVE_IsValid( int drive );
25 extern int DRIVE_GetCurrentDrive(void);
26 extern int DRIVE_SetCurrentDrive( int drive );
27 extern int DRIVE_FindDriveRoot( const char **path );
28 extern const char * DRIVE_GetRoot( int drive );
29 extern const char * DRIVE_GetDosCwd( int drive );
30 extern const char * DRIVE_GetUnixCwd( int drive );
31 extern const char * DRIVE_GetDevice( int drive );
32 extern const char * DRIVE_GetLabel( int drive );
33 extern DWORD DRIVE_GetSerialNumber( int drive );
34 extern int DRIVE_SetSerialNumber( int drive, DWORD serial );
35 extern UINT DRIVE_GetFlags( int drive );
36 extern int DRIVE_Chdir( int drive, const char *path );
37 extern int DRIVE_Disable( int drive  );
38 extern int DRIVE_Enable( int drive  );
39 extern int DRIVE_SetLogicalMapping ( int existing_drive, int new_drive );
40 extern int DRIVE_OpenDevice( int drive, int flags );
41 extern int DRIVE_RawRead(BYTE drive, DWORD begin, DWORD length, BYTE *dataptr, BOOL fake_success );
42 extern int DRIVE_RawWrite(BYTE drive, DWORD begin, DWORD length, BYTE *dataptr, BOOL fake_success );
43 extern char *DRIVE_BuildEnv(void);
44
45 #endif  /* __WINE_DRIVE_H */