InitializeCustomItem

Use this call to initialize a custom item for the Today Screen.

HWND APIENTRY InitializeCustomItem (
  TODAYLISTITEM *ptli,
  HWND hwndParent 
);

Parameters

  • ptli
    [in] Pointer to the list item. The fields szName, tlit, dwOrder, fEnabled, fOptions and grfFlags will be filled. The function should check fEnabled and return NULL immediately if it is FALSE.
  • hwndParent
    [out] Handle of the parent window for the custom item window.

Return Values

HWND of the created window.

Remarks

This API is called from the Shell's process by ordinal. When exporting this function from the custom item DLL, ordinal 240 should be specified in the DEF file.

Requirements

Pocket PC Platforms: Pocket PC 2000 and later
OS Versions: Windows CE 3.0 and later
Header: todaycmn.h

Send feedback on this topic to the authors.

© 2005 Microsoft Corporation. All rights reserved.