## Presentation Device Driver Reference for OS/2

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

### SplRegisterControlPanel - Parameters

pszName (PSZ) - input Name of control panel.

This name must not conflict with any installed protocol converter name or control panel name.

pszDllPath (PSZ) - input Fully qualified path to the DLL that exports the control panel APIs.

ulFlags (ULONG) - input Must be 0 (zero).

pszReserved (PSZ) - input Must be NULL.

ulVersion (ULONG) - input Must be 0 (zero).

rc (ULONG) - returns Return codes.

0 Success

ERROR_INVALID_LEVEL(124) ulVersion not 0.

ERROR_INVALID_NAME(123) pszName is already used by a protocol converter or another control panel DLL.

ERROR_INVALID_PARAMETER(87) ulFlags not 0 or invalid parameter given.

ERROR_MOD_NOT_FOUND(126) Invalid path to DLL.

ERROR_PROC_NOT_FOUND(127) pszDllPath does not export the two APIs for control panels (apiref refid=spqucp form=textonly. and SplDisplayControlPanel).