cookie CmExtendedDiscControl

Description

CmExtendedDiscControl is used to obtain information of a Secure Disk partition of a CmContainer.

information_weiss_klein26

For more details on the Secure Disk feature, please contact Wibu-Systems support.

 

tmr_02

Triple Mode Redundancy-related information (TMR)

  • C, C++
  • C#
  • Python

Syntax

int CMAPIENTRY CmExtendedDiscControl(HCMSysEntry hcmse, CMULONG flCtrl, void *data, CMUINT cbData);"

Parameter

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

flCtrl contains the flags available for optaining information of a secure disk partition.

nav_open CM_SECURE_DISC_STATUS contains information on the secure disc status (0x00000200).

nav_open CM_GET_DISC_CONFIGURATION contains information of the disk configuration (0x00000203).

data points to the structures:

hmtoggle_plus1 CM_DISC_STATUS.

hmtoggle_plus1 CM_DISC_CONFIGURATION)

cbData contains the length of data in bytes.

 

Return

If the functions fails, a value of 0 is returned.

Notes

 

Not implemented.

Syntax

import cmapi
 
handle.CmExtendedDiscControl(flCtrl: int) -> cmapi.CM_DISC_CONFIGURATION
throws CodeMeterApiFailedException()

Parameter

handle is the handle opened by CmAccess / CmAccess2 (can be Box Access, Entry Access or Firm Item access).

flCtrl contains the flags available for optaining information of a secure disk partition.

nav_open cmapi.CM_SECURE_DISC_STATUS contains information on the secure disc status (0x00000200).

nav_open cmapi.CM_GET_DISC_CONFIGURATION contains information of the disk configuration (0x00000203).

Return

a hmtoggle_plus1 cmapi.CM_DISC_CONFIGURATION) object.

Return

If the functions fails, an exception is thrown.

Notes

Not implemented