A generic template for writing a DirXML driver using the XDS library.