Microsoft DirectX 8.1 (C++)

DeleteMediaType

The DeleteMediaType function deletes an allocated AM_MEDIA_TYPE structure, including the format block.

Syntax

void WINAPI DeleteMediaType(
    AM_MEDIA_TYPE *pmt
);

Parameters

pmt

Pointer to an AM_MEDIA_TYPE structure.

Return Value

No return value.

Remarks

Use this function to release any media type structure that was allocated using either CoTaskMemAlloc or CreateMediaType.

See Also