Moved DCX_* constants to winuser.h.
[wine/multimedia.git] / include / options.h
blobd2a3db64d784b4204f740c287dc7492d168695f9
1 /*
2 * Command-line options.
4 * Copyright 1994 Alexandre Julliard
5 */
7 #ifndef __WINE_OPTIONS_H
8 #define __WINE_OPTIONS_H
10 #include "windef.h"
12 struct options
14 int managed; /* Managed windows */
17 extern struct options Options;
18 extern const char *argv0;
19 extern const char *full_argv0;
20 extern unsigned int server_startticks;
22 extern void OPTIONS_Usage(void) WINE_NORETURN;
23 extern void OPTIONS_ParseOptions( char *argv[] );
25 /* Profile functions */
27 extern int PROFILE_LoadWineIni(void);
28 extern void PROFILE_UsageWineIni(void);
29 extern int PROFILE_GetWineIniString( const char *section, const char *key_name,
30 const char *def, char *buffer, int len );
31 extern BOOL PROFILE_EnumWineIniString( const char *section, int index,
32 char *name, int name_len, char *buffer, int len );
33 extern int PROFILE_GetWineIniInt( const char *section, const char *key_name, int def );
34 extern int PROFILE_GetWineIniBool( char const *section, char const *key_name, int def );
35 extern char* PROFILE_GetStringItem( char* );
37 /* Version functions */
38 extern void VERSION_ParseWinVersion( const char *arg );
39 extern void VERSION_ParseDosVersion( const char *arg );
41 #define IS_OPTION_TRUE(ch) \
42 ((ch) == 'y' || (ch) == 'Y' || (ch) == 't' || (ch) == 'T' || (ch) == '1')
43 #define IS_OPTION_FALSE(ch) \
44 ((ch) == 'n' || (ch) == 'N' || (ch) == 'f' || (ch) == 'F' || (ch) == '0')
46 #endif /* __WINE_OPTIONS_H */