RtmReleaseRoutes function (rtmv2.h)
The RtmReleaseRoutes function releases the route handles.
Syntax
DWORD RtmReleaseRoutes(
[in] RTM_ENTITY_HANDLE RtmRegHandle,
[in] UINT NumRoutes,
[in] PRTM_ROUTE_HANDLE RouteHandles
);
Parameters
[in] RtmRegHandle
Handle to the client obtained from a previous call to RtmRegisterEntity.
[in] NumRoutes
Specifies the number of routes in RouteHandles.
[in] RouteHandles
Pointer to an array of route handles to release. The handles were obtained with a previous call to RtmGetEnumRoutes.
Return value
If the function succeeds, the return value is NO_ERROR.
If the function fails, the return value is one of the following error codes.
| Value | Meaning |
|---|---|
|
The handle is invalid. |
Requirements
| Minimum supported client | None supported |
| Minimum supported server | Windows 2000 Server [desktop apps only] |
| Target Platform | Windows |
| Header | rtmv2.h |
| Library | Rtm.lib |
| DLL | Rtm.dll |