The ThemeDrawingState type is a reference to a private structure containing information about the current state of a graphics port. You can use the ThemeDrawingState type with the function GetThemeDrawingState to obtain the current graphics port's drawing state and with the function SetThemeDrawingState to restore a port's drawing state. You should dispose of the memory allocated to contain a ThemeDrawingState reference by calling DisposeThemeDrawingState or passing a value of true in the inDisposeNow parameter of SetThemeDrawingState . The ThemeDrawingState type is available with Appearance Manager 1.1 and later.
typedef struct OpaqueThemeDrawingState* ThemeDrawingState;