The RpcBindingSetObject function sets the object UUID value in a binding handle.
#include <rpc.h>
RPC_STATUS RPC_ENTRY RpcBindingSetObject(
RPC_BINDING_HANDLE Binding,
UUID * ObjectUuid
);
An application calls the RpcBindingSetObject routine to associate an object UUID with a server binding handle. The set-object operation replaces the previously associated object UUID with the UUID in the ObjectUuid argument.
To set the object UUID to the nil UUID, specify a null value or the nil UUID for the ObjectUuid argument.
Value | Meaning |
---|---|
RPC_S_OK | Success |
RPC_S_INVALID_BINDING | Invalid binding handle |
RPC_S_WRONG_KIND_OF_BINDING | Wrong kind of binding for operation |
Windows NT: Yes
Windows CE: Unsupported.
Header: Declared in rpcdce.h.
Import Library: Link with rpcrt4.lib.
RpcBindingFromStringBinding, RpcBindingInqObject