Platform SDK: Transaction Server

IHolder::TrackResourceS

This is same as TrackResource except that it takes a string.

HRESULT IHolder::TrackResourceS (
constSRESID
SResId);

Parameters

SResId [in]
The handle of the resource to track. The resource dispenser has already created this resource before calling TrackResourceS.

Return Values

S_OK
Success.

E_INVALIDARG
SResId is not a valid resource handle; is NULL or "" or duplicate.

E_FAIL
Failure. Resource SResId has not been tracked. Likely cause is that the caller's transaction is aborting.