4 * Copyright 1995 Alexandre Julliard
7 #ifndef __WINE_RESOURCE_H
8 #define __WINE_RESOURCE_H
17 const unsigned char* bytes
;
21 /* Built-in resources */
27 SYSRES_DIALOG_SHELL_ABOUT_MSGBOX
,
28 SYSRES_DIALOG_OPEN_FILE
,
29 SYSRES_DIALOG_SAVE_FILE
,
31 SYSRES_DIALOG_PRINT_SETUP
,
32 SYSRES_DIALOG_CHOOSE_FONT
,
33 SYSRES_DIALOG_CHOOSE_COLOR
,
34 SYSRES_DIALOG_FIND_TEXT
,
35 SYSRES_DIALOG_REPLACE_TEXT
38 extern void LIBRES_RegisterResources(const struct resource
* const * Res
);
40 #if defined(__GNUC__) && (__GNUC__ == 2) && (__GNUC_MINOR__ >= 7)
41 #define WINE_CONSTRUCTOR __attribute__((constructor))
42 #define HAVE_WINE_CONSTRUCTOR
44 #define WINE_CONSTRUCTOR
45 #undef HAVE_WINE_CONSTRUCTOR
48 extern HGLOBAL16
SYSRES_LoadResource( SYSTEM_RESOURCE id
);
49 extern void SYSRES_FreeResource( HGLOBAL16 handle
);
50 extern LPCVOID
SYSRES_GetResPtr( SYSTEM_RESOURCE id
);
52 #endif /* __WINE_RESOURCE_H */