IVsWindowFrame::QueryViewInterface Method (Guid, IntPtr)

 

Provides IVsWindowFrame with a view helper (VSFPROPID_ViewHelper) inserted into its list of event notifications.

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

int QueryViewInterface(
	[InAttribute] Guid% riid,
	[OutAttribute] IntPtr% ppv
)

Parameters

riid
Type: System::Guid

[in] Identifier of the window frame being requested.

ppv
Type: System::IntPtr

[out, iid_is(riid)] Address of pointer variable that receives the window frame pointer requested in riid.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From vsshell.idl:

HRESULT IVsWindowFrame::QueryViewInterface(
   [in] REFIID riid,
   [out, iid_is(riid)] void ** ppv
);

Similar to the implementation of QueryInterface, except that you are calling on ViewHelper.

Return to top
Show: