2.2.4.2.2.2 ReplyBuffer

The ReplyBuffer structure specifies the layout of the response in the QueryReply structure.

 typedef struct {
   fixed_part_of_reply fpr;
   wchar_t entryName[fpr.EntryNameLength];
   long objListSize;
   DWORD unused;
   GUID objUUID[objListSize];
   wchar_t binding[fpr.BindingLength];
 } ReplyBuffer;

fpr: MUST contain the fixed part of the reply. For more information, see section 2.2.4.2.2.3.

entryName: A null-terminated Unicode buffer that MUST contain the name of the name service entry as specified by the RPC_C_NS_SYNTAX_DCE syntax. The size (in characters) of this buffer, including the terminating null character, MUST be fpr.EntryNameLength.

objListSize: MUST contain the number of object UUIDs present in the objUUID array.

unused: Senders MUST set this to zero, and receivers MUST ignore it.

objUUID: An array of object UUIDs exported on the name service entry. The number of object UUIDs in this buffer MUST be equal to the objListSize. The size of this buffer MUST be the number of object UUIDs in this buffer.

binding: A null-terminated Unicode buffer that MUST contain a string binding exported to the name service entry. The size (in characters) of this buffer, including the terminating null character, MUST be fpr.BindingLength.