IHolder::UntrackResource method (comsvcs.h)

Stops tracking a resource.

Syntax

HRESULT UntrackResource(
  [in] const RESID __MIDL__IHolder0005,
  [in] const BOOL  __MIDL__IHolder0006
);

Parameters

[in] __MIDL__IHolder0005

The handle of the resource to stop tracking.

[in] __MIDL__IHolder0006

If TRUE, caller is requesting that the resource be destroyed, by calling IDispenserDriver::DestroyResource. If FALSE, caller destroys the resource.

Return value

This method can return the following values.

Return code Description
S_OK
The method completed successfully.
E_INVALIDARG
ResId is not a valid resource handle.
E_FAIL
The method failed.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header comsvcs.h

See also

IDispenserDriver

IDispenserManager

IHolder