Using Internal GDI Methods (Windows CE 5.0)

Send Feedback

When you customize the user interface (UI), you usually need to call methods that are part of the graphics device interface (GDI). GDI methods are processed by a thunk that then calls an internal version of the same method. However, the architecture for creating a skin requires you to bypass the thunk, which you do by calling the internal versions of the GDI methods directly. Windows CE provides these internal versions in the three classes shown in the following table.

Class Description
Gdi Provides access to internal GDI functions that you can use when drawing controls.
GweBypassCoredllThunk_t Provides access to internal GDI functions that you can use when drawing controls.
StockObjectHandles Provides methods for retrieving handles to predefined stock objects.

See Also

Creating a Skin

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.