Partager via


HwndWrapper.WndProc Method

Runs the WndProc for this window.

Namespace:  Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Protected Overridable Function WndProc ( _
    hwnd As IntPtr, _
    msg As Integer, _
    wParam As IntPtr, _
    lParam As IntPtr _
) As IntPtr
protected virtual IntPtr WndProc(
    IntPtr hwnd,
    int msg,
    IntPtr wParam,
    IntPtr lParam
)
protected:
virtual IntPtr WndProc(
    IntPtr hwnd, 
    int msg, 
    IntPtr wParam, 
    IntPtr lParam
)
abstract WndProc : 
        hwnd:IntPtr * 
        msg:int * 
        wParam:IntPtr * 
        lParam:IntPtr -> IntPtr  
override WndProc : 
        hwnd:IntPtr * 
        msg:int * 
        wParam:IntPtr * 
        lParam:IntPtr -> IntPtr
protected function WndProc(
    hwnd : IntPtr, 
    msg : int, 
    wParam : IntPtr, 
    lParam : IntPtr
) : IntPtr

Parameters

  • hwnd
    Type: IntPtr

    The window handle.

  • msg
    Type: Int32

    The window message.

  • wParam
    Type: IntPtr

    Window parameters.

  • lParam
    Type: IntPtr

    Window parameters.

Return Value

Type: IntPtr
Returns the window handle.

.NET Framework Security

See Also

Reference

HwndWrapper Class

Microsoft.VisualStudio.PlatformUI Namespace