nn::uds::CTR::DestroyEndpoint Functionnn::Result DestroyEndpoint( EndpointDescriptor * pEndpointDesc );
| Name | Description | |
|---|---|---|
| in | pEndpointDesc | Descriptor indicating the endpoint. |
Result values listed below. | Value | Description |
|---|---|
ResultSuccess |
Process was successful. |
ResultNotInitialized |
The library is not initialized. Execute the nn::uds::Initialize function. |
| ResultNotAuthorized | Returns that an invalid EndpointDescriptor was specified. |
| A value other than the above. | Failed for reasons other than those given above. |
Destroys an endpoint.
When an endpoint for which the Attach function has been executed is specified, the receive buffer is released. The released receive buffer can be re-used with the Attach function, but note that the application will only be able to access it after the Finalize function is executed.
CONFIDENTIAL