## Presentation Device Driver Reference for OS/2

[prev][next][parent][TOC]

### SplDisplayControlPanel - Parameters

pszComputerName (PSZ) - input Printer server name for displaying a remote printer panel from a client machine.

This parameter is NULL for printers whose ports exist on the current machine.

pszPortName (PSZ) - input Printer port name.

The name of the printer port for pszComputerName, used to display a control panel. Following is an example of a port name:

      LPT1

pszDeviceID (PSZ) - input Device ID, if known, for the printer connected to pszPortName.

pszControlPanel (PSZ) - input Name of control panel to call to display the front panel for this printer.

This name can be one of the following:

The name registered with SplRegisterControlPanel

One of the control panel names returned by SplGetControlPanelList

hab (HAB) - input Anchor block handle.

flCapabilities (ULONG) - input Capabilities requested.

FL_ADMIN - 0x00000001 Set if an administrator wants the control panel.

rc (ULONG) - returns Return codes.

0 Success

ERROR_INVALID_NAME(123) pszName is not the name of a control panel DLL.

ERROR_NOT_SUPPORTED(50) A control panel for this printer is not supported by the called control panel DLL.