18.104.22.168 NspiDNToMId (Opnum 7)
long NspiDNToMId( [in] NSPI_HANDLE hRpc, [in] DWORD Reserved, [in] StringsArray_r* pNames, [out] PropertyTagArray_r** ppOutMIds );
Reserved: A DWORD value reserved for future use. Ignored by the server.
ppOutMIds: A PropertyTagArray_r value. On return, it holds a list of MIds.
Return Values: The server returns a long value specifying the return status of the method.
No exceptions are thrown beyond those thrown by the underlying RPC protocol, as specified in [MS-RPCE].
Server Processing Rules
Upon receiving this message, the server MUST process the data from the message subject to the following constraints:
If the server returns any return value other than Success, the server MUST return the value NULL in the return parameter ppOutMIds.
The server MAY<28> make additional validations as described in Security (section 5). If the server chooses to limit the visibility of data based on these validations, the server MUST proceed as if that data did not exist in the address book.
If the server is unable to locate an appropriate mapping between a DN and a MId, it MUST map the DN to a MId with the value 0.
The server constructs a list of MIds to return to the client, encoding the mappings. The list is in a one-to-one order preserving correspondence with the list of DNs in the input parameter pNames. The server MUST return the list in the output parameter ppOutMIds.
If no other return values have been specified by these constraints, the server MUST return the return value Success.