Browse Source

* added some newer additions to devmodea also to devmodeb

git-svn-id: trunk@24710 -
marco 12 years ago
parent
commit
9239adbc1e
1 changed files with 7 additions and 0 deletions
  1. 7 0
      rtl/win/wininc/struct.inc

+ 7 - 0
rtl/win/wininc/struct.inc

@@ -2087,6 +2087,8 @@ Const
                      dmSize        : WORD;
                      dmSize        : WORD;
                      dmDriverExtra  : WORD;
                      dmDriverExtra  : WORD;
                      dmFields       : DWORD;
                      dmFields       : DWORD;
+                     case byte of
+                  1: (
                      dmOrientation  : short;
                      dmOrientation  : short;
                      dmPaperSize    : short;
                      dmPaperSize    : short;
                      dmPaperLength  : short;
                      dmPaperLength  : short;
@@ -2115,6 +2117,11 @@ Const
                      dmReserved2    : DWORD;
                      dmReserved2    : DWORD;
                      dmPanningWidth : DWORD;
                      dmPanningWidth : DWORD;
                      dmPanningHeight: DWORD;
                      dmPanningHeight: DWORD;
+                     );
+                  2: (dmPosition: POINTL;
+                      dmDisplayOrientation: DWORD;
+                      dmDisplayFixedOutput: DWORD;
+                     );
                    end;
                    end;
 
 
      LPDEVMODEW   = ^DEVMODEW;
      LPDEVMODEW   = ^DEVMODEW;