次の方法で共有


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

'宣言
Function OnDefWindowMessage ( _
    MSG As UInteger, _
    wParam As IntPtr, _
    lParam As IntPtr, _
    <OutAttribute> ByRef plResult As Integer _
) As Integer
'使用
Dim instance As IOleInPlaceSiteWindowless
Dim MSG As UInteger
Dim wParam As IntPtr
Dim lParam As IntPtr
Dim plResult As Integer
Dim returnValue As Integer

returnValue = instance.OnDefWindowMessage(MSG, _
    wParam, lParam, plResult)
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

IOleInPlaceSiteWindowless Members

Microsoft.VisualStudio.OLE.Interop Namespace