Skip to content

Commit f58508a

Browse files
Bind missing members of DEVMODE.DUMMYUNIONNAME
1 parent eeda6e0 commit f58508a

File tree

1 file changed

+2
-8
lines changed
  • contrib/platform/src/com/sun/jna/platform/win32

1 file changed

+2
-8
lines changed

contrib/platform/src/com/sun/jna/platform/win32/WinGDI.java

+2-8
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,8 @@ public String getDmFormName() {
296296

297297
public static class DUMMYUNIONNAME extends Union {
298298
public DUMMYSTRUCTNAME dummystructname;
299+
public POINT dmPosition;
300+
public DUMMYSTRUCTNAME2 dummystructname2;
299301

300302
@FieldOrder({ "dmOrientation", "dmPaperSize", "dmPaperLength", "dmPaperWidth", "dmScale", "dmCopies", "dmDefaultSource",
301303
"dmPrintQuality" })
@@ -381,10 +383,6 @@ public static class DUMMYSTRUCTNAME extends Structure {
381383
* For displays: This member is not used for displays.
382384
*/
383385
public short dmPrintQuality;
384-
385-
public DUMMYSTRUCTNAME() {
386-
super();
387-
}
388386
}
389387

390388
@FieldOrder({ "dmPosition", "dmDisplayOrientation", "dmDisplayFixedOutput" })
@@ -429,10 +427,6 @@ public static class DUMMYSTRUCTNAME2 extends Structure {
429427
* Note: This member is defined only for Windows XP and later.
430428
*/
431429
public int dmDisplayFixedOutput;
432-
433-
public DUMMYSTRUCTNAME2() {
434-
super();
435-
}
436430
}
437431
}
438432

0 commit comments

Comments
 (0)