NEWCPLINFO

This structure contains resource information and a user-defined value for a dialog box supported by a Control Panel application.

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.
  • dwHelpContext
    Ignored.
  • lData
    Data defined by the application. When the Control Panel sends the CPL_DBCLK and CPL_STOP messages, it passes this value back to your application.
  • hIcon
    Handle to the icon that represents the dialog box. This icon is intended to be displayed by the application that controls the Control Panel application.
  • szName
    Null-terminated string that contains the dialog box name. The name is intended to be displayed below the icon.
  • szInfo
    Null-terminated string that contains the dialog box description. The description is intended to be displayed when the icon for the dialog box is selected.
  • szHelpFile
    Ignored.

Remarks

The dwHelpContext and szHelpSize members are not used by the control panel explorer in Windows CE for the Handheld PC.

For ldata, applications should return the icon resource ID for the control panel (same as hIcon, but the resource ID instead of the icon handle.)

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 1.0 and later Cpl.h    

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

CPLINFO, CPL_NEWINQUIRE

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.