ObjectTypeIsValid function (gdiplusenums.h)

The ObjectTypeIsValid function determines whether an element of the ObjectType enumeration represents a valid object type.

Syntax

BOOL ObjectTypeIsValid(
  ObjectType type
);

Parameters

type

Type: ObjectType

Element of the ObjectType enumeration to be tested.

Return value

Type: BOOL

If objectType is equal to ObjectTypeInvalid, this function returns FALSE.

If objectType is equal to any other element of the ObjectType enumeration, this function returns TRUE.

Requirements

Requirement Value
Minimum supported client Windows XP, Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header gdiplusenums.h (include Gdiplus.h)
Library Gdiplus.lib