Bagikan melalui


IOleInPlaceSiteWindowless.OnDefWindowMessage Method

Invokes the default processing for all messages passed to an object.

Namespace:  Microsoft.VisualStudio.OLE.Interop
Assembly:  Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)

Syntax

'Declaration
Function OnDefWindowMessage ( _
    MSG As UInteger, _
    wParam As IntPtr, _
    lParam As IntPtr, _
    <OutAttribute> ByRef plResult As Integer _
) As Integer
int OnDefWindowMessage(
    uint MSG,
    IntPtr wParam,
    IntPtr lParam,
    out int plResult
)
int OnDefWindowMessage(
    [InAttribute] unsigned int MSG, 
    [InAttribute] IntPtr wParam, 
    [InAttribute] IntPtr lParam, 
    [OutAttribute] int% plResult
)
abstract OnDefWindowMessage : 
        MSG:uint32 * 
        wParam:IntPtr * 
        lParam:IntPtr * 
        plResult:int byref -> int
function OnDefWindowMessage(
    MSG : uint, 
    wParam : IntPtr, 
    lParam : IntPtr, 
    plResult : int
) : int

Parameters

  • MSG
    Type: System.UInt32

    [in] Identifier for the window message provided to the container by Windows.

  • wParam
    Type: System.IntPtr

    [in] Parameter for the window message provided to the container by Windows.

  • lParam
    Type: System.IntPtr

    [in] Parameter for the window message provided to the container by Windows.

  • plResult
    Type: System.Int32%

    [out] Pointer to result code for the window message as defined in the Windows API.

Return Value

Type: System.Int32
S_OK
The container's default processing for the window message was successfully invoked.
S_FALSE
The container's default processing for the window message was not invoked. See Note to Implementers below.

Remarks

For information on the COM interface, see IOleInPlaceSiteWindowless::OnDefWindowMessage

.NET Framework Security

See Also

Reference

IOleInPlaceSiteWindowless Interface

Microsoft.VisualStudio.OLE.Interop Namespace