3#define GDI_DBG_MAX_BTS 10
5#if DBG && defined(KDBG)
6#define ASSERT_NOGDILOCKS() GdiDbgAssertNoLocks(__FILE__,__LINE__)
7#define KeRosDumpStackFrames(Frames, Count) \
8 KdSystemDebugControl('DsoR', (PVOID)Frames, Count, NULL, 0, NULL, KernelMode)
10#define ASSERT_NOGDILOCKS()
11#define KeRosDumpStackFrames(Frames, Count)
31#if DBG_ENABLE_GDIOBJ_BACKTRACES
35DbgDumpGdiHandleTableWithBT(
VOID);
50#if DBG_ENABLE_EVENT_LOGGING
52typedef enum _LOG_EVENT_TYPE
65typedef struct _LOGENTRY
68 LOG_EVENT_TYPE nEventType;
73 PVOID apvBackTrace[20];
78} LOGENTRY, *PLOGENTRY;
89 _In_ LOG_EVENT_TYPE nEventType,
102#define DBG_LOGEVENT(pslh, type, val) DbgLogEvent(pslh, type, (ULONG_PTR)val)
103#define DBG_INITLOG(pslh) InitializeSListHead(pslh)
104#define DBG_DUMP_EVENT_LIST(pslh) DbgDumpEventList(pslh)
105#define DBG_CLEANUP_EVENT_LIST(pslh) DbgCleanupEventList(pslh)
109#define DBG_LOGEVENT(pslh, type, val) ((void)(val))
110#define DBG_INITLOG(pslh)
111#define DBG_DUMP_EVENT_LIST(pslh)
112#define DBG_CLEANUP_EVENT_LIST(pslh)
125#define ID_Win32PreServiceHook 'WSH0'
126#define ID_Win32PostServiceHook 'WSH1'
130GdiDbgAssertNoLocks(
char * pszFile,
ULONG nLine)
136 DbgPrint(
"(%s:%lu) There are %lu exclusive locks!\n",
139 DbgPrint(
" Type %u: %u.\n",
i, pti->acExclusiveLockCount[
i]);
BOOL NTAPI DbgGdiHTIntegrityCheck(VOID)
ULONG NTAPI DbgCaptureStackBackTace(_Out_writes_(cFramesToCapture) PVOID *ppvFrames, _In_ ULONG cFramesToSkip, _In_ ULONG cFramesToCapture)
VOID NTAPI DbgDumpLockedGdiHandles(VOID)
BOOLEAN NTAPI DbgGdiKdbgCliCallback(IN PCHAR pszCommand, IN ULONG argc, IN PCH argv[])
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
PVOID NTAPI PsGetCurrentThreadWin32Thread(VOID)
struct _THREADINFO * PTHREADINFO
#define SLIST_ENTRY(type)