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.
|
Triple Mode Redundancy-related information (TMR)
|
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
CmReserveFi.
|
CmReserveFi receives the preliminary data out of a CmDongle needed for creating a sequence to add a Firm Item into a CmDongle. Syntax
Parameter FirmItemRef contains the Reference of the Firm Item which was reserved. SessionId contains the FISID (Firm Item Session Identifier), which must be used in the Request Sequence for adding 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.
Currently not yet documented.