MoDeleteMediaType

This function deletes a media type structure that was previously allocated.

HRESULT MoDeleteMediaType(
  DMO_MEDIA_TYPE* pmt
);

Parameters

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

Functions | MoFreeMediaType | DMO_MEDIA_TYPE

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.