PlayMetaFile

Syntax

BOOL PlayMetaFile(hDC,hMF)

This function plays the contents of the specified metafile on the given device. The metafile can be played any number of times.

Parameter Type/Description  

hDC HDC Identifies the device context of the output device.  
hMF HANDLE Identifies the metafile.  

Return Value

The return value specifies the outcome of the function. It is nonzero if the function is successful. Otherwise, it is zero.