IHolder::TrackResourceS method (comsvcs.h)

Tracks the resource (string version).

Syntax

HRESULT TrackResourceS(
  [in] constSRESID __MIDL__IHolder0004
);

Parameters

[in] __MIDL__IHolder0004

The handle of the resource to be tracked. The Resource Dispenser has already created this resource before calling TrackResourceS.

Return value

This method can return the following values.

Return code Description
S_OK
The method completed successfully.
E_INVALIDARG
SResId is not a valid resource handle.
E_FAIL
The method failed. The resource has not been tracked. The likely cause is that the caller's transaction is aborting.

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