共用方式為


IVsTipWindow.WndProc Method

Event handler for the tip window.

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

Syntax

'Declaration
Function WndProc ( _
    hwnd As IntPtr, _
    iMsg As UInteger, _
    wParam As IntPtr, _
    lParam As IntPtr _
) As Integer
int WndProc(
    IntPtr hwnd,
    uint iMsg,
    IntPtr wParam,
    IntPtr lParam
)
int WndProc(
    [InAttribute] IntPtr hwnd, 
    [InAttribute] unsigned int iMsg, 
    [InAttribute] IntPtr wParam, 
    [InAttribute] IntPtr lParam
)
abstract WndProc : 
        hwnd:IntPtr * 
        iMsg:uint32 * 
        wParam:IntPtr * 
        lParam:IntPtr -> int
function WndProc(
    hwnd : IntPtr, 
    iMsg : uint, 
    wParam : IntPtr, 
    lParam : IntPtr
) : int

Parameters

  • lParam
    Type: System.IntPtr

    [in] Information needed by the message.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

.NET Framework Security

See Also

Reference

IVsTipWindow Interface

Microsoft.VisualStudio.TextManager.Interop Namespace