CGuidNameList Class

CGuidNameList class hierarchy

The CGuidNameList 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

operator[ ] Allows access to the GUID name for a given GUID.

Global Data

GuidNames Array of GUIDs that come with DirectShow. (This might or might not include user-defined GUIDs.)

CGuidNameList::operator[ ]

CGuidNameList Class

Allows access to the GUID name for a given GUID.

Syntax

TCHAR *operator[ ](
  const GUID& guid
  );

Parameters

guid
Globally unique identifier.

Return Value

Returns the GUID name for the given entry in a GUID name list.


Top of Page Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.