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 Control Panel 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 Control Panel application icon resource ID in this member.
  • hIcon
    Handle to the icon that represents the Control Panel application. This icon is displayed in the Settings application.
  • szName
    Null-terminated string that contains the Control Panel option name. The name is displayed below the icon.
  • szInfo
    Null-terminated string that contains the Control Panel option description. The description is displayed when the icon for the Control Panel 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 aplication.

Requirements

Pocket PC: Windows Mobile 2000 and later
OS Versions: Windows CE 3.0 and later
Header: cpl.h

See Also

Control Panel API Structures

CPlApplet

CPL_DBLCLK

CPL_NEWINQUIRE

Send feedback on this topic to the authors.

© 2005 Microsoft Corporation. All rights reserved.