Function Reference


Decrements (decreases by one) the reference count of a loaded resource

#include <WinAPIRes.au3>
_WinAPI_FreeResource ( $hData )


$hData Handle of the resource was created by _WinAPI_LoadResource().

Return Value

Success: True
Failure: False


The reference count for a resource is incremented (increased by one) each time an application calls the _WinAPI_LoadResource() function for the resource.
This function is obsolete and is only supported for backward compatibility with 16-bit Microsoft Windows.
For 32-bit Windows applications, it is not necessary to free the resources loaded using function _WinAPI_LoadResource().



See Also

Search FreeResource in MSDN Library.