cookie CmEnablingWithdrawAccessRights

Description

CmEnablingWithdrawAccessRights disables a CmDongle or a CmDongle entry causing a denial of access to the CmDongle or of application access.

tmr_02

Triple Mode Redundancy-related information (TMR)

  • C, C++
  • C#
  • Python

Syntax

int CMAPIENTRY CmEnablingWithdrawAccessRights(HCMSysEntry hcmse, CMENABLING_APPCONTEXT *pcmAppContext)

Parameter

hcmse contains a handle opened by CmAccess / CmAccess2 (can be Box Access or Entry Access).

pcmappcontext contains all information needed to enable/disable a CmDongle/entry (see the structure hmtoggle_plus1 CMENABLING_APPCONTEXT).

Return

TRUE, if the process worked successfully - FALSE, if not.

Notes

This is a SmartCard specific function to disable the CmDongle or a CmDongle entry, if the SmartCard is plugged out of the SmartCard-Reader. To use this function the enable item must support temporary enabling.

Syntax

public bool CmEnablingWithdrawAccessRights(HCMSysEntry hcmse, CmEnablingAppContext AppContext)

Parameter

hcmse contains a handle opened by CmAccess / CmAccess2 (can be Box Access or Entry Access).

AppContext contains all information needed to enable/disable a CmDongle/entry (see the class hmtoggle_plus1 CmEnablingAppContext).

Return

true, if the process worked successfully - false, if not.

Notes

This is a SmartCard specific function to disable the CmDongle or a CmDongle entry, if the SmartCard is plugged out of the SmartCard-Reader. To use this function the enable item must support temporary enabling.

 

Not implemented.