WM_STARTMENU_GETITEMTEXT

4/8/2010

This message retrieves the text of the Start screen item identified by wParam and stores it in the registry. When the message is received, the previous registry key that was populated by this message is deleted.

Syntax

WM_STARTMENU_GETITEMTEXT
  WPARAM wParam, 
  LPARAM lParam

Parameters

  • wParam
    The index of the Start screen item identified whose text is to be retrieved. The index starts from 0.
  • lParam
    This parameter is not used.

Return Value

This message returns TRUE (1) if the operation was successful, otherwise it returns FALSE (0).

Remarks

#define WM_STARTMENU_GETITEMTEXT (WM_USER + 103)

This message should be sent to the MSSTARTMENU control class.

The text from the Start screen item identified by wParam is stored in the string value Text under the following registry key.

HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\StartMenu\ItemInfo\<Item name>

See Also

Reference

Start Screen Messages

Concepts

Start Screen Reference