|Microsoft DirectX 9.0|
The MoDeleteMediaType function deletes a media type structure that was previously allocated.
HRESULT MoDeleteMediaType( DMO_MEDIA_TYPE *pmt );
Pointer to an initialized DMO_MEDIA_TYPE structure.
Returns an HRESULT value. Possible values include the following.
|E_POINTER||NULL pointer argument|
This function frees the allocated members of the media type structure by calling MoFreeMediaType. Then it frees the media type structure itself.
Declared in Dmort.h; include Dmo.h.
Link to Msdmo.lib.