The class
dde-topic
is the superclass of all topic objects. You can define subclasses using defclass and return instances of them by defining a method for the dde-server-topic generic function. This allows you to create topics with arbitrary internal state that can be accessed via DDE.