nn::uds::CTR::DestroyEndpoint Functionnn::Result DestroyEndpoint( EndpointDescriptor * pEndpointDesc );
| Name | Description | |
|---|---|---|
| in | pEndpointDesc | Descriptor indicating the endpoint. |
Result values listed below. | Value | Description |
|---|---|
Result::IsSuccess |
Process was successful. |
ResultNotInitialized |
The library is not initialized. Execute the 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. Although the released recieve buffer can be used again by using Attach, the application can only access it after Finalize executes. This function is thread-safe.
Initialize in Return Values.CONFIDENTIAL