Sdílet prostřednictvím


IVsWindowFrame.QueryViewInterface(Guid, IntPtr) Method

Definition

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

public:
 int QueryViewInterface(Guid % riid, [Runtime::InteropServices::Out] IntPtr % ppv);
public int QueryViewInterface (ref Guid riid, out IntPtr ppv);
abstract member QueryViewInterface : Guid * nativeint -> int
Public Function QueryViewInterface (ByRef riid As Guid, ByRef ppv As IntPtr) As Integer

Parameters

riid
Guid

[in] Identifier of the window frame being requested.

ppv
IntPtr

nativeint

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

Returns

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

Remarks

COM Signature

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.

Applies to