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+
file: /Techref/os/win/api/win32/func/src/f19_9.htm, 3KB, , updated: 2006/5/29 09:36, local time: 2024/12/26 13:31,
3.147.81.172:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://techref.massmind.org/techref/os/win/api/win32/func/src/f19_9.htm"> EnhMetaFileProc</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to techref.massmind.org! |
.