wpQueryPrintObject - Syntax

This method is specific to Version 3, or higher, of the OS/2 operating system.

This instance method returns a pointer to the printer object that the current job is in.

#define INCL_WINWORKPLACE
#include <os2.h>

WPJob        *somSelf;  /*  Pointer to the object on which the method is being invoked. */
WPObject     *Object;   /*  Pointer to the printer object. */

Object = _wpQueryPrintObject(somSelf);


[Back: wpQueryPrintObject]
[Next: wpQueryPrintObject Parameter - somSelf]