IOleInPlaceObjectWindowless.OnWindowMessage Method
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'宣言
Function OnWindowMessage ( _
MSG As UInteger, _
wParam As IntPtr, _
lParam As IntPtr, _
<OutAttribute> ByRef plResult As Integer _
) As Integer
'使用
Dim instance As IOleInPlaceObjectWindowless
Dim MSG As UInteger
Dim wParam As IntPtr
Dim lParam As IntPtr
Dim plResult As Integer
Dim returnValue As Integer
returnValue = instance.OnWindowMessage(MSG, _
wParam, lParam, plResult)
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
)
function OnWindowMessage(
MSG : uint,
wParam : IntPtr,
lParam : IntPtr,
plResult : int
) : int
Parameters
- MSG
Type: System.UInt32
- wParam
Type: System.IntPtr
- lParam
Type: System.IntPtr
- plResult
Type: System.Int32%
Return Value
Type: System.Int32
Remarks
For information on the COM interface, see IOleInPlaceObjectWindowless::OnWindowMessage
Permissions
- 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.
See Also
Reference
IOleInPlaceObjectWindowless Interface