IAPI::ConnectNamedPipeServerObject

property ConnectNamedPipeServerObject.

Connects a named pipe client object to an instance of server.

 

HRESULT ConnectNamedPipeServerObject(
  BSTR host_or_ip,
  BSTR pNamedPipe,
  long hNamedPipeClientObject,
  long *pVal
);

Parameters

host_or_ip

[in] .   Hostname or IP address. “.” or “local” means local PC.

pNamedPipe

[in] .   Name of the server

hNamedPipeClientObject

[in] .   Handle of named pipe client object.

pVal

[out, retval] The returned value is is 0 if succeeded, other value if failed.

Return Values

S_OK

The operation was successfull.

E_POINTER

A NULL pointer was supplied as an argument.

E_UNEXPECTED

An unexpected error occoured.

See Also

IAPI