All printing plug-ins—including printing dialog extensions—must implement the three functions defined in the PMPluginHeader interface. These functions perform reference counting and provide version information for the larger PlugInIntfVTable interface.
This appendix explains how to perform these tasks. You should be able to use this sample code in a real-world project with little or no modification.
PMRetain
PMRelease
PMGetAPIVersion
Last updated: 2006-10-03