ISimpleFrameSite.PreMessageFilter Method
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
‘선언
Function PreMessageFilter ( _
hwnd As IntPtr, _
MSG As UInteger, _
wp As UInteger, _
lp As Integer, _
<OutAttribute> ByRef plResult As Integer, _
<OutAttribute> ByRef pdwCookie As UInteger _
) As Integer
‘사용 방법
Dim instance As ISimpleFrameSite
Dim hwnd As IntPtr
Dim MSG As UInteger
Dim wp As UInteger
Dim lp As Integer
Dim plResult As Integer
Dim pdwCookie As UInteger
Dim returnValue As Integer
returnValue = instance.PreMessageFilter(hwnd, _
MSG, wp, lp, plResult, pdwCookie)
int PreMessageFilter(
IntPtr hwnd,
uint MSG,
uint wp,
int lp,
out int plResult,
out uint pdwCookie
)
int PreMessageFilter(
[InAttribute] IntPtr hwnd,
[InAttribute] unsigned int MSG,
[InAttribute] unsigned int wp,
[InAttribute] int lp,
[OutAttribute] int% plResult,
[OutAttribute] unsigned int% pdwCookie
)
abstract PreMessageFilter :
hwnd:IntPtr *
MSG:uint32 *
wp:uint32 *
lp:int *
plResult:int byref *
pdwCookie:uint32 byref -> int
function PreMessageFilter(
hwnd : IntPtr,
MSG : uint,
wp : uint,
lp : int,
plResult : int,
pdwCookie : uint
) : int
Parameters
- hwnd
Type: System.IntPtr
- MSG
Type: System.UInt32
- wp
Type: System.UInt32
- lp
Type: System.Int32
- plResult
Type: System.Int32%
- pdwCookie
Type: System.UInt32%
Return Value
Type: System.Int32
.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.