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


In This Topic
    CreateDIBSection Method
    In This Topic
    Syntax
    'Declaration
     
    
    Public Shared Function CreateDIBSection( _
       ByVal hdc As System.IntPtr, _
       ByRef pbmi As NGdi32.BITMAPINFO, _
       ByVal iUsage As System.UInteger, _
       ByRef ppvBits As System.IntPtr, _
       ByVal hSection As System.IntPtr, _
       ByVal dwOffset As System.UInteger _
    ) As System.IntPtr
    'Usage
     
    
    Dim hdc As System.IntPtr
    Dim pbmi As NGdi32.BITMAPINFO
    Dim iUsage As System.UInteger
    Dim ppvBits As System.IntPtr
    Dim hSection As System.IntPtr
    Dim dwOffset As System.UInteger
    Dim value As System.IntPtr
     
    value = NGdi32.CreateDIBSection(hdc, pbmi, iUsage, ppvBits, hSection, dwOffset)
    public static System.IntPtr CreateDIBSection( 
       System.IntPtr hdc,
       ref NGdi32.BITMAPINFO pbmi,
       System.uint iUsage,
       ref System.IntPtr ppvBits,
       System.IntPtr hSection,
       System.uint dwOffset
    )

    Parameters

    hdc
    pbmi
    iUsage
    ppvBits
    hSection
    dwOffset
    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