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>freeresource()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
FreeResource()
Free a resource
------------------------------------------------------------------------------

Syntax
FreeResource( <hGlbRsrc> )   -->   lSuccess

Arguments
<hGlbRsrc> is the handle of a resource previously returned by
LoadResource().

Returns
If successful, TRUE (.T.) is returned.  Otherwise, FALSE (.F.)
is returned.

Description
This function can be used to release a resource previously
loaded from a resource file (although you are unlikely ever to
need to do this).

Example
hResource = FindResource( hInst, "Accel", RT_ACCELERATOR )
hGlbRsrc = LoadResource( hInst, hResource )
// . . .
FreeResource( hGlbRsrc )


See Also: FindResource() LoadResource()

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