pszComputerName (PSZ) - input
This parameter is NULL for printers whose port exists on the current machine.
pszPortName (PSZ) - input
The name of the printer port in pszComputerName used to determine if a control panel can be displayed. Following is an example of a port name: LPT1
This will be a locally defined port name.
pszDeviceID (PSZ) - input
pszControlPanel (PSZ) - input
This name can be one of the following:
flCapabilities (ULONG) - input
FL_ADMIN - 0x00000001
pulOptions (PULONG) - output
Values are as follows:
OPT_CUSTOM(2)
rc (ULONG) - returns
ERROR_INVALID_NAME(123)