This method is specific to version 3, or higher, of the OS/2 operating system.
This instance method returns the printer object's remote options.
#define INCL_WINWORKPLACE
#include <os2.h>
WPPrinter *somSelf; /* Pointer to the object on which the method is being invoked. */
PULONG pulRefreshInterval; /* Pointer to the time interval indicating when the printer object is refreshed. */
PULONG pflAllJobs; /* Pointer to the flag indicating which jobs to display. */
BOOL rc; /* Success indicator. */
rc = _wpQueryRemoteOptions(somSelf, pulRefreshInterval,
pflAllJobs);