3.2.6.5.3 Enterprise
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.
An Enterprise data element MUST be created. rDirectoryObject MUST be set to this new Enterprise 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.
Enterprise attribute
Property identifier
Attribute value computation
Name
Unicode string copied from property.
WeakenedSecurity
PROPID_E_NAMESTYLE ([MS-MQMQ] section 2.3.5.2)
Computed from property. See section 3.2.6.3.3.1.
CrytographicProvider
PROPID_E_CSP_NAME ([MS-MQMQ] section 2.3.5.3)
Computed from property. See section 3.2.6.3.3.2.
Identifier
PROPID_E_ID ([MS-MQMQ] section 2.3.5.9)
GUID copied from property.
DefaultTimeToLive
PROPID_E_LONG_LIVE ([MS-MQMQ] section section 2.3.5.15)
Integer copied from property.
OldDirectory
PROPID_E_VERSION ([MS-MQMQ] section 2.3.5.16)
If property equals 3, OldDirectory is TRUE. Else if property equals 200 OldDirectory is FALSE.
Security
PROPID_E_SECURITY ([MS-MQMQ] section 2.3.5.17)
Security descriptor copied from property.
Processing MUST end. rStatus MUST be set to DirectoryOperationResult.Success.