Poznámka:
Přístup k této stránce vyžaduje autorizaci. Můžete se zkusit přihlásit nebo změnit adresáře.
Přístup k této stránce vyžaduje autorizaci. Můžete zkusit změnit adresáře.
Gets the menu information set by calling IShellMenu::SetMenu.
Syntax
HRESULT GetMenu(
[out] HMENU *phmenu,
[out] HWND *phwnd,
[out] DWORD *pdwFlags
);
Parameters
[out] phmenu
Type: HMENU*
When this method returns, contains a pointer to an HMENU value that receives the hmenu value that you specified when you called IShellMenu::SetMenu. This value can be NULL.
[out] phwnd
Type: HWND*
When this method returns, contains a pointer to an HWND value that receives the hwnd value that you specified when you called IShellMenu::SetMenu. This value 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::SetMenu. This value 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 |