Microsoft DirectX 8.1 (C++) |
The IsValid method determines whether a major type has been assigned to this object.
Syntax
BOOL IsValid(void) const;
Return Value
Returns TRUE if a major type has been assigned to this object. Otherwise, returns FALSE.
Remarks
By default, CMediaType objects are initialized with a major type of GUID_NULL. Call this method to determine whether the object has been correctly initialized.
See Also