Top Description Inners Fields Constructors Methods
org.lwjgl.system.windows

public Class GDI32

extends Object
Class Inheritance
Imports
javax.annotation.*, org.lwjgl.system.*

Native bindings to wingdi.h and gdi32.dll.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
GDI32.Functions

Contains the function pointers loaded from the gdi32 SharedLibrary.

Field Summary

Modifier and TypeField and Description
public static final int
DISPLAY_DEVICE_ACTIVE

Child display device state flags.

public static final int
DISPLAY_DEVICE_ATTACHED

Child display device state flags.

public static final int
DISPLAY_DEVICE_ATTACHED_TO_DESKTOP

Display device state flags.

public static final int
DISPLAY_DEVICE_DISCONNECT

Display device state flags.

public static final int
DISPLAY_DEVICE_MIRRORING_DRIVER

Display device state flags.

public static final int
DISPLAY_DEVICE_MODESPRUNED

Display device state flags.

public static final int
DISPLAY_DEVICE_MULTI_DRIVER

Display device state flags.

public static final int
DISPLAY_DEVICE_PRIMARY_DEVICE

Display device state flags.

public static final int
DISPLAY_DEVICE_REMOTE

Display device state flags.

public static final int
DISPLAY_DEVICE_REMOVABLE

Display device state flags.

public static final int
DISPLAY_DEVICE_TS_COMPATIBLE

Display device state flags.

public static final int
DISPLAY_DEVICE_UNSAFE_MODES_ON

Display device state flags.

public static final int
DISPLAY_DEVICE_VGA_COMPATIBLE

Display device state flags.

public static final int
DM_BITSPERPEL

DEVMODE field selection bits.

public static final int
DM_COLLATE

DEVMODE field selection bits.

public static final int
DM_COLOR

DEVMODE field selection bits.

public static final int
DM_COPIES

DEVMODE field selection bits.

public static final int
DM_DEFAULTSOURCE

DEVMODE field selection bits.

public static final int
DM_DISPLAYFIXEDOUTPUT

DEVMODE field selection bits.

public static final int
DM_DISPLAYFLAGS

DEVMODE field selection bits.

public static final int
DM_DISPLAYFREQUENCY

DEVMODE field selection bits.

public static final int
DM_DISPLAYORIENTATION

DEVMODE field selection bits.

public static final int
DM_DITHERTYPE

DEVMODE field selection bits.

public static final int
DM_DUPLEX

DEVMODE field selection bits.

public static final int
DM_FORMNAME

DEVMODE field selection bits.

public static final int
DM_ICMINTENT

DEVMODE field selection bits.

public static final int
DM_ICMMETHOD

DEVMODE field selection bits.

public static final int
DM_INTERLACED

DEVMODE dmDisplayFlags flags.

public static final int
DM_LOGPIXELS

DEVMODE field selection bits.

public static final int
DM_MEDIATYPE

DEVMODE field selection bits.

public static final int
DM_NUP

DEVMODE field selection bits.

public static final int
DM_ORIENTATION

DEVMODE field selection bits.

public static final int
DM_PANNINGHEIGHT

DEVMODE field selection bits.

public static final int
DM_PANNINGWIDTH

DEVMODE field selection bits.

public static final int
DM_PAPERLENGTH

DEVMODE field selection bits.

public static final int
DM_PAPERSIZE

DEVMODE field selection bits.

public static final int
DM_PAPERWIDTH

DEVMODE field selection bits.

public static final int
DM_PELSHEIGHT

DEVMODE field selection bits.

public static final int
DM_PELSWIDTH

DEVMODE field selection bits.

public static final int
DM_POSITION

DEVMODE field selection bits.

public static final int
DM_PRINTQUALITY

DEVMODE field selection bits.

public static final int
DM_SCALE

DEVMODE field selection bits.

public static final int
DM_SPECVERSION

DEVMODE specification version.

public static final int
DM_TTOPTION

DEVMODE field selection bits.

public static final int
DM_YRESOLUTION

DEVMODE field selection bits.

public static final int
DMDFO_CENTER

DEVMODE dmDisplayFixedOutput specifications.

public static final int
DMDFO_DEFAULT

DEVMODE dmDisplayFixedOutput specifications.

public static final int
DMDFO_STRETCH

DEVMODE dmDisplayFixedOutput specifications.

public static final int
DMDISPLAYFLAGS_TEXTMODE

