6#include <wine/unicode.h>
14#define wcsnicmp strncmpiW
15#define wcsicmp strcmpiW
16#define wcsrchr strrchrW
21#define min(x, y) (((x) < (y)) ? (x) : (y))
22#define max(x, y) (((x) > (y)) ? (x) : (y))
23#define _strnicmp(_String1, _String2, _MaxCount) strncasecmp(_String1, _String2, _MaxCount)
24#define stricmp(_String1, _String2) strcasecmp(_String1, _String2)
43#define DECLSPEC_HIDDEN
44#define WINE_DEFAULT_DEBUG_CHANNEL(x)
45#define WINE_DECLARE_DEBUG_CHANNEL(x)
61#define wine_get_dos_file_name(__x) (assert(0), NULL)
64#define WARN(fmt, ...) fprintf(stderr, "WARN %s: " fmt, __FUNCTION__, ##__VA_ARGS__)
65#define FIXME(fmt, ...) fprintf(stderr, "FIXME %s: " fmt, __FUNCTION__, ##__VA_ARGS__)
66#define TRACE(fmt, ...) fprintf(stderr, "TRACE %s: " fmt, __FUNCTION__, ##__VA_ARGS__)
67#define ERR(fmt, ...) fprintf(stderr, "ERR %s: " fmt, __FUNCTION__, ##__VA_ARGS__)
70#define FIXME(fmt, ...)
71#define TRACE(fmt, ...)
75#define TRACE_ON(x) FALSE
76#define TRACE_(x) TRACE
77#define FIXME_(x) FIXME
79#define CP_UNIXCP CP_ACP
81#define __EXCEPT_PAGE_FAULT else
97#define ERROR_ACCESS_DENIED 5
98#define ERROR_INVALID_HANDLE 6
99#define ERROR_OUTOFMEMORY 14
100#define ERROR_NOT_SUPPORTED 50
101#define ERROR_INVALID_PARAMETER 87
102#define ERROR_CALL_NOT_IMPLEMENTED 120
103#define ERROR_INVALID_NAME 123
104#define ERROR_MOD_NOT_FOUND 126
105#define ERROR_NO_MORE_ITEMS 259
106#define ERROR_INVALID_ADDRESS 487
110#define MultiByteToWideChar __MultiByteToWideChar
111#define WideCharToMultiByte __WideCharToMultiByte
126# define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
127#define IMAGE_FILE_MACHINE_ARMNT 0x1c4
128#define IMAGE_FILE_MACHINE_POWERPC 0x1f0
129#define IMAGE_FILE_MACHINE_ARM64 0xaa64
130#define DLL_PROCESS_DETACH 0
131#define DLL_PROCESS_ATTACH 1
132#define DLL_THREAD_ATTACH 2
133#define DLL_THREAD_DETACH 3
134#define HEAP_ZERO_MEMORY 8
135#define GENERIC_READ 0x80000000
136#define FILE_SHARE_READ 0x00000001
137#define FILE_ATTRIBUTE_NORMAL 0x00000080
138#define PAGE_READONLY 0x0002
139#define SECTION_MAP_READ 4
140#define IMAGE_DEBUG_TYPE_UNKNOWN 0
141#define IMAGE_DEBUG_TYPE_COFF 1
142#define IMAGE_DEBUG_TYPE_CODEVIEW 2
143#define IMAGE_DEBUG_TYPE_FPO 3
144#define IMAGE_DEBUG_TYPE_MISC 4
145#define IMAGE_DEBUG_TYPE_EXCEPTION 5
146#define IMAGE_DEBUG_TYPE_FIXUP 6
147#define IMAGE_DEBUG_TYPE_OMAP_TO_SRC 7
148#define IMAGE_DEBUG_TYPE_OMAP_FROM_SRC 8
149#define IMAGE_SYM_CLASS_EXTERNAL 2
150#define IMAGE_SYM_CLASS_FILE 103
151#define IMAGE_DIRECTORY_ENTRY_EXPORT 0
152#define IMAGE_DIRECTORY_ENTRY_DEBUG 6
153#define IMAGE_DIRECTORY_ENTRY_LOAD_CONFIG 10
154#define IMAGE_DEBUG_MISC_EXENAME 1
155#define IMAGE_SEPARATE_DEBUG_SIGNATURE 0x4944
206#define EXCEPTION_MAXIMUM_PARAMETERS 15
216#define WOW64_CONTEXT_i386 0x00010000
217#define WOW64_CONTEXT_i486 0x00010000
218#define WOW64_CONTEXT_CONTROL (WOW64_CONTEXT_i386 | __MSABI_LONG(0x00000001))
219#define WOW64_CONTEXT_INTEGER (WOW64_CONTEXT_i386 | __MSABI_LONG(0x00000002))
220#define WOW64_CONTEXT_SEGMENTS (WOW64_CONTEXT_i386 | __MSABI_LONG(0x00000004))
221#define WOW64_CONTEXT_FLOATING_POINT (WOW64_CONTEXT_i386 | __MSABI_LONG(0x00000008))
222#define WOW64_CONTEXT_DEBUG_REGISTERS (WOW64_CONTEXT_i386 | __MSABI_LONG(0x00000010))
223#define WOW64_CONTEXT_EXTENDED_REGISTERS (WOW64_CONTEXT_i386 | __MSABI_LONG(0x00000020))
224#define WOW64_CONTEXT_FULL (WOW64_CONTEXT_CONTROL | WOW64_CONTEXT_INTEGER | WOW64_CONTEXT_SEGMENTS)
225#define WOW64_CONTEXT_ALL (WOW64_CONTEXT_CONTROL | WOW64_CONTEXT_INTEGER | \
226 WOW64_CONTEXT_SEGMENTS | WOW64_CONTEXT_FLOATING_POINT | \
227 WOW64_CONTEXT_DEBUG_REGISTERS | WOW64_CONTEXT_EXTENDED_REGISTERS)
229#define WOW64_CONTEXT_XSTATE (WOW64_CONTEXT_i386 | __MSABI_LONG(0x00000040))
231#define WOW64_CONTEXT_EXCEPTION_ACTIVE 0x08000000
232#define WOW64_CONTEXT_SERVICE_ACTIVE 0x10000000
233#define WOW64_CONTEXT_EXCEPTION_REQUEST 0x40000000
234#define WOW64_CONTEXT_EXCEPTION_REPORTING 0x80000000
236#define WOW64_SIZE_OF_80387_REGISTERS 80
237#define WOW64_MAXIMUM_SUPPORTED_EXTENSION 512
283#if defined(TARGET_i386)
284#define SIZE_OF_80387_REGISTERS 80
285#define CONTEXT_i386 0x10000
286#define CONTEXT_i486 0x10000
287#define CONTEXT_CONTROL (CONTEXT_i386|0x00000001L)
288#define CONTEXT_INTEGER (CONTEXT_i386|0x00000002L)
289#define CONTEXT_SEGMENTS (CONTEXT_i386|0x00000004L)
290#define CONTEXT_FLOATING_POINT (CONTEXT_i386|0x00000008L)
291#define CONTEXT_DEBUG_REGISTERS (CONTEXT_i386|0x00000010L)
292#define CONTEXT_EXTENDED_REGISTERS (CONTEXT_i386|0x00000020L)
293#define CONTEXT_FULL (CONTEXT_CONTROL|CONTEXT_INTEGER|CONTEXT_SEGMENTS)
294#define MAXIMUM_SUPPORTED_EXTENSION 512
296#define EXCEPTION_READ_FAULT 0
297#define EXCEPTION_WRITE_FAULT 1
298#define EXCEPTION_EXECUTE_FAULT 8
340#elif defined TARGET_amd64
342typedef struct _M128A {
347typedef struct _XMM_SAVE_AREA32 {
361 M128A FloatRegisters[8];
362 M128A XmmRegisters[16];
442 M128A VectorRegister[26];
453#elif defined TARGET_arm
457#define CONTEXT_ARM 0x0200000
458#define CONTEXT_CONTROL (CONTEXT_ARM | 0x00000001)
459#define CONTEXT_INTEGER (CONTEXT_ARM | 0x00000002)
460#define CONTEXT_FLOATING_POINT (CONTEXT_ARM | 0x00000004)
461#define CONTEXT_DEBUG_REGISTERS (CONTEXT_ARM | 0x00000008)
463#define CONTEXT_FULL (CONTEXT_CONTROL | CONTEXT_INTEGER)
465#define EXCEPTION_READ_FAULT 0
466#define EXCEPTION_WRITE_FAULT 1
467#define EXCEPTION_EXECUTE_FAULT 8
476 DWORD FunctionLength : 11;
483 DWORD StackAdjust : 10;
488#define UNWIND_HISTORY_TABLE_SIZE 12
489typedef struct _UNWIND_HISTORY_TABLE_ENTRY
493} UNWIND_HISTORY_TABLE_ENTRY, *PUNWIND_HISTORY_TABLE_ENTRY;
495typedef struct _UNWIND_HISTORY_TABLE
504 UNWIND_HISTORY_TABLE_ENTRY
Entry[UNWIND_HISTORY_TABLE_SIZE];
505} UNWIND_HISTORY_TABLE, *PUNWIND_HISTORY_TABLE;
553#elif defined TARGET_arm64
555#define CONTEXT_ARM64 0x00400000L
556#define CONTEXT_CONTROL (CONTEXT_ARM64 | 0x1L)
557#define CONTEXT_INTEGER (CONTEXT_ARM64 | 0x2L)
558#define CONTEXT_FLOATING_POINT (CONTEXT_ARM64 | 0x4L)
559#define CONTEXT_DEBUG_REGISTERS (CONTEXT_ARM64 | 0x8L)
560#define CONTEXT_X18 (CONTEXT_ARM64 | 0x10L)
561#define CONTEXT_FULL (CONTEXT_CONTROL | CONTEXT_INTEGER | CONTEXT_FLOATING_POINT)
563#define EXCEPTION_READ_FAULT 0
564#define EXCEPTION_WRITE_FAULT 1
565#define EXCEPTION_EXECUTE_FAULT 8
578#define ARM64_MAX_BREAKPOINTS 8
579#define ARM64_MAX_WATCHPOINTS 2
654typedef struct _IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY {
660 DWORD FunctionLength : 11;
668} IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY, * PIMAGE_ARM64_RUNTIME_FUNCTION_ENTRY;
671#define UNWIND_HISTORY_TABLE_SIZE 12
673typedef struct _UNWIND_HISTORY_TABLE_ENTRY {
676} UNWIND_HISTORY_TABLE_ENTRY, *PUNWIND_HISTORY_TABLE_ENTRY;
678typedef struct _UNWIND_HISTORY_TABLE {
686 UNWIND_HISTORY_TABLE_ENTRY
Entry[UNWIND_HISTORY_TABLE_SIZE];
687} UNWIND_HISTORY_TABLE, *PUNWIND_HISTORY_TABLE;
695#error "Unknown target platform"
731#define INVALID_HANDLE_VALUE (HANDLE)(-1)
732#define INVALID_SET_FILE_POINTER ((DWORD)-1)
733#define HeapAlloc __HeapAlloc
734#define HeapReAlloc __HeapReAlloc
735#define HeapFree(x,y,z) free(z)
736#define GetProcessHeap() 1
737#define GetProcessId(x) 8
738#define lstrcpynW __lstrcpynW
739#define CloseHandle __CloseHandle
740#define CreateFileA(a,b,c,d,e,f,g) fopen(a, "rb")
741#define CreateFileW __CreateFileW
742#define ReadFile(a,b,c,d,e) __ReadFile
743#define SetFilePointer __SetFilePointer
744#define CreateFileMappingW(a,b,c,d,e,f) a
745#define MapViewOfFile __MapViewOfFile
746#define UnmapViewOfFile __UnmapViewOfFile
747#define LoadLibraryW(x) 0
748#define FreeLibrary(x) 0
749#define lstrcpyW strcpyW
750#define lstrlenW strlenW
751#define lstrcpynA __lstrcpynA
752#define SetLastError(x)
753#define GetProcAddress(x,y) 0
754#define GetEnvironmentVariableA(x, y, z) 0
755#define GetEnvironmentVariableW(x, y, z) 0
756#define GetCurrentDirectoryW(x, y) 0
757#define GetFileSizeEx __GetFileSizeEx
758#define ReadProcessMemory(a,b,c,d,e) 0
759#define GetCurrentProcess() (HANDLE)1
760#define IsWow64Process __IsWow64Process
775#define OPEN_EXISTING 3
776#define FILE_MAP_READ SECTION_MAP_READ
806#define RtlImageNtHeader __RtlImageNtHeader
807#define RtlImageRvaToVa __RtlImageRvaToVa
808#define RtlImageRvaToSection __RtlImageRvaToSection
809#define RtlImageDirectoryEntryToData __RtlImageDirectoryEntryToData
810#define RtlComputeCrc32 __RtlComputeCrc32
813#define RtlUlongByteSwap(_x) _byteswap_ulong((_x))
815#define RtlUlongByteSwap(_x) __builtin_bswap32((_x))
828#define GDI_BATCH_BUFFER_SIZE 0x136
922#define GetModuleFileNameExW(w, x, y, z) 0
975#define MAX_SYM_NAME 2000
976#define CBA_DEFERRED_SYMBOL_LOAD_START 0x00000001
977#define CBA_DEFERRED_SYMBOL_LOAD_COMPLETE 0x00000002
978#define CBA_DEFERRED_SYMBOL_LOAD_FAILURE 0x00000003
979#define CBA_SYMBOLS_UNLOADED 0x00000004
980#define CBA_DUPLICATE_SYMBOL 0x00000005
981#define CBA_READ_MEMORY 0x00000006
982#define CBA_DEFERRED_SYMBOL_LOAD_CANCEL 0x00000007
983#define CBA_SET_OPTIONS 0x00000008
984#define CBA_EVENT 0x00000010
985#define CBA_DEFERRED_SYMBOL_LOAD_PARTIAL 0x00000020
986#define CBA_DEBUG_INFO 0x10000000
987#define SYMOPT_CASE_INSENSITIVE 0x00000001
988#define SYMOPT_UNDNAME 0x00000002
989#define SYMOPT_DEFERRED_LOADS 0x00000004
990#define SYMOPT_LOAD_LINES 0x00000010
991#define SYMOPT_LOAD_ANYTHING 0x00000040
992#define SYMOPT_PUBLICS_ONLY 0x00004000
993#define SYMOPT_NO_PUBLICS 0x00008000
994#define SYMOPT_AUTO_PUBLICS 0x00010000
995#define SYMFLAG_VALUEPRESENT 0x00000001
996#define SYMFLAG_REGISTER 0x00000008
997#define SYMFLAG_REGREL 0x00000010
998#define SYMFLAG_FRAMEREL 0x00000020
999#define SYMFLAG_PARAMETER 0x00000040
1000#define SYMFLAG_LOCAL 0x00000080
1001#define SYMFLAG_CONSTANT 0x00000100
1002#define SYMFLAG_EXPORT 0x00000200
1003#define SYMFLAG_FORWARDER 0x00000400
1004#define SYMFLAG_FUNCTION 0x00000800
1005#define SYMFLAG_VIRTUAL 0x00001000
1006#define SYMFLAG_THUNK 0x00002000
1007#define SYMFLAG_TLSREL 0x00004000
1008#define SYMFLAG_SLOT 0x00008000
1009#define SYMFLAG_ILREL 0x00010000
1010#define SYMFLAG_METADATA 0x00020000
1011#define SYMFLAG_CLR_TOKEN 0x00040000
1012#define SYMFLAG_NULL 0x00080000
1013#define SYMFLAG_FUNC_NO_RETURN 0x00100000
1014#define SYMFLAG_SYNTHETIC_ZEROBASE 0x00200000
1015#define SYMFLAG_PUBLIC_CODE 0x00400000
1016#define UNDNAME_COMPLETE (0x0000)
1017#define UNDNAME_NAME_ONLY (0x1000)
1024#define SYMSEARCH_GLOBALSONLY 0x04
1026#define SLMFLAG_VIRTUAL 0x1
1027#define SLMFLAG_NO_SYMBOLS 0x4
1141#define FindExecutableImageExW __FindExecutableImageExW
1467#if !defined(_IMAGEHLP_SOURCE_) && defined(_IMAGEHLP64)
1468#define IMAGEHLP_SYMBOL IMAGEHLP_SYMBOL64
1469#define IMAGEHLP_SYMBOLW IMAGEHLP_SYMBOLW64
1470#define PIMAGEHLP_SYMBOL PIMAGEHLP_SYMBOL64
1471#define PIMAGEHLP_SYMBOLW PIMAGEHLP_SYMBOLW64
1511#if !defined(_IMAGEHLP_SOURCE_) && defined(_IMAGEHLP64)
1512#define IMAGEHLP_LINE IMAGEHLP_LINE64
1513#define PIMAGEHLP_LINE PIMAGEHLP_LINE64
1514#define IMAGEHLP_LINEW IMAGEHLP_LINEW64
1515#define PIMAGEHLP_LINEW PIMAGEHLP_LINEW64
1543#if !defined(_IMAGEHLP_SOURCE_) && defined(_IMAGEHLP64)
1544#define IMAGEHLP_DEFERRED_SYMBOL_LOAD IMAGEHLP_DEFERRED_SYMBOL_LOAD64
1545#define PIMAGEHLP_DEFERRED_SYMBOL_LOAD PIMAGEHLP_DEFERRED_SYMBOL_LOAD64
2257#ifdef WORDS_BIGENDIAN
2279#ifdef WORDS_BIGENDIAN
2364#if (__STDC__ && !defined(_FORCENAMELESSUNION)) || defined(NONAMELESSUNION)
2365#define __VARIANT_NAME_1 n1
2366#define __VARIANT_NAME_2 n2
2367#define __VARIANT_NAME_3 n3
2368#define __VARIANT_NAME_4 brecVal
2371#define __VARIANT_NAME_1
2372#define __VARIANT_NAME_2
2373#define __VARIANT_NAME_3
2375#define __VARIANT_NAME_4
ACPI_BUFFER *RetBuffer ACPI_BUFFER *RetBuffer char ACPI_WALK_RESOURCE_CALLBACK void *Context ACPI_BUFFER *RetBuffer UINT16 ACPI_RESOURCE **ResourcePtr ACPI_GENERIC_ADDRESS *Reg UINT32 *ReturnValue UINT8 UINT8 *Slp_TypB ACPI_PHYSICAL_ADDRESS PhysicalAddress64 UINT32 UINT32 *TimeElapsed UINT32 ACPI_STATUS const char UINT32 ACPI_STATUS const char UINT32 const char const char * ModuleName
_In_ ULONG _Out_writes_bytes_opt_ InformationLength PAUX_MODULE_EXTENDED_INFO ModuleInfo
void user(int argc, const char *argv[])
BOOL(WINAPI * MINIDUMP_CALLBACK_ROUTINE)(_Inout_ PVOID, _In_ const PMINIDUMP_CALLBACK_INPUT, _Inout_ PMINIDUMP_CALLBACK_OUTPUT)
struct _IMAGEHLP_LINE * PIMAGEHLP_LINE
struct _IMAGEHLP_LINE64 * PIMAGEHLP_LINE64
BOOL(CALLBACK * PREAD_PROCESS_MEMORY_ROUTINE64)(HANDLE, DWORD64, PVOID, DWORD, PDWORD)
VARIANTARG * LPVARIANTARG
BOOL(CALLBACK * PREAD_PROCESS_MEMORY_ROUTINE)(HANDLE, DWORD, PVOID, DWORD, PDWORD)
struct _IMAGEHLP_DEFERRED_SYMBOL_LOAD IMAGEHLP_DEFERRED_SYMBOL_LOAD
BOOL WINAPI SymFromAddr(HANDLE hProcess, DWORD64 Address, DWORD64 *Displacement, PSYMBOL_INFO Symbol)
struct API_VERSION API_VERSION
struct _IMAGE_DEBUG_MISC IMAGE_DEBUG_MISC
struct _tagADDRESS64 * LPADDRESS64
BOOL(CALLBACK * PSYM_ENUMERATESYMBOLS_CALLBACK)(PSYMBOL_INFO, ULONG, PVOID)
BOOL __ReadFile(HANDLE, PVOID, DWORD, PDWORD, PVOID)
@ ExceptionContinueSearch
@ ExceptionCollidedUnwind
@ ExceptionNestedException
@ ExceptionContinueExecution
struct _STACKFRAME64 * LPSTACKFRAME64
struct tagVS_FIXEDFILEINFO VS_FIXEDFILEINFO
struct _MODULEINFO MODULEINFO
struct _SYMBOL_INFO * PSYMBOL_INFO
BOOL(CALLBACK * PSYM_ENUMSYMBOLS_CALLBACK64W)(PCWSTR, DWORD64, ULONG, PVOID)
struct _MINIDUMP_THREAD_EX_CALLBACK MINIDUMP_THREAD_EX_CALLBACK
struct _IMAGEHLP_SYMBOL * PIMAGEHLP_SYMBOL
BOOL(CALLBACK * PSYM_ENUMERATESYMBOLS_CALLBACKW)(PSYMBOL_INFOW, ULONG, PVOID)
BOOL WINAPI SymUnloadModule(HANDLE hProcess, DWORD BaseOfDll)
struct _tagADDRESS ADDRESS
PVOID __RtlImageRvaToVa(const IMAGE_NT_HEADERS *NtHeader, PVOID BaseAddress, ULONG Rva, PIMAGE_SECTION_HEADER *SectionHeader)
PVOID WINAPI SymFunctionTableAccess64(HANDLE, DWORD64)
struct _IMAGEHLP_SYMBOLW IMAGEHLP_SYMBOLW
WCHAR * __lstrcpynW(WCHAR *lpString1, const WCHAR *lpString2, int iMaxLength)
struct _SOURCEFILEW SOURCEFILEW
struct _IMAGEHLP_MODULE64 IMAGEHLP_MODULE64
struct _MINIDUMP_THREAD_CALLBACK * PMINIDUMP_THREAD_CALLBACK
struct _IMAGEHLP_DEFERRED_SYMBOL_LOAD64 IMAGEHLP_DEFERRED_SYMBOL_LOAD64
struct _IMAGEHLP_STACK_FRAME * PIMAGEHLP_STACK_FRAME
struct _SECURITY_ATTRIBUTES * LPSECURITY_ATTRIBUTES
struct _IMAGEHLP_LINE64 IMAGEHLP_LINE64
const char * wine_dbg_sprintf(const char *format,...)
struct _SRCCODEINFOW SRCCODEINFOW
PVOID WINAPI SymFunctionTableAccess(HANDLE, DWORD)
struct _THREAD_BASIC_INFORMATION THREAD_BASIC_INFORMATION
HANDLE __FindExecutableImageExW(PCWSTR, PCWSTR, PWSTR, PFIND_EXE_FILE_CALLBACKW, PVOID)
struct _LDT_ENTRY LDT_ENTRY
BOOL WINAPI SymGetModuleInfoW64(HANDLE hProcess, DWORD64 dwAddr, PIMAGEHLP_MODULEW64 ModuleInfo)
struct _WOW64_CONTEXT * PWOW64_CONTEXT
enum _MINIDUMP_TYPE MINIDUMP_TYPE
struct _IMAGEHLP_LINEW IMAGEHLP_LINEW
struct _WOW64_FLOATING_SAVE_AREA * PWOW64_FLOATING_SAVE_AREA
struct _IMAGE_SEPARATE_DEBUG_HEADER * PIMAGE_SEPARATE_DEBUG_HEADER
BOOL(CALLBACK * PSYMBOL_REGISTERED_CALLBACK)(HANDLE, ULONG, PVOID, PVOID)
struct _LDT_ENTRY * LPLDT_ENTRY
HANDLE __CreateFileW(LPCWSTR lpFileName, DWORD dwDesiredAccess, DWORD dwShareMode, LPSECURITY_ATTRIBUTES lpSecurityAttributes, DWORD dwCreationDisposition, DWORD dwFlagsAndAttributes, HANDLE hTemplateFile)
struct _WOW64_FLOATING_SAVE_AREA WOW64_FLOATING_SAVE_AREA
struct _IMAGEHLP_STACK_FRAME IMAGEHLP_STACK_FRAME
BOOL WINAPI SymCleanup(HANDLE hProcess)
struct _SRCCODEINFO * PSRCCODEINFO
struct _MINIDUMP_CALLBACK_INFORMATION MINIDUMP_CALLBACK_INFORMATION
struct _IMAGEHLP_MODULE64 * PIMAGEHLP_MODULE64
BOOL WINAPI SymInitialize(HANDLE hProcess, PCSTR UserSearchPath, BOOL fInvadeProcess)
DWORD(CALLBACK * PGET_MODULE_BASE_ROUTINE)(HANDLE, DWORD)
#define GDI_BATCH_BUFFER_SIZE
struct _LDT_ENTRY * PLDT_ENTRY
struct _SECURITY_ATTRIBUTES SECURITY_ATTRIBUTES
BOOL(CALLBACK * PSYM_ENUMSYMBOLS_CALLBACK)(PCSTR, ULONG, ULONG, PVOID)
IMAGEHLP_EXTENDED_OPTIONS
@ SYMOPT_EX_DISABLEACCESSTIMEUPDATE
@ SYMOPT_EX_WINE_NATIVE_MODULES
struct _MINIDUMP_INCLUDE_THREAD_CALLBACK MINIDUMP_INCLUDE_THREAD_CALLBACK
struct _CLIENT_ID CLIENT_ID
void * __HeapReAlloc(int heap, DWORD d2, void *slab, SIZE_T newsize)
BOOL(CALLBACK * PSYM_ENUMSYMBOLS_CALLBACKW)(PCWSTR, ULONG, ULONG, PVOID)
struct _IMAGEHLP_SYMBOLW64 IMAGEHLP_SYMBOLW64
struct _IMAGE_DEBUG_DIRECTORY * PIMAGE_DEBUG_DIRECTORY
struct _MINIDUMP_CALLBACK_INPUT * PMINIDUMP_CALLBACK_INPUT
PVOID(CALLBACK * PFUNCTION_TABLE_ACCESS_ROUTINE64)(HANDLE, DWORD64)
struct _IMAGEHLP_MODULE * PIMAGEHLP_MODULE
BOOL(CALLBACK * PFIND_EXE_FILE_CALLBACKW)(HANDLE, PCWSTR, PVOID)
struct _WOW64_CONTEXT WOW64_CONTEXT
struct _SRCCODEINFO SRCCODEINFO
struct _IMAGEHLP_DEFERRED_SYMBOL_LOADW64 * PIMAGEHLP_DEFERRED_SYMBOL_LOADW64
const char * wine_dbgstr_an(const char *s, int n)
void * __HeapAlloc(int heap, int flags, size_t size)
struct _IMAGEHLP_MODULEW * PIMAGEHLP_MODULEW
struct _SOURCEFILE SOURCEFILE
PVOID __RtlImageDirectoryEntryToData(PVOID BaseAddress, BOOLEAN MappedAsImage, USHORT Directory, PULONG Size)
struct _EXCEPTION_RECORD EXCEPTION_RECORD
BOOL(CALLBACK * PSYM_ENUMLINES_CALLBACKW)(PSRCCODEINFOW, PVOID)
struct _IMAGEHLP_MODULEW IMAGEHLP_MODULEW
BOOL __CloseHandle(HANDLE handle)
struct _IMAGEHLP_SYMBOLW * PIMAGEHLP_SYMBOLW
struct _IMAGEHLP_SYMBOL64 * PIMAGEHLP_SYMBOL64
BOOL WINAPI SymEnumerateModulesW64(HANDLE hProcess, PSYM_ENUMMODULES_CALLBACKW64 EnumModulesCallback, PVOID UserContext)
DWORD64 WINAPI SymGetModuleBase64(HANDLE, DWORD64)
@ ThreadEnableAlignmentFaultFixup
@ ThreadDescriptorTableEntry
@ ThreadEventPair_Reusable
@ ThreadActualBasePriority
@ ThreadSwitchLegacyState
@ ThreadQuerySetWin32StartAddress
@ ThreadBreakOnTermination
@ ThreadImpersonationToken
@ ThreadSetTlsArrayAddress
struct _IMAGEHLP_DEFERRED_SYMBOL_LOAD * PIMAGEHLP_DEFERRED_SYMBOL_LOAD
BOOL(CALLBACK * PSYM_ENUMSOURCEFILES_CALLBACKW)(PSOURCEFILEW, PVOID)
struct _IMAGE_DEBUG_MISC * PIMAGE_DEBUG_MISC
struct _STACKFRAME64 STACKFRAME64
struct _SOURCEFILE * PSOURCEFILE
EXCEPTION_DISPOSITION NTAPI EXCEPTION_ROUTINE(struct _EXCEPTION_RECORD *ExceptionRecord, PVOID EstablisherFrame, struct _CONTEXT *ContextRecord, PVOID DispatcherContext)
static __inline const char * debugstr_an(const char *s, int n)
struct _MINIDUMP_CALLBACK_INPUT MINIDUMP_CALLBACK_INPUT
BOOL(WINAPI * MINIDUMP_CALLBACK_ROUTINE)(PVOID, const PMINIDUMP_CALLBACK_INPUT, PMINIDUMP_CALLBACK_OUTPUT)
BOOL(CALLBACK * PENUMLOADED_MODULES_CALLBACK)(PCSTR, ULONG, ULONG, PVOID)
enum _THREADINFOCLASS THREADINFOCLASS
struct tagSAFEARRAYBOUND SAFEARRAYBOUND
struct _GDI_TEB_BATCH * PGDI_TEB_BATCH
DWORD64 WINAPI SymLoadModuleEx(HANDLE, HANDLE, PCSTR, PCSTR, DWORD64, DWORD, PMODLOAD_DATA, DWORD)
struct _MINIDUMP_INCLUDE_THREAD_CALLBACK * PMINIDUMP_INCLUDE_THREAD_CALLBACK
struct _KDHELP64 KDHELP64
struct _SYMBOL_INFOW SYMBOL_INFOW
enum _THREAD_WRITE_FLAGS THREAD_WRITE_FLAGS
INT __MultiByteToWideChar(UINT page, DWORD flags, LPCSTR src, INT srclen, LPWSTR dst, INT dstlen)
DWORD __SetFilePointer(HANDLE, LONG, PLONG, DWORD)
static __inline const char * wine_dbgstr_longlong(ULONGLONG ll)
struct _IMAGEHLP_SYMBOL64 IMAGEHLP_SYMBOL64
struct _STACK32FRAME STACK32FRAME
struct _IMAGE_EXPORT_DIRECTORY * PIMAGE_EXPORT_DIRECTORY
EXCEPTION_ROUTINE * PEXCEPTION_ROUTINE
PIMAGE_NT_HEADERS __RtlImageNtHeader(void *data)
struct _SOURCEFILEW * PSOURCEFILEW
struct _IMAGEHLP_DEFERRED_SYMBOL_LOADW64 IMAGEHLP_DEFERRED_SYMBOL_LOADW64
struct _IMAGE_DEBUG_DIRECTORY IMAGE_DEBUG_DIRECTORY
struct _EXCEPTION_REGISTRATION_RECORD * PEXCEPTION_REGISTRATION_RECORD
struct _MINIDUMP_CALLBACK_INFORMATION * PMINIDUMP_CALLBACK_INFORMATION
struct _SYMBOL_INFO SYMBOL_INFO
BOOL(CALLBACK * PSYM_ENUMSYMBOLS_CALLBACK64)(PCSTR, DWORD64, ULONG, PVOID)
struct _GDI_TEB_BATCH GDI_TEB_BATCH
enum _EXCEPTION_DISPOSITION EXCEPTION_DISPOSITION
_IMAGEHLP_SYMBOL_TYPE_INFO
@ TI_GET_VIRTUALBASEPOINTEROFFSET
@ TI_GET_CALLING_CONVENTION
@ TI_GET_VIRTUALBASECLASS
@ TI_GET_VIRTUALTABLESHAPEID