RpcBindingInqObject function (rpcdce.h)

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

Syntax

RPC_STATUS RpcBindingInqObject(
  RPC_BINDING_HANDLE Binding,
  UUID               *ObjectUuid
);

Parameters

Binding

Client or server binding handle.

ObjectUuid

Returns a pointer to the object UUID found in the Binding parameter. ObjectUuid is a unique identifier of an object to which a remote procedure call can be made.

Return value

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

Remarks

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

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps | UWP apps]
Minimum supported server Windows 2000 Server [desktop apps | UWP apps]
Target Platform Windows
Header rpcdce.h (include Rpc.h)
Library Rpcrt4.lib
DLL Rpcrt4.dll

See also

RpcBindingSetObject