Freigeben über


IOleInPlaceSiteWindowless.OnDefWindowMessage Method

Definition

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

public:
 int OnDefWindowMessage(System::UInt32 MSG, IntPtr wParam, IntPtr lParam, [Runtime::InteropServices::Out] int % plResult);
public int OnDefWindowMessage (uint MSG, IntPtr wParam, IntPtr lParam, out int plResult);
abstract member OnDefWindowMessage : uint32 * nativeint * nativeint * int -> int
Public Function OnDefWindowMessage (MSG As UInteger, wParam As IntPtr, lParam As IntPtr, ByRef plResult As Integer) As Integer

Parameters

MSG
UInt32

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

wParam
IntPtr

nativeint

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

lParam
IntPtr

nativeint

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

plResult
Int32

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

Returns

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

Applies to