RpcNsBindingImportDone  3NDA_4T

The RpcNsBindingImportDone function signifies that a client has finished looking for a compatible server and deletes the import context.

#include <rpc.h>

RPC_STATUS RPC_ENTRY RpcNsBindingImportDone(

    RPC_NS_HANDLE *  ImportContext

 

   );

 

 

Parameters

ImportContext

Points to a name-service handle to free. The name-service handle ImportContext points to is created by calling the RpcNsBindingImportBegin routine.

An argument value of NULL is returned.

 

Remarks

The RpcNsBindingImportDone routine frees an import context created by calling the RpcNsBindingImportBegin routine.

Typically, a client application calls RpcNsBindingImportDone after completing remote procedure calls to a server using a binding handle returned from the RpcNsBindingImportNext routine. However, a client application is responsible for calling RpcNsBindingImportDone for each created import context regardless of the status returned from the RpcNsBindingImportNext routine or the success in making remote procedure calls.

Return Values

Value

Meaning

RPC_S_OK

Success

 

See Also

RpcNsBindingImportBegin, RpcNsBindingImportNext