Description:
This function registers a DLL with the spooler that can display a control panel for printers. By default, all protocol converters will be checked for control panel support, so converters must not register themselves using this API.
#define INCL_SPL
#define INCL_SPLBIDI
#include <os2.h>
PSZ pszName; /* Name of control panel. */
PSZ pszDllPath; /* Fully qualified path to the DLL that exports the control panel APIs. */
ULONG ulFlags; /* Must be 0 (zero). */
PSZ pszReserved; /* Must be NULL. */
ULONG ulVersion; /* Must be 0 (zero). */
ULONG rc; /* Return codes. */
rc = SplRegisterControlPanel(pszName, pszDllPath,
ulFlags, pszReserved, ulVersion);