#include <cpl.h>
typedef struct tagNEWCPLINFO { /* ncpli */
DWORD dwSize;
DWORD dwFlags;
DWORD dwHelpContext;
LONG lData;
HICON hIcon;
char szName[32];
char szInfo[64];
char szHelpFile[128];
} NEWCPLINFO;
The NEWCPLINFO structure contains resource information and a user-defined value for a Control Panel application.
dwSize
Specifies the length of the structure, in bytes.
dwFlags
Specifies Control Panel flags.
dwHelpContext
Specifies the context number for the topic in the help project (.HPJ) file that displays when the user selects help for the application. For more information on help, see Microsoft Windows Programming Tools.
lData
Specifies data defined by the application.
hIcon
Identifies an icon resource for the application icon. This icon is displayed in the Control Panel window.
szName
Specifies a null-terminated string that contains the application name. The name is the short string displayed below the application icon in the Control Panel window. The name is also displayed in the Settings menu of Control Panel.
szInfo
Specifies a null-terminated string containing the application description. The description displayed at the bottom of the Control Panel window when the application icon is selected.
szHelpFile
Specifies a null-terminated string that contains the path of the help file, if any, for the application.