Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
How to display picture stored in enhanced-format metafile (*.emf)
How to print picture stored in enhanced-format metafile (*.emf)
..msdn    Add comment     W32 Constants      Translate this page
The GetEnhMetaFileHeader function retrieves the record containing the header for the specified enhanced-format metafile.
Code examples:
How to print picture stored in enhanced-format metafile (*.emf)
How to display picture stored in enhanced-format metafile (*.emf)
UINT GetEnhMetaFileHeader(
  HENHMETAFILE hemf,      // handle to enhanced metafile
  UINT cbBuffer,          // size of buffer
  LPENHMETAHEADER lpemh   // data buffer
FoxPro declaration:
DECLARE INTEGER GetEnhMetaFileHeader In gdi32;
    INTEGER   hemf,;
    INTEGER   cbBuffer,;
    STRING  @ lpemh

[in] Handle to the enhanced metafile for which the header is to be retrieved.

[in] Specifies the size, in bytes, of the buffer to receive the data. Only this many bytes will be copied.

[out] Pointer to an ENHMETAHEADER structure that receives the header record.
Return value:
If the function succeeds and the structure pointer is NULL, the return value is the size of the record that contains the header; if the structure pointer is a valid pointer, the return value is the number of bytes copied. Otherwise, it is zero.
Word Index links for the GetEnhMetaFileHeader :
Translate this page:
  Spanish    Portuguese    German    French    Italian offers instant, free translations of text or web pages.
Created: 2003-05-22 16:44:21
Modified: 2003-05-22 16:45:48
Visited in last 7 days: 52
User Contributed Notes:
There are no notes on this subject.

Copyright 2001-2018 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.39), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (
9 sec.Function: 'RasPhonebookDlg'
15 sec.Function: 'CloseHandle'
23 sec.Function: 'GetAdaptersInfo'
32 sec.Function: 'GetSysColorBrush'
41 sec.Function: 'WindowFromDC'
49 sec.Function: 'GdipSetPageScale'
59 sec.Function: 'SetFileTime'
1.13 min.Function: 'NetScheduleJobAdd'
Advertise here!