PlayMetaFileRecord

Syntax

void PlayMetaFileRecord(hDC,lpHandletable,lpMetaRecord,nHandles)

This function plays a metafile record by executing the GDI function call contained within the metafile record.

Parameter Type/Description  

hDC HDC Identifies the device context of the output device.  
lpHandletable LPHANDLETABLE Points to the object handle table to be used for the metafile playback.  
lpMetaRecord LPMETARECORD Points to the metafile to be played.  
nHandles WORD Specifies the number of handles in the handle table.  

Return Value

None.

Comments

An application typically uses this function in conjunction with the EnumMetafile function to modify and then play a metafile.