Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide to Clip-4-Win version 3.0 - <b>getmfbits()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
GetMFBits()
Returns a memory handle for a metafile
------------------------------------------------------------------------------

Syntax
GetMFBits( <hMetaFile> )   -->   hGlobal

Arguments
<hMetaFile> is the handle of the metafile.

Returns
If successful, a handle to memory is returned (a non-zero
numeric).  Otherwise, zero is returned.

Description
This function returns a handle to the global memory that
contains the metafile as a sequence of bits.  The retrieved
memory handle can be used to determine the size of the
metafile or can be used with the SetMetaFileBits() or the
SetMFBBetter() functions.

After calling the GetMFBits() function you should not use the
<hMetaFile> parameter again (it becomes invalid).

The memory object should be released after use by the
GlobalFree() function or the SetMetaFileBits() or
SetMFBBetter() can be used.

Example

See Also: CreateMetaFile()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson