rpc_binding_copy-returns a copy of a binding handle
void rpc_binding_copy( rpc_binding_handle_t source_binding, rpc_binding_handle_t *destination_binding, unsigned32 *status);
- Specifies the server binding handle whose referenced binding information will be copied.
- Returns the server binding handle that refers to the copied binding information.
- Returns the status code from this routine. The status code indicates whether the routine completed successfully or, if not, why not.
Possible status codes and their meanings include:
The rpc_binding_copy() routine copies the server binding information referenced by the binding handle specified in the source_binding argument. This routine returns a new server binding handle for the copied binding information. The new server binding handle is returned in the destination_binding argument.
After calling this routine, operations performed on the source_binding binding handle do not affect the binding information referenced by the destination_binding binding handle. Similarly, operations performed on the destination_binding binding handle do not affect the binding information referenced by the source_binding binding handle.
- To release the memory used by the destination_binding binding handle and its referenced binding information, the application calls the rpc_binding_free() routine.
Please note that the html version of this specification may contain formatting aberrations. The definitive version is available as an electronic publication on CD-ROM from The Open Group.