CmEmbedded_4c_transp 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.

  • C, C++
  • C#

Syntax

int CMAPIENTRY CmExtendedDiscControl(HCMSysEntry hcmse, CMULONG flCtrl, const CMBYTE *data, CMUINT cbData);

Parameter

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

flCtrl contains the flags available for obtaining 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