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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。