CRMREGFLAGS enumeration (comsvcs.h)

Controls which phases of transaction completion should be received by the CRM compensator and whether recovery should fail if in-doubt transactions remain after recovery has been attempted.

Syntax

typedef enum tagCRMREGFLAGS {
  CRMREGFLAG_PREPAREPHASE = 0x1,
  CRMREGFLAG_COMMITPHASE = 0x2,
  CRMREGFLAG_ABORTPHASE = 0x4,
  CRMREGFLAG_ALLPHASES = 0x7,
  CRMREGFLAG_FAILIFINDOUBTSREMAIN = 0x10
} CRMREGFLAGS;

Constants

 
CRMREGFLAG_PREPAREPHASE
Value: 0x1
Receive the prepare phase.
CRMREGFLAG_COMMITPHASE
Value: 0x2
Receive the commit phase.
CRMREGFLAG_ABORTPHASE
Value: 0x4
Receive the abort phase.
CRMREGFLAG_ALLPHASES
Value: 0x7
Receive all phases.
CRMREGFLAG_FAILIFINDOUBTSREMAIN
Value: 0x10
Fail if in-doubt transactions remain after recovery.

Requirements

   
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header comsvcs.h

See also

ICrmLogControl::RegisterCompensator