IComCRMEvents::OnCRMBegin method (comsvcs.h)

Generated when a CRM clerk is starting, either due to a client registering a compensator or during recovery.

Syntax

HRESULT OnCRMBegin(
  [in] COMSVCSEVENTINFO *pInfo,
  [in] GUID             guidClerkCLSID,
  [in] GUID             guidActivity,
  [in] GUID             guidTx,
  [in] WCHAR [64]       szProgIdCompensator,
  [in] WCHAR [64]       szDescription
);

Parameters

[in] pInfo

A pointer to a COMSVCSEVENTINFO structure.

[in] guidClerkCLSID

The identifier of the CRM clerk.

[in] guidActivity

The activity identifier (NULL if recovery).

[in] guidTx

The identifier of the Transaction Unit Of Work (UOW).

[in] szProgIdCompensator

The ProgID of the CRM compensator.

[in] szDescription

The description (blank if recovery).

Return value

The user verifies the return values from this method.

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

IComCRMEvents