CmEmbedded_4c_transp CmRelease

Description

CmRelease closes a handle opened by 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.

  • C, C++

Syntax

int CMAPIENTRY CmRelease(HCMSysEntry hcmse)

Parameter

hcmse contains a handle opened by CmAccess2.

Return

TRUE is returned, if no error has occurred - FALSE, if not.