IHolder::UntrackResource

Stops tracking this resource.

HRESULT IHolder::UntrackResource (
const RESID
ResId,
const BOOL
fDestroy);

Parameters

ResId [in]
The handle of the resource to stop tracking.

fDestroy [in]
If TRUE, caller is requesting the resource be destroyed, by calling IDispenserDriver::DestroyResource. If FALSE, caller will destroy the resource.

Return Values

S_OK
Success.

E_INVALIDARG
ResId is not a valid resource handle.

E_FAIL
Failure. Resource ResId has not been freed.