MoFreeMediaType
The MoFreeMediaType function frees the allocated members of a media type structure.
Syntax
HRESULT MoFreeMediaType(
DMO_MEDIA_TYPE *pmt
);
Parameters
pmt
Pointer to an initialized DMO_MEDIA_TYPE structure.
Return Value
Returns an HRESULT value. Possible values include the following.
Result Code | Description |
E_POINTER | NULL pointer argument |
S_OK | Success |
Remarks
This function frees the format block pointed to by the pbFormat member of the DMO_MEDIA_TYPE structure.
Requirements
Header: Declared in Dmort.h; include Dmo.h
Library: Msdmo.lib.
See Also