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


In This Topic
    DescribePixelFormat Method
    In This Topic
    Syntax
    'Declaration
     
    
    <System.Security.SuppressUnmanagedCodeSecurityAttribute()>
    Public Shared Function DescribePixelFormat( _
       ByVal hdc As System.IntPtr, _
       ByVal iPixelFormat As System.Integer, _
       ByVal nBytes As System.UInteger, _
       ByRef ppfd As NGdi32.PIXELFORMATDESCRIPTOR _
    ) As System.Integer
    'Usage
     
    
    Dim hdc As System.IntPtr
    Dim iPixelFormat As System.Integer
    Dim nBytes As System.UInteger
    Dim ppfd As NGdi32.PIXELFORMATDESCRIPTOR
    Dim value As System.Integer
     
    value = NGdi32.DescribePixelFormat(hdc, iPixelFormat, nBytes, ppfd)
    [System.Security.SuppressUnmanagedCodeSecurity()]
    public static System.int DescribePixelFormat( 
       System.IntPtr hdc,
       System.int iPixelFormat,
       System.uint nBytes,
       ref NGdi32.PIXELFORMATDESCRIPTOR ppfd
    )

    Parameters

    hdc
    iPixelFormat
    nBytes
    ppfd
    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