_IAPIEvents::onConnectionStateNamedPipe

method onConnectionStateNamedPipe.

Named pipe connection states are notified by this callback function client or proxy code

 

long onConnectionStateNamedPipe(
            long hOwnerNamedPipe,
            BSTR state_desc,
            long error_number
);

Parameters

hOwnerNamedPipe

[in] .   Handle of named pipe object.

state_desc

[in] .   Textual description

error_number

[in] .   If named pipe object is a regular client:

 . error_number = 0  means that connection is established.
 . error_number = <other value> means that named pipe is broken.

 

If named pipe object is a proxy (server side):

. error_number = 0  means that named pipe server is closed gracefully.
 . error_number = <other value> means that named pipe is broken.

Return Values

 

Any value

See Also

_IAPIEvents