Fixed potential memory corruption in EVENT_QueryZOrder.
[wine/multimedia.git] / include / loadorder.h
blob9b8313389a239bd70e3684fa7e52126e3cbe430a
1 /*
2 * Module/Library loadorder
4 * Copyright 1999 Bertho Stultiens
5 */
7 #ifndef __WINE_LOADORDER_H
8 #define __WINE_LOADORDER_H
10 #define MODULE_LOADORDER_INVALID 0 /* Must be 0 */
11 #define MODULE_LOADORDER_DLL 1 /* Native DLLs */
12 #define MODULE_LOADORDER_ELFDLL 2 /* Elf-dlls */
13 #define MODULE_LOADORDER_SO 3 /* Native .so libraries */
14 #define MODULE_LOADORDER_BI 4 /* Built-in modules */
15 #define MODULE_LOADORDER_NTYPES 4
17 typedef struct module_loadorder {
18 char *modulename;
19 char loadorder[MODULE_LOADORDER_NTYPES];
20 } module_loadorder_t;
22 BOOL MODULE_InitLoadOrder(void);
23 module_loadorder_t *MODULE_GetLoadOrder(const char *path);
25 #endif