DEVMODE dmDisplayFlags flags.

public static final int
DMDO_180

DEVMODE dmDisplayOrientation specifications.

public static final int
DMDO_270

DEVMODE dmDisplayOrientation specifications.

public static final int
DMDO_90

DEVMODE dmDisplayOrientation specifications.

public static final int
DMDO_DEFAULT

DEVMODE dmDisplayOrientation specifications.

private static final SharedLibrary
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final byte
public static final int
public static final int
public static final byte
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final byte
public static final byte
public static final byte

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static int
ChoosePixelFormat(long
the device context that the function examines to determine the best match for the pixel format descriptor pointed to by pixelFormatDescriptor
hdc
,
PIXELFORMATDESCRIPTOR
a PIXELFORMATDESCRIPTOR structure that specifies the requested pixel format
pixelFormatDescriptor
)

Attempts to match an appropriate pixel format supported by a device context to a given pixel format specification.

public static int
DescribePixelFormat(long
the device context
hdc
,
int
index that specifies the pixel format. The pixel formats that a device context supports are identified by positive one-based integer indexes.
pixelFormat
,
int
the size, in bytes, of the structure pointed to by pixelFormatDescriptor. The wglDescribePixelFormat function stores no more than bytes bytes of data to that structure. Set this value to PIXELFORMATDESCRIPTOR#SIZEOF.
bytes
,
PIXELFORMATDESCRIPTOR
a PIXELFORMATDESCRIPTOR structure whose members the function sets with pixel format data. The function stores the number of bytes copied to the structure in the structure's size member. If, upon entry, pixelFormatDescriptor is NULL, the function writes no data to the structure. This is useful when you only want to obtain the maximum pixel format index of a device context.
pixelFormatDescriptor
)

Obtains information about the pixel format identified by pixelFormat of the device associated with dc.

public static int
DescribePixelFormat(long
the device context
hdc
,
int
index that specifies the pixel format. The pixel formats that a device context supports are identified by positive one-based integer indexes.
pixelFormat
,
PIXELFORMATDESCRIPTOR
a PIXELFORMATDESCRIPTOR structure whose members the function sets with pixel format data. The function stores the number of bytes copied to the structure in the structure's size member. If, upon entry, pixelFormatDescriptor is NULL, the function writes no data to the structure. This is useful when you only want to obtain the maximum pixel format index of a device context.
pixelFormatDescriptor
)

Obtains information about the pixel format identified by pixelFormat of the device associated with dc.

public static SharedLibrary
getLibrary()

Returns the gdi32 SharedLibrary.

public static int
GetPixelFormat(long
the device context of the currently selected pixel format index returned by the function
hdc
)

Obtains the index of the currently selected pixel format of the specified device context.

public static native int
nChoosePixelFormat(long hdc, long pixelFormatDescriptor, long __functionAddress)

Unsafe version of: ChoosePixelFormat

public static int
nChoosePixelFormat(long hdc, long pixelFormatDescriptor)

Unsafe version of: ChoosePixelFormat

public static native int
nDescribePixelFormat(long hdc, int pixelFormat, int bytes, long pixelFormatDescriptor, long __functionAddress)

Unsafe version of: DescribePixelFormat

public static int
nDescribePixelFormat(long hdc, int pixelFormat, int bytes, long pixelFormatDescriptor)

Unsafe version of: DescribePixelFormat

public static native int
nGetPixelFormat(long hdc, long __functionAddress)

Unsafe version of: GetPixelFormat

public static native int
nSetPixelFormat(long hdc, int pixelFormat, long pixelFormatDescriptor, long __functionAddress)

Unsafe version of: SetPixelFormat

public static int
nSetPixelFormat(long hdc, int pixelFormat, long pixelFormatDescriptor)

Unsafe version of: SetPixelFormat

public static native int
nSwapBuffers(long dc, long __functionAddress)

Unsafe version of: SwapBuffers

public static boolean
SetPixelFormat(long
the device context whose pixel format the function attempts to set
hdc
,
int
index that identifies the pixel format to set. The various pixel formats supported by a device context are identified by one-based indexes.
pixelFormat
,
PIXELFORMATDESCRIPTOR
a PIXELFORMATDESCRIPTOR structure that contains the logical pixel format specification. The system's metafile component uses this structure to record the logical pixel format specification. The structure has no other effect upon the behavior of the SetPixelFormat function.
pixelFormatDescriptor
)

