Microsoft DirectX 8.1 (C++) |
The FreeMediaType function frees the format block in an AM_MEDIA_TYPE structure.
Syntax
void WINAPI FreeMediaType(
AM_MEDIA_TYPE& mt
);
Parameters
mt
Pointer to the structure.
Return Value
No return value.
Remarks
Use this function to free just the format block. To delete the AM_MEDIA_TYPE structure, call DeleteMediaType.
See Also