Nevron .NET Vision
Nevron.Interop.Win32 Namespace / NGdi32 Class / GetNativeDC Method


In This Topic
    GetNativeDC Method
    In This Topic
    Gets the native device context for drawing, depending on the specified Windows message.
    Syntax
    'Declaration
     
    
    Public Shared Function GetNativeDC( _
       ByVal m As System.Windows.Forms.Message, _
       ByVal handle As System.IntPtr _
    ) As System.IntPtr
    'Usage
     
    
    Dim m As System.Windows.Forms.Message
    Dim handle As System.IntPtr
    Dim value As System.IntPtr
     
    value = NGdi32.GetNativeDC(m, handle)
    public static System.IntPtr GetNativeDC( 
       System.Windows.Forms.Message m,
       System.IntPtr handle
    )

    Parameters

    m
    handle
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also