共用方式為


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

    視窗控制代碼 (Window Handle)。

  • iMsg
    類型:UInt32

    訊息 ID。

  • wParam
    類型:IntPtr

    訊息的相關資訊。

  • lParam
    類型:IntPtr

    訊息所需的資訊。

  • pLResult
    類型:Int32%

    結果。

傳回值

類型:Int32
如果此方法將會成功,則會傳回S_OK。如果失敗,它就會傳回錯誤碼。

備註

參數對應中的欄位到Message結構。

.NET Framework 安全性

請參閱

參考

IVsSmartTagTipWindow 介面

Microsoft.VisualStudio.TextManager.Interop 命名空間