typedef struct _CM_RM
{
    LIST_ENTRY RmListEntry;
    LIST_ENTRY TransactionListHead;
    void *TmHandle;
    void *Tm;
    void *RmHandle;
    void *KtmRm;
    unsigned long RefCount;
    unsigned long ContainerNum;
    unsigned __int64 ContainerSize;
    CMHIVE *CmHive;
    void *LogFileObject;
    void *MarshallingContext;
    unsigned long RmFlags;
    long LogStartStatus1;
    long LogStartStatus2;
    unsigned __int64 BaseLsn;
    ERESOURCE *RmLock;
} CM_RM, *PCM_RM;