Export (0) Print
Expand All

IVsMenuEditor.Filter Method

Allows the Menu designer to process a few selected messages that are required to correctly position, paint, and activate the menus.

Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in microsoft.visualstudio.shell.interop.dll)

int Filter (
	[InAttribute] IntPtr hwnd,
	[InAttribute] uint uMsg,
	[InAttribute] IntPtr wParam,
	[InAttribute] IntPtr lParam,
	out int plResult
)
int Filter (
	/** @attribute InAttribute() */ IntPtr hwnd, 
	/** @attribute InAttribute() */ UInt32 uMsg, 
	/** @attribute InAttribute() */ IntPtr wParam, 
	/** @attribute InAttribute() */ IntPtr lParam, 
	/** @attribute OutAttribute() */ /** @ref */ int plResult
)
JScript does not support passing value-type arguments by reference.

Parameters

hwnd

[in]

uMsg

[in]

wParam

[in]

lParam

[in]

plResult

[out]

Return Value

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

C++

From vsshell.idl:

HRESULT IVsMenuEditor::Filter([in]HWND hwnd, 
   [in]UINT uMsg, 
   [in]WPARAM wParam, 
   [in]LPARAM lParam, 
   [out]LRESULT *plResult
   );

Community Additions

ADD
Show:
© 2014 Microsoft