Share via


INDEndpoint::Flush Method

Cancels all outstanding requests in the inbound and outbound completion queues.

Syntax

HRESULT Flush();

Parameters

This method has no parameters.

Return Value

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.

Return code Description
ND_SUCCESS

The operation succeeded. Note that all pending requests may not have completed when this call returns.

 

Remarks

The status for flushed requests is set to ND_CANCELED.

Note that the INDConnector::Disconnect method implicitly flushes all outstanding requests. The Flush method gives the client the opportunity to stop I/O processing before disconnecting (if needed).

If the completion queues are used by more than one endpoint, only this endpoint's requests are canceled.

Requirements

Product

Microsoft Message Passing Interface (MS-MPI)

Header

Ndspi.h

See Also

INDEndpoint

 

 

Send comments about this topic to Microsoft

Build date: 7/2/2010