Condividi tramite


GuidNames

 
Microsoft DirectShow 9.0

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.

Syntax

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:** Declared in Wxdebug.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also