pszComputerName (PSZ) - input
pszPortName (PSZ) - input
Name
of printer port on pszComputerName used to determine if a control
panel can be displayed.
pszDeviceID (PSZ) - input
Device
ID, if known, for the printer connected to pszPortName.
flCapabilities (ULONG) - input
Compatibilities
requested.
FL_ADMIN - 0x00000001
Set if an administrator wants
the control panel.
pszListOfPanels (PSZ) - output
Receives
comma-separated list of control panel names capable of displaying a control
panel for the printer.
cbBuf (ULONG) - input
Length
of buffer, in bytes, pointed to by pszListOfPanels.
pcbNeeded (PULONG) - output
Receives
length, in bytes, of buffer needed to store entire list of control panels
for the printer.
rc (ULONG) - returns