SMDATA structure (shobjidl_core.h)
Contains information from a menu band.
Syntax
typedef struct tagSMDATA {
DWORD dwMask;
DWORD dwFlags;
HMENU hmenu;
HWND hwnd;
UINT uId;
UINT uIdParent;
UINT uIdAncestor;
IUnknown *punk;
PIDLIST_ABSOLUTE pidlFolder;
PUITEMID_CHILD pidlItem;
IShellFolder *psf;
void *pvUserData;
} SMDATA, *LPSMDATA;
Members
dwMask
Type: DWORD
A mask that is always set to SMDM_HMENU.
dwFlags
Type: DWORD
hmenu
Type: HMENU
The static menu portion of the menu band.
hwnd
Type: HWND
The HWND value of the owner window.
uId
Type: UINT
The identifier of the menu item. This value is -1 for the menu itself.
uIdParent
Type: UINT
The identifier of the parent menu.
uIdAncestor
Type: UINT
punk
Type: IUnknown*
A pointer to the IUnknown interface of the MenuBand object.
pidlFolder
Type: PIDLIST_ABSOLUTE
The ITEMIDLIST of the shell folder portion of the menu.
pidlItem
Type: PUITEMID_CHILD
The ITEMIDLIST of the selected item in the shell folder portion of the menu.
psf
Type: IShellFolder*
A pointer to the IShellFolder interface for the folder associated with the shell folder portion of the menu.
pvUserData
Type: void*
A pointer to a user-defined data structure.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Header | shobjidl_core.h (include Shobjidl.h) |
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για