SHFind_InitMenuPopup function (shlobj_core.h)
[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, optional] HWND hwndOwner,
UINT idCmdFirst,
UINT idCmdLast
);
Parameters
[in] hmenu
Type: HMENU
The handle of the popup menu.
[in, optional] hwndOwner
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
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | shlobj_core.h (include Shlobj.h) |
Library | Shell32.lib |
DLL | Shell32.dll (version 6.0 or later) |
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για