Q3DrawContext_GetType
You can use theQ3DrawContext_GetTypefunction to get the type of a draw context.
TQ3ObjectType Q3DrawContext_GetType ( TQ3DrawContextObject drawContext);
drawContext- A draw context object.
DESCRIPTION
TheQ3DrawContext_GetTypefunction returns, as its function result, the type of the draw context specified by thedrawContextparameter. The types of draw contexts currently supported by QuickDraw 3D are defined by these constants:
kQ3DrawContextTypeMacintosh kQ3DrawContextTypePixmap