There is a very useful global array that contains strings representing the GUIDs defined in Uuids.h
char* GuidNames[guid]
Example:
const char* GetMajorTypeString(CMediaType* pMediaType)
{
return GuidNames[*(pMediaType->Type())];
}
Reference:
http://msdn.microsoft.com/en-us/library/ms783758.aspx
Android 專用版 Facebook 推出更新版 1.6.0
13 years ago