Share via


FreeMediaType (Compact 2013)

3/26/2014

This function frees a task-allocated AM_MEDIA_TYPE structure from memory.

Syntax

void WINAPI FreeMediaType(
  AM_MEDIA_TYPE& mt
);

Parameters

  • mt
    Address of the structure.

Return Value

None.

Remarks

The structure should have been initialized by a call to CopyMediaType.

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

Media Type Functions