Data Structures |
| struct | __wine_ldt_copy |
Defines |
| #define | WINE_LDT_EXTERN extern |
| #define | WINE_LDT_FLAGS_DATA 0x13 /* Data segment */ |
| #define | WINE_LDT_FLAGS_STACK 0x17 /* Stack segment */ |
| #define | WINE_LDT_FLAGS_CODE 0x1b /* Code segment */ |
| #define | WINE_LDT_FLAGS_TYPE_MASK 0x1f /* Mask for segment type */ |
| #define | WINE_LDT_FLAGS_32BIT 0x40 /* Segment is 32-bit (code or stack) */ |
| #define | WINE_LDT_FLAGS_ALLOCATED 0x80 /* Segment is allocated (no longer free) */ |
| #define | __DEFINE_GET_SEG(seg) inline static unsigned short wine_get_##seg(void) { return 0; } |
| #define | __DEFINE_SET_SEG(seg) inline static void wine_set_##seg(int val) { /* nothing */ } |
Typedefs |
| typedef void(* | load_dll_callback_t )(void *, const char *) |
Functions |
| const char * | wine_get_build_dir (void) |
| const char * | wine_get_config_dir (void) |
| const char * | wine_get_data_dir (void) |
| const char * | wine_get_server_dir (void) |
| const char * | wine_get_user_name (void) |
| void | wine_init_argv0_path (const char *argv0) |
| void | wine_exec_wine_binary (const char *name, char **argv, char **envp, int use_preloader) |
| void * | wine_dlopen (const char *filename, int flag, char *error, size_t errorsize) |
| void * | wine_dlsym (void *handle, const char *symbol, char *error, size_t errorsize) |
| int | wine_dlclose (void *handle, char *error, size_t errorsize) |
| void | wine_dll_set_callback (load_dll_callback_t load) |
| void * | wine_dll_load (const char *filename, char *error, int errorsize, int *file_exists) |
| void * | wine_dll_load_main_exe (const char *name, char *error, int errorsize, int test_only, int *file_exists) |
| void | wine_dll_unload (void *handle) |
| int | wine_dll_get_owner (const char *name, char *buffer, int size, int *file_exists) |
| void | wine_init (int argc, char *argv[], char *error, int error_size) |
| void | wine_dbg_add_option (const char *name, unsigned char set, unsigned char clear) |
| int | wine_dbg_parse_options (const char *str) |
| void DECLSPEC_NORETURN | wine_switch_to_stack (void(*func)(void *), void *arg, void *stack) |
| void | wine_set_pe_load_area (void *base, size_t size) |
| void | wine_free_pe_load_area (void) |
| void * | wine_anon_mmap (void *start, size_t size, int prot, int flags) |
| void | wine_mmap_add_reserved_area (void *addr, size_t size) |
| void | wine_mmap_remove_reserved_area (void *addr, size_t size, int unmap) |
| int | wine_mmap_is_in_reserved_area (void *addr, size_t size) |
| void | wine_ldt_init_locking (void(*lock_func)(void), void(*unlock_func)(void)) |
| void | wine_ldt_get_entry (unsigned short sel, LDT_ENTRY *entry) |
| int | wine_ldt_set_entry (unsigned short sel, const LDT_ENTRY *entry) |
| int | wine_ldt_is_system (unsigned short sel) |
| void * | wine_ldt_get_ptr (unsigned short sel, unsigned int offset) |
| unsigned short | wine_ldt_alloc_entries (int count) |
| unsigned short | wine_ldt_realloc_entries (unsigned short sel, int oldcount, int newcount) |
| void | wine_ldt_free_entries (unsigned short sel, int count) |
| static unsigned short | wine_ldt_alloc_fs (void) |
| static void | wine_ldt_init_fs (unsigned short sel, const LDT_ENTRY *entry) |
| static void | wine_ldt_free_fs (unsigned short sel) |
| static void | wine_ldt_set_base (LDT_ENTRY *ent, const void *base) |
| static void | wine_ldt_set_limit (LDT_ENTRY *ent, unsigned int limit) |
| static void * | wine_ldt_get_base (const LDT_ENTRY *ent) |
| static unsigned int | wine_ldt_get_limit (const LDT_ENTRY *ent) |
| static void | wine_ldt_set_flags (LDT_ENTRY *ent, unsigned char flags) |
| static unsigned char | wine_ldt_get_flags (const LDT_ENTRY *ent) |
| static int | wine_ldt_is_empty (const LDT_ENTRY *ent) |
Variables |
| int | __wine_main_argc |
| char ** | __wine_main_argv |
| WCHAR ** | __wine_main_wargv |
| char ** | __wine_main_environ |
| const char *(* | __wine_dbgstr_an )(const char *s, int n) |
| const char *(* | __wine_dbgstr_wn )(const WCHAR *s, int n) |
| const char *(* | __wine_dbg_vsprintf )(const char *format, va_list args) |
| int(* | __wine_dbg_vprintf )(const char *format, va_list args) |
| int(* | __wine_dbg_vlog )(unsigned int cls, const char *channel, const char *function, const char *format, va_list args) |
WINE_LDT_EXTERN struct
__wine_ldt_copy | wine_ldt_copy |