_IAPIEvents::onConnectionRequestNamedPipe

method onConnectionRequestNamedPipe. (Server side only)

A named pipe server is notified by this callback when an incoming connection occurs.

At this place, it can accept or not the connection

 

long onConnectionRequestNamedPipe(
  long hNamedPipeClientObjectProxy
);

Parameters

hNamedPipeClientObjectProxy

[in] .   Handle of proxy named pipe object

Return Values

0        Reject named pipe connection request.

1        Accept named pipe connection request, generally by calling

             AddNamedPipeClientObjectEventHandlers( )

See Also

_IAPIEvents