Using Win32 functions in Visual FoxPro Image Gallery
Metafile
..msdn
CloseEnhMetaFile
CreateEnhMetaFile
DeleteEnhMetaFile
GetEnhMetaFile
GetEnhMetaFileHeader
PlayEnhMetaFile
Code examples:
Copying picture of the active form to the Clipboard using Enhanced Metafile API functions
How to print FoxPro form -- II
Storing screen shot of a form to enhanced metafile (*.emf)
CloseEnhMetaFile
    Add comment     W32 Constants      Translate this page
The CloseEnhMetaFile function closes an enhanced-metafile device context and returns a handle that identifies an enhanced-format metafile.
Code examples:
How to print FoxPro form -- II
Copying picture of the active form to the Clipboard using Enhanced Metafile API functions
Storing screen shot of a form to enhanced metafile (*.emf)
Declaration:
HENHMETAFILE CloseEnhMetaFile(
  HDC hdc   // handle to enhanced-metafile DC
);
FoxPro declaration:
DECLARE INTEGER CloseEnhMetaFile IN gdi32;
    INTEGER hdc

Parameters:
hdc
[in] Handle to an enhanced-metafile device context.
Return value:
If the function succeeds, the return value is a handle to an enhanced metafile.
My comment:
When the application no longer needs the enhanced metafile handle, it should release the handle by calling the DeleteEnhMetaFile function.
Word Index links for the CloseEnhMetaFile :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2003-05-22 10:50:36
Modified: 2003-05-22 10:51:58
Visited in last 7 days: 37
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 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.37), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.156.76.240)
3 sec.Function: 'CryptGenRandom'
6 sec.Function: 'CloseServiceHandle'
9 sec.Function: 'GetKBCodePage'
12 sec.Function: 'FrameRgn'
15 sec.Function: 'CreateEnhMetaFile'
19 sec.
Function group: 'Registry'
23 sec.Function: 'GetCapture'
27 sec.Function: 'GdipDrawImageI'
30 sec.Function: 'CreateEvent'
34 sec.Function: 'GdipCreateStringFormat'
Google
Advertise here!