The EnhMetaFileProc function is an application-defined callback function that processes enhanced-format metafile records. This function is called by the EnumEnhMetaFile function.
int CALLBACK EnhMetaFileProc(
| HDC hDC, | // handle to device context | 
| HANDLETABLE FAR *lpHTable, | // pointer to metafile handle table | 
| ENHMETARECORD FAR *lpEMFR, | // pointer to metafile record | 
| int nObj, | // count of objects | 
| LPARAM lpData | // pointer to optional data | 
| ); | 
This function must return a nonzero value to continue enumeration; to stop enumeration, it must return zero.
An application must register the callback function by passing its address to the EnumEnhMetaFile function.
EnhMetaFileProc is a placeholder for the application-supplied function name.
Questions:
i have a problem while creating a enhanced metafile.i draw a picture in chile window using lineto command am tryin to store that picture as a enhanced meta file.i used createEnhmetafile to stoe that picture but am getting the client rectangle shape only ther i no picure while viewing it in the window picture viewver