Namespace:  Microsoft.VisualStudio.OLE.Interop
Assembly:  Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'Declaration
Function OnWindowMessage ( _
    MSG As UInteger, _
    wParam As IntPtr, _
    lParam As IntPtr, _
    <OutAttribute> ByRef plResult As Integer _
) As Integer
int OnWindowMessage(
    uint MSG,
    IntPtr wParam,
    IntPtr lParam,
    out int plResult
)
int OnWindowMessage(
    [InAttribute] unsigned int MSG, 
    [InAttribute] IntPtr wParam, 
    [InAttribute] IntPtr lParam, 
    [OutAttribute] int% plResult
)
abstract OnWindowMessage : 
        MSG:uint32 * 
        wParam:IntPtr * 
        lParam:IntPtr * 
        plResult:int byref -> int
function OnWindowMessage(
    MSG : uint, 
    wParam : IntPtr, 
    lParam : IntPtr, 
    plResult : int
) : int
Parameters
- MSG
Type: UInt32 
- wParam
Type: IntPtr 
- lParam
Type: IntPtr 
- plResult
Type: Int32% 
Return Value
Type: Int32
Remarks
For information on the COM interface, see IOleInPlaceObjectWindowless::OnWindowMessage
.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.