IVsSmartTagTipWindow.WndProc 方法

处理 Windows 消息。

命名空间:  Microsoft.VisualStudio.TextManager.Interop
程序集:  Microsoft.VisualStudio.TextManager.Interop.8.0(在 Microsoft.VisualStudio.TextManager.Interop.8.0.dll 中)

语法

声明
Function WndProc ( _
    hwnd As IntPtr, _
    iMsg As UInteger, _
    wParam As IntPtr, _
    lParam As IntPtr, _
    ByRef pLResult As Integer _
) As Integer
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

参数

  • hwnd
    类型:IntPtr

    窗口句柄。

  • iMsg
    类型:UInt32

    消息 ID。

  • wParam
    类型:IntPtr

    有关消息的信息。

  • lParam
    类型:IntPtr

    消息需要的信息。

  • pLResult
    类型:Int32%

    结果。

返回值

类型:Int32
如果方法成功,则返回 S_OK。如果失败,它会返回一个错误代码。

备注

参数对应于 Message 结构的字段。

.NET Framework 安全性

请参阅

参考

IVsSmartTagTipWindow 接口

Microsoft.VisualStudio.TextManager.Interop 命名空间