This instance method is called to set the name of the computer that the printer exists on.
#define INCL_WINWORKPLACE #include <os2.h> WPPrinter *somSelf; /* Pointer to the object on which the method is being invoked. */ PSZ pszComputerName; /* Computer name to be set. */ BOOL rc; /* Success indicator. */ rc = _wpSetComputerName(somSelf, pszComputerName);