2.2.3.6.5 COMM_REPLICA

The structure of the COMM_REPLICA packet element is as follows.

 typedef struct _COMM_REPLICA {
   USHORT CommType;
   ULONG Length;
   ULONG LengthGuid;
   GUID Guid;
   ULONG LengthName;
   wchar_t Name[];
 } COMM_REPLICA,
  *PCOMM_REPLICA;

CommType: A 16-bit, unsigned integer that indicates the type of this COMM_PACKET element. MUST be set to 0x0005.

Length: A 32-bit, unsigned integer that indicates the length, in bytes, of the data following the Length field.

LengthGuid: A 32-bit, unsigned integer that indicates the length, in bytes, of the GUID field. MUST be 0x00000010.

Guid: A field of type GUID that indicates the GUID of the receiving Partner.

LengthName: A 32-bit, unsigned integer that indicates the length, in bytes, of the Name field, including the NULL terminator.

Name: A Unicode UTF-16 string that identifies the affected replica set. MUST BE a variable-length array that contains a NULL (0x0000) terminated string of 16-bit (Unicode) characters. There are no other constraints on the format.