Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Function Filter ( _
hwnd As IntPtr, _
uMsg As UInteger, _
wParam As IntPtr, _
lParam As IntPtr, _
<OutAttribute> ByRef plResult As Integer _
) As Integer
int Filter(
IntPtr hwnd,
uint uMsg,
IntPtr wParam,
IntPtr lParam,
out int plResult
)
int Filter(
[InAttribute] IntPtr hwnd,
[InAttribute] unsigned int uMsg,
[InAttribute] IntPtr wParam,
[InAttribute] IntPtr lParam,
[OutAttribute] int% plResult
)
abstract Filter :
hwnd:IntPtr *
uMsg:uint32 *
wParam:IntPtr *
lParam:IntPtr *
plResult:int byref -> int
function Filter(
hwnd : IntPtr,
uMsg : uint,
wParam : IntPtr,
lParam : IntPtr,
plResult : int
) : int
Parameters
- hwnd
Type: System.IntPtr
[in]
- uMsg
Type: System.UInt32
[in]
- wParam
Type: System.IntPtr
[in]
- lParam
Type: System.IntPtr
[in]
- plResult
Type: System.Int32%
[out]
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
C++
From vsshell.idl:
HRESULT IVsMenuEditor::Filter([in]HWND hwnd,
[in]UINT uMsg,
[in]WPARAM wParam,
[in]LPARAM lParam,
[out]LRESULT *plResult
);
.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.