5.115.7 TransformReplValInfNativeListToSearchEntry

 procedure TransformReplValInfNativeListToSearchEntry (
     [in] o: DSNAME,
     [in] chgReply: DRS_MSG_GETCHGREPLY_NATIVE,
     [out] searchResultEntry: SEARCH_RESULT_ENRTY
     )

Informative summary of behavior: The TransformReplValInfNativeListToSearchEntry procedure transforms, for object o, the attribute values in the REPLVALINF_NATIVE list (chgReply.rgValues) to an AttributeList structure in searchResultEntry.

  
 attrList: AttributeList
 attrVals: AttributeVals
 attributeType: ATTRTYP
  
  
 TransformDSNameToLdapDN (o, searchResultEntry.objectName)
  
  
 attrList := searchResultEntry.attributes
  
  
 foreach distinct attribute attrType of the object o in
 chgReply.rgValues
  
  
    attrList.value.type := LDAPDisplayNameFromAttrTyp (attrType)
    attrVals := attrList.value.vals
  
  
    foreach attribute value replAttrVal of the attribute attrType
    of the object o in chgReply.rgValues
  
  
       attrVals.value := ValueFromATTRVAL(replAttrVal,
                                         attrType,
                                         dc.prefixTable)
       attrVals := attrVals.next
   endfor
  
  
   attrList := attrList.next
 endfor
  
  
 return