Annotation of uae/src/od-win32/win32gui.h, revision 1.1.1.2

1.1       root        1: #ifndef WIN32GUI_H
                      2: #define WIN32GUI_H
                      3: 
                      4: #define MAXJOYSTICKS 2
                      5: 
                      6: #define MAX_BUFFER_SIZE    256
                      7: #define NUM_DRIVES         16
                      8: 
                      9: typedef struct
                     10: {
                     11:     char path[256];
                     12:     char name[256];
                     13:     uae_u16 rw;
                     14:     uae_u8  sectors;
                     15:     uae_u8  surfaces;
                     16:     uae_u8  reserved;
                     17:     uae_u8  hardfile;
                     18:     uae_u16 spare;
                     19: } drive_specs;
                     20: 
                     21: extern drive_specs drives[NUM_DRIVES];
                     22: 
                     23: #define CFG_DESCRIPTION_LENGTH 128
                     24: #define CFG_SER_LENGTH 256
                     25: #define CFG_ROM_LENGTH 256
                     26: #define CFG_PAR_LENGTH 256
                     27: #define CFG_KEY_LENGTH 256
                     28: 
                     29: #define CONFIG_VERSION_MAJOR 1
                     30: #define CONFIG_VERSION_MINOR 2
                     31: 
                     32: #define DIRECT_SOUND_ENABLED 0x01
                     33: #define AHI_ENABLED          0x02
1.1.1.2 ! root       34: 
        !            35: #define CONFIG_SAVE   0
        !            36: #define CONFIG_LOAD   1
        !            37: #define CONFIG_SAVE_FULL 2
        !            38: #define CONFIG_LOAD_FULL 3
        !            39: #define CONFIG_DELETE 4
1.1       root       40: 
                     41: typedef struct
                     42: {
                     43:     char  Name[ MAX_PATH ];
                     44:     char  Description[ CFG_DESCRIPTION_LENGTH ];
                     45: } ConfigStruct, *ConfigStructPtr;
                     46: 
1.1.1.2 ! root       47: void WIN32GUI_LoadUIString( DWORD id, char *string, DWORD dwStringLen );
        !            48: void WIN32GUI_DisplayGUI( int drive );
1.1       root       49: extern int GetSettings (int all_options);
1.1.1.2 ! root       50: extern void DiskSelection( HWND hDlg, WPARAM wParam, int flag, struct uae_prefs *prefs );
        !            51: ConfigStructPtr AllocateConfigStruct( void );
        !            52: void FreeConfigStruct( ConfigStructPtr cfgptr );
        !            53: ConfigStructPtr GetFirstConfigEntry( HANDLE *file_handle, LPWIN32_FIND_DATA find_data );
        !            54: ConfigStructPtr GetNextConfigEntry( HANDLE *file_handle, LPWIN32_FIND_DATA find_data );
        !            55: void HandleConfiguration( HWND hDlg, int flag );
        !            56: void InitializeListView( HWND hDlg );
1.1       root       57: #endif

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.