IShellMenu::GetMenuInfo method (shobjidl_core.h)
Gets information from the IShellMenu::Initialize method.
Syntax
HRESULT GetMenuInfo(
[out, optional] IShellMenuCallback **ppsmc,
[out, optional] UINT *puId,
[out, optional] UINT *puIdAncestor,
[out] DWORD *pdwFlags
);
Parameters
[out, optional] ppsmc
Type: IShellMenuCallback**
When this method returns, contains the address of a pointer to the IShellMenuCallback interface that you specified when you called IShellMenu::Initialize. This pointer can be NULL.
[out, optional] puId
Type: UINT*
When this method returns, contains a pointer to a UINT value that receives the uID value that you specified when you called IShellMenu::Initialize. This pointer can be NULL.
[out, optional] puIdAncestor
Type: UINT*
When this method returns, contains a pointer to a UINT value that receives the uIdAncestor value that you specified when you called IShellMenu::Initialize. This pointer can be NULL.
[out] pdwFlags
Type: DWORD*
When this method returns, contains a pointer to a DWORD value that receives the dwFlags value that you specified when you called IShellMenu::Initialize. This pointer can be NULL.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP with SP2 [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | shobjidl_core.h (include Shobjidl.h) |
DLL | Shell32.dll |
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για