Share via


IVsWebBrowserUser.GetCustomMenuInfo Method

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Declaration
Function GetCustomMenuInfo ( _
    pUnkCmdReserved As Object, _
    pDispReserved As Object, _
    dwType As UInteger, _
    dwPosition As UInteger, _
    <OutAttribute> ByRef pguidCmdGroup As Guid, _
    <OutAttribute> ByRef pdwMenuID As Integer _
) As Integer
int GetCustomMenuInfo(
    Object pUnkCmdReserved,
    Object pDispReserved,
    uint dwType,
    uint dwPosition,
    out Guid pguidCmdGroup,
    out int pdwMenuID
)
int GetCustomMenuInfo(
    [InAttribute] Object^ pUnkCmdReserved, 
    [InAttribute] Object^ pDispReserved, 
    [InAttribute] unsigned int dwType, 
    [InAttribute] unsigned int dwPosition, 
    [OutAttribute] Guid% pguidCmdGroup, 
    [OutAttribute] int% pdwMenuID
)
abstract GetCustomMenuInfo : 
        pUnkCmdReserved:Object * 
        pDispReserved:Object * 
        dwType:uint32 * 
        dwPosition:uint32 * 
        pguidCmdGroup:Guid byref * 
        pdwMenuID:int byref -> int 
function GetCustomMenuInfo(
    pUnkCmdReserved : Object, 
    pDispReserved : Object, 
    dwType : uint, 
    dwPosition : uint, 
    pguidCmdGroup : Guid, 
    pdwMenuID : int
) : int

Parameters

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

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
);

.NET Framework Security

See Also

Reference

IVsWebBrowserUser Interface

Microsoft.VisualStudio.Shell.Interop Namespace