IAPI::AddNamedPipeClientObjectEventHandlers

property AddNamedPipeClientObjectEventHandlers. ( Server side only ).

Accepts an incoming connection and installs communication channel with a remote client.

To be used from within onConnectionRequestNamedPipe() callback function.
(Since v2.34.1, its usage is optional, returning 1 is enough)

 

HRESULT AddNamedPipeClientObjectEventHandlers(
  long hNamedPipeClientObjectProxy,
  long *pVal
);

Parameters

hNamedPipeClientObjectProxy

[in] .   Handle of named pipe object issued by the server

pVal

[out, retval] The returned value is always 1.

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