Partager via


GWES Information (Windows Embedded CE 6.0)

1/5/2010

This topic covers CeDebugX commands for obtaining information about the Windows Graphics, Windowing, and Events Subsystem (GWES). The following shows these commands.

Command Description Parameters

!win

Displays summary information about windows in the system.

all

Displays summary information for all windows in the system.

foreground

Displays the foreground, focus, capture, and keyboard destination windows.

invalid

Displays all windows that have an invalid signature.

<process>

Displays all windows that belong to the specified process. This can be a process name, handle, or ID. See the !proclist command.

!winh <handle>

Displays detailed information for the window whose handle is specified. After the command has been executed once with a valid handle, the user can use navigation commands to move within the window hierarchy.

<handle>

Displays information for the window specified by the given handle.

Navigation commands:

p

Displays the parent window information of the last printed window.

c

Displays the child window information of the last printed window.

n

Displays the sibling information of the last printed window.

d

Displays the window information of all the descendent windows of the last printed window.

a

Displays the window information of all the ancestor windows of the last printed window.

!gditable

Displays a list of Graphics Device Interface (GDI) objects.

When run without any parameters, this command displays GDI type IDs for use with the !gditable type command.

all

Displays the list of all valid GDI objects in the system.

<process>

Displays the list of all valid GDI objects that belong to the specified process. This can be a process name, handle, or ID.

type <type>

Displays the list of all valid GDI objects of the specified type in the system. The type is specified as a number. To obtain the available types, run the !gditable command without parameters.

!gdih <handle>

Displays detailed information for the GDI object specified by the handle.

<handle>

Handle that identifies the GDI object.

!gdiobj <pObj>

Displays detailed information for the GDI object specified by the object pointer.

<pObj>

Pointer to a GDI object. GDI object pointers can be obtained with the !gditable command.

!screenshot -s

Takes a snapshot of the screen, saves it as a bitmap, and then displays the bitmap.

-s

(optional)

Saves the bitmap to the location selected in the File Save dialog box. If not specified, the bitmap is saved in the current working directory.

!msgqueues

Lists window message queues in the system. Displays basic information: queue pointer, process owner, window, and next message in queue.

None.

See Also

Concepts

CeDebugX Commands