https://git.reactos.org/?p=reactos.git;a=commitdiff;h=dbaa8b132d3ff5f756416cdedf8a54b0fec576a7

commit dbaa8b132d3ff5f756416cdedf8a54b0fec576a7
Author:     James Tabor <[email protected]>
AuthorDate: Fri Jul 31 12:12:59 2020 -0500
Commit:     James Tabor <[email protected]>
CommitDate: Fri Jul 31 12:12:59 2020 -0500

    [WinSpool] Fix Header Order
    
    Found another issue with the header.
---
 sdk/include/psdk/winspool.h | 59 ++++++++++++++++++++++-----------------------
 1 file changed, 29 insertions(+), 30 deletions(-)

diff --git a/sdk/include/psdk/winspool.h b/sdk/include/psdk/winspool.h
index fa03a2acfbb..6c4d8383762 100644
--- a/sdk/include/psdk/winspool.h
+++ b/sdk/include/psdk/winspool.h
@@ -640,6 +640,35 @@ __MINGW_TYPEDEF_AW(LPDRIVER_INFO_8)
   __MINGW_TYPEDEF_AW(PFORM_INFO_1)
   __MINGW_TYPEDEF_AW(LPFORM_INFO_1)
 
+typedef struct _FORM_INFO_2A {
+  DWORD   Flags;
+  LPSTR   pName;
+  SIZEL   Size;
+  RECTL   ImageableArea;
+  LPCSTR  pKeyword;
+  DWORD   StringType;
+  LPCSTR  pMuiDll;
+  DWORD   dwResourceId;
+  LPCSTR  pDisplayName;
+  LANGID  wLangId;
+} FORM_INFO_2A, *PFORM_INFO_2A;
+
+typedef struct _FORM_INFO_2W {
+  DWORD   Flags;
+  LPWSTR  pName;
+  SIZEL   Size;
+  RECTL   ImageableArea;
+  LPCSTR  pKeyword;
+  DWORD   StringType;
+  LPCWSTR pMuiDll;
+  DWORD   dwResourceId;
+  LPCWSTR pDisplayName;
+  LANGID  wLangId;
+} FORM_INFO_2W, *PFORM_INFO_2W;
+
+__MINGW_TYPEDEF_AW(FORM_INFO_2)
+__MINGW_TYPEDEF_AW(PFORM_INFO_2)
+
   typedef struct _DOC_INFO_2A {
     LPSTR pDocName;
     LPSTR pOutputFile;
@@ -1480,36 +1509,6 @@ HRESULT DocumentEventW(
   PVOID pvOut
 );
 
-
-typedef struct _FORM_INFO_2A {
-  DWORD   Flags;
-  LPSTR   pName;
-  SIZEL   Size;
-  RECTL   ImageableArea;
-  LPCSTR  pKeyword;
-  DWORD   StringType;
-  LPCSTR  pMuiDll;
-  DWORD   dwResourceId;
-  LPCSTR  pDisplayName;
-  LANGID  wLangId;
-} FORM_INFO_2A, *PFORM_INFO_2A;
-
-typedef struct _FORM_INFO_2W {
-  DWORD   Flags;
-  LPWSTR  pName;
-  SIZEL   Size;
-  RECTL   ImageableArea;
-  LPCSTR  pKeyword;
-  DWORD   StringType;
-  LPCWSTR pMuiDll;
-  DWORD   dwResourceId;
-  LPCWSTR pDisplayName;
-  LANGID  wLangId;
-} FORM_INFO_2W, *PFORM_INFO_2W;
-
-__MINGW_TYPEDEF_AW(FORM_INFO_2)
-__MINGW_TYPEDEF_AW(PFORM_INFO_2)
-
 typedef struct _PRINTPROCESSOR_CAPS_2 {
   DWORD dwLevel;
   DWORD dwNupOptions;

Reply via email to