/******************************Module*Header*******************************\ * Module Name: help.cxx * * Display the help information for gdiexts * * Created: 16-Feb-1995 * Author: Lingyun Wang [lingyunw] * * Copyright (c) 1995-2000 Microsoft Corporation \**************************************************************************/ #include "precomp.hxx" /******************************Public*Routine******************************\ * help * * Prints a simple help summary of the debugging extentions. * * History: * 05-May-1993 -by- Gilman Wong [gilmanw] * Wrote it. \**************************************************************************/ // // Debugger extention help. If you add any debugger extentions, please // add a brief description here. Thanks! // char *szHelp = "=======================================================================\n" "GDIEXTS server debugger extentions:\n" "-----------------------------------------------------------------------\n" "\n" "help -- Displays this help page.\n" "\n" "All of the debugger extensions support a -? option for extension\n" " specific help.\n" "All of the debugger extensions that expect a pointer (or handle)\n" " can parse expressions such as:\n" " ebp+8\n" " or\n" " win32k!gpentHmgr\n" "\n" "Switches are case insensitive and can be reordered unless otherwise\n" "specified in the extension help.\n" "\n" " - general extensions -\n" "\n" "dumphmgr -- handle manager objects\n" //"dumpdd -- DirectDraw: handle manager objects\n" "dumpobj [-p pid] [type] -- all objects of specific type\n" "dh -- HMGR entry of handle\n" "dht -- handle type/uniqueness/index\n" "dldev [LDEV ptr] -- LDEV\n" "dgdev [-clr | GRAPHICS_DEVICE] -- GRAPHICS_DEVICE list\n" "dfloat [-l num] Value -- Dump an IEEE float or float array\n" "dblt [BLTRECORD ptr] -- BLTRECORD\n" //"dddsurface [EDD_SURFACE ptr] -- EDD_SURFACE\n" //"dddlocal [EDD_DIRECTDRAW_LOCAL ptr] -- EDD_DIRECTDRAW_LOCAL\n" //"dddglobal [EDD_DIRECTDRAW_GLOBAL ptr] -- EDD_DIRECTDRAW_GLOBAL\n" "rgnlog nnn -- last nnn rgnlog entries\n" "stats -- accumulated statistics\n" "verifier -- Dump verifier information\n" "\n" "\n" " - type dump extensions -\n" "\n" "dt -- GDI Type Dump w/ flag/enums\n" "bltinfo -- BLTINFO\n" "blendobj -- BLENDOBJ\n" "brush -- BRUSH\n" "brushobj -- BRUSHOBJ\n" "clipobj -- CLIPOBJ\n" "ddc -- DC (ddc -? for more info)\n" "devmodea -- Ascii DEVMODE\n" "devmodew -- Unicode DEVMODE\n" "ebrush -- EBRUSHOBJ\n" "epathobj -- EPATHOBJ (+PATH)\n" "lineattrs -- LINEATTRS\n" "maxtrix -- MATRIX\n" "palette -- PALETTE\n" "path -- PATH\n" "pathobj -- PATHOBJ\n" "pdev -- PDEV (pdev -? for more info)\n" "region -- REGION\n" "sprite -- SPRITE\n" "spritestate -- SPRITE_STATE\n" "surface -- SURFACE\n" "surfobj -- SURFOBJ\n" "wndobj -- WNDOBJ\n" "xlate -- XLATE\n" "xlateobj -- XLATEOBJ\n" //"obj -- OBJ\n" "\n" "\n" " - dc extensions -\n" "dclist -- list compact info about all known and readble surfaces\n" "ddc -- DC (ddc -? for more info)\n" "\n" " - session extensions -\n" "session [SessionId] -- Get/set session settings\n" "spoolfind -- Search session pool for Tag\n" "spoolsum -- Summarize/verify pool numbers\n" "spoolused -- Show pool allocs by tag\n" "sprocess [SessionId [Flags]] -- Dump Processes in Session\n" "svtop -- Lookup physical address\n" "\n" " - surface extensions -\n" "pageinsurfs -- Page-in all surf objects found in hmgr\n" "pageinsurface -- Page-in image bits for a surface\n" "surface -- Dump SURFACE type\n" "surfobj -- Dump SURFOBJ type\n" "surflist -- list compact info about all known and readable surfaces\n" "vsurf -- display a surface\n" "\n" " - process/thread extensions -\n" "batch [TEB Address | -t Thread] -- list batched GDI commands\n" "semorder [Thread] -- show semaphore usage history\n" "w32p [W32PROCESS Address | -p Process] -- dump W32PROCESS structure\n" "w32t [W32THREAD Address | -t Thread] -- dump W32THREAD structure\n" "\n" "\n" "hdc HDC [-?gltf]\n" "dcl DCLEVEL*\n" "dca DC_ATTR*\n" "ca COLORADJUSTMENT*\n" "efloat [Count]\n" "batch DISPLAY TEB BATCHED COMMANDS\n" "dpeb DISPLAY PEB CACHED OBJECTS\n" "floatl [Count]\n" "xo XFORMOBJ*\n" "\n" " - font extensions -\n" "\n" "tstats\n" "gs FD_GLYPHSET*\n" "gdata GLYPHDATA*\n" "elf LOGFONTW*\n" "tm TEXTMETRICW*\n" "tmwi TMW_INTERNAL*\n" "helf HFONT\n" "ifi IFIMETRICS*\n" "fo RFONT* [-?axedtrfmoculhw]\n" "pfe PFE*\n" "pff PFF*\n" "pft PFT*\n" "stro STROBJ* [-?pheo]\n" "gb GLYPHBITS* [-?gh]\n" "gdf GLYPHDEF*\n" "gp GLYPHPOS*\n" "cache CACHE*\n" "fh FONTHASH*\n" "hb HASHBUCKET*\n" "fv FILEVIEW*\n" "ffv FONTFILEVIEW*\n" "cliserv CLISERV*\n" "dhelf HFONT\n" "difi IFIMETRICS*\n" "dstro STROBJ*\n" "gdicall GDICALL*\n" "hpfe HPFE\n" "proxymsg PROXYMSG*\n" "\n" "pubft -- dumps all PUBLIC fonts\n" "pvtft -- dumps all Private or Embedded fonts\n" "devft -- dumps all DEVICE fonts\n" "dispcache -- dumps glyph cache for display PDEV\n" "\n" "=======================================================================\n"; DECLARE_API( help ) { OutputControl OutCtl(Client); OutCtl.Output(szHelp); return S_OK; }