IVsWebBrowserUser.GetCustomMenuInfo Yöntem

Tanım

Bir menüyü özelleştirmek için gereken bilgileri alır.

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

Parametreler

pUnkCmdReserved
Object

'ndaki Ayrılmış IUnknown işaretçi.

pDispReserved
Object

'ndaki Ayrılmış IDispatch işaretçi.

dwType
UInt32

'ndaki Menünün türü.

dwPosition
UInt32

'ndaki Menünün konumu.

pguidCmdGroup
Guid

'ndaki Komut grubu GUID 'SI.

pdwMenuID
Int32

'ndaki Menünün tanımlayıcısı.

Döndürülenler

Int32

S_OKKullanıcı özel bir menü uygualıyorsa döndürür. S_FALSEMenülerin tamamen bastırılmasını döndürür.

Açıklamalar

COM Imzası

Vsgözatmaya. IDL dosyasından:

[C++]

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

Şunlara uygulanır