wpQueryLocalAlias - Syntax

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

This instance method returns the local alias of the remote printer object. The local alias is the local print queue as defined in the OS/2 print spooler.

#define INCL_WINWORKPLACE
#include <os2.h>

WPRPrinter     *somSelf;  /*  Pointer to the object on which the method is being invoked. */
PSZ             pBuf;     /*  Buffer in which the local print queue name is returned. */
PULONG          pcbBuf;   /*  Pointer to the length, in bytes, of the pBuf buffer. */
BOOL            rc;       /*  Success indicator. */

rc = _wpQueryLocalAlias(somSelf, pBuf, pcbBuf);


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