RmDeinitialize (Compact 7)
3/12/2014
This function signals the Resource Manager that the Connection Manager is no longer using the resources represented by the hId parameter.
Syntax
RM_RESULT RmDeinitialize(
__in HANDLE hId
);
Parameters
- [in] hId
[in] An RM_RESOURCE_HANDLE returned by RmInitialize.
Return Value
The function returns the following values:
Value | Description |
---|---|
RMRE_SUCCESS |
The call succeeded. |
RMRE_INVALID_PARAMETER |
One of the input parameters is invalid. |
RMRE_NOT_INITIALIZED |
The hId parameter cannot be matched to an initialized resource. |
RMRE_UNEXPECTED |
An unexpected failure occurred. |
Remarks
If the call fails, the hId parameter is unchanged.
Requirements
Header |
rmnet.h |
Library |
rmnet.lib |
See Also
Reference
Resource Manager Functions
RM_RESOURCE_HANDLE
RmInitialize
Resource Manager Service Provider Reference