Sets the pixel format of the specified device context to the format specified by the pixelFormat index.

public static boolean
SwapBuffers(long
a device context. If the current pixel format for the window referenced by this device context includes a back buffer, the function exchanges the front and back buffers.
dc
)

Exchanges the front and back buffers if the current pixel format for the window referenced by the specified device context includes a back buffer.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

DISPLAY_DEVICE_ACTIVEback to summary
public static final int DISPLAY_DEVICE_ACTIVE

Child display device state flags.

DISPLAY_DEVICE_ATTACHEDback to summary
public static final int DISPLAY_DEVICE_ATTACHED

Child display device state flags.

DISPLAY_DEVICE_ATTACHED_TO_DESKTOPback to summary
public static final int DISPLAY_DEVICE_ATTACHED_TO_DESKTOP

Display device state flags.

DISPLAY_DEVICE_DISCONNECTback to summary
public static final int DISPLAY_DEVICE_DISCONNECT

Display device state flags.

DISPLAY_DEVICE_MIRRORING_DRIVERback to summary
public static final int DISPLAY_DEVICE_MIRRORING_DRIVER

Display device state flags.

DISPLAY_DEVICE_MODESPRUNEDback to summary
public static final int DISPLAY_DEVICE_MODESPRUNED

Display device state flags.

DISPLAY_DEVICE_MULTI_DRIVERback to summary
public static final int DISPLAY_DEVICE_MULTI_DRIVER

Display device state flags.

DISPLAY_DEVICE_PRIMARY_DEVICEback to summary
public static final int DISPLAY_DEVICE_PRIMARY_DEVICE

Display device state flags.

DISPLAY_DEVICE_REMOTEback to summary
public static final int DISPLAY_DEVICE_REMOTE

Display device state flags.

DISPLAY_DEVICE_REMOVABLEback to summary
public static final int DISPLAY_DEVICE_REMOVABLE

Display device state flags.

DISPLAY_DEVICE_TS_COMPATIBLEback to summary
public static final int DISPLAY_DEVICE_TS_COMPATIBLE

Display device state flags.

DISPLAY_DEVICE_UNSAFE_MODES_ONback to summary
public static final int DISPLAY_DEVICE_UNSAFE_MODES_ON

Display device state flags.

DISPLAY_DEVICE_VGA_COMPATIBLEback to summary
public static final int DISPLAY_DEVICE_VGA_COMPATIBLE

Display device state flags.

DM_BITSPERPELback to summary
public static final int DM_BITSPERPEL

DEVMODE field selection bits.

DM_COLLATEback to summary
public static final int DM_COLLATE

DEVMODE field selection bits.

DM_COLORback to summary
public static final int DM_COLOR

DEVMODE field selection bits.

DM_COPIESback to summary
public static final int DM_COPIES

DEVMODE field selection bits.

DM_DEFAULTSOURCEback to summary
public static final int DM_DEFAULTSOURCE

DEVMODE field selection bits.

DM_DISPLAYFIXEDOUTPUTback to summary
public static final int DM_DISPLAYFIXEDOUTPUT

DEVMODE field selection bits.

DM_DISPLAYFLAGSback to summary
public static final int DM_DISPLAYFLAGS

DEVMODE field selection bits.

DM_DISPLAYFREQUENCYback to summary
public static final int DM_DISPLAYFREQUENCY

DEVMODE field selection bits.

DM_DISPLAYORIENTATIONback to summary
public static final int DM_DISPLAYORIENTATION

DEVMODE field selection bits.

DM_DITHERTYPEback to summary
public static final int DM_DITHERTYPE

DEVMODE field selection bits.

DM_DUPLEXback to summary
public static final int DM_DUPLEX

DEVMODE field selection bits.

DM_FORMNAMEback to summary
public static final int DM_FORMNAME

DEVMODE field selection bits.

DM_ICMINTENTback to summary
public static final int DM_ICMINTENT

DEVMODE field selection bits.

DM_ICMMETHODback to summary
public static final int DM_ICMMETHOD

DEVMODE field selection bits.

DM_INTERLACEDback to summary
public static final int DM_INTERLACED

DEVMODE dmDisplayFlags flags.

DM_LOGPIXELSback to summary
public static final int DM_LOGPIXELS

DEVMODE field selection bits.

DM_MEDIATYPEback to summary
public static final int DM_MEDIATYPE

DEVMODE field selection bits.

