mirror of
https://github.com/reactos/wine.git
synced 2024-11-26 05:00:30 +00:00
1e37a18171
Sun Aug 18 12:17:54 1996 Alexandre Julliard <julliard@lrc.epfl.ch> * [files/drive.c] Added 'Filesystem' option in drives configuration. * [files/dos_fs.c] Added handling of case-insensitive filesystems. * [memory/selector.c] [include/stackframe.h] Removed MAKE_SEGPTR. * [misc/commdlg.c] [multimedia/mcistring.c] Replaced MAKE_SEGPTR by the SEGPTR_* macros. * [objects/bitblt.c] [windows/graphics.c] Use an intermediary pixmap to avoid some BadMatch errors on XGetImage(). Sun Aug 18 09:21:27 1996 Albrecht Kleine <kleine@ak.sax.de> * [windows/message.c] Added handling of WM_NC...mouse messages in JOURNALRECORD hook. * [misc/ver.c] Fixed a bad string result in VerQueryValue[16|32A|32W]. Fri Aug 16 19:55:04 1996 Marcus Meissner <msmeissn@cip.informatik.uni-erlangen.de> * [if1632/crtdll.spec] [misc/crtdll.c] More additions to get win95 programs further down the road. * [if1632/kernel.spec] [loader/module.c] GetModuleName() added. LoadModule(): params->showCmd can be NULL. * [if1632/kernel32.spec] [if1632/thunk.c] ThunkConnect32() stub added. * [loader/resource.c] Entries include lastentry. * [misc/shell.c] [files/file.c] Made progman work again. Fri Aug 16 09:00:00 1996 Alex Korobka <alex@phm30.pharm.sunysb.edu> * [windows/defwnd.c] [windows/winpos.c] [windows/painting.c] Icon painting fixes. * [windows/winpos.c] [windows/painting.c] Enforce and follow hrgnUpdate more closely to cut down on redundant RedrawWindow() calls. * [windows/event.c] Process ConfigureNotify only for managed windows. * [windows/winpos.c] Do not redraw parent if the window was hidden before SetWindowPos(). * [windows/nonclient.c] Omit some nonclient decoration painting for managed windows. * [controls/menu.c] [windows/mdi.c] [windows/nonclient.c] Implemented WM_NEXTMENU. * [controls/listbox.c] Multicolumn listboxes return WVR_VREDRAW on WM_NCCALCSIZE. * [misc/shell.c] Added .ICO file handling to ExtractIcon().
48 lines
1.3 KiB
C
48 lines
1.3 KiB
C
/*
|
|
* DOS drive handling declarations
|
|
*
|
|
* Copyright 1995 Alexandre Julliard
|
|
*/
|
|
|
|
#ifndef __WINE_DRIVE_H
|
|
#define __WINE_DRIVE_H
|
|
|
|
#include "wintypes.h"
|
|
|
|
#define MAX_DOS_DRIVES 26
|
|
|
|
typedef enum
|
|
{
|
|
TYPE_FLOPPY,
|
|
TYPE_HD,
|
|
TYPE_CDROM,
|
|
TYPE_NETWORK,
|
|
TYPE_INVALID
|
|
} DRIVETYPE;
|
|
|
|
/* Drive flags */
|
|
|
|
#define DRIVE_DISABLED 0x0001 /* Drive is disabled */
|
|
#define DRIVE_SHORT_NAMES 0x0002 /* Drive fs has 8.3 file names */
|
|
#define DRIVE_CASE_SENSITIVE 0x0004 /* Drive fs is case sensitive */
|
|
#define DRIVE_CASE_PRESERVING 0x0008 /* Drive fs is case preserving */
|
|
|
|
extern int DRIVE_Init(void);
|
|
extern int DRIVE_IsValid( int drive );
|
|
extern int DRIVE_GetCurrentDrive(void);
|
|
extern int DRIVE_SetCurrentDrive( int drive );
|
|
extern int DRIVE_FindDriveRoot( const char **path );
|
|
extern const char * DRIVE_GetRoot( int drive );
|
|
extern const char * DRIVE_GetDosCwd( int drive );
|
|
extern const char * DRIVE_GetUnixCwd( int drive );
|
|
extern const char * DRIVE_GetLabel( int drive );
|
|
extern DWORD DRIVE_GetSerialNumber( int drive );
|
|
extern int DRIVE_SetSerialNumber( int drive, DWORD serial );
|
|
extern DRIVETYPE DRIVE_GetType( int drive );
|
|
extern UINT32 DRIVE_GetFlags( int drive );
|
|
extern int DRIVE_Chdir( int drive, const char *path );
|
|
extern int DRIVE_Disable( int drive );
|
|
extern int DRIVE_Enable( int drive );
|
|
|
|
#endif /* __WINE_DRIVE_H */
|