IHolder::UntrackResourceS method

Stops tracking a resource (string version).

Syntax


HRESULT UntrackResourceS(
  [inconst SRESID SResId,
  [inconst BOOL   fDestroy
);

Parameters

SResId [in]

The handle of the resource to stop tracking.

fDestroy [in]

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 codeDescription
S_OK

The method completed successfully.

E_INVALIDARG

SResId is not a valid resource handle.

E_FAIL

The method failed.

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

ComSvcs.h

See also

IDispenserDriver
IDispenserManager
IHolder

 

 

Community Additions

ADD
Show: