The RpcNsBindingLookupDone function signifies that a client has finished looking for compatible servers and deletes the lookup context.
#include <rpc.h>
RPC_STATUS RPC_ENTRY RpcNsBindingLookupDone(
RPC_NS_HANDLE * LookupContext
);
An argument value of NULL is returned.
Value | Meaning |
---|---|
RPC_S_OK | Success |
The RpcNsBindingLookupDone routine frees a lookup context created by calling the RpcNsBindingLookupBegin routine.
Typically, a client application calls RpcNsBindingLookupDone after completing remote procedure calls to a server using a binding handle returned from the RpcNsBindingLookupNext routine. However, a client application is responsible for calling RpcNsBindingLookupDone for each created lookup context, regardless of the status returned from the RpcNsBindingLookupNext routine or the success in making remote procedure calls.
Windows NT: Yes
Windows CE: Unsupported.
Header: Declared in rpcnsi.h.
Import Library: Link with rpcns4.lib.
RpcNsBindingLookupBegin, RpcNsBindingLookupNext