MoDeleteMediaType (Windows CE 5.0)
This function deletes a media type structure that was previously allocated.
HRESULT MoDeleteMediaType(DMO_MEDIA_TYPE* pmt);
Parameters
- pmt
Pointer to an initialized DMO_MEDIA_TYPE structure.
Return Values
Returns an HRESULT value. Possible values include the following.
Value | Description |
---|---|
S_OK | Success |
E_POINTER | NULL pointer argument |
Remarks
This function frees the allocated members of the media type structure by calling MoFreeMediaType and then it frees the media type structure itself.
Requirements
OS Versions: Windows CE .NET 4.1 and later.
Header: Dmo.h.
Link Library: Msdmo.lib
See Also
DMO Functions | MoFreeMediaType | DMO_MEDIA_TYPE
Send Feedback on this topic to the authors