SHFind_InitMenuPopup function
[SHFind_InitMenuPopup is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]
Retrieves the IContextMenu instance for the submenu of options displayed for the Search entry in the Classic style Start menu.
Syntax
IContextMenu* SHFind_InitMenuPopup( _In_ HMENU hmenu, _In_opt_ HWND hwnd, UINT idCmdFirst, UINT idCmdLast );
Parameters
- hmenu [in]
-
Type: HMENU
The handle of the popup menu.
- hwnd [in, optional]
-
Type: HWND
The handle of the popup menu's owner window. This value can be NULL.
- idCmdFirst
-
Type: UINT
The ID of the first menu item.
- idCmdLast
-
Type: UINT
The ID of the last menu item.
Return value
Type: IContextMenu*
If successful, returns an IContextMenu pointer. On failure, returns NULL.
Requirements
|
Minimum supported client |
Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2003 [desktop apps only] |
|
End of client support |
Windows XP with SP2 |
|
End of server support |
Windows Server 2003 |
|
Header |
|
|
Library |
|
|
DLL |
|