Driver getPublicationShim
Returns a reference to the publisher object.
public PublicationShim getPublicationShim ()
#include "NativeInterface.h" PublicationShim * METHOD_CALL getPublicationShim ( void);
The DirXML engine calls the getPublicationShim method to obtain the driver's implementation of the PublicationShim interface. Typically, the object implementing PublicationShim is constructed in either the driver object constructor or the DriverShim init method.
The following sample code from the skeleton driver returns a reference to the publisher.
public PublicationShim getPublicationShim() { tracer.trace("getPublicationShim"); return publicationShim; }
The following sample code from the skeleton driver sends a trace message and returns a handle to the publisher.
PublicationShim * METHOD_CALL CSkeletonDriver::getPublicationShim(void) { common.tracer->trace("getPublicationShim"); return publicationShim; }