Nevron.Interop.Win32 Namespace / NGdi32 Class / ChoosePixelFormat Method


In This Topic
    ChoosePixelFormat Method
    In This Topic
    Syntax
    'Declaration
     
    
    <System.Security.SuppressUnmanagedCodeSecurityAttribute()>
    Public Shared Function ChoosePixelFormat( _
       ByVal deviceContext As System.IntPtr, _
       ByRef pixelFormatDescriptor As NGdi32.PIXELFORMATDESCRIPTOR _
    ) As System.Integer
    'Usage
     
    
    Dim deviceContext As System.IntPtr
    Dim pixelFormatDescriptor As NGdi32.PIXELFORMATDESCRIPTOR
    Dim value As System.Integer
     
    value = NGdi32.ChoosePixelFormat(deviceContext, pixelFormatDescriptor)
    [System.Security.SuppressUnmanagedCodeSecurity()]
    public static System.int ChoosePixelFormat( 
       System.IntPtr deviceContext,
       ref NGdi32.PIXELFORMATDESCRIPTOR pixelFormatDescriptor
    )

    Parameters

    deviceContext
    pixelFormatDescriptor
    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