The PlayEnhMetaFileRecord function plays an enhanced-metafile record by executing the graphics device interface (GDI) functions identified by the record.
BOOL PlayEnhMetaFileRecord(
HDC hdc, |
// handle to device context |
LPHANDLETABLE lpHandletable, |
// pointer to metafile handle table |
CONST ENHMETARECORD *lpEnhMetaRecord, |
// pointer to metafile record |
UINT nHandles |
// count of handles |
); |
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError.
This is an enhanced-metafile function.
An application typically uses PlayEnhMetaFileRecord in conjunction with the EnumEnhMetaFile function to process and play an enhanced-format metafile one record at a time.
The hdc, lpHandletable, and nHandles parameters must be exactly those passed to the EnhMetaFileProc callback procedure by the EnumEnhMetaFile function.
If PlayEnhMetaFileRecord does not recognize a record, it ignores the record and returns TRUE.
Windows 95: PlayEnhMetaFileRecord is subject to the limitations of the Windows 95 GDI. For example, Windows 95 supports only 16-bit signed coordinates. For records that contain 32-bit values, Windows 95 fails to play the record if the values are not in the range -32,768 to 32,767.
EnumEnhMetaFile, PlayEnhMetaFile
file: /Techref/os/win/api/win32/func/src/f67_10.htm, 3KB, , updated: 2000/4/7 11:19, local time: 2024/11/7 22:04,
18.191.140.36: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://massmind.ecomorder.com/Techref/os/win/api/win32/func/src/f67_10.htm"> PlayEnhMetaFileRecord</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to massmind.ecomorder.com! |
.