cookie CmReserveFirmItem

Description

CmReserveFirmItem reserves a temporary Firm Item with a random Session ID and reserves additional memory in the CmDongle for subsequent Firm Item and Product Item programming operations.

tmr_02

Triple Mode Redundancy-related information (TMR)

  • C, C++
  • C#
  • Python

Syntax

int CMAPIENTRY CmReserveFirmItem(HCMSysEntry hcmse, CMULONG ulFirmCode, CMRESERVEFI *pcmReserveFi)

Parameter

hcmse contains a handle opened by CmAccess / CmAccess2. Can be Box Access or Entry Access.

ulFirmCode contains the Firm Code of the Firm Item to be programmed into the CmDongle.

pcmReserveFi receives the Firm Item# Reference to the reserved memory in the CmDongle and the Session ID to program a Firm Item.

Return

TRUE, if the memory was reserved in the CmDongle and the reserved Firm Item Reference and the Session ID were returned - FALSE, if not.

Syntax

public bool CmReserveFirmItem(HCMSysEntry hcmse, uint FirmCode, out CmReserveFi ReserveFi)

Parameter

hcmse contains a handle opened by CmAccess / CmAccess2. The Access Mode must be Entry Access to a FSB Entry for a regular license. The handle is related to a CmLocal or a CmLAN subsystem with a connected Firm Security Box (FSB). If the license is an evaluation license not needing any security mechanisms like a FSB the access can be Box Access. To update the IFI of a local CmDongle the access can also be Box Access. The access can be performed to the CmDongle to be programmed or updated. A matching entry in the CmLicensor/CmFirm.wbc file has to exist in both cases.

ReserveFi contains the information od the class hmtoggle_plus1 CmReserveFi.

Return

true, if the memory was reserved in the CmDongle and the reserved Firm Item Reference and the Session ID were returned - false, if not.

 

Currently not yet documented.