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
- pUnkCmdReserved
Type: System.Object
[in]
- pDispReserved
Type: System.Object
[in]
- dwType
Type: System.UInt32
[in]
- dwPosition
Type: System.UInt32
[in]
- pguidCmdGroup
Type: System.Guid%
[in]
- pdwMenuID
Type: System.Int32%
[in]
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.