IAPI::GetActiveNamedPipeClientObjectNumber

property GetActiveNamedPipeClientObjectNumber. ( Server side only )

Retrieves the number of connected clients.

 

HRESULT GetActiveNamedPipeClientObjectNumber(
  long hNamedPipeServerObject,
  long *pVal
);

Parameters

hNamedPipeServerObject

[in] .   Handle of named pipe server.

pVal

[out, retval] The returned value is the number of clients.

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