NEWCPLINFO
The NEWCPLINFO structure contains resource information for a Control Panel application.
Syntax
typedef struct tagNEWCPLINFO {
DWORD dwSize;
DWORD dwFlags;
DWORD dwHelpContext;
LONG lData;
HICON hIcon;
TCHAR szName[32];
TCHAR szInfo[64];
TCHAR szHelpFile[128];
} NEWCPLINFO;
Members
- dwSize
Specifies the length of the structure, in bytes. - dwFlags
Ignored. Set to 0. - dwHelpContext
Ignored. Set to 0. - lData
Data defined for the application by the CPlApplet function. When the Control Panel sends the CPL_DBLCLK and CPL_STOP messages, it passes this value back to the CPlApplet function. The CPlApplet function often returns the application icon resource ID in this member. - hIcon
Handle to the icon that represents the application. This icon is displayed in the Settings application. - szName
Null-terminated string that contains the application name. The name is displayed below the icon. - szInfo
Null-terminated string that contains the application description. The description is displayed when the icon for the application is selected. - szHelpFile
Ignored. Set to NULL.
Remarks
This data structure is filled by the CPlApplet function when it processes the CPL_NEWINQUIRE message for a Control Panel application.
Requirements
Pocket PC: Pocket PC 2000 and later
Smartphone: None
OS Versions: Windows CE 3.0 and later
Header: cpl.h
See Also
Control Panel Structures | CPlApplet | CPL_DBLCLK | CPL_NEWINQUIRE
Send Feedback on this topic to the authors