DM_NUPback to summary
public static final int DM_NUP

DEVMODE field selection bits.

DM_ORIENTATIONback to summary
public static final int DM_ORIENTATION

DEVMODE field selection bits.

DM_PANNINGHEIGHTback to summary
public static final int DM_PANNINGHEIGHT

DEVMODE field selection bits.

DM_PANNINGWIDTHback to summary
public static final int DM_PANNINGWIDTH

DEVMODE field selection bits.

DM_PAPERLENGTHback to summary
public static final int DM_PAPERLENGTH

DEVMODE field selection bits.

DM_PAPERSIZEback to summary
public static final int DM_PAPERSIZE

DEVMODE field selection bits.

DM_PAPERWIDTHback to summary
public static final int DM_PAPERWIDTH

DEVMODE field selection bits.

DM_PELSHEIGHTback to summary
public static final int DM_PELSHEIGHT

DEVMODE field selection bits.

DM_PELSWIDTHback to summary
public static final int DM_PELSWIDTH

DEVMODE field selection bits.

DM_POSITIONback to summary
public static final int DM_POSITION

DEVMODE field selection bits.

DM_PRINTQUALITYback to summary
public static final int DM_PRINTQUALITY

DEVMODE field selection bits.

DM_SCALEback to summary
public static final int DM_SCALE

DEVMODE field selection bits.

DM_SPECVERSIONback to summary
public static final int DM_SPECVERSION

DEVMODE specification version.

DM_TTOPTIONback to summary
public static final int DM_TTOPTION

DEVMODE field selection bits.

DM_YRESOLUTIONback to summary
public static final int DM_YRESOLUTION

DEVMODE field selection bits.

DMDFO_CENTERback to summary
public static final int DMDFO_CENTER

DEVMODE dmDisplayFixedOutput specifications.

DMDFO_DEFAULTback to summary
public static final int DMDFO_DEFAULT

DEVMODE dmDisplayFixedOutput specifications.

DMDFO_STRETCHback to summary
public static final int DMDFO_STRETCH

DEVMODE dmDisplayFixedOutput specifications.

DMDISPLAYFLAGS_TEXTMODEback to summary
public static final int DMDISPLAYFLAGS_TEXTMODE

DEVMODE dmDisplayFlags flags.

DMDO_180back to summary
public static final int DMDO_180

DEVMODE dmDisplayOrientation specifications.

DMDO_270back to summary
public static final int DMDO_270

DEVMODE dmDisplayOrientation specifications.

DMDO_90back to summary
public static final int DMDO_90

DEVMODE dmDisplayOrientation specifications.

DMDO_DEFAULTback to summary
public static final int DMDO_DEFAULT

DEVMODE dmDisplayOrientation specifications.

GDI32back to summary
private static final SharedLibrary GDI32
PFD_DEPTH_DONTCAREback to summary
public static final int PFD_DEPTH_DONTCARE

PIXELFORMATDESCRIPTOR flags.

PFD_DIRECT3D_ACCELERATEDback to summary
public static final int PFD_DIRECT3D_ACCELERATED

PIXELFORMATDESCRIPTOR flags.

PFD_DOUBLEBUFFERback to summary
public static final int PFD_DOUBLEBUFFER

PIXELFORMATDESCRIPTOR flags.

PFD_DOUBLEBUFFER_DONTCAREback to summary
public static final int PFD_DOUBLEBUFFER_DONTCARE

PIXELFORMATDESCRIPTOR flags.

PFD_DRAW_TO_BITMAPback to summary
public static final int PFD_DRAW_TO_BITMAP

PIXELFORMATDESCRIPTOR flags.

PFD_DRAW_TO_WINDOWback to summary
public static final int PFD_DRAW_TO_WINDOW

PIXELFORMATDESCRIPTOR flags.

PFD_GENERIC_ACCELERATEDback to summary
public static final int PFD_GENERIC_ACCELERATED

PIXELFORMATDESCRIPTOR flags.

PFD_GENERIC_FORMATback to summary
public static final int PFD_GENERIC_FORMAT

PIXELFORMATDESCRIPTOR flags.

PFD_MAIN_PLANEback to summary
public static final byte PFD_MAIN_PLANE

PIXELFORMATDESCRIPTOR layer types.

PFD_NEED_PALETTEback to summary
public static final int PFD_NEED_PALETTE

PIXELFORMATDESCRIPTOR flags.

