次の方法で共有


CGuidNameList Class (Compact 2013)

3/26/2014

CGuidNameList

This class implements an array of globally unique identifier (GUID) names based on the predefined names of GUIDs that come with 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

Description

operator[ ]

Allows access to the GUID name for a given GUID.

Global Data

Global data

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.

Requirements

Header

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

DirectShow Classes