NextPrevUpTopContentsIndex

1.3 The mapping from COM names to Lisp symbols

COM names are typically a mixture of upper and lower case letters and digits, with words capitalized. These names are mapped to Lisp symbols, adding hyphens to match typical Lisp conventions for word boundaries. These examples illustrate some conversions:

Examples of COM names and their corresponding Lisp names

COM name

Lisp name

IUnknown

i-unknown

pStr

p-str

DWORD

dword

IEnumVARIANT

i-enum-variant

In addition, COM methods with the propget attribute have a get- prefix added to their names and COM methods with the propput or propputref attributes have a put- prefix added to their names. Note that these prefixes are not used when calling methods via Automation.

To see the mapping for a particular file, look at the output while loading a converted IDL file or type library.


LispWorks COM/Automation User Guide and Reference Manual - 21 Feb 2008

NextPrevUpTopContentsIndex