Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 |