2.3.2.1 LICENSEINFO Record

Specifies the information saved for each ActiveX control in the VBA project.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

ClassID (16 bytes)

...

...

SizeOfLicenseKey

LicenseKey (variable)

...

LicenseRequired

ClassID (16 bytes):  A GUID that specifies the class identifier (CLSID) of an ActiveX control.

SizeOfLicenseKey (4 bytes): An unsigned integer that specifies the length of LicenseKey in bytes.

LicenseKey (variable): An array of SizeOfLicenseKey bytes that specifies the license key for the ActiveX control.

LicenseRequired (4 bytes):  An unsigned integer that specifies a Boolean value. Specifies that the ActiveX control can be instantiated only by using a license-aware object creation method. SHOULD be 0x00000001 when the value of SizeOfLicenseKey is not zero. Otherwise SHOULD be 0x00000000. If a document is originally created with an ActiveX control that requires license-aware object creation, and then resaved after the ActiveX control removes that requirement, it can be 0x00000000 even though SizeOfLicenseKey is not zero.