RpcNsBindingLookupDone function (rpcnsi.h)
The RpcNsBindingLookupDone function signifies that a client has finished looking for compatible servers and deletes the lookup context.
Syntax
RPC_STATUS RpcNsBindingLookupDone(
RPC_NS_HANDLE *LookupContext
);
Parameters
LookupContext
Pointer to the name-service handle to free. The name-service handle LookupContext points to is created by calling the RpcNsBindingLookupBegin function.
An argument value of NULL is returned.
Return value
Value | Meaning |
---|---|
|
The call succeeded. |
Remarks
The RpcNsBindingLookupDone function frees a lookup context created by calling the RpcNsBindingLookupBegin function.
Typically, a client application calls RpcNsBindingLookupDone after completing remote procedure calls to a server using a binding handle returned from the RpcNsBindingLookupNext function. However, a client application is responsible for calling RpcNsBindingLookupDone for each created lookup context, regardless of the status returned from the RpcNsBindingLookupNext function 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 |