3.2.6.5.6 ConnectedNetwork
The MQDS client MUST perform the following actions:
Input arguments for the S_DSLookupNext method (section 3.1.4.18) MUST be computed:
Handle MUST be the value of ReadIterator.Handle.
Other arguments MUST be set up as described in section 3.1.4.18.
The S_DSLookupNext method MUST be called. If the return value is not MQ_OK, processing MUST end. rStatus MUST be set to DirectoryOperationResult.GenericError and rDirectoryObject is undefined.
If dwOutSize is 0, processing MUST end. rStatus MUST be set to DirectoryOperationResult.EndOfData and rDirectoryObject is undefined.
A ConnectedNetwork data element MUST be created. rDirectoryObject MUST be set to this new ConnectedNetwork data element. The attributes listed in ReadIterator.AttributeList MUST be set on rDirectoryObject according to the following table. The property values required are in the PROPVARIANT array pointed to by pbBuffer and are in the same order as the property identifiers in ReadIterator.PropidList.
ConnectedNetwork attribute
Property identifier
Attribute value computation
Name
Unicode string copied from property.
Identifier
PROPID_CN_GUID ([MS-MQMQ] section 2.3.4.3)
GUID copied from property.
Security
PROPID_CN_SECURITY ([MS-MQMQ] section 2.3.4.6)
Security descriptor copied from property.
Processing MUST end. rStatus MUST be set to DirectoryOperationResult.Success.