IHolder::FreeResource method (comsvcs.h)
Returns a resource to the inventory.
HRESULT FreeResource( const RESID __MIDL__IHolder0002 );
The handle of the resource to be freed.
This method can return the following values.
||The method completed successfully.|
||ResTypId is not a valid resource handle.|
||The method failed. The resource has not been freed.|
A resource originally returned by IHolder::AllocResource is returned to the pool. This notifies the Resource Dispenser through IDispenserDriver::ResetResource, which is the Resource Dispenser's opportunity to prepare the resource before it is returned to the pool.
|Minimum supported client||Windows 2000 Professional [desktop apps only]|
|Minimum supported server||Windows 2000 Server [desktop apps only]|