IDL_RPCInit
Calling Sequence
Description
Use this function to initialize an IDL RPC client session.
The client program is registered as a client of the IDL RPC server. The server that the client is registered with depends on the values of the parameters passed to the function.
Parameters
ServerId
The ID number of the IDL server that the program is to be registered with. If this value is 0, the default server ID (0x2010CAFE) is used.
pHostname
This is the name of the machine where the IDL server is running. If this value is NULL or "", the default, "localhost", is used.
Return Value
A pointer to the new CLIENT structure is returned upon successful completion. This opaque data structure is then later used by the client program to perform operations with the server. This function returns NULL if the operation was unsuccessful.