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/11/6 19:21,
44.192.67.10:LOG IN ©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!
|
©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://www.piclist.com/techref/os/win/api/win32/func/src/f19_9.htm"> EnhMetaFileProc</A> |
Did you find what you needed? |
PICList 2024 contributors:
o List host: MIT, Site host massmind.org, Top posters @none found - Page Editors: James Newton, David Cary, and YOU! * Roman Black of Black Robotics donates from sales of Linistep stepper controller kits. * Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters. * Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated! * Contributors: Richard Seriani, Sr. |
Welcome to www.piclist.com! |
.