PFD_NEED_SYSTEM_PALETTEback to summary
public static final int PFD_NEED_SYSTEM_PALETTE

PIXELFORMATDESCRIPTOR flags.

PFD_OVERLAY_PLANEback to summary
public static final byte PFD_OVERLAY_PLANE

PIXELFORMATDESCRIPTOR layer types.

PFD_STEREOback to summary
public static final int PFD_STEREO

PIXELFORMATDESCRIPTOR flags.

PFD_STEREO_DONTCAREback to summary
public static final int PFD_STEREO_DONTCARE

PIXELFORMATDESCRIPTOR flags.

PFD_SUPPORT_COMPOSITIONback to summary
public static final int PFD_SUPPORT_COMPOSITION

PIXELFORMATDESCRIPTOR flags.

PFD_SUPPORT_DIRECTDRAWback to summary
public static final int PFD_SUPPORT_DIRECTDRAW

PIXELFORMATDESCRIPTOR flags.

PFD_SUPPORT_GDIback to summary
public static final int PFD_SUPPORT_GDI

PIXELFORMATDESCRIPTOR flags.

PFD_SUPPORT_OPENGLback to summary
public static final int PFD_SUPPORT_OPENGL

PIXELFORMATDESCRIPTOR flags.

PFD_SWAP_COPYback to summary
public static final int PFD_SWAP_COPY

PIXELFORMATDESCRIPTOR flags.

PFD_SWAP_EXCHANGEback to summary
public static final int PFD_SWAP_EXCHANGE

PIXELFORMATDESCRIPTOR flags.

PFD_SWAP_LAYER_BUFFERSback to summary
public static final int PFD_SWAP_LAYER_BUFFERS

PIXELFORMATDESCRIPTOR flags.

PFD_TYPE_COLORINDEXback to summary
public static final byte PFD_TYPE_COLORINDEX

PIXELFORMATDESCRIPTOR pixel types.

PFD_TYPE_RGBAback to summary
public static final byte PFD_TYPE_RGBA

PIXELFORMATDESCRIPTOR pixel types.

PFD_UNDERLAY_PLANEback to summary
public static final byte PFD_UNDERLAY_PLANE

PIXELFORMATDESCRIPTOR layer types.

Constructor Detail

GDI32back to summary
protected GDI32()

Method Detail

ChoosePixelFormatback to summary
public static int ChoosePixelFormat(long hdc, PIXELFORMATDESCRIPTOR pixelFormatDescriptor)

Attempts to match an appropriate pixel format supported by a device context to a given pixel format specification.

Parameters
hdc:long

the device context that the function examines to determine the best match for the pixel format descriptor pointed to by pixelFormatDescriptor

pixelFormatDescriptor:PIXELFORMATDESCRIPTOR

a PIXELFORMATDESCRIPTOR structure that specifies the requested pixel format

DescribePixelFormatback to summary
public static int DescribePixelFormat(long hdc, int pixelFormat, int bytes, PIXELFORMATDESCRIPTOR pixelFormatDescriptor)

Obtains information about the pixel format identified by pixelFormat of the device associated with dc. The function sets the members of the PIXELFORMATDESCRIPTOR structure pointed to by pixelFormatDescriptor with that pixel format data. The return value is the maximum pixel format index of the device context.

Parameters
hdc:long

the device context

pixelFormat:int

index that specifies the pixel format. The pixel formats that a device context supports are identified by positive one-based integer indexes.

bytes:int

the size, in bytes, of the structure pointed to by pixelFormatDescriptor. The wglDescribePixelFormat function stores no more than bytes bytes of data to that structure. Set this value to PIXELFORMATDESCRIPTOR#SIZEOF.

pixelFormatDescriptor:PIXELFORMATDESCRIPTOR

a PIXELFORMATDESCRIPTOR structure whose members the function sets with pixel format data. The function stores the number of bytes copied to the structure in the structure's size member. If, upon entry, pixelFormatDescriptor is NULL, the function writes no data to the structure. This is useful when you only want to obtain the maximum pixel format index of a device context.

DescribePixelFormatback to summary
public static int DescribePixelFormat(long hdc, int pixelFormat, PIXELFORMATDESCRIPTOR pixelFormatDescriptor)

Obtains information about the pixel format identified by pixelFormat of the device associated with dc. The function sets the members of the PIXELFORMATDESCRIPTOR structure pointed to by pixelFormatDescriptor with that pixel format data. The return value is the maximum pixel format index of the device context.

