2.5.1 AddinUdf

The AddinUdf structure specifies the data for a UDF reference on an XLL or COM add-in in the ExternName record.


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

reserved

udfName (variable)

...

cb

unused (variable)

...

reserved (4 bytes): MUST be zero, and MUST be ignored.

udfName (variable): A ShortXLUnicodeString that specifies the name of the referenced UDF. udfName.cch MUST be less than or equal to 255. For COM add-in functions only, it also specifies the ProgID of the COM object that implements the add-in function (XLL add-in functions do not have their implementing libraries uniquely specified).

cb (2 bytes): An unsigned integer that specifies the size of unused in bytes.

unused (variable): Undefined and MUST be ignored. The size of this field in bytes is specified by cb.