Share via


MoFreeMediaType

This function frees the allocated members of a media type structure.

HRESULT MoFreeMediaType(
  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 format block pointed to by the pbFormat member of the DMO_MEDIA_TYPE structure.

Requirements

OS Versions: Windows CE .NET 4.1 and later.
Header: Dmo.h.
Link Library: Msdmo.lib

See Also

Functions | DMO_MEDIA_TYPE

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.