Parameters
hdc:long

the device context

pixelFormat:int

index that specifies the pixel format. The pixel formats that a device context supports are identified by positive one-based integer indexes.

pixelFormatDescriptor:PIXELFORMATDESCRIPTOR

a PIXELFORMATDESCRIPTOR structure whose members the function sets with pixel format data. The function stores the number of bytes copied to the structure in the structure's size member. If, upon entry, pixelFormatDescriptor is NULL, the function writes no data to the structure. This is useful when you only want to obtain the maximum pixel format index of a device context.

getLibraryback to summary
public static SharedLibrary getLibrary()

Returns the gdi32 SharedLibrary.

GetPixelFormatback to summary
public static int GetPixelFormat(long hdc)

Obtains the index of the currently selected pixel format of the specified device context.

Parameters
hdc:long

the device context of the currently selected pixel format index returned by the function

nChoosePixelFormatback to summary
public static native int nChoosePixelFormat(long hdc, long pixelFormatDescriptor, long __functionAddress)

Unsafe version of: ChoosePixelFormat

nChoosePixelFormatback to summary
public static int nChoosePixelFormat(long hdc, long pixelFormatDescriptor)

Unsafe version of: ChoosePixelFormat

nDescribePixelFormatback to summary
public static native int nDescribePixelFormat(long hdc, int pixelFormat, int bytes, long pixelFormatDescriptor, long __functionAddress)

Unsafe version of: DescribePixelFormat

nDescribePixelFormatback to summary
public static int nDescribePixelFormat(long hdc, int pixelFormat, int bytes, long pixelFormatDescriptor)

Unsafe version of: DescribePixelFormat

nGetPixelFormatback to summary
public static native int nGetPixelFormat(long hdc, long __functionAddress)

Unsafe version of: GetPixelFormat

nSetPixelFormatback to summary
public static native int nSetPixelFormat(long hdc, int pixelFormat, long pixelFormatDescriptor, long __functionAddress)

Unsafe version of: SetPixelFormat

nSetPixelFormatback to summary
public static int nSetPixelFormat(long hdc, int pixelFormat, long pixelFormatDescriptor)

Unsafe version of: SetPixelFormat

nSwapBuffersback to summary
public static native int nSwapBuffers(long dc, long __functionAddress)

Unsafe version of: SwapBuffers

SetPixelFormatback to summary
public static boolean SetPixelFormat(long hdc, int pixelFormat, PIXELFORMATDESCRIPTOR pixelFormatDescriptor)

Sets the pixel format of the specified device context to the format specified by the pixelFormat index.

Parameters
hdc:long

the device context whose pixel format the function attempts to set

pixelFormat:int

index that identifies the pixel format to set. The various pixel formats supported by a device context are identified by one-based indexes.

pixelFormatDescriptor:PIXELFORMATDESCRIPTOR

a PIXELFORMATDESCRIPTOR structure that contains the logical pixel format specification. The system's metafile component uses this structure to record the logical pixel format specification. The structure has no other effect upon the behavior of the SetPixelFormat function.

Annotations
@NativeType:BOOL
SwapBuffersback to summary
public static boolean SwapBuffers(long dc)

Exchanges the front and back buffers if the current pixel format for the window referenced by the specified device context includes a back buffer.

Parameters
dc:long

a device context. If the current pixel format for the window referenced by this device context includes a back buffer, the function exchanges the front and back buffers.

Annotations
@NativeType:BOOL
org.lwjgl.system.windows back to summary

public final Class GDI32.Functions

extends Object
Class Inheritance

Contains the function pointers loaded from the gdi32 SharedLibrary.

Field Summary

Modifier and TypeField and Description
public static final long
ChoosePixelFormat

Function address.

public static final long
DescribePixelFormat

Function address.

public static final long
GetPixelFormat

Function address.

public static final long
SetPixelFormat

Function address.

public static final long
SwapBuffers

Function address.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

ChoosePixelFormatback to summary
public static final long ChoosePixelFormat

Function address.

DescribePixelFormatback to summary
public static final long DescribePixelFormat

Function address.

GetPixelFormatback to summary
public static final long GetPixelFormat

Function address.

SetPixelFormatback to summary
public static final long SetPixelFormat

Function address.

SwapBuffersback to summary
public static final long SwapBuffers

Function address.

Constructor Detail

Functionsback to summary
private Functions()