-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathhelp.cxx
31 lines (27 loc) · 1.15 KB
/
help.cxx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#include "stdafx.h"
char *gaszHelp[] = {
"=======================================================================\n"
,"win32k debugger extentions:\n"
,"author: pgboy\n"
,"-----------------------------------------------------------------------\n"
,"\n"
,"gh [object handle] -- HMGR entry of handle (GDI object like DC/BITMAP/PALETTE etc)\n"
,"uh [object handle] -- USER entry of handle (USER object like WINDOW/MENU etc)\n"
,"duh [-h] -- Dump USER entry of handle (USER object like WINDOW/MENU etc)\n"
,"dgh [-h] -- Dump HMGR entry of handle (GDI object like DC/BITMAP/PALETTE etc)\n"
,"dpsurf [SURFACE ptr] -- SURFACE\n"
,"dpso [SURFOBJ ptr] -- SURFACE struct from SURFOBJ\n"
,"dr [REGION ptr] -- REGION\n"
,"cr [REGION ptr] -- check REGION\n"
,"dppal [PALETTE ptr] -- PALETTE\n"
,"=======================================================================\n"
,NULL
};
EXTERN_C
HRESULT CALLBACK
help(PDEBUG_CLIENT4 Client, PCSTR args)
{
for (char **ppsz = gaszHelp; *ppsz; ppsz++)
dprintf("%s", *ppsz);
return S_OK;
}