IAPI::CreatePoolNamedPipeServerObject

property CreatePoolNamedPipeServerObject.

Creates a named pipe and thread pool based server.

 

HRESULT CreatePoolNamedPipeServerObject(
  BSTR PipeName,
  long max_connection,
  long ThreadPoolSize,
  long *pVal
);

Parameters

PipeName

[in] .   Name of the server ( similar to file naming )

max_connection

[in] .   Maximum authorized incoming connections

ThreadPoolSize

[in,defaultvalue(8)] .

         Number of worker threads in the thread pool

pVal

[out, retval] The returned value is a handle of server object.

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