Skip to content

Commit

Permalink
Bind missing members of DEVMODE.DUMMYUNIONNAME
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasblaesing committed Oct 21, 2023
1 parent eeda6e0 commit f58508a
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions contrib/platform/src/com/sun/jna/platform/win32/WinGDI.java
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,8 @@ public String getDmFormName() {

public static class DUMMYUNIONNAME extends Union {
public DUMMYSTRUCTNAME dummystructname;
public POINT dmPosition;
public DUMMYSTRUCTNAME2 dummystructname2;

@FieldOrder({ "dmOrientation", "dmPaperSize", "dmPaperLength", "dmPaperWidth", "dmScale", "dmCopies", "dmDefaultSource",
"dmPrintQuality" })
Expand Down Expand Up @@ -381,10 +383,6 @@ public static class DUMMYSTRUCTNAME extends Structure {
* For displays: This member is not used for displays.
*/
public short dmPrintQuality;

public DUMMYSTRUCTNAME() {
super();
}
}

@FieldOrder({ "dmPosition", "dmDisplayOrientation", "dmDisplayFixedOutput" })
Expand Down Expand Up @@ -429,10 +427,6 @@ public static class DUMMYSTRUCTNAME2 extends Structure {
* Note: This member is defined only for Windows XP and later.
*/
public int dmDisplayFixedOutput;

public DUMMYSTRUCTNAME2() {
super();
}
}
}

Expand Down

0 comments on commit f58508a

Please sign in to comment.