struct DEVMODE {
TCHAR dmDeviceName[32];
WORD dmSpecVersion;
WORD dmDriverVersion;
WORD dmSize;
WORD dmDriverExtra;
DWORD dmFields;
union {
struct {
short dmOrientation;
short dmPaperSize;
short dmPaperLength;
short dmPaperWidth;
short dmScale;
short dmCopies;
short dmDefaultSource;
short dmPrintQuality;
};
struct {
POINTL dmPosition;
DWORD dmDisplayOrientation;
DWORD dmDisplayFixedOutput;
};
};
short dmColor;
short dmDuplex;
short dmYResolution;
short dmTTOption;
short dmCollate;
TCHAR dmFormName[32];
WORD dmLogPixels;
DWORD dmBitsPerPel;
DWORD dmPelsWidth;
DWORD dmPelsHeight;
union {
DWORD dmDisplayFlags;
DWORD dmNup;
};
DWORD dmDisplayFrequency;
DWORD dmICMMethod;
DWORD dmICMIntent;
DWORD dmMediaType;
DWORD dmDitherType;
DWORD dmReserved1;
DWORD dmReserved2;
DWORD dmPanningWidth;
DWORD dmPanningHeight;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | DEVMODE.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | DMBITSPERPEL
The struct member offsets. |
| public static final int | DMCOLLATE
The struct member offsets. |
| public static final int | DMCOLOR
The struct member offsets. |
| public static final int | DMCOPIES
The struct member offsets. |
| public static final int | DMDEFAULTSOURCE
The struct member offsets. |
| public static final int | DMDEVICENAME
The struct member offsets. |
| public static final int | DMDISPLAYFIXEDOUTPUT
The struct member offsets. |
| public static final int | DMDISPLAYFLAGS
The struct member offsets. |
| public static final int | DMDISPLAYFREQUENCY
The struct member offsets. |
| public static final int | DMDISPLAYORIENTATION
The struct member offsets. |
| public static final int | DMDITHERTYPE
The struct member offsets. |
| public static final int | DMDRIVEREXTRA
The struct member offsets. |
| public static final int | DMDRIVERVERSION
The struct member offsets. |
| public static final int | DMDUPLEX
The struct member offsets. |
| public static final int | DMFIELDS
The struct member offsets. |
| public static final int | DMFORMNAME
The struct member offsets. |
| public static final int | DMICMINTENT
The struct member offsets. |
| public static final int | DMICMMETHOD
The struct member offsets. |
| public static final int | DMLOGPIXELS
The struct member offsets. |
| public static final int | DMMEDIATYPE
The struct member offsets. |
| public static final int | DMNUP
The struct member offsets. |
| public static final int | DMORIENTATION
The struct member offsets. |
| public static final int | DMPANNINGHEIGHT
The struct member offsets. |
| public static final int | DMPANNINGWIDTH
The struct member offsets. |
| public static final int | DMPAPERLENGTH
The struct member offsets. |
| public static final int | DMPAPERSIZE
The struct member offsets. |
| public static final int | DMPAPERWIDTH
The struct member offsets. |
| public static final int | DMPELSHEIGHT
The struct member offsets. |
| public static final int | DMPELSWIDTH
The struct member offsets. |
| public static final int | DMPOSITION
The struct member offsets. |
| public static final int | DMPRINTQUALITY
The struct member offsets. |
| public static final int | DMRESERVED1
The struct member offsets. |
| public static final int | DMRESERVED2
The struct member offsets. |
| public static final int | DMSCALE
The struct member offsets. |
| public static final int | DMSIZE
The struct member offsets. |
| public static final int | DMSPECVERSION
The struct member offsets. |
| public static final int | DMTTOPTION
The struct member offsets. |
| public static final int | DMYRESOLUTION
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | DEVMODE(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static DEVMODE | |
| public static DEVMODE. | calloc(int
the buffer capacity capacity)Returns a new |
| public static DEVMODE | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static DEVMODE. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static DEVMODE | |
| public static DEVMODE | |
| public static DEVMODE. | |
| public static DEVMODE. | |
| protected DEVMODE | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static DEVMODE | |
| public static DEVMODE | |
| public static DEVMODE. | create(int
the buffer capacity capacity)Returns a new |
| public static DEVMODE. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static DEVMODE | |
| public static DEVMODE. | |
| public int | dmBitsPerPel()
specifies the color resolution, in bits per pixel, of the display device (for example: 4 bits for 16 colors, 8 bits for 256 colors, or 16 bits for 65,536 colors) |
| public short | |
| public short | |
| public short | |
| public short | |
| public ByteBuffer | dmDeviceName()
A zero-terminated character array that specifies the "friendly" name of the printer or display; for example, "PCL/HP LaserJet" in the case of PCL/HP LaserJet. |
| public String | dmDeviceNameString()
A zero-terminated character array that specifies the "friendly" name of the printer or display; for example, "PCL/HP LaserJet" in the case of PCL/HP LaserJet. |
| public int | dmDisplayFixedOutput()
for fixed-resolution display devices only, how the display presents a low-resolution mode on a higher-resolution display. |
| public int | dmDisplayFlags()
specifies the device's display mode, one or more of: |
| public int | dmDisplayFrequency()
specifies the frequency, in hertz (cycles per second), of the display device in a particular mode. |
| public int | dmDisplayOrientation()
for display devices only, the orientation at which images should be presented. |
| public int | |
| public short | |
| public DEVMODE | |
| public short | |
| public short | |
| public int | |
| public ByteBuffer | |
| public String | |
| public int | |
| public int | |
| public short | |
| public int | |
| public int | |
| public short | |
| public int | |
| public int | |
| public short | |
| public short | |
| public short | |
| public int | |
| public int | |
| public POINTL | dmPosition()
for display devices only, a |
| public short | |
| public int | |
| public int | |
| public short | |
| public short | dmSize()
specifies the size, in bytes, of the |
| public DEVMODE | |
| public short | dmSpecVersion()
the version number of the initialization data specification on which the structure is based. |
| public DEVMODE | |
| public short | |
| public short | |
| public static DEVMODE | |
| public static DEVMODE. | malloc(int
the buffer capacity capacity)Returns a new |
| public static DEVMODE | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static DEVMODE. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static DEVMODE | |
| public static DEVMODE | |
| public static DEVMODE. | |
| public static DEVMODE. | |
| public static int | |
| public static short | |
| public static short | |
| public static short | |
| public static short | |
| public static ByteBuffer | |
| public static String | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static short | |
| public static void | |
| public static short | |
| public static short | |
| public static int | |
| public static ByteBuffer | |
| public static String | |
| public static int | |
| public static int | |
| public static short | |
| public static int | |
| public static int | |
| public static short | |
| public static int | |
| public static int | |
| public static short | |
| public static short | |
| public static short | |
| public static int | |
| public static int | |
| public static POINTL | |
| public static short | |
| public static int | |
| public static int | |
| public static short | |
| public static short | |
| public static void | |
| public static short | |
| public static void | |
| public static short | |
| public static short | |
| public DEVMODE | |
| public int |