RpcBindingInqObject

The RpcBindingInqObject function returns the object UUID from a binding handle.

#include <rpc.h>
RPC_STATUS RPC_ENTRY RpcBindingInqObject( 
  RPC_BINDING_HANDLE  Binding,   
  UUID *  ObjectUuid             
);
 

Parameters

Binding
Specifies a client or server binding handle.
ObjectUuid
Returns a pointer to the object UUID found in the Binding argument. ObjectUuid is a unique identifier of an object to which a remote procedure call can be made.

Return Values

Value Meaning
RPC_S_OK Success
RPC_S_INVALID_BINDING Invalid binding handle

Remarks

An application calls the RpcBindingInqObject routine to see the object UUID associated with a client or server binding handle.

QuickInfo

  Windows NT: Yes
  Windows CE: Unsupported.
  Header: Declared in rpcdce.h.
  Import Library: Link with rpcrt4.lib.

See Also

RpcBindingSetObject