Microsoft DirectX 9.0

DisplayType

The DisplayType function sends information about a media type to the debug output location. Ignored in retail builds.

Syntax

void DisplayType(
    LPTSTR label,
    const AM_MEDIA_TYPE *pmtIn
);

Parameters

label

String that contains a message to display with the media type information.

pmtIn

Pointer to the AM_MEDIA_TYPE structure that contains the media type.

Remarks

This function generates several LOG_TRACE messages. At logging level 2 or higher, the function displays the major type, subtype, and format type, and data from the format block. At logging level 5 or higher, the function displays additional information, such as the source and target rectangles for video types.

See Also