Platform SDK: Transaction Server

IMtsResourceEvents::OnResourceCreate

Indicates that a new resource has been created.

HRESULT OnResourceCreate(
LONGLONG                    perfCount,
REFGUID                        guidActivity,
MTS_OBJID                    ObjectID,
LPCOLESTR                pszType,
MTS_RESID                    resId);

Parameters

perfCount
The current value of the high-resolution performance counter, if one exists.

guidActivity
The GUID associated with the activity which created the object.

ObjectID
A unique number, within the scope of the server process, associated with the object.

pszType
A string associated with the resource.

resId
A unique number associated with the resource.