wpSetComputerName
Appearance
This instance method is called to set the name of the computer that the printer exists on.
Syntax
_wpSetComputerName(somSelf, pszComputerName)
Parameters
- somSelf (WPPrinter *) - input
- Pointer to the object on which the method is being invoked.
- Points to an object of class WPPrinter.
- pszComputerName (PSZ) - input
- Computer name to be set.
Returns
- rc (BOOL) - returns
- Success indicator.
- TRUE Successful completion.
- FALSE Error occurred.
How to Override
This method is generally not overridden.
Usage
This method is not covered in the provided text.
Remarks
This method is not covered in the provided text.
Example Code
#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);