Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
Win32Exception.cpp File Reference
#include "Win32Exception.h"
#include "Util.h"
#include "WIN32Util.h"
#include "utils/StringUtils.h"
#include "utils/URIUtils.h"
#include "platform/win32/CharsetConverter.h"
#include <VersionHelpers.h>
#include <dbghelp.h>

Macros

#define STACKWALK_MAX_NAMELEN   1024
 

Typedefs

typedef BOOL(WINAPIMINIDUMPWRITEDUMP) (HANDLE hProcess, DWORD dwPid, HANDLE hFile, MINIDUMP_TYPE DumpType, const PMINIDUMP_EXCEPTION_INFORMATION ExceptionParam, const PMINIDUMP_USER_STREAM_INFORMATION UserStreamParam, const PMINIDUMP_CALLBACK_INFORMATION CallbackParam)
 
typedef BOOL(__stdcalltSW) (DWORD MachineType, HANDLE hProcess, HANDLE hThread, LPSTACKFRAME64 StackFrame, PVOID ContextRecord, PREAD_PROCESS_MEMORY_ROUTINE64 ReadMemoryRoutine, PFUNCTION_TABLE_ACCESS_ROUTINE64 FunctionTableAccessRoutine, PGET_MODULE_BASE_ROUTINE64 GetModuleBaseRoutine, PTRANSLATE_ADDRESS_ROUTINE64 TranslateAddress)
 
typedef BOOL(__stdcalltSI) (IN HANDLE hProcess, IN PSTR UserSearchPath, IN BOOL fInvadeProcess)
 
typedef BOOL(__stdcalltSC) (IN HANDLE hProcess)
 
typedef BOOL(__stdcalltSGSFA) (IN HANDLE hProcess, IN DWORD64 dwAddr, OUT PDWORD64 pdwDisplacement, OUT PIMAGEHLP_SYMBOL64 Symbol)
 
typedef PSTR UnDecoratedName
 
typedef PSTR DWORD UndecoratedLength
 
typedef PSTR DWORD DWORD Flags
 
typedef BOOL(__stdcalltSGLFA) (IN HANDLE hProcess, IN DWORD64 dwAddr, OUT PDWORD pdwDisplacement, OUT PIMAGEHLP_LINE64 Line)
 
typedef DWORD64(__stdcalltSGMB) (IN HANDLE hProcess, IN DWORD64 dwAddr)
 
typedef PVOID(__stdcalltSFTA) (HANDLE hProcess, DWORD64 AddrBase)
 
typedef DWORD(__stdcalltSGO) (VOID)
 
typedef DWORD(__stdcalltSSO) (IN DWORD SymOptions)
 
typedef LONG(__stdcallGCPFN) (UINT32 *, PWSTR)
 

Functions

typedef DWORD (__stdcall WINAPI *tUDSN)(PCSTR DecoratedName
 

Macro Definition Documentation

◆ STACKWALK_MAX_NAMELEN

#define STACKWALK_MAX_NAMELEN   1024

Typedef Documentation

◆ Flags

typedef PSTR DWORD DWORD Flags

◆ GCPFN

typedef LONG(__stdcall * GCPFN) (UINT32 *, PWSTR)

◆ MINIDUMPWRITEDUMP

typedef BOOL(WINAPI * MINIDUMPWRITEDUMP) (HANDLE hProcess, DWORD dwPid, HANDLE hFile, MINIDUMP_TYPE DumpType, const PMINIDUMP_EXCEPTION_INFORMATION ExceptionParam, const PMINIDUMP_USER_STREAM_INFORMATION UserStreamParam, const PMINIDUMP_CALLBACK_INFORMATION CallbackParam)

◆ tSC

typedef BOOL(__stdcall * tSC) (IN HANDLE hProcess)

◆ tSFTA

typedef PVOID(__stdcall * tSFTA) (HANDLE hProcess, DWORD64 AddrBase)

◆ tSGLFA

typedef BOOL(__stdcall * tSGLFA) (IN HANDLE hProcess, IN DWORD64 dwAddr, OUT PDWORD pdwDisplacement, OUT PIMAGEHLP_LINE64 Line)

◆ tSGMB

typedef DWORD64(__stdcall * tSGMB) (IN HANDLE hProcess, IN DWORD64 dwAddr)

◆ tSGO

typedef DWORD(__stdcall * tSGO) (VOID)

◆ tSGSFA

typedef BOOL(__stdcall * tSGSFA) (IN HANDLE hProcess, IN DWORD64 dwAddr, OUT PDWORD64 pdwDisplacement, OUT PIMAGEHLP_SYMBOL64 Symbol)

◆ tSI

typedef BOOL(__stdcall * tSI) (IN HANDLE hProcess, IN PSTR UserSearchPath, IN BOOL fInvadeProcess)

◆ tSSO

typedef DWORD(__stdcall * tSSO) (IN DWORD SymOptions)

◆ tSW

typedef BOOL(__stdcall * tSW) (DWORD MachineType, HANDLE hProcess, HANDLE hThread, LPSTACKFRAME64 StackFrame, PVOID ContextRecord, PREAD_PROCESS_MEMORY_ROUTINE64 ReadMemoryRoutine, PFUNCTION_TABLE_ACCESS_ROUTINE64 FunctionTableAccessRoutine, PGET_MODULE_BASE_ROUTINE64 GetModuleBaseRoutine, PTRANSLATE_ADDRESS_ROUTINE64 TranslateAddress)

◆ UndecoratedLength

typedef PSTR DWORD UndecoratedLength

◆ UnDecoratedName

typedef PSTR UnDecoratedName

Function Documentation

◆ DWORD()

typedef DWORD ( __stdcall WINAPI * tUDSN)