IVsSmartTagTipWindow.WndProc Method
Processes Windows messages.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntax
'宣告
Function WndProc ( _
hwnd As IntPtr, _
iMsg As UInteger, _
wParam As IntPtr, _
lParam As IntPtr, _
ByRef pLResult As Integer _
) As Integer
'用途
Dim instance As IVsSmartTagTipWindow
Dim hwnd As IntPtr
Dim iMsg As UInteger
Dim wParam As IntPtr
Dim lParam As IntPtr
Dim pLResult As Integer
Dim returnValue As Integer
returnValue = instance.WndProc(hwnd, iMsg, _
wParam, lParam, pLResult)
int WndProc(
IntPtr hwnd,
uint iMsg,
IntPtr wParam,
IntPtr lParam,
ref int pLResult
)
int WndProc(
[InAttribute] IntPtr hwnd,
[InAttribute] unsigned int iMsg,
[InAttribute] IntPtr wParam,
[InAttribute] IntPtr lParam,
int% pLResult
)
abstract WndProc :
hwnd:IntPtr *
iMsg:uint32 *
wParam:IntPtr *
lParam:IntPtr *
pLResult:int byref -> int
function WndProc(
hwnd : IntPtr,
iMsg : uint,
wParam : IntPtr,
lParam : IntPtr,
pLResult : int
) : int
Parameters
- hwnd
Type: System.IntPtr
The window handle.
- iMsg
Type: System.UInt32
The message ID.
- wParam
Type: System.IntPtr
Information about the message.
- lParam
Type: System.IntPtr
Information needed by the message.
- pLResult
Type: System.Int32%
The result.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
The parameters correspond to the fields in the Message structure.
.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.