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


SetPixelFormat Method
Syntax
'Declaration
 
Public Shared Function SetPixelFormat( _
   ByVal deviceContext As System.IntPtr, _
   ByVal pixelFormat As System.Integer, _
   ByRef pixelFormatDescriptor As NGdi32.PIXELFORMATDESCRIPTOR _
) As System.Boolean
 
'Usage
 
Dim deviceContext As System.IntPtr
Dim pixelFormat As System.Integer
Dim pixelFormatDescriptor As NGdi32.PIXELFORMATDESCRIPTOR
Dim value As System.Boolean
 
value = NGdi32.SetPixelFormat(deviceContext, pixelFormat, pixelFormatDescriptor)

Parameters

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