Allocates a completion queue.
HRESULT CreateCompletionQueue( [in] SIZE_T nEntries, [out] INDCompletionQueue **ppCq );
The number of completion queue entries to support. The value must be greater than zero and less than the MaxCqSize member of the ND_ADAPTER_INFO structure.
An INDCompletionQueue interface to the completion queue.
When you implement this method, you should return the following return values. If you return others, try to use well-known values to aid in debugging issues.
The operation completed successfully.
There was not enough memory to create the completion queue.
There was not enough hardware resources to create the completion queue.
The adapter cannot support the requested number of entries.
The underlying Network Direct adapter was removed from the system. Only cleanup operations on the Network Direct adapter will succeed.
You must create at least one completion queue. You can create one for inbound requests and another for outbound requests, or you can use the same queue for both. You specify the completion queue when you call INDConnector::CreateEndpoint to create an endpoint.
More than one endpoint can can specify the same completion queue.
|Microsoft Message Passing Interface (MS-MPI)|
Build date: 7/2/2010