3.2.1.5.1 Broadcast Lookup Response
The server locator MUST compose one or more QueryReply messages in response to the QueryPacket as follows:
Initialize the Domain field in the QueryReply structure with the NetBIOS domain name of the computer. If the computer is a non-domain-joined computer, the Domain field MUST be initialized to an empty string.
Form a sequence of ReplyBuffers. For each binding in a matching interface, the server locator initializes a ReplyBuffer structure.
The fpr field of the ReplyBuffer MUST be initialized as follows:
fpr.type MUST be set to MailslotServiceEntryType. For more information, see section2.2.4.2.2.1.
fpr.Interface and fpr.XferSyntx MUST be initialized, respectively, by the interface identifier and transfer syntax of matching interface.
fpr.BindingLength MUST be set to the size (in characters, including the terminating null character) of the fpr.binding buffer.
fpr.EntryNameLength MUST be set to the size (in characters, including the terminating null character) of the entryName field of the ReplyBuffer structure that contains this fixed_part_of_reply structure.
The fpr.unused[1..5] fields MUST be initialized as noted in section 2.2.4.2.2.3.
The entryName field of the ReplyBuffer is initialized with the name of the server entry.
The objListSize field MUST be equal to the number of object UUIDs present in the objUUID array.
The objUUID field MUST be initialized with the list of object UUIDs exported to the server entry.
The binding field MUST be initialized with a null-terminated UNICODE string binding exported to the name service entry. The size (in characters) of this buffer, including the terminating null character, MUST be fpr.BindingLength.
The Buffer field in QueryReply MUST be filled with the sequence of the ReplyBuffer structures and MUST be terminated as specified in section 2.2.4.2.2.
If the QueryReply structure reached its maximum length, the server locator MUST queue the QueryReply structure for transmission and then initialize an additional QueryReply to hold any remaining reply buffers.
All the QueryReply structures composed MUST be sent individually to the requester specified in the QueryPacket.WkstaName over Remote Mailslot Protocol to the address \Mailslot\RpcLoc_c.