Microsoft Windows CE 3.0  

CopyMediaType

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Copies a task-allocated AM_MEDIA_TYPEstructure.

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 pmtTargetstructure by calling FreeMediaTypewhen your code is done with the structure.