Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
4/8/2010

This message retrieves the text of the Start screen item identified by wParamand 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 MSSTARTMENUcontrol class.

The text from the Start screen item identified by wParamis stored in the string value Textunder the following registry key.

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

See Also