RpcNsBindingLookupDone
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 |
|
); |
|
Parameters
LookupContext
Points to the
name-service handle to free. The name-service handle LookupContext
points to is created by calling the routine RpcNsBindingLookupBegin.
An argument
value of NULL is returned.
Remarks
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.
Return Values
Value |
Meaning |
RPC_S_OK |
Success |
See Also