GuidNames

GuidNames is a global array in the DirectShow base class library that contains strings representing the GUIDs defined in Uuids.h. This array is useful for generating debug output.

char* GuidNames[guid]

Parameters

guid

Specifies any GUID value defined in the header file Uuids.h.

Remarks

Use this global array to output GUID constants as strings. For example, the following code prints the string "MEDIATYPE_Video" to the console:

puts(GuidNames[MEDIATYPE_Video]);

If the GUID is not matched, the string "Unknown GUID Name" is returned. Not all DirectShow GUIDs are defined in uuids.h.

Requirements

Header
Wxdebug.h (include Streams.h)
Library
Strmbase.lib (retail builds);
Strmbasd.lib (debug builds)

See also

Debug Output Functions