Share via


IVsWebBrowserUser.GetCustomMenuInfo Method

Definition

Gets information needed to customize a menu.

public:
 int GetCustomMenuInfo(System::Object ^ pUnkCmdReserved, System::Object ^ pDispReserved, System::UInt32 dwType, System::UInt32 dwPosition, [Runtime::InteropServices::Out] Guid % pguidCmdGroup, [Runtime::InteropServices::Out] int % pdwMenuID);
public int GetCustomMenuInfo (object pUnkCmdReserved, object pDispReserved, uint dwType, uint dwPosition, out Guid pguidCmdGroup, out int pdwMenuID);
abstract member GetCustomMenuInfo : obj * obj * uint32 * uint32 * Guid * int -> int
Public Function GetCustomMenuInfo (pUnkCmdReserved As Object, pDispReserved As Object, dwType As UInteger, dwPosition As UInteger, ByRef pguidCmdGroup As Guid, ByRef pdwMenuID As Integer) As Integer

Parameters

pUnkCmdReserved
Object

[in] Reserved IUnknown pointer.

pDispReserved
Object

[in] Reserved IDispatch pointer.

dwType
UInt32

[in] The type of the menu.

dwPosition
UInt32

[in] The position of the menu.

pguidCmdGroup
Guid

[in] The command group GUID.

pdwMenuID
Int32

[in] The identifier of the menu.

Returns

Returns S_OK if user is implementing a custom menu. Returns S_FALSE if menus are suppressed altogether.

Remarks

COM Signature

From vsbrowse.idl:

[C++]

HRESULT IVsWebBrowserUser::GetCustomMenuInfo(  
   [in] IUnknown* pUnkCmdReserved,   
   [in] IDispatch* pDispReserved,   
   [in] DWORD dwType,   
   [in] DWORD dwPosition,   
   [out] GUID* pguidCmdGroup,   
   [out] long* pdwMenuID  
);  

Applies to