CmRelease
Description
CmRelease closes a handle opened by CmAccess / CmAccess2 and all related subsystem accesses.
The runtime will be cleaned up internally. Subsystem accesses will only be closed, if there is no other handle/entry using it.
This still open subsystem access will be closed from the last open handle to an entry using this subsystem when CmRelease is called for this handle.
|
Triple Mode Redundancy-related information (TMR)
|
Syntax
int CMAPIENTRY CmRelease(HCMSysEntry hcmse)
Parameter
hcmse contains a handle opened by CmAccess / CmAccess2.
Return
TRUE is returned, if no error has occurred - FALSE, if not.
Syntax
public bool CmRelease(HCMSysEntry hcmse)
Parameter
hcmse contains a handle opened by CmAccess / CmAccess2.
Return
true is returned, if no error has occurred - false, if not.
Syntax
import cmapi
handle.CmRelease() -> None
throws CodeMeterApiFailedException()
Parameter
handle is the handle opened by CmAccess2.
Return
There is no return value, a CodeMeterFailedException is thrown if an error has occurred.