Index Topic Contents | |||
Previous Topic: CGenericList Class Next Topic: CImageAllocator Class |
CGuidNameList Class
This class implements an array of globally unique identifier (GUID) names based on the predefined names of GUIDs that come with Microsoft® DirectShow. (This might or might not include user-defined GUIDs.) To get the name used for a GUID, look it up in the GuidNames array:
int MyFunc(AM_MEDIA_TYPE mt) { DbgLog((LOG_TRACE, 2, TEXT("MyFunc: Type %s, Subtype %s"), GuidNames[mt.majortype], GuidNames[mt.subtype] )); ... }Operators
Name Description operator[ ] Allows access to the GUID name for a given GUID. Global Data
Name Description GuidNames Array of CGuidNameList objects describing the predefined names of GUIDs that come with DirectShow. (This might or might not include user-defined GUIDs.) CGuidNameList Class
CGuidNameList::operator[ ]Allows access to the GUID name for a given GUID.
TCHAR *operator[ ](
const GUID& guid
);Parameters
- guid
- Globally unique identifier.
Return Values
Returns the GUID name for the given entry in a GUID name list.
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.