4 Protocol Examples
The RfrGetNewDSA method is explained in the following example.
The client requests an NSPI server name from the server by calling the RfrGetNewDSA method with the pUserDN parameter set to the DN of the client's mailbox.
Typical parameters will look like the following:
-
// RPC handle returned by RPC binding functions hRpc 0x00010480 handle_t ulFlags 0x00000000 unsigned long pUserDN "/o=First Organization/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=user1" unsigned char * ppszUnused 0x00000000 unsigned char * * // memory address which will receive output string ppszServer 0x62348000 unsigned char * *
The server responds to the RfrGetNewDSA method with a return code of 0 and a valid server name.
Typical parameters will look like the following:
-
ppszServer "server1.example.com" unsigned char * *