RpcNsBindingImportDone function (rpcnsi.h)

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

Note  This function is not supported on Windows Vista and later operating systems.
 

Syntax

RPC_STATUS RpcNsBindingImportDone(
  RPC_NS_HANDLE *ImportContext
);

Parameters

ImportContext

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

An argument value of NULL is returned.

Return value

Value Meaning
RPC_S_OK
The call succeeded.
 
Note  For a list of valid error codes, see RPC Return Values.
 

Remarks

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

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header rpcnsi.h (include Rpc.h)
Library Rpcns4.lib
DLL Rpcns4.dll

See also

RpcNsBindingImportBegin

RpcNsBindingImportNext