// rxce.h
NTSTATUS RxCeTearDownConnection(
[in] IN PRXCE_CONNECTION pConnection
);
View the official Windows Driver Kit DDI referenceNo description available.
RxCeTearDownConnection tears down a given connection between a local RDBSS connection address and a remote address.
pConnection [in]A pointer to a connection to be torn down.
RxCeTearDownConnection returns STATUS_SUCCESS on success or one of the following error codes on failure:
| Return code | Description |
|---|---|
| STATUS_INSUFFICIENT_RESOURCES | The allocation of nonpaged pool memory needed by this routine failed. |
| STATUS_INVALID_PARAMETER | One of the parameters passed to this routine was invalid. |
When RxCeTearDownConnection is successful, the data members in the RXCE_CONNECTION structure pointed to by the pConnection parameter will be properly uninitialized, and allocated memory for connection information and handler will be freed.