dot-class.md

June 5, 2024 ยท View on GitHub

Asmc Macro Assembler Reference

.CLASS

.CLASS name [[ type ]] [[ : public class ]]

Declares a structure type for a COM interface.

A class can have the following kinds of members

  • data members
  • member functions

The first entry is added by the assembler

  • lpVtbl ptr nameVtbl ?
  • additional data members

Member functions are added to a second struct: nameVtbl

  • name proc (constructor - not added)
  • Release proc (first member function)

See Also

Conditional Control Flow