CopyMediaType
Copies a task-allocated AM_MEDIA_TYPE structure.
void WINAPI CopyMediaType(
AM_MEDIA_TYPE *pmtTarget,
const AM_MEDIA_TYPE *pmtSource);
Parameters
- pmtTarget
Pointer to an area of memory in which to place the new copy of the structure. - pmtSource
Pointer to a source structure to copy.
Return Values
No return value.
Remarks
Free the resources in the pmtTarget structure by calling FreeMediaType when your code is done with the structure.
Last updated on Tuesday, July 13, 2004
© 1992-2000 Microsoft Corporation. All rights reserved.