Back to the "Multiple platform build/check report"[A] B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z 

BioC 3.4: BUILD report for AffyTiling on moscato1

This page was generated on 2016-05-02 10:52:02 -0700 (Mon, 02 May 2016).

Package 30/1213HostnameOS / ArchINSTALLBUILDCHECKBUILD BIN
AffyTiling 1.29.2
Charles G. Danko
Snapshot Date: 2016-05-01 16:20:05 -0700 (Sun, 01 May 2016)
URL: https://hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/AffyTiling
Last Changed Rev: 115127 / Revision: 116959
Last Changed Date: 2016-03-22 12:48:01 -0700 (Tue, 22 Mar 2016)
zin1 Linux (Ubuntu 16.04 LTS) / x86_64  NotNeeded  ERROR  skipped 
moscato1 Windows Server 2008 R2 Standard (64-bit) / x64  NotNeeded [ ERROR ] skipped  skipped 

Summary

Package: AffyTiling
Version: 1.29.2
Command: chmod a+r AffyTiling -R && D:\biocbld\bbs-3.4-bioc\R\bin\R.exe CMD build --keep-empty-dirs --no-resave-data AffyTiling
StartedAt: 2016-05-01 18:26:22 -0700 (Sun, 01 May 2016)
EndedAt: 2016-05-01 18:26:42 -0700 (Sun, 01 May 2016)
EllapsedTime: 20.3 seconds
RetCode: 1
Status:  ERROR  
PackageFile: None
PackageFileSize: NA

Command output

##############################################################################
##############################################################################
###
### Running command:
###
###   chmod a+r AffyTiling -R && D:\biocbld\bbs-3.4-bioc\R\bin\R.exe CMD build --keep-empty-dirs --no-resave-data AffyTiling
###
##############################################################################
##############################################################################


* checking for file 'AffyTiling/DESCRIPTION' ... OK
* preparing 'AffyTiling':
* checking DESCRIPTION meta-information ... OK
* cleaning src
* installing the package to build vignettes
Warning: running command '"D:/biocbld/bbs-3.4-bioc/R/bin/x64/Rcmd.exe" INSTALL -l "D:\biocbld\bbs-3.4-bioc\tmpdir\RtmpARNvBX\Rinst1bc829196bd8" --no-multiarch "D:/biocbld/bbs-3.4-bioc/tmpdir/RtmpARNvBX/Rbuild1bc813756e6b/AffyTiling"' had status 1
      -----------------------------------
* installing *source* package 'AffyTiling' ...
** libs
C:/Rtools/mingw_64/bin/g++  -I"D:/biocbld/BBS-3˜1.4-B/R/include" -DNDEBUG -imacros R_affx_constants.h -I. -Ifusion_sdk/calvin_files/array/src -Ifusion_sdk/calvin_files/data/src -Ifusion_sdk/calvin_files/exception/src -Ifusion_sdk/calvin_files/fusion/src -Ifusion_sdk/calvin_files/fusion/src/GCOSAdapter -Ifusion_sdk/calvin_files/fusion/src/CalvinAdapter -Ifusion_sdk/calvin_files/parameter/src -Ifusion_sdk/calvin_files/parsers/src -Ifusion_sdk/calvin_files/portability/src -Ifusion_sdk/calvin_files/template/src -Ifusion_sdk/calvin_files/utils/src -Ifusion_sdk/calvin_files/writers/src -Ifusion_sdk/file -Ifusion_sdk/portability -Ifusion_sdk -D_USE_MEM_MAPPING_ -D_MSC_VER    -I"c:/local323/include"     -O2 -Wall  -mtune=core2 -c fusion_sdk/file/BPMAPFileData.cpp -o fusion_sdk/file/BPMAPFileData.o
In file included from fusion_sdk/file/BPMAPFileData.cpp:20:0:
fusion_sdk/file/BPMAPFileData.h:29:0: warning: ignoring #pragma warning  [-Wunknown-pragmas]
 #pragma warning(disable: 4786) // identifier was truncated in the debug information
 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:24:29: error: expected initializer before 'ULONG'
   typedef unsigned __LONG32 ULONG;
                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:25:11: error: 'ULONG' does not name a type
   typedef ULONG *PULONG;
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:124:29: error: expected initializer before 'DWORD'
   typedef unsigned __LONG32 DWORD;
                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:133:11: error: '__LONG32' does not name a type
   typedef __LONG32 *LPLONG;
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:134:11: error: 'DWORD' does not name a type
   typedef DWORD *PDWORD;
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:135:11: error: 'DWORD' does not name a type
   typedef DWORD *LPDWORD;
           ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:602:46: error: expected ',' or '...' before 'Offset'
 unsigned char __readgsbyte(unsigned __LONG32 Offset);
                                              ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:604:1: error: expected ',' or '...' before 'Offset'
 __buildreadseg(__readgsbyte, unsigned char, "gs")
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h: In function 'unsigned char __readgsbyte(unsigned int)':
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:604:1: error: 'Offset' was not declared in this scope
 __buildreadseg(__readgsbyte, unsigned char, "gs")
 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h: At global scope:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:609:47: error: expected ',' or '...' before 'Offset'
 unsigned short __readgsword(unsigned __LONG32 Offset);
                                               ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:611:1: error: expected ',' or '...' before 'Offset'
 __buildreadseg(__readgsword, unsigned short, "gs")
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h: In function 'short unsigned int __readgsword(unsigned int)':
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:611:1: error: 'Offset' was not declared in this scope
 __buildreadseg(__readgsword, unsigned short, "gs")
 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h: At global scope:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:616:19: error: expected initializer before '__readgsdword'
 unsigned __LONG32 __readgsdword(unsigned __LONG32 Offset);
                   ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:618:1: error: expected initializer before '__readgsdword'
 __buildreadseg(__readgsdword, unsigned __LONG32, "gs")
 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:623:68: error: expected ',' or '...' before 'Offset'
 __MINGW_EXTENSION unsigned __int64 __readgsqword(unsigned __LONG32 Offset);
                                                                    ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:625:1: error: expected ',' or '...' before 'Offset'
 __buildreadseg(__readgsqword, unsigned __int64, "gs")
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h: In function 'long long unsigned int __readgsqword(unsigned int)':
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:625:1: error: 'Offset' was not declared in this scope
 __buildreadseg(__readgsqword, unsigned __int64, "gs")
 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h: At global scope:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:630:38: error: expected ',' or '...' before 'Offset'
 void __writegsbyte(unsigned __LONG32 Offset,unsigned char Data);
                                      ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:632:1: error: expected ',' or '...' before 'Offset'
 __buildwriteseg(__writegsbyte, unsigned char, "gs")
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h: In function 'void __writegsbyte(unsigned int)':
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:632:1: error: 'Offset' was not declared in this scope
 __buildwriteseg(__writegsbyte, unsigned char, "gs")
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:632:1: error: 'Data' was not declared in this scope
 __buildwriteseg(__writegsbyte, unsigned char, "gs")
 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h: At global scope:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:637:38: error: expected ',' or '...' before 'Offset'
 void __writegsword(unsigned __LONG32 Offset,unsigned short Data);
                                      ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:639:1: error: expected ',' or '...' before 'Offset'
 __buildwriteseg(__writegsword, unsigned short, "gs")
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h: In function 'void __writegsword(unsigned int)':
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:639:1: error: 'Offset' was not declared in this scope
 __buildwriteseg(__writegsword, unsigned short, "gs")
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:639:1: error: 'Data' was not declared in this scope
 __buildwriteseg(__writegsword, unsigned short, "gs")
 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h: At global scope:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:644:39: error: expected ',' or '...' before 'Offset'
 void __writegsdword(unsigned __LONG32 Offset,unsigned __LONG32 Data);
                                       ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:646:1: error: expected ',' or '...' before 'Offset'
 __buildwriteseg(__writegsdword, unsigned __LONG32, "gs")
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h: In function 'void __writegsdword(unsigned int)':
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:646:1: error: expected primary-expression before 'unsigned'
 __buildwriteseg(__writegsdword, unsigned __LONG32, "gs")
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:646:1: error: expected ')' before 'unsigned'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:646:1: error: expected ')' before ';' token
 __buildwriteseg(__writegsdword, unsigned __LONG32, "gs")
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:646:1: error: expected ')' before ';' token
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:646:1: error: expected ')' before ';' token
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h: At global scope:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:651:57: error: expected ',' or '...' before 'Offset'
 __MINGW_EXTENSION void __writegsqword(unsigned __LONG32 Offset,unsigned __int64 Data);
                                                         ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:653:1: error: expected ',' or '...' before 'Offset'
 __buildwriteseg(__writegsqword, unsigned __int64, "gs")
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h: In function 'void __writegsqword(unsigned int)':
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:653:1: error: 'Offset' was not declared in this scope
 __buildwriteseg(__writegsqword, unsigned __int64, "gs")
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:653:1: error: 'Data' was not declared in this scope
 __buildwriteseg(__writegsqword, unsigned __int64, "gs")
 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h: At global scope:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:658:69: error: expected ',' or '...' before '*' token
 __MINGW_EXTENSION unsigned char _BitScanForward64(unsigned __LONG32 *Index, unsigned __int64 Mask);
                                                                     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:660:1: error: expected ',' or '...' before '*' token
 __buildbitscan(_BitScanForward64, unsigned __int64, "bsf")
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h: In function 'unsigned char _BitScanForward64(unsigned int)':
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:660:1: error: 'Mask' was not declared in this scope
 __buildbitscan(_BitScanForward64, unsigned __int64, "bsf")
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:660:1: error: 'Index' was not declared in this scope
 __buildbitscan(_BitScanForward64, unsigned __int64, "bsf")
 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h: At global scope:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:665:69: error: expected ',' or '...' before '*' token
 __MINGW_EXTENSION unsigned char _BitScanReverse64(unsigned __LONG32 *Index, unsigned __int64 Mask);
                                                                     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:667:1: error: expected ',' or '...' before '*' token
 __buildbitscan(_BitScanReverse64, unsigned __int64, "bsr")
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h: In function 'unsigned char _BitScanReverse64(unsigned int)':
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:667:1: error: 'Mask' was not declared in this scope
 __buildbitscan(_BitScanReverse64, unsigned __int64, "bsr")
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:667:1: error: 'Index' was not declared in this scope
 __buildbitscan(_BitScanReverse64, unsigned __int64, "bsr")
 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h: At global scope:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:861:32: error: expected ',' or '...' before '*' token
 void __stosd(unsigned __LONG32 *, unsigned __LONG32, size_t);
                                ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:863:1: error: expected ',' or '...' before '*' token
 __buildstos(__stosd, unsigned __LONG32, "d")
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h: In function 'void __stosd(unsigned int)':
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:863:1: error: 'Dest' was not declared in this scope
 __buildstos(__stosd, unsigned __LONG32, "d")
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:863:1: error: 'Count' was not declared in this scope
 __buildstos(__stosd, unsigned __LONG32, "d")
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:863:1: error: 'Data' was not declared in this scope
 __buildstos(__stosd, unsigned __LONG32, "d")
 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h: At global scope:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:868:41: error: '__LONG32' was not declared in this scope
 unsigned char _interlockedbittestandset(__LONG32 *a, __LONG32 b);
                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:868:51: error: 'a' was not declared in this scope
 unsigned char _interlockedbittestandset(__LONG32 *a, __LONG32 b);
                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:868:54: error: '__LONG32' was not declared in this scope
 unsigned char _interlockedbittestandset(__LONG32 *a, __LONG32 b);
                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:868:64: error: expression list treated as compound expression in initializer [-fpermissive]
 unsigned char _interlockedbittestandset(__LONG32 *a, __LONG32 b);
                                                                ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:870:1: error: '_interlockedbittestandset' declared as an 'inline' variable
 __buildbittesti(_interlockedbittestandset, __LONG32, "lock bts", "I", /* unused param */)
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:870:1: error: redefinition of 'unsigned char _interlockedbittestandset'
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:868:15: note: 'unsigned char _interlockedbittestandset' previously defined here
 unsigned char _interlockedbittestandset(__LONG32 *a, __LONG32 b);
               ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:870:1: error: '__LONG32' was not declared in this scope
 __buildbittesti(_interlockedbittestandset, __LONG32, "lock bts", "I", /* unused param */)
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:870:1: error: 'Base' was not declared in this scope
 __buildbittesti(_interlockedbittestandset, __LONG32, "lock bts", "I", /* unused param */)
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:870:1: error: '__LONG32' was not declared in this scope
 __buildbittesti(_interlockedbittestandset, __LONG32, "lock bts", "I", /* unused param */)
 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:875:43: error: '__LONG32' was not declared in this scope
 unsigned char _interlockedbittestandreset(__LONG32 *a, __LONG32 b);
                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:875:53: error: 'a' was not declared in this scope
 unsigned char _interlockedbittestandreset(__LONG32 *a, __LONG32 b);
                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:875:56: error: '__LONG32' was not declared in this scope
 unsigned char _interlockedbittestandreset(__LONG32 *a, __LONG32 b);
                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:875:66: error: expression list treated as compound expression in initializer [-fpermissive]
 unsigned char _interlockedbittestandreset(__LONG32 *a, __LONG32 b);
                                                                  ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:877:1: error: '_interlockedbittestandreset' declared as an 'inline' variable
 __buildbittesti(_interlockedbittestandreset, __LONG32, "lock btr", "I", /* unused param */)
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:877:1: error: redefinition of 'unsigned char _interlockedbittestandreset'
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:875:15: note: 'unsigned char _interlockedbittestandreset' previously defined here
 unsigned char _interlockedbittestandreset(__LONG32 *a, __LONG32 b);
               ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:877:1: error: '__LONG32' was not declared in this scope
 __buildbittesti(_interlockedbittestandreset, __LONG32, "lock btr", "I", /* unused param */)
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:877:1: error: 'Base' was not declared in this scope
 __buildbittesti(_interlockedbittestandreset, __LONG32, "lock btr", "I", /* unused param */)
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:877:1: error: '__LONG32' was not declared in this scope
 __buildbittesti(_interlockedbittestandreset, __LONG32, "lock btr", "I", /* unused param */)
 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:882:48: error: '__LONG32' was not declared in this scope
 unsigned char _interlockedbittestandcomplement(__LONG32 *a, __LONG32 b);
                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:882:58: error: 'a' was not declared in this scope
 unsigned char _interlockedbittestandcomplement(__LONG32 *a, __LONG32 b);
                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:882:61: error: '__LONG32' was not declared in this scope
 unsigned char _interlockedbittestandcomplement(__LONG32 *a, __LONG32 b);
                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:882:71: error: expression list treated as compound expression in initializer [-fpermissive]
 unsigned char _interlockedbittestandcomplement(__LONG32 *a, __LONG32 b);
                                                                       ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:884:1: error: '_interlockedbittestandcomplement' declared as an 'inline' variable
 __buildbittesti(_interlockedbittestandcomplement, __LONG32, "lock btc", "I", /* unused param */)
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:884:1: error: redefinition of 'unsigned char _interlockedbittestandcomplement'
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:882:15: note: 'unsigned char _interlockedbittestandcomplement' previously defined here
 unsigned char _interlockedbittestandcomplement(__LONG32 *a, __LONG32 b);
               ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:884:1: error: '__LONG32' was not declared in this scope
 __buildbittesti(_interlockedbittestandcomplement, __LONG32, "lock btc", "I", /* unused param */)
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:884:1: error: 'Base' was not declared in this scope
 __buildbittesti(_interlockedbittestandcomplement, __LONG32, "lock btc", "I", /* unused param */)
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:884:1: error: '__LONG32' was not declared in this scope
 __buildbittesti(_interlockedbittestandcomplement, __LONG32, "lock btc", "I", /* unused param */)
 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:889:49: error: '__LONG32' does not name a type
 unsigned char InterlockedBitTestAndSet(volatile __LONG32 *a, __LONG32 b);
                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:889:62: error: '__LONG32' has not been declared
 unsigned char InterlockedBitTestAndSet(volatile __LONG32 *a, __LONG32 b);
                                                              ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:891:1: error: '__LONG32' does not name a type
 __buildbittesti(InterlockedBitTestAndSet, __LONG32, "lock bts", "I", volatile)
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:891:1: error: '__LONG32' has not been declared
 __buildbittesti(InterlockedBitTestAndSet, __LONG32, "lock bts", "I", volatile)
 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:896:51: error: '__LONG32' does not name a type
 unsigned char InterlockedBitTestAndReset(volatile __LONG32 *a, __LONG32 b);
                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:896:64: error: '__LONG32' has not been declared
 unsigned char InterlockedBitTestAndReset(volatile __LONG32 *a, __LONG32 b);
                                                                ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:898:1: error: '__LONG32' does not name a type
 __buildbittesti(InterlockedBitTestAndReset, __LONG32, "lock btr", "I", volatile)
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:898:1: error: '__LONG32' has not been declared
 __buildbittesti(InterlockedBitTestAndReset, __LONG32, "lock btr", "I", volatile)
 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:903:56: error: '__LONG32' does not name a type
 unsigned char InterlockedBitTestAndComplement(volatile __LONG32 *a, __LONG32 b);
                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:903:69: error: '__LONG32' has not been declared
 unsigned char InterlockedBitTestAndComplement(volatile __LONG32 *a, __LONG32 b);
                                                                     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:905:1: error: '__LONG32' does not name a type
 __buildbittesti(InterlockedBitTestAndComplement, __LONG32, "lock btc", "I", volatile)
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:905:1: error: '__LONG32' has not been declared
 __buildbittesti(InterlockedBitTestAndComplement, __LONG32, "lock btc", "I", volatile)
 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:910:1: error: '__LONG32' does not name a type
 __LONG32 _InterlockedAnd(__LONG32 volatile *, __LONG32);
 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:912:1: error: '__LONG32' does not name a type
 __buildlogicali(_InterlockedAnd, __LONG32, and)
 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:917:1: error: '__LONG32' does not name a type
 __LONG32 _InterlockedOr(__LONG32 volatile *, __LONG32);
 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:919:1: error: '__LONG32' does not name a type
 __buildlogicali(_InterlockedOr, __LONG32, or)
 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:924:1: error: '__LONG32' does not name a type
 __LONG32 _InterlockedXor(__LONG32 volatile *, __LONG32);
 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:926:1: error: '__LONG32' does not name a type
 __buildlogicali(_InterlockedXor, __LONG32, xor)
 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:958:1: error: '__LONG32' does not name a type
 __LONG32 _InterlockedExchangeAdd(__LONG32 volatile *Addend, __LONG32 Value);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:960:1: error: '__LONG32' does not name a type
 __LONG32 _InterlockedExchangeAdd(__LONG32 volatile *Addend, __LONG32 Value) {
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:967:1: error: '__LONG32' does not name a type
 __LONG32 _InterlockedCompareExchange(__LONG32 volatile *Destination, __LONG32 ExChange, __LONG32 Comperand);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:969:1: error: '__LONG32' does not name a type
 __LONG32 _InterlockedCompareExchange(__LONG32 volatile *Destination, __LONG32 ExChange, __LONG32 Comperand) {
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:976:1: error: '__LONG32' does not name a type
 __LONG32 _InterlockedIncrement(__LONG32 volatile *Addend);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:978:1: error: '__LONG32' does not name a type
 __LONG32 _InterlockedIncrement(__LONG32 volatile *Addend) {
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:985:1: error: '__LONG32' does not name a type
 __LONG32 _InterlockedDecrement(__LONG32 volatile *Addend);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:987:1: error: '__LONG32' does not name a type
 __LONG32 _InterlockedDecrement(__LONG32 volatile *Addend) {
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:994:1: error: '__LONG32' does not name a type
 __LONG32 _InterlockedExchange(__LONG32 volatile *Target, __LONG32 Value);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:996:1: error: '__LONG32' does not name a type
 __LONG32 _InterlockedExchange(__LONG32 volatile *Target, __LONG32 Value) {
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:1030:49: error: expected ',' or '...' before '*' token
 unsigned char _BitScanForward(unsigned __LONG32 *Index, unsigned __LONG32 Mask);
                                                 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:1032:1: error: expected ',' or '...' before '*' token
 __buildbitscan(_BitScanForward, unsigned __LONG32, "bsf")
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h: In function 'unsigned char _BitScanForward(unsigned int)':
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:1032:1: error: expected initializer before 'n'
 __buildbitscan(_BitScanForward, unsigned __LONG32, "bsf")
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:1032:1: error: 'n' was not declared in this scope
 __buildbitscan(_BitScanForward, unsigned __LONG32, "bsf")
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:1032:1: error: 'Mask' was not declared in this scope
 __buildbitscan(_BitScanForward, unsigned __LONG32, "bsf")
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:1032:1: error: 'Index' was not declared in this scope
 __buildbitscan(_BitScanForward, unsigned __LONG32, "bsf")
 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h: At global scope:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:1037:49: error: expected ',' or '...' before '*' token
 unsigned char _BitScanReverse(unsigned __LONG32 *Index, unsigned __LONG32 Mask);
                                                 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:1039:1: error: expected ',' or '...' before '*' token
 __buildbitscan(_BitScanReverse, unsigned __LONG32, "bsr")
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h: In function 'unsigned char _BitScanReverse(unsigned int)':
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:1039:1: error: expected initializer before 'n'
 __buildbitscan(_BitScanReverse, unsigned __LONG32, "bsr")
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:1039:1: error: 'n' was not declared in this scope
 __buildbitscan(_BitScanReverse, unsigned __LONG32, "bsr")
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:1039:1: error: 'Mask' was not declared in this scope
 __buildbitscan(_BitScanReverse, unsigned __LONG32, "bsr")
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:1039:1: error: 'Index' was not declared in this scope
 __buildbitscan(_BitScanReverse, unsigned __LONG32, "bsr")
 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h: At global scope:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:1044:24: error: '__LONG32' was not declared in this scope
 unsigned char _bittest(__LONG32 const *a, __LONG32 b);
                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:1044:43: error: '__LONG32' was not declared in this scope
 unsigned char _bittest(__LONG32 const *a, __LONG32 b);
                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:1044:53: error: expression list treated as compound expression in initializer [-fpermissive]
 unsigned char _bittest(__LONG32 const *a, __LONG32 b);
                                                     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:1046:1: error: '__LONG32' does not name a type
 __buildbittest(_bittest, __LONG32, "I")
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:1046:1: error: '__LONG32' has not been declared
 __buildbittest(_bittest, __LONG32, "I")
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h: In function 'unsigned char _bittest(const int*, int)':
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:1046:1: error: 'unsigned char _bittest(const int*, int)' redeclared as different kind of symbol
 __buildbittest(_bittest, __LONG32, "I")
 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:1044:15: note: previous declaration 'unsigned char _bittest'
 unsigned char _bittest(__LONG32 const *a, __LONG32 b);
               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h: At global scope:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:1051:30: error: '__LONG32' was not declared in this scope
 unsigned char _bittestandset(__LONG32 *a, __LONG32 b);
                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:1051:40: error: 'a' was not declared in this scope
 unsigned char _bittestandset(__LONG32 *a, __LONG32 b);
                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:1051:43: error: '__LONG32' was not declared in this scope
 unsigned char _bittestandset(__LONG32 *a, __LONG32 b);
                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:1051:53: error: expression list treated as compound expression in initializer [-fpermissive]
 unsigned char _bittestandset(__LONG32 *a, __LONG32 b);
                                                     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:1053:1: error: '_bittestandset' declared as an 'inline' variable
 __buildbittestand(_bittestandset, __LONG32, "bts", "I")
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:1053:1: error: redefinition of 'unsigned char _bittestandset'
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:1051:15: note: 'unsigned char _bittestandset' previously defined here
 unsigned char _bittestandset(__LONG32 *a, __LONG32 b);
               ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:1053:1: error: '__LONG32' was not declared in this scope
 __buildbittestand(_bittestandset, __LONG32, "bts", "I")
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:1053:1: error: 'Base' was not declared in this scope
 __buildbittestand(_bittestandset, __LONG32, "bts", "I")
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:1053:1: error: '__LONG32' was not declared in this scope
 __buildbittestand(_bittestandset, __LONG32, "bts", "I")
 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:1058:32: error: '__LONG32' was not declared in this scope
 unsigned char _bittestandreset(__LONG32 *a, __LONG32 b);
                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:1058:42: error: 'a' was not declared in this scope
 unsigned char _bittestandreset(__LONG32 *a, __LONG32 b);
                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:1058:45: error: '__LONG32' was not declared in this scope
 unsigned char _bittestandreset(__LONG32 *a, __LONG32 b);
                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:1058:55: error: expression list treated as compound expression in initializer [-fpermissive]
 unsigned char _bittestandreset(__LONG32 *a, __LONG32 b);
                                                       ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:1060:1: error: '_bittestandreset' declared as an 'inline' variable
 __buildbittestand(_bittestandreset, __LONG32, "btr", "I")
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:1060:1: error: redefinition of 'unsigned char _bittestandreset'
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:1058:15: note: 'unsigned char _bittestandreset' previously defined here
 unsigned char _bittestandreset(__LONG32 *a, __LONG32 b);
               ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:1060:1: error: '__LONG32' was not declared in this scope
 __buildbittestand(_bittestandreset, __LONG32, "btr", "I")
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:1060:1: error: 'Base' was not declared in this scope
 __buildbittestand(_bittestandreset, __LONG32, "btr", "I")
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:1060:1: error: '__LONG32' was not declared in this scope
 __buildbittestand(_bittestandreset, __LONG32, "btr", "I")
 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:1065:37: error: '__LONG32' was not declared in this scope
 unsigned char _bittestandcomplement(__LONG32 *a, __LONG32 b);
                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:1065:47: error: 'a' was not declared in this scope
 unsigned char _bittestandcomplement(__LONG32 *a, __LONG32 b);
                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:1065:50: error: '__LONG32' was not declared in this scope
 unsigned char _bittestandcomplement(__LONG32 *a, __LONG32 b);
                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:1065:60: error: expression list treated as compound expression in initializer [-fpermissive]
 unsigned char _bittestandcomplement(__LONG32 *a, __LONG32 b);
                                                            ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:1067:1: error: '_bittestandcomplement' declared as an 'inline' variable
 __buildbittestand(_bittestandcomplement, __LONG32, "btc", "I")
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:1067:1: error: redefinition of 'unsigned char _bittestandcomplement'
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:1065:15: note: 'unsigned char _bittestandcomplement' previously defined here
 unsigned char _bittestandcomplement(__LONG32 *a, __LONG32 b);
               ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:1067:1: error: '__LONG32' was not declared in this scope
 __buildbittestand(_bittestandcomplement, __LONG32, "btc", "I")
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:1067:1: error: 'Base' was not declared in this scope
 __buildbittestand(_bittestandcomplement, __LONG32, "btc", "I")
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:1067:1: error: '__LONG32' was not declared in this scope
 __buildbittestand(_bittestandcomplement, __LONG32, "btc", "I")
 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:1217:32: error: expected ',' or '...' before '*' token
 void __movsd(unsigned __LONG32 *Dest, unsigned __LONG32 const *Source, size_t Count);
                                ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:1219:1: error: expected ',' or '...' before '*' token
 __buildmov(__movsd, unsigned __LONG32, "d")
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h: In function 'void __movsd(unsigned int)':
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:1219:1: error: 'Destination' was not declared in this scope
 __buildmov(__movsd, unsigned __LONG32, "d")
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:1219:1: error: 'Source' was not declared in this scope
 __buildmov(__movsd, unsigned __LONG32, "d")
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/intrin-impl.h:1219:1: error: 'Count' was not declared in this scope
 __buildmov(__movsd, unsigned __LONG32, "d")
 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:134:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/basetsd.h: At global scope:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/basetsd.h:68:37: error: expected initializer before 'HandleToULong'
   static __inline unsigned __LONG32 HandleToULong (const void *h) { return ((unsigned __LONG32) (ULONG_PTR) h); }
                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/basetsd.h:69:19: error: '__LONG32' does not name a type
   static __inline __LONG32 HandleToLong (const void *h) { return ((__LONG32) (LONG_PTR) h); }
                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/basetsd.h:70:64: error: expected ',' or '...' before 'h'
   static __inline void *ULongToHandle (const unsigned __LONG32 h) { return ((void *) (UINT_PTR) h); }
                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/basetsd.h: In function 'void* ULongToHandle(unsigned int)':
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/basetsd.h:70:97: error: 'h' was not declared in this scope
   static __inline void *ULongToHandle (const unsigned __LONG32 h) { return ((void *) (UINT_PTR) h); }
                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/basetsd.h: At global scope:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/basetsd.h:71:45: error: '__LONG32' does not name a type
   static __inline void *LongToHandle (const __LONG32 h) { return ((void *) (INT_PTR) h); }
                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/basetsd.h:72:37: error: expected initializer before 'PtrToUlong'
   static __inline unsigned __LONG32 PtrToUlong (const void *p) { return ((unsigned __LONG32) (ULONG_PTR) p); }
                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/basetsd.h: In function 'short unsigned int PtrToUshort(const void*)':
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/basetsd.h:74:90: error: expected primary-expression before 'unsigned'
   static __inline unsigned short PtrToUshort (const void *p) { return ((unsigned short) (unsigned __LONG32) (ULONG_PTR) p); }
                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/basetsd.h:74:90: error: expected ')' before 'unsigned'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/basetsd.h:74:123: error: expected ')' before ';' token
   static __inline unsigned short PtrToUshort (const void *p) { return ((unsigned short) (unsigned __LONG32) (ULONG_PTR) p); }
                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/basetsd.h: At global scope:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/basetsd.h:75:19: error: '__LONG32' does not name a type
   static __inline __LONG32 PtrToLong (const void *p) { return ((__LONG32) (LONG_PTR) p); }
                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/basetsd.h: In function 'short int PtrToShort(const void*)':
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/basetsd.h:77:71: error: '__LONG32' was not declared in this scope
   static __inline short PtrToShort (const void *p) { return ((short) (__LONG32) (LONG_PTR) p); }
                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/basetsd.h:77:90: error: expected primary-expression before ')' token
   static __inline short PtrToShort (const void *p) { return ((short) (__LONG32) (LONG_PTR) p); }
                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/basetsd.h:77:92: error: expected ')' before 'p'
   static __inline short PtrToShort (const void *p) { return ((short) (__LONG32) (LONG_PTR) p); }
                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/basetsd.h: At global scope:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/basetsd.h:80:42: error: '__LONG32' does not name a type
   static __inline void *LongToPtr (const __LONG32 l) { return ((void *) (LONG_PTR)l); }
                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/basetsd.h:81:61: error: expected ',' or '...' before 'ul'
   static __inline void *ULongToPtr (const unsigned __LONG32 ul) { return ((void *) (ULONG_PTR)ul); }
                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/basetsd.h: In function 'void* ULongToPtr(unsigned int)':
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/basetsd.h:81:95: error: 'ul' was not declared in this scope
   static __inline void *ULongToPtr (const unsigned __LONG32 ul) { return ((void *) (ULONG_PTR)ul); }
                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/basetsd.h: In function 'void* Ptr32ToPtr(const void*)':
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/basetsd.h:88:95: error: expected primary-expression before 'unsigned'
   static __inline void *Ptr32ToPtr (const void *POINTER_32 p) { return ((void *) (ULONG_PTR) (unsigned __LONG32) (ULONG_PTR) p); }
                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/basetsd.h:88:95: error: expected ')' before 'unsigned'
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:134:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/basetsd.h:88:128: error: expected ')' before ';' token
   static __inline void *Ptr32ToPtr (const void *POINTER_32 p) { return ((void *) (ULONG_PTR) (unsigned __LONG32) (ULONG_PTR) p); }
                                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/basetsd.h: In function 'void* Handle32ToHandle(const void*)':
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/basetsd.h:89:100: error: '__LONG32' was not declared in this scope
   static __inline void *Handle32ToHandle (const void *POINTER_32 h) { return ((void *) (LONG_PTR) (__LONG32) (ULONG_PTR) h); }
                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/basetsd.h:89:120: error: expected primary-expression before ')' token
   static __inline void *Handle32ToHandle (const void *POINTER_32 h) { return ((void *) (LONG_PTR) (__LONG32) (ULONG_PTR) h); }
                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/basetsd.h:89:122: error: expected ')' before 'h'
   static __inline void *Handle32ToHandle (const void *POINTER_32 h) { return ((void *) (LONG_PTR) (__LONG32) (ULONG_PTR) h); }
                                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/basetsd.h: In function 'void* PtrToPtr32(const void*)':
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/basetsd.h:90:105: error: expected primary-expression before 'unsigned'
   static __inline void *POINTER_32 PtrToPtr32 (const void *p) { return ((void *POINTER_32) (ULONG_PTR) (unsigned __LONG32) (ULONG_PTR) p); }
                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/basetsd.h:90:105: error: expected ')' before 'unsigned'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/basetsd.h:90:138: error: expected ')' before ';' token
   static __inline void *POINTER_32 PtrToPtr32 (const void *p) { return ((void *POINTER_32) (ULONG_PTR) (unsigned __LONG32) (ULONG_PTR) p); }
                                                                                                                                          ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h: At global scope:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:262:11: error: '__LONG32' does not name a type
   typedef __LONG32 LONG;
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:368:11: error: 'LONG' does not name a type
   typedef LONG *PLONG;
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:390:11: error: 'DWORD' does not name a type
   typedef DWORD FLONG;
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:394:11: error: 'LONG' does not name a type
   typedef LONG HRESULT;
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:423:9: error: 'DWORD' does not name a type
 typedef DWORD LCID;
         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:425:11: error: 'PDWORD' does not name a type
   typedef PDWORD PLCID;
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:474:7: error: 'DWORD' does not name a type
       DWORD LowPart;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:475:7: error: 'LONG' does not name a type
       LONG HighPart;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:478:7: error: 'DWORD' does not name a type
       DWORD LowPart;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:479:7: error: 'LONG' does not name a type
       LONG HighPart;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:492:7: error: 'DWORD' does not name a type
       DWORD LowPart;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:493:7: error: 'DWORD' does not name a type
       DWORD HighPart;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:496:7: error: 'DWORD' does not name a type
       DWORD LowPart;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:497:7: error: 'DWORD' does not name a type
       DWORD HighPart;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:506:5: error: 'DWORD' does not name a type
     DWORD LowPart;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:507:5: error: 'LONG' does not name a type
     LONG HighPart;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:589:5: error: 'DWORD' does not name a type
     DWORD Flink;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:590:5: error: 'DWORD' does not name a type
     DWORD Blink;
     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:602:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/guiddef.h:20:12: error: expected ';' at end of member declaration
   unsigned __LONG32 Data1;
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/guiddef.h:20:21: error: 'Data1' does not name a type
   unsigned __LONG32 Data1;
                     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/string.h:180:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/guiddef.h:148,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:602,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/string_s.h:28:55: error: 'strcpy_s' has not been declared
   __CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_0_2_(errno_t,strcpy_s,char,,_Dst,size_t,,_SizeInBytes,const char *,,_Src)
                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/string_s.h:28:69: error: expected identifier before ',' token
   __CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_0_2_(errno_t,strcpy_s,char,,_Dst,size_t,,_SizeInBytes,const char *,,_Src)
                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/string_s.h:28:70: error: '_Dst' has not been declared
   __CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_0_2_(errno_t,strcpy_s,char,,_Dst,size_t,,_SizeInBytes,const char *,,_Src)
                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/string_s.h:28:82: error: expected identifier before ',' token
   __CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_0_2_(errno_t,strcpy_s,char,,_Dst,size_t,,_SizeInBytes,const char *,,_Src)
                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/string_s.h:28:83: error: '_SizeInBytes' has not been declared
   __CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_0_2_(errno_t,strcpy_s,char,,_Dst,size_t,,_SizeInBytes,const char *,,_Src)
                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/string_s.h:28:109: error: expected identifier before ',' token
   __CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_0_2_(errno_t,strcpy_s,char,,_Dst,size_t,,_SizeInBytes,const char *,,_Src)
                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/string_s.h:28:110: error: '_Src' has not been declared
   __CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_0_2_(errno_t,strcpy_s,char,,_Dst,size_t,,_SizeInBytes,const char *,,_Src)
                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/string_s.h:29:11: error: expected constructor, destructor, or type conversion before 'errno_t'
   _CRTIMP errno_t __cdecl strncpy_s(char *_Dst,size_t _DstSizeInChars,const char *_Src,size_t _MaxCount);
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/string_s.h:33:55: error: 'strcat_s' has not been declared
   __CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_0_2_(errno_t,strcat_s,char,,strDestination,size_t,,numberOfElements,const char *,,strSource)
                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/string_s.h:33:69: error: expected identifier before ',' token
   __CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_0_2_(errno_t,strcat_s,char,,strDestination,size_t,,numberOfElements,const char *,,strSource)
                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/string_s.h:33:70: error: 'strDestination' has not been declared
   __CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_0_2_(errno_t,strcat_s,char,,strDestination,size_t,,numberOfElements,const char *,,strSource)
                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/string_s.h:33:92: error: expected identifier before ',' token
   __CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_0_2_(errno_t,strcat_s,char,,strDestination,size_t,,numberOfElements,const char *,,strSource)
                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/string_s.h:33:93: error: 'numberOfElements' has not been declared
   __CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_0_2_(errno_t,strcat_s,char,,strDestination,size_t,,numberOfElements,const char *,,strSource)
                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/string_s.h:33:123: error: expected identifier before ',' token
   __CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_0_2_(errno_t,strcat_s,char,,strDestination,size_t,,numberOfElements,const char *,,strSource)
                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/string_s.h:33:124: error: 'strSource' has not been declared
   __CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_0_2_(errno_t,strcat_s,char,,strDestination,size_t,,numberOfElements,const char *,,strSource)
                                                                                                                            ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/string.h:180:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/guiddef.h:148,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:602,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/string_s.h:35:11: error: expected constructor, destructor, or type conversion before 'errno_t'
   _CRTIMP errno_t __cdecl memmove_s(void *_dest,size_t _numberOfElements,const void *_src,size_t _count);
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/string_s.h:48:55: error: 'wcscpy_s' has not been declared
   __CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_0_2_(errno_t,wcscpy_s,wchar_t,,_Dst,size_t,,_nElem,const wchar_t *,,_Src)
                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/string_s.h:48:72: error: expected identifier before ',' token
   __CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_0_2_(errno_t,wcscpy_s,wchar_t,,_Dst,size_t,,_nElem,const wchar_t *,,_Src)
                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/string_s.h:48:73: error: '_Dst' has not been declared
   __CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_0_2_(errno_t,wcscpy_s,wchar_t,,_Dst,size_t,,_nElem,const wchar_t *,,_Src)
                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/string_s.h:48:85: error: expected identifier before ',' token
   __CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_0_2_(errno_t,wcscpy_s,wchar_t,,_Dst,size_t,,_nElem,const wchar_t *,,_Src)
                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/string_s.h:48:86: error: '_nElem' has not been declared
   __CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_0_2_(errno_t,wcscpy_s,wchar_t,,_Dst,size_t,,_nElem,const wchar_t *,,_Src)
                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/string_s.h:48:109: error: expected identifier before ',' token
   __CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_0_2_(errno_t,wcscpy_s,wchar_t,,_Dst,size_t,,_nElem,const wchar_t *,,_Src)
                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/string_s.h:48:110: error: '_Src' has not been declared
   __CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_0_2_(errno_t,wcscpy_s,wchar_t,,_Dst,size_t,,_nElem,const wchar_t *,,_Src)
                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/string_s.h:49:3: error: expected constructor, destructor, or type conversion before '__CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_0_2_'
   __CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_0_2_(errno_t,wcscat_s,wchar_t,,_Dst,size_t,,_nElem,const wchar_t *,,_Src)
   ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:602:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/guiddef.h: In function 'int InlineIsEqualGUID(const GUID&, const GUID&)':
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/guiddef.h:152:20: error: 'const GUID' has no member named 'Data1'
   return ((&rguid1.Data1)[0] == (&rguid2.Data1)[0] && (&rguid1.Data1)[1] == (&rguid2.Data1)[1] && (&rguid1.Data1)[2] == (&rguid2.Data1)[2] && (&rguid1.Data1)[3] == (&rguid2.Data1)[3]);
                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/guiddef.h:152:42: error: 'const GUID' has no member named 'Data1'
   return ((&rguid1.Data1)[0] == (&rguid2.Data1)[0] && (&rguid1.Data1)[1] == (&rguid2.Data1)[1] && (&rguid1.Data1)[2] == (&rguid2.Data1)[2] && (&rguid1.Data1)[3] == (&rguid2.Data1)[3]);
                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/guiddef.h:152:64: error: 'const GUID' has no member named 'Data1'
   return ((&rguid1.Data1)[0] == (&rguid2.Data1)[0] && (&rguid1.Data1)[1] == (&rguid2.Data1)[1] && (&rguid1.Data1)[2] == (&rguid2.Data1)[2] && (&rguid1.Data1)[3] == (&rguid2.Data1)[3]);
                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/guiddef.h:152:86: error: 'const GUID' has no member named 'Data1'
   return ((&rguid1.Data1)[0] == (&rguid2.Data1)[0] && (&rguid1.Data1)[1] == (&rguid2.Data1)[1] && (&rguid1.Data1)[2] == (&rguid2.Data1)[2] && (&rguid1.Data1)[3] == (&rguid2.Data1)[3]);
                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/guiddef.h:152:108: error: 'const GUID' has no member named 'Data1'
   return ((&rguid1.Data1)[0] == (&rguid2.Data1)[0] && (&rguid1.Data1)[1] == (&rguid2.Data1)[1] && (&rguid1.Data1)[2] == (&rguid2.Data1)[2] && (&rguid1.Data1)[3] == (&rguid2.Data1)[3]);
                                                                                                            ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:602:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/guiddef.h:152:130: error: 'const GUID' has no member named 'Data1'
   return ((&rguid1.Data1)[0] == (&rguid2.Data1)[0] && (&rguid1.Data1)[1] == (&rguid2.Data1)[1] && (&rguid1.Data1)[2] == (&rguid2.Data1)[2] && (&rguid1.Data1)[3] == (&rguid2.Data1)[3]);
                                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/guiddef.h:152:152: error: 'const GUID' has no member named 'Data1'
   return ((&rguid1.Data1)[0] == (&rguid2.Data1)[0] && (&rguid1.Data1)[1] == (&rguid2.Data1)[1] && (&rguid1.Data1)[2] == (&rguid2.Data1)[2] && (&rguid1.Data1)[3] == (&rguid2.Data1)[3]);
                                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/guiddef.h:152:174: error: 'const GUID' has no member named 'Data1'
   return ((&rguid1.Data1)[0] == (&rguid2.Data1)[0] && (&rguid1.Data1)[1] == (&rguid2.Data1)[1] && (&rguid1.Data1)[2] == (&rguid2.Data1)[2] && (&rguid1.Data1)[3] == (&rguid2.Data1)[3]);
                                                                                                                                                                              ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h: At global scope:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:608:5: error: 'DWORD' does not name a type
     DWORD Uniquifier;
     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:1333:7: error: 'DWORD' does not name a type
       DWORD ErrorOffset;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:1336:7: error: 'DWORD' does not name a type
       DWORD DataOffset;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:1339:7: error: 'DWORD' does not name a type
       DWORD MxCsr;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:1340:7: error: 'DWORD' does not name a type
       DWORD MxCsr_Mask;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:1364:7: error: 'DWORD' does not name a type
       DWORD Length;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:1365:7: error: 'DWORD' does not name a type
       DWORD Reserved1;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:1377:7: error: 'DWORD' does not name a type
       DWORD Count;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:1379:2: error: 'DWORD' does not name a type
  DWORD BeginAddress;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:1380:2: error: 'DWORD' does not name a type
  DWORD EndAddress;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:1381:2: error: 'DWORD' does not name a type
  DWORD HandlerAddress;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:1382:2: error: 'DWORD' does not name a type
  DWORD JumpTarget;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:1475:5: error: 'LONG' does not name a type
     LONG InterlockedAdd(LONG volatile *Addend,LONG Value);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:1480:19: error: 'LONG' does not name a type
     __forceinline LONG InterlockedAdd(LONG volatile *Addend,LONG Value) { return InterlockedExchangeAdd(Addend,Value) + Value; }
                   ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/stdlib.h:667:0,
                 from C:/Rtools/mingw_64/lib/gcc/x86_64-w64-mingw32/4.9.3/include/mm_malloc.h:27,
                 from C:/Rtools/mingw_64/lib/gcc/x86_64-w64-mingw32/4.9.3/include/xmmintrin.h:34,
                 from C:/Rtools/mingw_64/lib/gcc/x86_64-w64-mingw32/4.9.3/include/x86intrin.h:31,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:1495,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/stdlib_s.h:49:55: error: '_splitpath_s' is not a type
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_SPLITPATH(errno_t,_splitpath_s,char,_Dest)
                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/stdlib_s.h:49:73: error: '_Dest' has not been declared
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_SPLITPATH(errno_t,_splitpath_s,char,_Dest)
                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/stdlib_s.h:53:11: error: expected constructor, destructor, or type conversion before 'errno_t'
   _CRTIMP errno_t __cdecl _wmakepath_s(wchar_t *_PathResult,size_t _SizeInWords,const wchar_t *_Drive,const wchar_t *_Dir,const wchar_t *_Filename,const wchar_t *_Ext);
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/stdlib_s.h:58:55: error: '_wsplitpath_s' is not a type
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_SPLITPATH(errno_t,_wsplitpath_s,wchar_t,_Dest)
                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/stdlib_s.h:58:77: error: '_Dest' has not been declared
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_SPLITPATH(errno_t,_wsplitpath_s,wchar_t,_Dest)
                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/stdlib_s.h:64:1: error: expected constructor, destructor, or type conversion before '}' token
 }
 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:1526:5: error: 'DWORD' does not name a type
     DWORD __segmentlimit(DWORD Selector);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:1624:5: error: 'DWORD' does not name a type
     DWORD ErrorOffset;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:1627:5: error: 'DWORD' does not name a type
     DWORD DataOffset;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:1630:5: error: 'DWORD' does not name a type
     DWORD MxCsr;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:1631:5: error: 'DWORD' does not name a type
     DWORD MxCsr_Mask;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:1646:5: error: 'DWORD' does not name a type
     DWORD ContextFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:1647:5: error: 'DWORD' does not name a type
     DWORD MxCsr;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:1654:5: error: 'DWORD' does not name a type
     DWORD EFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:1714:5: error: 'DWORD' does not name a type
     DWORD BeginAddress;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:1715:5: error: 'DWORD' does not name a type
     DWORD EndAddress;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:1716:5: error: 'DWORD' does not name a type
     DWORD UnwindData;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:1720:17: error: typedef 'DWORD' is initialized (use decltype instead)
   typedef DWORD (*POUT_OF_PROCESS_FUNCTION_TABLE_CALLBACK)(HANDLE Process,PVOID TableAddress,PDWORD Entries,PRUNTIME_FUNCTION *Functions);
                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:1720:19: error: 'POUT_OF_PROCESS_FUNCTION_TABLE_CALLBACK' was not declared in this scope
   typedef DWORD (*POUT_OF_PROCESS_FUNCTION_TABLE_CALLBACK)(HANDLE Process,PVOID TableAddress,PDWORD Entries,PRUNTIME_FUNCTION *Functions);
                   ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:1886:4: error: 'DWORD' does not name a type
    DWORD BaseMid : 8;
    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:1887:4: error: 'DWORD' does not name a type
    DWORD Type : 5;
    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:1888:4: error: 'DWORD' does not name a type
    DWORD Dpl : 2;
    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:1889:4: error: 'DWORD' does not name a type
    DWORD Pres : 1;
    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:1890:4: error: 'DWORD' does not name a type
    DWORD LimitHi : 4;
    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:1891:4: error: 'DWORD' does not name a type
    DWORD Sys : 1;
    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:1892:4: error: 'DWORD' does not name a type
    DWORD Reserved_0 : 1;
    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:1893:4: error: 'DWORD' does not name a type
    DWORD Default_Big : 1;
    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:1894:4: error: 'DWORD' does not name a type
    DWORD Granularity : 1;
    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:1895:4: error: 'DWORD' does not name a type
    DWORD BaseHi : 8;
    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2237:7: error: 'DWORD' does not name a type
       DWORD ExceptionCode;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2238:7: error: 'DWORD' does not name a type
       DWORD ExceptionFlags;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2241:7: error: 'DWORD' does not name a type
       DWORD NumberParameters;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2248:7: error: 'DWORD' does not name a type
       DWORD ExceptionCode;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2249:7: error: 'DWORD' does not name a type
       DWORD ExceptionFlags;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2250:7: error: 'DWORD' does not name a type
       DWORD ExceptionRecord;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2251:7: error: 'DWORD' does not name a type
       DWORD ExceptionAddress;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2252:7: error: 'DWORD' does not name a type
       DWORD NumberParameters;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2253:7: error: 'DWORD' does not name a type
       DWORD ExceptionInformation[EXCEPTION_MAXIMUM_PARAMETERS];
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2257:7: error: 'DWORD' does not name a type
       DWORD ExceptionCode;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2258:7: error: 'DWORD' does not name a type
       DWORD ExceptionFlags;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2261:7: error: 'DWORD' does not name a type
       DWORD NumberParameters;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2262:7: error: 'DWORD' does not name a type
       DWORD __unusedAlignment;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2291:5: error: 'ULONG' does not name a type
     ULONG Count;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2315:5: error: 'ULONG' does not name a type
     ULONG ScopeIndex;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2316:5: error: 'ULONG' does not name a type
     ULONG Fill0;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2332:13: error: 'DWORD' does not name a type
     typedef DWORD ACCESS_MASK;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2333:13: error: 'ACCESS_MASK' does not name a type
     typedef ACCESS_MASK *PACCESS_MASK;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2360:7: error: 'ACCESS_MASK' does not name a type
       ACCESS_MASK GenericRead;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2361:7: error: 'ACCESS_MASK' does not name a type
       ACCESS_MASK GenericWrite;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2362:7: error: 'ACCESS_MASK' does not name a type
       ACCESS_MASK GenericExecute;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2363:7: error: 'ACCESS_MASK' does not name a type
       ACCESS_MASK GenericAll;
       ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2370:7: error: 'DWORD' does not name a type
       DWORD Attributes;
       ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2389:7: error: 'DWORD' does not name a type
       DWORD SubAuthority[ANYSIZE_ARRAY];
       ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2412:7: error: 'DWORD' does not name a type
       DWORD Attributes;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2421:7: error: 'DWORD' does not name a type
       DWORD SidCount;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2787:7: error: 'ACCESS_MASK' does not name a type
       ACCESS_MASK Mask;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2788:7: error: 'DWORD' does not name a type
       DWORD SidStart;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2795:7: error: 'ACCESS_MASK' does not name a type
       ACCESS_MASK Mask;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2796:7: error: 'DWORD' does not name a type
       DWORD SidStart;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2802:7: error: 'ACCESS_MASK' does not name a type
       ACCESS_MASK Mask;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2803:7: error: 'DWORD' does not name a type
       DWORD SidStart;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2809:7: error: 'ACCESS_MASK' does not name a type
       ACCESS_MASK Mask;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2810:7: error: 'DWORD' does not name a type
       DWORD SidStart;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2816:7: error: 'ACCESS_MASK' does not name a type
       ACCESS_MASK Mask;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2817:7: error: 'DWORD' does not name a type
       DWORD SidStart;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2822:7: error: 'ACCESS_MASK' does not name a type
       ACCESS_MASK Mask;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2823:7: error: 'DWORD' does not name a type
       DWORD SidStart;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2828:7: error: 'ACCESS_MASK' does not name a type
       ACCESS_MASK Mask;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2829:7: error: 'DWORD' does not name a type
       DWORD SidStart;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2840:7: error: 'ACCESS_MASK' does not name a type
       ACCESS_MASK Mask;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2841:7: error: 'DWORD' does not name a type
       DWORD Flags;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2844:7: error: 'DWORD' does not name a type
       DWORD SidStart;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2849:7: error: 'ACCESS_MASK' does not name a type
       ACCESS_MASK Mask;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2850:7: error: 'DWORD' does not name a type
       DWORD Flags;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2853:7: error: 'DWORD' does not name a type
       DWORD SidStart;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2858:7: error: 'ACCESS_MASK' does not name a type
       ACCESS_MASK Mask;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2859:7: error: 'DWORD' does not name a type
       DWORD Flags;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2862:7: error: 'DWORD' does not name a type
       DWORD SidStart;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2867:7: error: 'ACCESS_MASK' does not name a type
       ACCESS_MASK Mask;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2868:7: error: 'DWORD' does not name a type
       DWORD Flags;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2871:7: error: 'DWORD' does not name a type
       DWORD SidStart;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2876:7: error: 'ACCESS_MASK' does not name a type
       ACCESS_MASK Mask;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2877:7: error: 'DWORD' does not name a type
       DWORD SidStart;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2882:7: error: 'ACCESS_MASK' does not name a type
       ACCESS_MASK Mask;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2883:7: error: 'DWORD' does not name a type
       DWORD SidStart;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2888:7: error: 'ACCESS_MASK' does not name a type
       ACCESS_MASK Mask;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2889:7: error: 'DWORD' does not name a type
       DWORD SidStart;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2894:7: error: 'ACCESS_MASK' does not name a type
       ACCESS_MASK Mask;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2895:7: error: 'DWORD' does not name a type
       DWORD SidStart;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2900:7: error: 'ACCESS_MASK' does not name a type
       ACCESS_MASK Mask;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2901:7: error: 'DWORD' does not name a type
       DWORD Flags;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2904:7: error: 'DWORD' does not name a type
       DWORD SidStart;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2910:7: error: 'ACCESS_MASK' does not name a type
       ACCESS_MASK Mask;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2911:7: error: 'DWORD' does not name a type
       DWORD Flags;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2914:7: error: 'DWORD' does not name a type
       DWORD SidStart;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2919:7: error: 'ACCESS_MASK' does not name a type
       ACCESS_MASK Mask;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2920:7: error: 'DWORD' does not name a type
       DWORD Flags;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2923:7: error: 'DWORD' does not name a type
       DWORD SidStart;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2928:7: error: 'ACCESS_MASK' does not name a type
       ACCESS_MASK Mask;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2929:7: error: 'DWORD' does not name a type
       DWORD Flags;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2932:7: error: 'DWORD' does not name a type
       DWORD SidStart;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2944:7: error: 'DWORD' does not name a type
       DWORD AclRevision;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2949:7: error: 'DWORD' does not name a type
       DWORD AceCount;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2950:7: error: 'DWORD' does not name a type
       DWORD AclBytesInUse;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2951:7: error: 'DWORD' does not name a type
       DWORD AclBytesFree;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2981:7: error: 'DWORD' does not name a type
       DWORD Owner;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2982:7: error: 'DWORD' does not name a type
       DWORD Group;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2983:7: error: 'DWORD' does not name a type
       DWORD Sacl;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:2984:7: error: 'DWORD' does not name a type
       DWORD Dacl;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3030:7: error: 'DWORD' does not name a type
       DWORD PrivilegeCount;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3031:7: error: 'DWORD' does not name a type
       DWORD Control;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3059:13: error: 'DWORD' does not name a type
     typedef DWORD ACCESS_REASON;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3062:7: error: 'ACCESS_REASON' does not name a type
       ACCESS_REASON Data[32];
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3070:7: error: 'DWORD' does not name a type
       DWORD Size;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3071:7: error: 'DWORD' does not name a type
       DWORD Flags;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3076:7: error: 'DWORD' does not name a type
       DWORD Size;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3078:7: error: 'ACCESS_MASK' does not name a type
       ACCESS_MASK DesiredAccess;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3079:7: error: 'ACCESS_MASK' does not name a type
       ACCESS_MASK PreviouslyGrantedAccess;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3082:7: error: 'DWORD' does not name a type
       DWORD ObjectTypeListCount;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3087:7: error: 'DWORD' does not name a type
       DWORD Size;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3088:7: error: 'DWORD' does not name a type
       DWORD ResultListCount;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3089:7: error: 'PACCESS_MASK' does not name a type
       PACCESS_MASK GrantedAccess;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3090:7: error: 'PDWORD' does not name a type
       PDWORD AccessStatus;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3218:7: error: 'DWORD' does not name a type
       DWORD GroupCount;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3227:7: error: 'DWORD' does not name a type
       DWORD PrivilegeCount;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3252:7: error: 'DWORD' does not name a type
       DWORD SidCount;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3253:7: error: 'DWORD' does not name a type
       DWORD SidLength;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3255:7: error: 'DWORD' does not name a type
       DWORD RestrictedSidCount;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3256:7: error: 'DWORD' does not name a type
       DWORD RestrictedSidLength;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3258:7: error: 'DWORD' does not name a type
       DWORD PrivilegeCount;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3259:7: error: 'DWORD' does not name a type
       DWORD PrivilegeLength;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3269:7: error: 'DWORD' does not name a type
       DWORD TokenIsElevated;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3283:7: error: 'DWORD' does not name a type
       DWORD Policy;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3294:7: error: 'DWORD' does not name a type
       DWORD Flags;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3295:7: error: 'DWORD' does not name a type
       DWORD AppContainerNumber;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3319:7: error: 'DWORD' does not name a type
       DWORD DynamicCharged;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3320:7: error: 'DWORD' does not name a type
       DWORD DynamicAvailable;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3321:7: error: 'DWORD' does not name a type
       DWORD GroupCount;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3322:7: error: 'DWORD' does not name a type
       DWORD PrivilegeCount;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3366:7: error: 'DWORD' does not name a type
       DWORD ValueLength;
       ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3384:7: error: 'DWORD' does not name a type
       DWORD Flags;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3385:7: error: 'DWORD' does not name a type
       DWORD ValueCount;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3396:7: error: 'DWORD' does not name a type
       DWORD Name;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3399:7: error: 'DWORD' does not name a type
       DWORD Flags;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3400:7: error: 'DWORD' does not name a type
       DWORD ValueCount;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3402:2: error: 'DWORD' does not name a type
  DWORD pInt64[ANYSIZE_ARRAY];
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3403:2: error: 'DWORD' does not name a type
  DWORD pUint64[ANYSIZE_ARRAY];
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3404:2: error: 'DWORD' does not name a type
  DWORD ppString[ANYSIZE_ARRAY];
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3405:2: error: 'DWORD' does not name a type
  DWORD pFqbn[ANYSIZE_ARRAY];
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3406:2: error: 'DWORD' does not name a type
  DWORD pOctetString[ANYSIZE_ARRAY];
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3417:7: error: 'DWORD' does not name a type
       DWORD AttributeCount;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3429:7: error: 'DWORD' does not name a type
       DWORD Length;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3447:13: error: 'DWORD' does not name a type
     typedef DWORD SECURITY_INFORMATION,*PSECURITY_INFORMATION;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3474:7: error: 'DWORD' does not name a type
       DWORD CapabilityCount;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3475:7: error: 'DWORD' does not name a type
       DWORD Reserved;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3533:7: error: 'DWORD' does not name a type
       DWORD MemberLevel;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3534:7: error: 'DWORD' does not name a type
       DWORD Flags;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3567:2: error: 'DWORD' does not name a type
  DWORD Version;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3576:7: error: 'DWORD' does not name a type
       DWORD ExceptionList;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3577:7: error: 'DWORD' does not name a type
       DWORD StackBase;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3578:7: error: 'DWORD' does not name a type
       DWORD StackLimit;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3579:7: error: 'DWORD' does not name a type
       DWORD SubSystemTib;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3581:2: error: 'DWORD' does not name a type
  DWORD FiberData;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3582:2: error: 'DWORD' does not name a type
  DWORD Version;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3584:7: error: 'DWORD' does not name a type
       DWORD ArbitraryUserPointer;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3585:7: error: 'DWORD' does not name a type
       DWORD Self;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3595:2: error: 'DWORD' does not name a type
  DWORD Version;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3611:7: error: 'DWORD' does not name a type
       DWORD UmsVersion;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3632:7: error: 'DWORD' does not name a type
       DWORD RateData;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3634:9: error: 'DWORD' does not name a type
         DWORD RatePercent : 7;
         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3635:9: error: 'DWORD' does not name a type
         DWORD Reserved0   : 25;
         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3650:7: error: 'DWORD' does not name a type
       DWORD Flags;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3685:2: error: 'DWORD' does not name a type
  DWORD Flags;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3687:4: error: 'DWORD' does not name a type
    DWORD EnableBottomUpRandomization : 1;
    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3688:4: error: 'DWORD' does not name a type
    DWORD EnableForceRelocateImages : 1;
    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3689:4: error: 'DWORD' does not name a type
    DWORD EnableHighEntropy : 1;
    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3690:4: error: 'DWORD' does not name a type
    DWORD DisallowStrippedImages : 1;
    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3691:4: error: 'DWORD' does not name a type
    DWORD ReservedFlags : 28;
    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3698:2: error: 'DWORD' does not name a type
  DWORD Flags;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3700:4: error: 'DWORD' does not name a type
    DWORD Enable : 1;
    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3701:4: error: 'DWORD' does not name a type
    DWORD DisableAtlThunkEmulation : 1;
    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3702:4: error: 'DWORD' does not name a type
    DWORD ReservedFlags : 30;
    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3710:2: error: 'DWORD' does not name a type
  DWORD Flags;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3712:4: error: 'DWORD' does not name a type
    DWORD RaiseExceptionOnInvalidHandleReference : 1;
    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3713:4: error: 'DWORD' does not name a type
    DWORD HandleExceptionsPermanentlyEnabled : 1;
    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3714:4: error: 'DWORD' does not name a type
    DWORD ReservedFlags : 30;
    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3721:2: error: 'DWORD' does not name a type
  DWORD Flags;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3723:4: error: 'DWORD' does not name a type
    DWORD DisallowWin32kSystemCalls : 1;
    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3724:4: error: 'DWORD' does not name a type
    DWORD ReservedFlags : 31;
    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3731:2: error: 'DWORD' does not name a type
  DWORD Flags;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3733:4: error: 'DWORD' does not name a type
    DWORD DisableExtensionPoints : 1;
    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3734:4: error: 'DWORD' does not name a type
    DWORD ReservedFlags : 31;
    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3744:7: error: 'DWORD' does not name a type
       DWORD TotalPageFaultCount;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3745:7: error: 'DWORD' does not name a type
       DWORD TotalProcesses;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3746:7: error: 'DWORD' does not name a type
       DWORD ActiveProcesses;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3747:7: error: 'DWORD' does not name a type
       DWORD TotalTerminatedProcesses;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3753:7: error: 'DWORD' does not name a type
       DWORD LimitFlags;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3756:7: error: 'DWORD' does not name a type
       DWORD ActiveProcessLimit;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3758:7: error: 'DWORD' does not name a type
       DWORD PriorityClass;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3759:7: error: 'DWORD' does not name a type
       DWORD SchedulingClass;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3772:7: error: 'DWORD' does not name a type
       DWORD NumberOfAssignedProcesses;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3773:7: error: 'DWORD' does not name a type
       DWORD NumberOfProcessIdsInList;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3778:7: error: 'DWORD' does not name a type
       DWORD UIRestrictionsClass;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3782:7: error: 'DWORD' does not name a type
       DWORD SecurityLimitFlags;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3790:7: error: 'DWORD' does not name a type
       DWORD EndOfJobTimeAction;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3804:7: error: 'DWORD' does not name a type
       DWORD MemberLevel;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3826:7: error: 'DWORD' does not name a type
       DWORD LimitFlags;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3830:7: error: 'DWORD' does not name a type
       DWORD LimitFlags;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3831:7: error: 'DWORD' does not name a type
       DWORD ViolationLimitFlags;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3845:7: error: 'DWORD' does not name a type
       DWORD ControlFlags;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3847:2: error: 'DWORD' does not name a type
  DWORD CpuRate;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3848:2: error: 'DWORD' does not name a type
  DWORD Weight;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:3998:7: error: 'DWORD' does not name a type
       DWORD Size;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4010:4: error: 'DWORD' does not name a type
    DWORD NodeNumber;
    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4025:7: error: 'DWORD' does not name a type
       DWORD NodeNumber;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4034:7: error: 'DWORD' does not name a type
       DWORD CacheSize;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4056:7: error: 'DWORD' does not name a type
       DWORD Size;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4153:7: error: 'DWORD' does not name a type
       DWORD Offset;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4154:7: error: 'DWORD' does not name a type
       DWORD Size;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4160:7: error: 'DWORD' does not name a type
       DWORD Size;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4161:7: error: 'DWORD' does not name a type
       DWORD OptimizedSave : 1;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4168:7: error: 'DWORD' does not name a type
       DWORD AllocationProtect;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4170:7: error: 'DWORD' does not name a type
       DWORD State;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4171:7: error: 'DWORD' does not name a type
       DWORD Protect;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4172:7: error: 'DWORD' does not name a type
       DWORD Type;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4176:7: error: 'DWORD' does not name a type
       DWORD BaseAddress;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4177:7: error: 'DWORD' does not name a type
       DWORD AllocationBase;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4178:7: error: 'DWORD' does not name a type
       DWORD AllocationProtect;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4179:7: error: 'DWORD' does not name a type
       DWORD RegionSize;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4180:7: error: 'DWORD' does not name a type
       DWORD State;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4181:7: error: 'DWORD' does not name a type
       DWORD Protect;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4182:7: error: 'DWORD' does not name a type
       DWORD Type;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4188:7: error: 'DWORD' does not name a type
       DWORD AllocationProtect;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4189:7: error: 'DWORD' does not name a type
       DWORD __alignment1;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4191:7: error: 'DWORD' does not name a type
       DWORD State;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4192:7: error: 'DWORD' does not name a type
       DWORD Protect;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4193:7: error: 'DWORD' does not name a type
       DWORD Type;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4194:7: error: 'DWORD' does not name a type
       DWORD __alignment2;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4368:7: error: 'DWORD' does not name a type
       DWORD NextEntryOffset;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4369:7: error: 'DWORD' does not name a type
       DWORD Action;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4370:7: error: 'DWORD' does not name a type
       DWORD FileNameLength;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4380:7: error: 'DWORD' does not name a type
       DWORD ReparseTag;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4645:11: error: 'DWORD' does not name a type
   typedef DWORD EXECUTION_STATE, *PEXECUTION_STATE;
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4680:7: error: 'DWORD' does not name a type
       DWORD PD_Size;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4682:7: error: 'DWORD' does not name a type
       DWORD PD_Capabilities;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4683:7: error: 'DWORD' does not name a type
       DWORD PD_D1Latency;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4684:7: error: 'DWORD' does not name a type
       DWORD PD_D2Latency;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4685:7: error: 'DWORD' does not name a type
       DWORD PD_D3Latency;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4790:7: error: 'DWORD' does not name a type
       DWORD InputTimeout;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4791:7: error: 'DWORD' does not name a type
       DWORD DisplayTimeout;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4796:7: error: 'DWORD' does not name a type
       DWORD LastInputTime;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4800:7: error: 'DWORD' does not name a type
       DWORD SessionId;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4806:7: error: 'DWORD' does not name a type
       DWORD CoalescingTimeout;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4807:7: error: 'DWORD' does not name a type
       DWORD IdleResiliencyPeriod;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4835:7: error: 'DWORD' does not name a type
       DWORD PostTimeMs;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4848:7: error: 'DWORD' does not name a type
       DWORD Version;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4851:7: error: 'DWORD' does not name a type
       DWORD DataLength;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4863:7: error: 'DWORD' does not name a type
       DWORD Flags;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4864:7: error: 'DWORD' does not name a type
       DWORD ButtonInstanceID;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4899:7: error: 'DWORD' does not name a type
       DWORD Granularity;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4900:7: error: 'DWORD' does not name a type
       DWORD Capacity;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4904:7: error: 'DWORD' does not name a type
       DWORD Frequency;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4905:7: error: 'DWORD' does not name a type
       DWORD Flags;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4906:7: error: 'DWORD' does not name a type
       DWORD PercentFrequency;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4910:7: error: 'DWORD' does not name a type
       DWORD Latency;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4911:7: error: 'DWORD' does not name a type
       DWORD Power;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4912:7: error: 'DWORD' does not name a type
       DWORD TimeCheck;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4917:7: error: 'DWORD' does not name a type
       DWORD StateFlags;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4918:7: error: 'DWORD' does not name a type
       DWORD Context;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4919:7: error: 'DWORD' does not name a type
       DWORD IdleHandler;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4920:7: error: 'DWORD' does not name a type
       DWORD Reserved1;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4924:7: error: 'DWORD' does not name a type
       DWORD Type;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4925:7: error: 'DWORD' does not name a type
       DWORD Count;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4926:7: error: 'DWORD' does not name a type
       DWORD TargetState;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4927:7: error: 'DWORD' does not name a type
       DWORD OldState;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4933:7: error: 'DWORD' does not name a type
       DWORD Type;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4934:7: error: 'DWORD' does not name a type
       DWORD Count;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4935:7: error: 'DWORD' does not name a type
       DWORD TargetState;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4936:7: error: 'DWORD' does not name a type
       DWORD OldState;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4942:7: error: 'DWORD' does not name a type
       DWORD Frequency;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4943:7: error: 'DWORD' does not name a type
       DWORD Power;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4948:7: error: 'DWORD' does not name a type
       DWORD IncreaseTime;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4949:7: error: 'DWORD' does not name a type
       DWORD DecreaseTime;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4952:7: error: 'DWORD' does not name a type
       DWORD HitCount;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4953:7: error: 'DWORD' does not name a type
       DWORD Reserved1;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4959:7: error: 'DWORD' does not name a type
       DWORD Count;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4960:7: error: 'DWORD' does not name a type
       DWORD MaxFrequency;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4961:7: error: 'DWORD' does not name a type
       DWORD CurrentState;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4962:7: error: 'DWORD' does not name a type
       DWORD MaxPerfState;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4963:7: error: 'DWORD' does not name a type
       DWORD MinPerfState;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4964:7: error: 'DWORD' does not name a type
       DWORD LowestPerfState;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4965:7: error: 'DWORD' does not name a type
       DWORD ThermalConstraint;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4970:7: error: 'DWORD' does not name a type
       DWORD TimerInterval;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4972:7: error: 'DWORD' does not name a type
       DWORD PStateHandler;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4973:7: error: 'DWORD' does not name a type
       DWORD PStateContext;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4974:7: error: 'DWORD' does not name a type
       DWORD TStateHandler;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4975:7: error: 'DWORD' does not name a type
       DWORD TStateContext;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4976:7: error: 'DWORD' does not name a type
       DWORD FeedbackHandler;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4977:7: error: 'DWORD' does not name a type
       DWORD Reserved1;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4983:7: error: 'DWORD' does not name a type
       DWORD Count;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4984:7: error: 'DWORD' does not name a type
       DWORD MaxFrequency;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4985:7: error: 'DWORD' does not name a type
       DWORD CurrentState;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4986:7: error: 'DWORD' does not name a type
       DWORD MaxPerfState;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4987:7: error: 'DWORD' does not name a type
       DWORD MinPerfState;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4988:7: error: 'DWORD' does not name a type
       DWORD LowestPerfState;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4989:7: error: 'DWORD' does not name a type
       DWORD ThermalConstraint;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4994:7: error: 'DWORD' does not name a type
       DWORD TimerInterval;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4996:7: error: 'DWORD' does not name a type
       DWORD PStateHandler;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4997:7: error: 'DWORD' does not name a type
       DWORD PStateContext;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4998:7: error: 'DWORD' does not name a type
       DWORD TStateHandler;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:4999:7: error: 'DWORD' does not name a type
       DWORD TStateContext;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5000:7: error: 'DWORD' does not name a type
       DWORD FeedbackHandler;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5001:7: error: 'DWORD' does not name a type
       DWORD Reserved1;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5010:7: error: 'DWORD' does not name a type
       DWORD IdleTransitions;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5011:7: error: 'DWORD' does not name a type
       DWORD FailedTransitions;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5012:7: error: 'DWORD' does not name a type
       DWORD InvalidBucketIndex;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5014:7: error: 'DWORD' does not name a type
       DWORD IdleTimeBuckets[PROC_IDLE_BUCKET_COUNT];
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5018:7: error: 'DWORD' does not name a type
       DWORD StateCount;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5019:7: error: 'DWORD' does not name a type
       DWORD TotalTransitions;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5020:7: error: 'DWORD' does not name a type
       DWORD ResetCount;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5027:7: error: 'DWORD' does not name a type
       DWORD MinTimeUs;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5028:7: error: 'DWORD' does not name a type
       DWORD MaxTimeUs;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5029:7: error: 'DWORD' does not name a type
       DWORD Count;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5034:7: error: 'DWORD' does not name a type
       DWORD IdleTransitions;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5035:7: error: 'DWORD' does not name a type
       DWORD FailedTransitions;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5036:7: error: 'DWORD' does not name a type
       DWORD InvalidBucketIndex;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5037:7: error: 'DWORD' does not name a type
       DWORD MinTimeUs;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5038:7: error: 'DWORD' does not name a type
       DWORD MaxTimeUs;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5039:7: error: 'DWORD' does not name a type
       DWORD CancelledTransitions;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5044:7: error: 'DWORD' does not name a type
       DWORD StateCount;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5045:7: error: 'DWORD' does not name a type
       DWORD TotalTransitions;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5046:7: error: 'DWORD' does not name a type
       DWORD ResetCount;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5047:7: error: 'DWORD' does not name a type
       DWORD AbortCount;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5089:7: error: 'DWORD' does not name a type
       DWORD State;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5090:7: error: 'DWORD' does not name a type
       DWORD Status;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5091:7: error: 'DWORD' does not name a type
       DWORD Latency;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5092:7: error: 'DWORD' does not name a type
       DWORD Speed;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5093:7: error: 'DWORD' does not name a type
       DWORD Processor;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5097:7: error: 'DWORD' does not name a type
       DWORD State;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5098:7: error: 'DWORD' does not name a type
       DWORD Latency;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5099:7: error: 'DWORD' does not name a type
       DWORD Speed;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5104:7: error: 'DWORD' does not name a type
       DWORD NewState;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5105:7: error: 'DWORD' does not name a type
       DWORD OldState;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5110:7: error: 'DWORD' does not name a type
       DWORD ThermalConstraint;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5131:7: error: 'DWORD' does not name a type
       DWORD Flags;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5132:7: error: 'DWORD' does not name a type
       DWORD EventCode;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5164:7: error: 'DWORD' does not name a type
       DWORD TimeCheck;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5173:7: error: 'DWORD' does not name a type
       DWORD BatteryLevel;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5179:7: error: 'DWORD' does not name a type
       DWORD Revision;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5184:7: error: 'DWORD' does not name a type
       DWORD Reserved;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5186:7: error: 'DWORD' does not name a type
       DWORD IdleTimeout;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5193:7: error: 'DWORD' does not name a type
       DWORD WinLogonFlags;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5194:7: error: 'DWORD' does not name a type
       DWORD Spare3;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5195:7: error: 'DWORD' does not name a type
       DWORD DozeS4Timeout;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5196:7: error: 'DWORD' does not name a type
       DWORD BroadcastCapacityResolution;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5198:7: error: 'DWORD' does not name a type
       DWORD VideoTimeout;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5200:7: error: 'DWORD' does not name a type
       DWORD VideoReserved[3];
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5201:7: error: 'DWORD' does not name a type
       DWORD SpindownTimeout;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5225:7: error: 'DWORD' does not name a type
       DWORD PolicyCount;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5230:7: error: 'DWORD' does not name a type
       DWORD TimeCheck;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5231:7: error: 'DWORD' does not name a type
       DWORD DemoteLimit;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5232:7: error: 'DWORD' does not name a type
       DWORD PromoteLimit;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5236:7: error: 'DWORD' does not name a type
       DWORD AllowDemotion:1;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5237:7: error: 'DWORD' does not name a type
       DWORD AllowPromotion:1;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5238:7: error: 'DWORD' does not name a type
       DWORD Reserved:30;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5242:7: error: 'DWORD' does not name a type
       DWORD Revision;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5245:7: error: 'DWORD' does not name a type
       DWORD DisableCStates:1;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5246:7: error: 'DWORD' does not name a type
       DWORD Reserved:31;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5247:7: error: 'DWORD' does not name a type
       DWORD PolicyCount;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5252:7: error: 'DWORD' does not name a type
       DWORD Revision;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5268:7: error: 'DWORD' does not name a type
       DWORD TimeCheck;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5269:7: error: 'DWORD' does not name a type
       DWORD IncreaseTime;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5270:7: error: 'DWORD' does not name a type
       DWORD DecreaseTime;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5271:7: error: 'DWORD' does not name a type
       DWORD IncreasePercent;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5272:7: error: 'DWORD' does not name a type
       DWORD DecreasePercent;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5278:7: error: 'DWORD' does not name a type
       DWORD MinVideoTimeout;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5279:7: error: 'DWORD' does not name a type
       DWORD MaxVideoTimeout;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5280:7: error: 'DWORD' does not name a type
       DWORD MinSpindownTimeout;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5281:7: error: 'DWORD' does not name a type
       DWORD MaxSpindownTimeout;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5322:7: error: 'DWORD' does not name a type
       DWORD MaxCapacity;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5323:7: error: 'DWORD' does not name a type
       DWORD RemainingCapacity;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5324:7: error: 'DWORD' does not name a type
       DWORD Rate;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5325:7: error: 'DWORD' does not name a type
       DWORD EstimatedTime;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5326:7: error: 'DWORD' does not name a type
       DWORD DefaultAlert1;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5327:7: error: 'DWORD' does not name a type
       DWORD DefaultAlert2;
       ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5359:7: error: 'LONG' does not name a type
       LONG e_lfanew;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5368:7: error: 'LONG' does not name a type
       LONG ne_crc;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5373:7: error: 'LONG' does not name a type
       LONG ne_csip;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5374:7: error: 'LONG' does not name a type
       LONG ne_sssp;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5383:7: error: 'LONG' does not name a type
       LONG ne_nrestab;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5399:7: error: 'DWORD' does not name a type
       DWORD e32_level;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5402:7: error: 'DWORD' does not name a type
       DWORD e32_ver;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5403:7: error: 'DWORD' does not name a type
       DWORD e32_mflags;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5404:7: error: 'DWORD' does not name a type
       DWORD e32_mpages;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5405:7: error: 'DWORD' does not name a type
       DWORD e32_startobj;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5406:7: error: 'DWORD' does not name a type
       DWORD e32_eip;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5407:7: error: 'DWORD' does not name a type
       DWORD e32_stackobj;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5408:7: error: 'DWORD' does not name a type
       DWORD e32_esp;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5409:7: error: 'DWORD' does not name a type
       DWORD e32_pagesize;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5410:7: error: 'DWORD' does not name a type
       DWORD e32_lastpagesize;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5411:7: error: 'DWORD' does not name a type
       DWORD e32_fixupsize;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5412:7: error: 'DWORD' does not name a type
       DWORD e32_fixupsum;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5413:7: error: 'DWORD' does not name a type
       DWORD e32_ldrsize;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5414:7: error: 'DWORD' does not name a type
       DWORD e32_ldrsum;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5415:7: error: 'DWORD' does not name a type
       DWORD e32_objtab;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5416:7: error: 'DWORD' does not name a type
       DWORD e32_objcnt;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5417:7: error: 'DWORD' does not name a type
       DWORD e32_objmap;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5418:7: error: 'DWORD' does not name a type
       DWORD e32_itermap;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5419:7: error: 'DWORD' does not name a type
       DWORD e32_rsrctab;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5420:7: error: 'DWORD' does not name a type
       DWORD e32_rsrccnt;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5421:7: error: 'DWORD' does not name a type
       DWORD e32_restab;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5422:7: error: 'DWORD' does not name a type
       DWORD e32_enttab;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5423:7: error: 'DWORD' does not name a type
       DWORD e32_dirtab;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5424:7: error: 'DWORD' does not name a type
       DWORD e32_dircnt;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5425:7: error: 'DWORD' does not name a type
       DWORD e32_fpagetab;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5426:7: error: 'DWORD' does not name a type
       DWORD e32_frectab;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5427:7: error: 'DWORD' does not name a type
       DWORD e32_impmod;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5428:7: error: 'DWORD' does not name a type
       DWORD e32_impmodcnt;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5429:7: error: 'DWORD' does not name a type
       DWORD e32_impproc;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5430:7: error: 'DWORD' does not name a type
       DWORD e32_pagesum;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5431:7: error: 'DWORD' does not name a type
       DWORD e32_datapage;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5432:7: error: 'DWORD' does not name a type
       DWORD e32_preload;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5433:7: error: 'DWORD' does not name a type
       DWORD e32_nrestab;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5434:7: error: 'DWORD' does not name a type
       DWORD e32_cbnrestab;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5435:7: error: 'DWORD' does not name a type
       DWORD e32_nressum;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5436:7: error: 'DWORD' does not name a type
       DWORD e32_autodata;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5437:7: error: 'DWORD' does not name a type
       DWORD e32_debuginfo;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5438:7: error: 'DWORD' does not name a type
       DWORD e32_debuglen;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5439:7: error: 'DWORD' does not name a type
       DWORD e32_instpreload;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5440:7: error: 'DWORD' does not name a type
       DWORD e32_instdemand;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5441:7: error: 'DWORD' does not name a type
       DWORD e32_heapsize;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5443:7: error: 'DWORD' does not name a type
       DWORD e32_winresoff;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5444:7: error: 'DWORD' does not name a type
       DWORD e32_winreslen;
       ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5454:7: error: 'DWORD' does not name a type
       DWORD TimeDateStamp;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5455:7: error: 'DWORD' does not name a type
       DWORD PointerToSymbolTable;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5456:7: error: 'DWORD' does not name a type
       DWORD NumberOfSymbols;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5512:7: error: 'DWORD' does not name a type
       DWORD VirtualAddress;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5513:7: error: 'DWORD' does not name a type
       DWORD Size;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5523:7: error: 'DWORD' does not name a type
       DWORD SizeOfCode;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5524:7: error: 'DWORD' does not name a type
       DWORD SizeOfInitializedData;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5525:7: error: 'DWORD' does not name a type
       DWORD SizeOfUninitializedData;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5526:7: error: 'DWORD' does not name a type
       DWORD AddressOfEntryPoint;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5527:7: error: 'DWORD' does not name a type
       DWORD BaseOfCode;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5528:7: error: 'DWORD' does not name a type
       DWORD BaseOfData;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5529:7: error: 'DWORD' does not name a type
       DWORD ImageBase;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5530:7: error: 'DWORD' does not name a type
       DWORD SectionAlignment;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5531:7: error: 'DWORD' does not name a type
       DWORD FileAlignment;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5538:7: error: 'DWORD' does not name a type
       DWORD Win32VersionValue;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5539:7: error: 'DWORD' does not name a type
       DWORD SizeOfImage;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5540:7: error: 'DWORD' does not name a type
       DWORD SizeOfHeaders;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5541:7: error: 'DWORD' does not name a type
       DWORD CheckSum;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5544:7: error: 'DWORD' does not name a type
       DWORD SizeOfStackReserve;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5545:7: error: 'DWORD' does not name a type
       DWORD SizeOfStackCommit;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5546:7: error: 'DWORD' does not name a type
       DWORD SizeOfHeapReserve;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5547:7: error: 'DWORD' does not name a type
       DWORD SizeOfHeapCommit;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5548:7: error: 'DWORD' does not name a type
       DWORD LoaderFlags;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5549:7: error: 'DWORD' does not name a type
       DWORD NumberOfRvaAndSizes;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5557:7: error: 'DWORD' does not name a type
       DWORD SizeOfCode;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5558:7: error: 'DWORD' does not name a type
       DWORD SizeOfInitializedData;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5559:7: error: 'DWORD' does not name a type
       DWORD SizeOfUninitializedData;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5560:7: error: 'DWORD' does not name a type
       DWORD AddressOfEntryPoint;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5561:7: error: 'DWORD' does not name a type
       DWORD BaseOfCode;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5562:7: error: 'DWORD' does not name a type
       DWORD BaseOfData;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5563:7: error: 'DWORD' does not name a type
       DWORD BaseOfBss;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5564:7: error: 'DWORD' does not name a type
       DWORD GprMask;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5565:7: error: 'DWORD' does not name a type
       DWORD CprMask[4];
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5566:7: error: 'DWORD' does not name a type
       DWORD GpValue;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5573:7: error: 'DWORD' does not name a type
       DWORD SizeOfCode;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5574:7: error: 'DWORD' does not name a type
       DWORD SizeOfInitializedData;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5575:7: error: 'DWORD' does not name a type
       DWORD SizeOfUninitializedData;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5576:7: error: 'DWORD' does not name a type
       DWORD AddressOfEntryPoint;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5577:7: error: 'DWORD' does not name a type
       DWORD BaseOfCode;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5579:7: error: 'DWORD' does not name a type
       DWORD SectionAlignment;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5580:7: error: 'DWORD' does not name a type
       DWORD FileAlignment;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5587:7: error: 'DWORD' does not name a type
       DWORD Win32VersionValue;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5588:7: error: 'DWORD' does not name a type
       DWORD SizeOfImage;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5589:7: error: 'DWORD' does not name a type
       DWORD SizeOfHeaders;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5590:7: error: 'DWORD' does not name a type
       DWORD CheckSum;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5597:7: error: 'DWORD' does not name a type
       DWORD LoaderFlags;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5598:7: error: 'DWORD' does not name a type
       DWORD NumberOfRvaAndSizes;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5624:7: error: 'DWORD' does not name a type
       DWORD Signature;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5630:7: error: 'DWORD' does not name a type
       DWORD Signature;
       ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5696:7: error: 'DWORD' does not name a type
       DWORD TimeDateStamp;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5698:7: error: 'DWORD' does not name a type
       DWORD SizeOfData;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5706:7: error: 'DWORD' does not name a type
       DWORD TimeDateStamp;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5708:7: error: 'DWORD' does not name a type
       DWORD SizeOfData;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5709:7: error: 'DWORD' does not name a type
       DWORD Flags;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5710:7: error: 'DWORD' does not name a type
       DWORD MetaDataSize;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5711:7: error: 'DWORD' does not name a type
       DWORD MetaDataOffset;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5719:7: error: 'DWORD' does not name a type
       DWORD TimeDateStamp;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5721:7: error: 'DWORD' does not name a type
       DWORD SizeOfData;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5722:7: error: 'DWORD' does not name a type
       DWORD Flags;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5723:7: error: 'DWORD' does not name a type
       DWORD MetaDataSize;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5724:7: error: 'DWORD' does not name a type
       DWORD MetaDataOffset;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5725:7: error: 'DWORD' does not name a type
       DWORD NumberOfSections;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5726:7: error: 'DWORD' does not name a type
       DWORD PointerToSymbolTable;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5727:7: error: 'DWORD' does not name a type
       DWORD NumberOfSymbols;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5735:2: error: 'DWORD' does not name a type
  DWORD PhysicalAddress;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5736:2: error: 'DWORD' does not name a type
  DWORD VirtualSize;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5738:7: error: 'DWORD' does not name a type
       DWORD VirtualAddress;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5739:7: error: 'DWORD' does not name a type
       DWORD SizeOfRawData;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5740:7: error: 'DWORD' does not name a type
       DWORD PointerToRawData;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5741:7: error: 'DWORD' does not name a type
       DWORD PointerToRelocations;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5742:7: error: 'DWORD' does not name a type
       DWORD PointerToLinenumbers;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5745:7: error: 'DWORD' does not name a type
       DWORD Characteristics;
       ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5800:4: error: 'DWORD' does not name a type
    DWORD Short;
    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5801:4: error: 'DWORD' does not name a type
    DWORD Long;
    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5803:2: error: 'DWORD' does not name a type
  DWORD LongName[2];
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5805:7: error: 'DWORD' does not name a type
       DWORD Value;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5819:4: error: 'DWORD' does not name a type
    DWORD Short;
    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5820:4: error: 'DWORD' does not name a type
    DWORD Long;
    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5822:2: error: 'DWORD' does not name a type
  DWORD LongName[2];
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5824:7: error: 'DWORD' does not name a type
       DWORD Value;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5825:7: error: 'LONG' does not name a type
       LONG SectionNumber;
       ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5925:7: error: 'DWORD' does not name a type
       DWORD SymbolTableIndex;
       ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5932:2: error: 'DWORD' does not name a type
  DWORD TagIndex;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5938:4: error: 'DWORD' does not name a type
    DWORD TotalSize;
    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5942:6: error: 'DWORD' does not name a type
      DWORD PointerToLinenumber;
      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5943:6: error: 'DWORD' does not name a type
      DWORD PointerToNextFunction;
      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5955:2: error: 'DWORD' does not name a type
  DWORD Length;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5958:2: error: 'DWORD' does not name a type
  DWORD CheckSum;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5964:2: error: 'DWORD' does not name a type
  DWORD crc;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5971:2: error: 'DWORD' does not name a type
  DWORD WeakDefaultSymIndex;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5972:2: error: 'DWORD' does not name a type
  DWORD WeakSearchType;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5979:2: error: 'DWORD' does not name a type
  DWORD Length;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5982:2: error: 'DWORD' does not name a type
  DWORD CheckSum;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:5994:2: error: 'DWORD' does not name a type
  DWORD crc;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6019:2: error: 'DWORD' does not name a type
  DWORD VirtualAddress;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6020:2: error: 'DWORD' does not name a type
  DWORD RelocCount;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6022:7: error: 'DWORD' does not name a type
       DWORD SymbolTableIndex;
       ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6357:2: error: 'DWORD' does not name a type
  DWORD SymbolTableIndex;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6358:2: error: 'DWORD' does not name a type
  DWORD VirtualAddress;
  ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6369:7: error: 'DWORD' does not name a type
       DWORD VirtualAddress;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6370:7: error: 'DWORD' does not name a type
       DWORD SizeOfBlock;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6408:7: error: 'DWORD' does not name a type
       DWORD Characteristics;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6409:7: error: 'DWORD' does not name a type
       DWORD TimeDateStamp;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6412:7: error: 'DWORD' does not name a type
       DWORD Name;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6413:7: error: 'DWORD' does not name a type
       DWORD Base;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6414:7: error: 'DWORD' does not name a type
       DWORD NumberOfFunctions;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6415:7: error: 'DWORD' does not name a type
       DWORD NumberOfNames;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6416:7: error: 'DWORD' does not name a type
       DWORD AddressOfFunctions;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6417:7: error: 'DWORD' does not name a type
       DWORD AddressOfNames;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6418:7: error: 'DWORD' does not name a type
       DWORD AddressOfNameOrdinals;
       ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6442:2: error: 'DWORD' does not name a type
  DWORD ForwarderString;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6443:2: error: 'DWORD' does not name a type
  DWORD Function;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6444:2: error: 'DWORD' does not name a type
  DWORD Ordinal;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6445:2: error: 'DWORD' does not name a type
  DWORD AddressOfData;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6457:63: error: 'DWORD' has not been declared
     typedef VOID (NTAPI *PIMAGE_TLS_CALLBACK)(PVOID DllHandle,DWORD Reason,PVOID Reserved);
                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6464:7: error: 'DWORD' does not name a type
       DWORD SizeOfZeroFill;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6465:7: error: 'DWORD' does not name a type
       DWORD Characteristics;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6470:7: error: 'DWORD' does not name a type
       DWORD StartAddressOfRawData;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6471:7: error: 'DWORD' does not name a type
       DWORD EndAddressOfRawData;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6472:7: error: 'DWORD' does not name a type
       DWORD AddressOfIndex;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6473:7: error: 'DWORD' does not name a type
       DWORD AddressOfCallBacks;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6474:7: error: 'DWORD' does not name a type
       DWORD SizeOfZeroFill;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6475:7: error: 'DWORD' does not name a type
       DWORD Characteristics;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6499:2: error: 'DWORD' does not name a type
  DWORD Characteristics;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6500:2: error: 'DWORD' does not name a type
  DWORD OriginalFirstThunk;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6502:7: error: 'DWORD' does not name a type
       DWORD TimeDateStamp;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6504:7: error: 'DWORD' does not name a type
       DWORD ForwarderChain;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6505:7: error: 'DWORD' does not name a type
       DWORD Name;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6506:7: error: 'DWORD' does not name a type
       DWORD FirstThunk;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6511:7: error: 'DWORD' does not name a type
       DWORD TimeDateStamp;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6517:7: error: 'DWORD' does not name a type
       DWORD TimeDateStamp;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6524:2: error: 'DWORD' does not name a type
  DWORD AllAttributes;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6526:4: error: 'DWORD' does not name a type
    DWORD RvaBased : 1;
    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6527:4: error: 'DWORD' does not name a type
    DWORD ReservedAttributes : 31;
    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6530:7: error: 'DWORD' does not name a type
       DWORD DllNameRVA;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6531:7: error: 'DWORD' does not name a type
       DWORD ModuleHandleRVA;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6532:7: error: 'DWORD' does not name a type
       DWORD ImportAddressTableRVA;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6533:7: error: 'DWORD' does not name a type
       DWORD ImportNameTableRVA;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6534:7: error: 'DWORD' does not name a type
       DWORD BoundImportAddressTableRVA;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6535:7: error: 'DWORD' does not name a type
       DWORD UnloadInformationTableRVA;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6536:7: error: 'DWORD' does not name a type
       DWORD TimeDateStamp;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6541:7: error: 'DWORD' does not name a type
       DWORD Characteristics;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6542:7: error: 'DWORD' does not name a type
       DWORD TimeDateStamp;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6555:4: error: 'DWORD' does not name a type
    DWORD NameOffset:31;
    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6556:4: error: 'DWORD' does not name a type
    DWORD NameIsString:1;
    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6558:2: error: 'DWORD' does not name a type
  DWORD Name;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6562:2: error: 'DWORD' does not name a type
  DWORD OffsetToData;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6564:4: error: 'DWORD' does not name a type
    DWORD OffsetToDirectory:31;
    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6565:4: error: 'DWORD' does not name a type
    DWORD DataIsDirectory:1;
    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6581:7: error: 'DWORD' does not name a type
       DWORD OffsetToData;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6582:7: error: 'DWORD' does not name a type
       DWORD Size;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6583:7: error: 'DWORD' does not name a type
       DWORD CodePage;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6584:7: error: 'DWORD' does not name a type
       DWORD Reserved;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6588:7: error: 'DWORD' does not name a type
       DWORD Size;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6589:7: error: 'DWORD' does not name a type
       DWORD TimeDateStamp;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6592:7: error: 'DWORD' does not name a type
       DWORD GlobalFlagsClear;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6593:7: error: 'DWORD' does not name a type
       DWORD GlobalFlagsSet;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6594:7: error: 'DWORD' does not name a type
       DWORD CriticalSectionDefaultTimeout;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6595:7: error: 'DWORD' does not name a type
       DWORD DeCommitFreeBlockThreshold;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6596:7: error: 'DWORD' does not name a type
       DWORD DeCommitTotalFreeThreshold;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6597:7: error: 'DWORD' does not name a type
       DWORD LockPrefixTable;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6598:7: error: 'DWORD' does not name a type
       DWORD MaximumAllocationSize;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6599:7: error: 'DWORD' does not name a type
       DWORD VirtualMemoryThreshold;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6600:7: error: 'DWORD' does not name a type
       DWORD ProcessHeapFlags;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6601:7: error: 'DWORD' does not name a type
       DWORD ProcessAffinityMask;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6604:7: error: 'DWORD' does not name a type
       DWORD EditList;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6605:7: error: 'DWORD' does not name a type
       DWORD SecurityCookie;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6606:7: error: 'DWORD' does not name a type
       DWORD SEHandlerTable;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6607:7: error: 'DWORD' does not name a type
       DWORD SEHandlerCount;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6611:7: error: 'DWORD' does not name a type
       DWORD Size;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6612:7: error: 'DWORD' does not name a type
       DWORD TimeDateStamp;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6615:7: error: 'DWORD' does not name a type
       DWORD GlobalFlagsClear;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6616:7: error: 'DWORD' does not name a type
       DWORD GlobalFlagsSet;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6617:7: error: 'DWORD' does not name a type
       DWORD CriticalSectionDefaultTimeout;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6624:7: error: 'DWORD' does not name a type
       DWORD ProcessHeapFlags;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6642:7: error: 'DWORD' does not name a type
       DWORD FuncStart;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6643:7: error: 'DWORD' does not name a type
       DWORD PrologLen : 8;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6644:7: error: 'DWORD' does not name a type
       DWORD FuncLen : 22;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6645:7: error: 'DWORD' does not name a type
       DWORD ThirtyTwoBit : 1;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6646:7: error: 'DWORD' does not name a type
       DWORD ExceptionFlag : 1;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6658:7: error: 'DWORD' does not name a type
       DWORD BeginAddress;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6659:7: error: 'DWORD' does not name a type
       DWORD EndAddress;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6660:7: error: 'DWORD' does not name a type
       DWORD ExceptionHandler;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6661:7: error: 'DWORD' does not name a type
       DWORD HandlerData;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6662:7: error: 'DWORD' does not name a type
       DWORD PrologEndAddress;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6666:7: error: 'DWORD' does not name a type
       DWORD BeginAddress;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6668:2: error: 'DWORD' does not name a type
  DWORD UnwindData;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6670:4: error: 'DWORD' does not name a type
    DWORD Flag : 2;
    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6671:4: error: 'DWORD' does not name a type
    DWORD FunctionLength : 11;
    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6672:4: error: 'DWORD' does not name a type
    DWORD Ret : 2;
    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6673:4: error: 'DWORD' does not name a type
    DWORD H : 1;
    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6674:4: error: 'DWORD' does not name a type
    DWORD Reg : 3;
    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6675:4: error: 'DWORD' does not name a type
    DWORD R : 1;
    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6676:4: error: 'DWORD' does not name a type
    DWORD L : 1;
    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6677:4: error: 'DWORD' does not name a type
    DWORD C : 1;
    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6678:4: error: 'DWORD' does not name a type
    DWORD StackAdjust : 10;
    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6684:7: error: 'DWORD' does not name a type
       DWORD BeginAddress;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6685:7: error: 'DWORD' does not name a type
       DWORD EndAddress;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6687:2: error: 'DWORD' does not name a type
  DWORD UnwindInfoAddress;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6688:2: error: 'DWORD' does not name a type
  DWORD UnwindData;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6712:7: error: 'DWORD' does not name a type
       DWORD Characteristics;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6713:7: error: 'DWORD' does not name a type
       DWORD TimeDateStamp;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6716:7: error: 'DWORD' does not name a type
       DWORD Type;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6717:7: error: 'DWORD' does not name a type
       DWORD SizeOfData;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6718:7: error: 'DWORD' does not name a type
       DWORD AddressOfRawData;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6719:7: error: 'DWORD' does not name a type
       DWORD PointerToRawData;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6736:7: error: 'DWORD' does not name a type
       DWORD NumberOfSymbols;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6737:7: error: 'DWORD' does not name a type
       DWORD LvaToFirstSymbol;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6738:7: error: 'DWORD' does not name a type
       DWORD NumberOfLinenumbers;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6739:7: error: 'DWORD' does not name a type
       DWORD LvaToFirstLinenumber;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6740:7: error: 'DWORD' does not name a type
       DWORD RvaToFirstByteOfCode;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6741:7: error: 'DWORD' does not name a type
       DWORD RvaToLastByteOfCode;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6742:7: error: 'DWORD' does not name a type
       DWORD RvaToFirstByteOfData;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6743:7: error: 'DWORD' does not name a type
       DWORD RvaToLastByteOfData;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6752:7: error: 'DWORD' does not name a type
       DWORD ulOffStart;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6753:7: error: 'DWORD' does not name a type
       DWORD cbProcSize;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6754:7: error: 'DWORD' does not name a type
       DWORD cdwLocals;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6768:7: error: 'DWORD' does not name a type
       DWORD DataType;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6769:7: error: 'DWORD' does not name a type
       DWORD Length;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6776:7: error: 'DWORD' does not name a type
       DWORD StartingAddress;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6777:7: error: 'DWORD' does not name a type
       DWORD EndingAddress;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6778:7: error: 'DWORD' does not name a type
       DWORD EndOfPrologue;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6795:7: error: 'DWORD' does not name a type
       DWORD TimeDateStamp;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6796:7: error: 'DWORD' does not name a type
       DWORD CheckSum;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6797:7: error: 'DWORD' does not name a type
       DWORD ImageBase;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6798:7: error: 'DWORD' does not name a type
       DWORD SizeOfImage;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6799:7: error: 'DWORD' does not name a type
       DWORD NumberOfSections;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6800:7: error: 'DWORD' does not name a type
       DWORD ExportedNamesSize;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6801:7: error: 'DWORD' does not name a type
       DWORD DebugDirectorySize;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6802:7: error: 'DWORD' does not name a type
       DWORD SectionAlignment;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6803:7: error: 'DWORD' does not name a type
       DWORD Reserved[2];
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6809:7: error: 'DWORD' does not name a type
       DWORD Size;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6812:7: error: 'DWORD' does not name a type
       DWORD TimeDateStamp;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6813:7: error: 'DWORD' does not name a type
       DWORD CheckSum;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6814:7: error: 'DWORD' does not name a type
       DWORD SizeOfImage;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6829:7: error: 'DWORD' does not name a type
       DWORD FirstEntryRVA;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6833:7: error: 'DWORD' does not name a type
       DWORD FixupInstRVA;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6834:7: error: 'DWORD' does not name a type
       DWORD NewInst;
       ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6845:7: error: 'DWORD' does not name a type
       DWORD TimeDateStamp;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6846:7: error: 'DWORD' does not name a type
       DWORD SizeOfData;
       ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6876:7: error: 'DWORD' does not name a type
       DWORD cb;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6880:7: error: 'DWORD' does not name a type
       DWORD Flags;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6882:2: error: 'DWORD' does not name a type
  DWORD EntryPointToken;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6883:2: error: 'DWORD' does not name a type
  DWORD EntryPointRVA;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6895:51: error: definition of 'WORD RtlCaptureStackBackTrace' is marked 'dllimport'
     NTSYSAPI WORD NTAPI RtlCaptureStackBackTrace (DWORD FramesToSkip, DWORD FramesToCapture, PVOID *BackTrace, PDWORD BackTraceHash);
                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6895:51: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6895:71: error: 'DWORD' was not declared in this scope
     NTSYSAPI WORD NTAPI RtlCaptureStackBackTrace (DWORD FramesToSkip, DWORD FramesToCapture, PVOID *BackTrace, PDWORD BackTraceHash);
                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6895:100: error: expected primary-expression before '*' token
     NTSYSAPI WORD NTAPI RtlCaptureStackBackTrace (DWORD FramesToSkip, DWORD FramesToCapture, PVOID *BackTrace, PDWORD BackTraceHash);
                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6895:101: error: 'BackTrace' was not declared in this scope
     NTSYSAPI WORD NTAPI RtlCaptureStackBackTrace (DWORD FramesToSkip, DWORD FramesToCapture, PVOID *BackTrace, PDWORD BackTraceHash);
                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6895:112: error: 'PDWORD' was not declared in this scope
     NTSYSAPI WORD NTAPI RtlCaptureStackBackTrace (DWORD FramesToSkip, DWORD FramesToCapture, PVOID *BackTrace, PDWORD BackTraceHash);
                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6895:132: error: expression list treated as compound expression in initializer [-fpermissive]
     NTSYSAPI WORD NTAPI RtlCaptureStackBackTrace (DWORD FramesToSkip, DWORD FramesToCapture, PVOID *BackTrace, PDWORD BackTraceHash);
                                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6904:84: error: 'DWORD' has not been declared
     NTSYSAPI BOOLEAN __cdecl RtlAddFunctionTable (PRUNTIME_FUNCTION FunctionTable, DWORD EntryCount, DWORD64 BaseAddress);
                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6906:109: error: 'DWORD' has not been declared
     NTSYSAPI BOOLEAN __cdecl RtlInstallFunctionTableCallback (DWORD64 TableIdentifier, DWORD64 BaseAddress, DWORD Length, PGET_RUNTIME_FUNCTION_CALLBACK Callback, PVOID Context, PCWSTR OutOfProcessCallbackDll);
                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6908:57: error: definition of 'int (* RtlVirtualUnwind)(_EXCEPTION_RECORD*, PVOID, _CONTEXT*, PVOID)' is marked 'dllimport'
     NTSYSAPI PEXCEPTION_ROUTINE NTAPI RtlVirtualUnwind (DWORD HandlerType, DWORD64 ImageBase, DWORD64 ControlPc, PRUNTIME_FUNCTION FunctionEntry, PCONTEXT ContextRecord, PVOID *HandlerData, PDWORD64 EstablisherFrame, PKNONVOLATILE_CONTEXT_POINTERS ContextPointers);
                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6908:57: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6908:84: error: expected primary-expression before 'ImageBase'
     NTSYSAPI PEXCEPTION_ROUTINE NTAPI RtlVirtualUnwind (DWORD HandlerType, DWORD64 ImageBase, DWORD64 ControlPc, PRUNTIME_FUNCTION FunctionEntry, PCONTEXT ContextRecord, PVOID *HandlerData, PDWORD64 EstablisherFrame, PKNONVOLATILE_CONTEXT_POINTERS ContextPointers);
                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6908:103: error: expected primary-expression before 'ControlPc'
     NTSYSAPI PEXCEPTION_ROUTINE NTAPI RtlVirtualUnwind (DWORD HandlerType, DWORD64 ImageBase, DWORD64 ControlPc, PRUNTIME_FUNCTION FunctionEntry, PCONTEXT ContextRecord, PVOID *HandlerData, PDWORD64 EstablisherFrame, PKNONVOLATILE_CONTEXT_POINTERS ContextPointers);
                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6908:132: error: expected primary-expression before 'FunctionEntry'
     NTSYSAPI PEXCEPTION_ROUTINE NTAPI RtlVirtualUnwind (DWORD HandlerType, DWORD64 ImageBase, DWORD64 ControlPc, PRUNTIME_FUNCTION FunctionEntry, PCONTEXT ContextRecord, PVOID *HandlerData, PDWORD64 EstablisherFrame, PKNONVOLATILE_CONTEXT_POINTERS ContextPointers);
                                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6908:156: error: expected primary-expression before 'ContextRecord'
     NTSYSAPI PEXCEPTION_ROUTINE NTAPI RtlVirtualUnwind (DWORD HandlerType, DWORD64 ImageBase, DWORD64 ControlPc, PRUNTIME_FUNCTION FunctionEntry, PCONTEXT ContextRecord, PVOID *HandlerData, PDWORD64 EstablisherFrame, PKNONVOLATILE_CONTEXT_POINTERS ContextPointers);
                                                                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6908:177: error: expected primary-expression before '*' token
     NTSYSAPI PEXCEPTION_ROUTINE NTAPI RtlVirtualUnwind (DWORD HandlerType, DWORD64 ImageBase, DWORD64 ControlPc, PRUNTIME_FUNCTION FunctionEntry, PCONTEXT ContextRecord, PVOID *HandlerData, PDWORD64 EstablisherFrame, PKNONVOLATILE_CONTEXT_POINTERS ContextPointers);
                                                                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6908:178: error: 'HandlerData' was not declared in this scope
     NTSYSAPI PEXCEPTION_ROUTINE NTAPI RtlVirtualUnwind (DWORD HandlerType, DWORD64 ImageBase, DWORD64 ControlPc, PRUNTIME_FUNCTION FunctionEntry, PCONTEXT ContextRecord, PVOID *HandlerData, PDWORD64 EstablisherFrame, PKNONVOLATILE_CONTEXT_POINTERS ContextPointers);
                                                                                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6908:200: error: expected primary-expression before 'EstablisherFrame'
     NTSYSAPI PEXCEPTION_ROUTINE NTAPI RtlVirtualUnwind (DWORD HandlerType, DWORD64 ImageBase, DWORD64 ControlPc, PRUNTIME_FUNCTION FunctionEntry, PCONTEXT ContextRecord, PVOID *HandlerData, PDWORD64 EstablisherFrame, PKNONVOLATILE_CONTEXT_POINTERS ContextPointers);
                                                                                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6908:249: error: expected primary-expression before 'ContextPointers'
     NTSYSAPI PEXCEPTION_ROUTINE NTAPI RtlVirtualUnwind (DWORD HandlerType, DWORD64 ImageBase, DWORD64 ControlPc, PRUNTIME_FUNCTION FunctionEntry, PCONTEXT ContextRecord, PVOID *HandlerData, PDWORD64 EstablisherFrame, PKNONVOLATILE_CONTEXT_POINTERS ContextPointers);
                                                                                                                                                                                                                                                         ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:6908:264: error: expression list treated as compound expression in initializer [-fpermissive]
     NTSYSAPI PEXCEPTION_ROUTINE NTAPI RtlVirtualUnwind (DWORD HandlerType, DWORD64 ImageBase, DWORD64 ControlPc, PRUNTIME_FUNCTION FunctionEntry, PCONTEXT ContextRecord, PVOID *HandlerData, PDWORD64 EstablisherFrame, PKNONVOLATILE_CONTEXT_POINTERS ContextPointers);
                                                                                                                                                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7001:129: error: 'DWORD' has not been declared
     NTSYSAPI PSLIST_ENTRY NTAPI RtlInterlockedPushListSListEx (PSLIST_HEADER ListHead, PSLIST_ENTRY List, PSLIST_ENTRY ListEnd, DWORD Count);
                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7010:15: error: typedef 'DWORD' is initialized (use decltype instead)
 typedef DWORD (WINAPI *PRTL_RUN_ONCE_INIT_FN)(PRTL_RUN_ONCE, PVOID, PVOID *);
               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7010:24: error: 'PRTL_RUN_ONCE_INIT_FN' was not declared in this scope
 typedef DWORD (WINAPI *PRTL_RUN_ONCE_INIT_FN)(PRTL_RUN_ONCE, PVOID, PVOID *);
                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7020:5: error: 'DWORD' does not name a type
     DWORD Reserved1;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7021:5: error: 'DWORD' does not name a type
     DWORD Reserved2;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7023:5: error: 'DWORD' does not name a type
     DWORD Reserved4;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7024:5: error: 'DWORD' does not name a type
     DWORD Reserved5;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7151:7: error: 'DWORD' does not name a type
       DWORD LowId;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7152:7: error: 'DWORD' does not name a type
       DWORD HighId;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7153:7: error: 'DWORD' does not name a type
       DWORD OffsetToEntries;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7157:7: error: 'DWORD' does not name a type
       DWORD NumberOfBlocks;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7162:7: error: 'DWORD' does not name a type
       DWORD dwOSVersionInfoSize;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7163:7: error: 'DWORD' does not name a type
       DWORD dwMajorVersion;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7164:7: error: 'DWORD' does not name a type
       DWORD dwMinorVersion;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7165:7: error: 'DWORD' does not name a type
       DWORD dwBuildNumber;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7166:7: error: 'DWORD' does not name a type
       DWORD dwPlatformId;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7171:7: error: 'DWORD' does not name a type
       DWORD dwOSVersionInfoSize;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7172:7: error: 'DWORD' does not name a type
       DWORD dwMajorVersion;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7173:7: error: 'DWORD' does not name a type
       DWORD dwMinorVersion;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7174:7: error: 'DWORD' does not name a type
       DWORD dwBuildNumber;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7175:7: error: 'DWORD' does not name a type
       DWORD dwPlatformId;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7184:7: error: 'DWORD' does not name a type
       DWORD dwOSVersionInfoSize;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7185:7: error: 'DWORD' does not name a type
       DWORD dwMajorVersion;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7186:7: error: 'DWORD' does not name a type
       DWORD dwMinorVersion;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7187:7: error: 'DWORD' does not name a type
       DWORD dwBuildNumber;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7188:7: error: 'DWORD' does not name a type
       DWORD dwPlatformId;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7198:7: error: 'DWORD' does not name a type
       DWORD dwOSVersionInfoSize;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7199:7: error: 'DWORD' does not name a type
       DWORD dwMajorVersion;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7200:7: error: 'DWORD' does not name a type
       DWORD dwMinorVersion;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7201:7: error: 'DWORD' does not name a type
       DWORD dwBuildNumber;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7202:7: error: 'DWORD' does not name a type
       DWORD dwPlatformId;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7245:76: error: 'DWORD' has not been declared
     NTSYSAPI ULONGLONG NTAPI VerSetConditionMask (ULONGLONG ConditionMask, DWORD TypeMask, BYTE Condition);
                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7300:7: error: 'DWORD' does not name a type
       DWORD EntryCount;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7301:7: error: 'DWORD' does not name a type
       DWORD ContentionCount;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7302:7: error: 'DWORD' does not name a type
       DWORD Flags;
       ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7324:7: error: 'LONG' does not name a type
       LONG LockCount;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7325:7: error: 'LONG' does not name a type
       LONG RecursionCount;
       ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7341:18: error: typedef 'LONG' is initialized (use decltype instead)
     typedef LONG (NTAPI *PVECTORED_EXCEPTION_HANDLER) (struct _EXCEPTION_POINTERS *ExceptionInfo);
                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7341:26: error: 'PVECTORED_EXCEPTION_HANDLER' was not declared in this scope
     typedef LONG (NTAPI *PVECTORED_EXCEPTION_HANDLER) (struct _EXCEPTION_POINTERS *ExceptionInfo);
                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7349:50: error: typedef 'APC_CALLBACK_FUNCTION' is initialized (use decltype instead)
     typedef VOID (NTAPI *APC_CALLBACK_FUNCTION) (DWORD, PVOID, PVOID);
                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7349:50: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7349:62: error: expected primary-expression before ',' token
     typedef VOID (NTAPI *APC_CALLBACK_FUNCTION) (DWORD, PVOID, PVOID);
                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7349:69: error: expected primary-expression before ')' token
     typedef VOID (NTAPI *APC_CALLBACK_FUNCTION) (DWORD, PVOID, PVOID);
                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7399:7: error: 'DWORD' does not name a type
       DWORD ulAssemblyIndex;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7400:7: error: 'DWORD' does not name a type
       DWORD ulFileIndexInAssembly;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7404:7: error: 'DWORD' does not name a type
       DWORD ulFlags;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7405:7: error: 'DWORD' does not name a type
       DWORD ulFilenameLength;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7406:7: error: 'DWORD' does not name a type
       DWORD ulPathLength;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7412:7: error: 'DWORD' does not name a type
       DWORD ulFlags;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7413:7: error: 'DWORD' does not name a type
       DWORD ulEncodedAssemblyIdentityLength;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7414:7: error: 'DWORD' does not name a type
       DWORD ulManifestPathType;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7415:7: error: 'DWORD' does not name a type
       DWORD ulManifestPathLength;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7417:7: error: 'DWORD' does not name a type
       DWORD ulPolicyPathType;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7418:7: error: 'DWORD' does not name a type
       DWORD ulPolicyPathLength;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7420:7: error: 'DWORD' does not name a type
       DWORD ulMetadataSatelliteRosterIndex;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7421:7: error: 'DWORD' does not name a type
       DWORD ulManifestVersionMajor;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7422:7: error: 'DWORD' does not name a type
       DWORD ulManifestVersionMinor;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7423:7: error: 'DWORD' does not name a type
       DWORD ulPolicyVersionMajor;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7424:7: error: 'DWORD' does not name a type
       DWORD ulPolicyVersionMinor;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7425:7: error: 'DWORD' does not name a type
       DWORD ulAssemblyDirectoryNameLength;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7430:7: error: 'DWORD' does not name a type
       DWORD ulFileCount;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7434:7: error: 'DWORD' does not name a type
       DWORD ulFlags;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7436:7: error: 'DWORD' does not name a type
       DWORD UiAccess;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7447:7: error: 'DWORD' does not name a type
       DWORD ElementCount;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7460:7: error: 'DWORD' does not name a type
       DWORD dwFlags;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7461:7: error: 'DWORD' does not name a type
       DWORD ulFormatVersion;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7462:7: error: 'DWORD' does not name a type
       DWORD ulAssemblyCount;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7463:7: error: 'DWORD' does not name a type
       DWORD ulRootManifestPathType;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7464:7: error: 'DWORD' does not name a type
       DWORD ulRootManifestPathChars;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7465:7: error: 'DWORD' does not name a type
       DWORD ulRootConfigurationPathType;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7466:7: error: 'DWORD' does not name a type
       DWORD ulRootConfigurationPathChars;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7467:7: error: 'DWORD' does not name a type
       DWORD ulAppDirPathType;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7468:7: error: 'DWORD' does not name a type
       DWORD ulAppDirPathChars;
       ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7509:7: error: 'DWORD' does not name a type
       DWORD DllFlags;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7515:7: error: 'DWORD' does not name a type
       DWORD Length;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7520:7: error: 'DWORD' does not name a type
       DWORD VerifierFlags;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7521:7: error: 'DWORD' does not name a type
       DWORD VerifierDebug;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7634:14: error: 'DWORD' does not name a type
     NTSYSAPI DWORD NTAPI RtlSetHeapInformation(PVOID HeapHandle,HEAP_INFORMATION_CLASS HeapInformationClass,PVOID HeapInformation,SIZE_T HeapInformationLength);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7635:14: error: 'DWORD' does not name a type
     NTSYSAPI DWORD NTAPI RtlQueryHeapInformation(PVOID HeapHandle,HEAP_INFORMATION_CLASS HeapInformationClass,PVOID HeapInformation,SIZE_T HeapInformationLength,PSIZE_T ReturnLength);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7636:5: error: 'DWORD' does not name a type
     DWORD NTAPI RtlMultipleAllocateHeap(PVOID HeapHandle,DWORD Flags,SIZE_T Size,DWORD Count,PVOID *Array);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7637:5: error: 'DWORD' does not name a type
     DWORD NTAPI RtlMultipleFreeHeap(PVOID HeapHandle,DWORD Flags,DWORD Count,PVOID *Array);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7641:7: error: 'DWORD' does not name a type
       DWORD Reserved;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7649:7: error: 'DWORD' does not name a type
       DWORD ContextSwitchCount;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7652:7: error: 'DWORD' does not name a type
       DWORD RetryCount;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7653:7: error: 'DWORD' does not name a type
       DWORD Reserved;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7687:7: error: 'DWORD' does not name a type
       DWORD Length;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7688:7: error: 'DWORD' does not name a type
       DWORD Reserved;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7689:7: error: 'DWORD' does not name a type
       DWORD RecordNumber;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7690:7: error: 'DWORD' does not name a type
       DWORD TimeGenerated;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7691:7: error: 'DWORD' does not name a type
       DWORD TimeWritten;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7692:7: error: 'DWORD' does not name a type
       DWORD EventID;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7697:7: error: 'DWORD' does not name a type
       DWORD ClosingRecordNumber;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7698:7: error: 'DWORD' does not name a type
       DWORD StringOffset;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7699:7: error: 'DWORD' does not name a type
       DWORD UserSidLength;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7700:7: error: 'DWORD' does not name a type
       DWORD UserSidOffset;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7701:7: error: 'DWORD' does not name a type
       DWORD DataLength;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7702:7: error: 'DWORD' does not name a type
       DWORD DataOffset;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7708:7: error: 'DWORD' does not name a type
       DWORD ulSize;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7710:7: error: 'DWORD' does not name a type
       DWORD ulNumRecords;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7715:7: error: 'DWORD' does not name a type
       DWORD ulSize;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7716:7: error: 'DWORD' does not name a type
       DWORD ulNumEventsForLogFile;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7717:7: error: 'DWORD' does not name a type
       DWORD ulOffsets[];
       ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7845:7: error: 'DWORD' does not name a type
       DWORD Type;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7857:7: error: 'DWORD' does not name a type
       DWORD Operation;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7867:7: error: 'DWORD' does not name a type
       DWORD Type;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7868:7: error: 'DWORD' does not name a type
       DWORD Count;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7877:7: error: 'DWORD' does not name a type
       DWORD Type;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7878:7: error: 'DWORD' does not name a type
       DWORD Partition;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7894:7: error: 'DWORD' does not name a type
       DWORD Method;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7895:7: error: 'DWORD' does not name a type
       DWORD Partition;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7972:7: error: 'DWORD' does not name a type
       DWORD DefaultBlockSize;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7973:7: error: 'DWORD' does not name a type
       DWORD MaximumBlockSize;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7974:7: error: 'DWORD' does not name a type
       DWORD MinimumBlockSize;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7975:7: error: 'DWORD' does not name a type
       DWORD MaximumPartitionCount;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7976:7: error: 'DWORD' does not name a type
       DWORD FeaturesLow;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7977:7: error: 'DWORD' does not name a type
       DWORD FeaturesHigh;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7978:7: error: 'DWORD' does not name a type
       DWORD EOTWarningZoneSize;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7986:7: error: 'DWORD' does not name a type
       DWORD EOTWarningZoneSize;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7992:7: error: 'DWORD' does not name a type
       DWORD BlockSize;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7993:7: error: 'DWORD' does not name a type
       DWORD PartitionCount;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:7998:7: error: 'DWORD' does not name a type
       DWORD BlockSize;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8006:7: error: 'DWORD' does not name a type
       DWORD Method;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8007:7: error: 'DWORD' does not name a type
       DWORD Count;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8008:7: error: 'DWORD' does not name a type
       DWORD Size;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8018:7: error: 'DWORD' does not name a type
       DWORD Method;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8019:7: error: 'DWORD' does not name a type
       DWORD DataBufferSize;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8028:11: error: 'DWORD' does not name a type
   typedef DWORD TP_VERSION,*PTP_VERSION;
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8072:5: error: 'TP_VERSION' does not name a type
     TP_VERSION Version;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8080:7: error: 'DWORD' does not name a type
       DWORD Flags;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8082:2: error: 'DWORD' does not name a type
  DWORD LongFunction : 1;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8083:2: error: 'DWORD' does not name a type
  DWORD Persistent : 1;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8084:2: error: 'DWORD' does not name a type
  DWORD Private : 30;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8095:11: error: 'DWORD' does not name a type
   typedef DWORD TP_WAIT_RESULT;
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8097:106: error: 'TP_WAIT_RESULT' has not been declared
   typedef VOID (NTAPI *PTP_WAIT_CALLBACK) (PTP_CALLBACK_INSTANCE Instance, PVOID Context, PTP_WAIT Wait, TP_WAIT_RESULT WaitResult);
                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h: In function 'void TpInitializeCallbackEnviron(PTP_CALLBACK_ENVIRON)':
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8108:14: error: 'union _TP_CALLBACK_ENVIRON_V1::<anonymous>' has no member named 'Flags'
       cbe->u.Flags = 0;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8110:12: error: 'TP_CALLBACK_ENVIRON_V1' has no member named 'Version'
       cbe->Version = 1;
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h: In function 'void TpSetCallbackLongFunction(PTP_CALLBACK_ENVIRON)':
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8124:86: error: 'struct _TP_CALLBACK_ENVIRON_V1::<anonymous union>::<anonymous>' has no member named 'LongFunction'
     FORCEINLINE VOID TpSetCallbackLongFunction (PTP_CALLBACK_ENVIRON cbe) { cbe->u.s.LongFunction = 1; }
                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h: In function 'void TpSetCallbackPersistent(PTP_CALLBACK_ENVIRON)':
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8130:84: error: 'struct _TP_CALLBACK_ENVIRON_V1::<anonymous union>::<anonymous>' has no member named 'Persistent'
     FORCEINLINE VOID TpSetCallbackPersistent (PTP_CALLBACK_ENVIRON cbe) { cbe->u.s.Persistent = 1; }
                                                                                    ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h: In function '_TEB* NtCurrentTeb()':
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8138:87: error: 'LONG' was not declared in this scope
     FORCEINLINE struct _TEB *NtCurrentTeb(VOID) { return (struct _TEB *)__readgsqword(FIELD_OFFSET(NT_TIB,Self)); }
                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8138:87: error: expected primary-expression before ')' token
     FORCEINLINE struct _TEB *NtCurrentTeb(VOID) { return (struct _TEB *)__readgsqword(FIELD_OFFSET(NT_TIB,Self)); }
                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h: In function 'void* GetCurrentFiber()':
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8139:74: error: 'LONG' was not declared in this scope
     FORCEINLINE PVOID GetCurrentFiber(VOID) { return(PVOID)__readgsqword(FIELD_OFFSET(NT_TIB,FiberData)); }
                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8139:74: error: expected primary-expression before ')' token
     FORCEINLINE PVOID GetCurrentFiber(VOID) { return(PVOID)__readgsqword(FIELD_OFFSET(NT_TIB,FiberData)); }
                                                                          ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8159:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ktmtypes.h: At global scope:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ktmtypes.h:38:11: error: 'ULONG' does not name a type
   typedef ULONG NOTIFICATION_MASK;
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ktmtypes.h:80:5: error: 'ULONG' does not name a type
     ULONG TransactionNotification;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ktmtypes.h:82:5: error: 'ULONG' does not name a type
     ULONG ArgumentLength;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ktmtypes.h:94:5: error: 'ULONG' does not name a type
     ULONG Flags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ktmtypes.h:97:11: error: 'ULONG' does not name a type
   typedef ULONG SAVEPOINT_ID,*PSAVEPOINT_ID;
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ktmtypes.h:100:5: error: 'SAVEPOINT_ID' does not name a type
     SAVEPOINT_ID SavepointId;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ktmtypes.h:104:5: error: 'ULONG' does not name a type
     ULONG PropagationCookie;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ktmtypes.h:107:5: error: 'ULONG' does not name a type
     ULONG BufferLength;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ktmtypes.h:111:5: error: 'ULONG' does not name a type
     ULONG MarshalCookie;
     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8159:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ktmtypes.h:124:5: error: 'ULONG' does not name a type
     ULONG VersionMajor;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ktmtypes.h:125:5: error: 'ULONG' does not name a type
     ULONG VersionMinor;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ktmtypes.h:126:5: error: 'ULONG' does not name a type
     ULONG NumProtocols;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ktmtypes.h:127:5: error: 'ULONG' does not name a type
     ULONG Unused;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ktmtypes.h:133:5: error: 'ULONG' does not name a type
     ULONG IsolationLevel;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ktmtypes.h:134:5: error: 'ULONG' does not name a type
     ULONG IsolationFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ktmtypes.h:135:5: error: 'ULONG' does not name a type
     ULONG Timeout;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ktmtypes.h:141:5: error: 'ULONG' does not name a type
     ULONG StaticInfoLength;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ktmtypes.h:142:5: error: 'ULONG' does not name a type
     ULONG TransactionIdInfoLength;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ktmtypes.h:143:5: error: 'ULONG' does not name a type
     ULONG Unused1;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ktmtypes.h:144:5: error: 'ULONG' does not name a type
     ULONG Unused2;
     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8225:2: error: 'DWORD' does not name a type
  DWORD State;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8226:2: error: 'DWORD' does not name a type
  DWORD Outcome;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8239:2: error: 'DWORD' does not name a type
  DWORD LogPathLength;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8252:2: error: 'DWORD' does not name a type
  DWORD IsolationLevel;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8253:2: error: 'DWORD' does not name a type
  DWORD IsolationFlags;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8255:2: error: 'DWORD' does not name a type
  DWORD Outcome;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8256:2: error: 'DWORD' does not name a type
  DWORD DescriptionLength;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8270:2: error: 'DWORD' does not name a type
  DWORD NumberOfEnlistments;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8280:2: error: 'DWORD' does not name a type
  DWORD DescriptionLength;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8335:2: error: 'DWORD' does not name a type
  DWORD NumberOfTransactions;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8349:2: error: 'DWORD' does not name a type
  DWORD ObjectIdCount;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8389:3: error: 'DWORD' does not name a type
   DWORD   ControlWord;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8390:3: error: 'DWORD' does not name a type
   DWORD   StatusWord;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8391:3: error: 'DWORD' does not name a type
   DWORD   TagWord;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8392:3: error: 'DWORD' does not name a type
   DWORD   ErrorOffset;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8393:3: error: 'DWORD' does not name a type
   DWORD   ErrorSelector;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8394:3: error: 'DWORD' does not name a type
   DWORD   DataOffset;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8395:3: error: 'DWORD' does not name a type
   DWORD   DataSelector;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8397:3: error: 'DWORD' does not name a type
   DWORD   Cr0NpxState;
   ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8402:3: error: 'DWORD' does not name a type
   DWORD ContextFlags;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8403:3: error: 'DWORD' does not name a type
   DWORD Dr0;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8404:3: error: 'DWORD' does not name a type
   DWORD Dr1;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8405:3: error: 'DWORD' does not name a type
   DWORD Dr2;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8406:3: error: 'DWORD' does not name a type
   DWORD Dr3;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8407:3: error: 'DWORD' does not name a type
   DWORD Dr6;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8408:3: error: 'DWORD' does not name a type
   DWORD Dr7;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8410:3: error: 'DWORD' does not name a type
   DWORD SegGs;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8411:3: error: 'DWORD' does not name a type
   DWORD SegFs;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8412:3: error: 'DWORD' does not name a type
   DWORD SegEs;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8413:3: error: 'DWORD' does not name a type
   DWORD SegDs;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8414:3: error: 'DWORD' does not name a type
   DWORD Edi;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8415:3: error: 'DWORD' does not name a type
   DWORD Esi;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8416:3: error: 'DWORD' does not name a type
   DWORD Ebx;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8417:3: error: 'DWORD' does not name a type
   DWORD Edx;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8418:3: error: 'DWORD' does not name a type
   DWORD Ecx;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8419:3: error: 'DWORD' does not name a type
   DWORD Eax;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8420:3: error: 'DWORD' does not name a type
   DWORD Ebp;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8421:3: error: 'DWORD' does not name a type
   DWORD Eip;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8422:3: error: 'DWORD' does not name a type
   DWORD SegCs;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8423:3: error: 'DWORD' does not name a type
   DWORD EFlags;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8424:3: error: 'DWORD' does not name a type
   DWORD Esp;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8425:3: error: 'DWORD' does not name a type
   DWORD SegSs;
   ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8441:7: error: 'DWORD' does not name a type
       DWORD BaseMid  :8;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8442:7: error: 'DWORD' does not name a type
       DWORD Type  :5;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8443:7: error: 'DWORD' does not name a type
       DWORD Dpl  :2;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8444:7: error: 'DWORD' does not name a type
       DWORD Pres  :1;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8445:7: error: 'DWORD' does not name a type
       DWORD LimitHi  :4;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8446:7: error: 'DWORD' does not name a type
       DWORD Sys  :1;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8447:7: error: 'DWORD' does not name a type
       DWORD Reserved_0  :1;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8448:7: error: 'DWORD' does not name a type
       DWORD Default_Big  :1;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8449:7: error: 'DWORD' does not name a type
       DWORD Granularity  :1;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8450:7: error: 'DWORD' does not name a type
       DWORD BaseHi  :8;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnt.h:8456:7: error: 'DWORD' does not name a type
       DWORD Selector;
       ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:206:5: error: 'DWORD' does not name a type
     DWORD dwLowDateTime;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:207:5: error: 'DWORD' does not name a type
     DWORD dwHighDateTime;
     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:59:9: error: 'DWORD' does not name a type
 typedef DWORD COLORREF;
         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:65:9: error: 'DWORD' does not name a type
 typedef DWORD *LPCOLORREF;
         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:72:3: error: 'LONG' does not name a type
   LONG left;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:73:3: error: 'LONG' does not name a type
   LONG top;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:74:3: error: 'LONG' does not name a type
   LONG right;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:75:3: error: 'LONG' does not name a type
   LONG bottom;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:81:3: error: 'LONG' does not name a type
   LONG left;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:82:3: error: 'LONG' does not name a type
   LONG top;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:83:3: error: 'LONG' does not name a type
   LONG right;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:84:3: error: 'LONG' does not name a type
   LONG bottom;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:90:3: error: 'LONG' does not name a type
   LONG x;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:91:3: error: 'LONG' does not name a type
   LONG y;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:95:3: error: 'LONG' does not name a type
   LONG x;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:96:3: error: 'LONG' does not name a type
   LONG y;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:100:3: error: 'LONG' does not name a type
   LONG cx;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:101:3: error: 'LONG' does not name a type
   LONG cy;
   ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:13:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:70,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwinbase.h:14:5: error: 'DWORD' does not name a type
     DWORD nLength;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwinbase.h:24:2: error: 'DWORD' does not name a type
  DWORD Offset;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwinbase.h:25:2: error: 'DWORD' does not name a type
  DWORD OffsetHigh;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwinbase.h:36:5: error: 'DWORD' does not name a type
     DWORD dwNumberOfBytesTransferred;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwinbase.h:62:5: error: 'DWORD' does not name a type
     DWORD dwFileAttributes;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwinbase.h:66:5: error: 'DWORD' does not name a type
     DWORD nFileSizeHigh;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwinbase.h:67:5: error: 'DWORD' does not name a type
     DWORD nFileSizeLow;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwinbase.h:68:5: error: 'DWORD' does not name a type
     DWORD dwReserved0;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwinbase.h:69:5: error: 'DWORD' does not name a type
     DWORD dwReserved1;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwinbase.h:75:5: error: 'DWORD' does not name a type
     DWORD dwFileAttributes;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwinbase.h:79:5: error: 'DWORD' does not name a type
     DWORD nFileSizeHigh;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwinbase.h:80:5: error: 'DWORD' does not name a type
     DWORD nFileSizeLow;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwinbase.h:81:5: error: 'DWORD' does not name a type
     DWORD dwReserved0;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwinbase.h:82:5: error: 'DWORD' does not name a type
     DWORD dwReserved1;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwinbase.h:148:59: error: typedef 'LPOVERLAPPED_COMPLETION_ROUTINE' is initialized (use decltype instead)
   typedef VOID (WINAPI *LPOVERLAPPED_COMPLETION_ROUTINE) (DWORD dwErrorCode, DWORD dwNumberOfBytesTransfered, LPOVERLAPPED lpOverlapped);
                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwinbase.h:148:59: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwinbase.h:148:78: error: 'DWORD' was not declared in this scope
   typedef VOID (WINAPI *LPOVERLAPPED_COMPLETION_ROUTINE) (DWORD dwErrorCode, DWORD dwNumberOfBytesTransfered, LPOVERLAPPED lpOverlapped);
                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwinbase.h:148:124: error: expected primary-expression before 'lpOverlapped'
   typedef VOID (WINAPI *LPOVERLAPPED_COMPLETION_ROUTINE) (DWORD dwErrorCode, DWORD dwNumberOfBytesTransfered, LPOVERLAPPED lpOverlapped);
                                                                                                                            ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:13:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:70,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwinbase.h:155:5: error: 'DWORD' does not name a type
     DWORD cbData;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwinbase.h:162:2: error: 'DWORD' does not name a type
  DWORD dwReserved[3];
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwinbase.h:165:2: error: 'DWORD' does not name a type
  DWORD dwCommittedSize;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwinbase.h:166:2: error: 'DWORD' does not name a type
  DWORD dwUnCommittedSize;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwinbase.h:180:5: error: 'ULONG' does not name a type
     ULONG Version;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwinbase.h:181:5: error: 'DWORD' does not name a type
     DWORD Flags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwinbase.h:185:2: error: 'ULONG' does not name a type
  ULONG LocalizedReasonId;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwinbase.h:186:2: error: 'ULONG' does not name a type
  ULONG ReasonStringCount;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwinbase.h:203:17: error: typedef 'DWORD' is initialized (use decltype instead)
   typedef DWORD (WINAPI *PTHREAD_START_ROUTINE) (LPVOID lpThreadParameter);
                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwinbase.h:203:26: error: 'PTHREAD_START_ROUTINE' was not declared in this scope
   typedef DWORD (WINAPI *PTHREAD_START_ROUTINE) (LPVOID lpThreadParameter);
                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwinbase.h:204:11: error: 'PTHREAD_START_ROUTINE' does not name a type
   typedef PTHREAD_START_ROUTINE LPTHREAD_START_ROUTINE;
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwinbase.h:208:5: error: 'DWORD' does not name a type
     DWORD dwFirstChance;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwinbase.h:214:5: error: 'LPTHREAD_START_ROUTINE' does not name a type
     LPTHREAD_START_ROUTINE lpStartAddress;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwinbase.h:222:5: error: 'DWORD' does not name a type
     DWORD dwDebugInfoFileOffset;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwinbase.h:223:5: error: 'DWORD' does not name a type
     DWORD nDebugInfoSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwinbase.h:225:5: error: 'LPTHREAD_START_ROUTINE' does not name a type
     LPTHREAD_START_ROUTINE lpStartAddress;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwinbase.h:231:5: error: 'DWORD' does not name a type
     DWORD dwExitCode;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwinbase.h:235:5: error: 'DWORD' does not name a type
     DWORD dwExitCode;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwinbase.h:241:5: error: 'DWORD' does not name a type
     DWORD dwDebugInfoFileOffset;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwinbase.h:242:5: error: 'DWORD' does not name a type
     DWORD nDebugInfoSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwinbase.h:258:5: error: 'DWORD' does not name a type
     DWORD dwError;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwinbase.h:259:5: error: 'DWORD' does not name a type
     DWORD dwType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwinbase.h:263:5: error: 'DWORD' does not name a type
     DWORD dwDebugEventCode;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwinbase.h:264:5: error: 'DWORD' does not name a type
     DWORD dwProcessId;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwinbase.h:265:5: error: 'DWORD' does not name a type
     DWORD dwThreadId;
     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:14:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:70,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bemapiset.h:23:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI BemCreateReference (REFGUID iid, void *interfaceInstance, BEM_FREE_INTERFACE_CALLBACK freeCallback, BEM_REFERENCE **reference);
   ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:14:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:70,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bemapiset.h:24:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI BemCreateContractFrom (LPCWSTR dllPath, REFGUID extensionId, const CONTRACT_DESCRIPTION *contractDescription, void *hostContract, void **contract);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bemapiset.h:25:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI BemCopyReference (BEM_REFERENCE *reference, BEM_REFERENCE **copiedReference);
   ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:15:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:70,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/debugapi.h:27:51: error: definition of 'WINBOOL ContinueDebugEvent' is marked 'dllimport'
   WINBASEAPI WINBOOL APIENTRY ContinueDebugEvent (DWORD dwProcessId, DWORD dwThreadId, DWORD dwContinueStatus);
                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/debugapi.h:27:51: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/debugapi.h:27:70: error: 'DWORD' was not declared in this scope
   WINBASEAPI WINBOOL APIENTRY ContinueDebugEvent (DWORD dwProcessId, DWORD dwThreadId, DWORD dwContinueStatus);
                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/debugapi.h:27:88: error: 'DWORD' was not declared in this scope
   WINBASEAPI WINBOOL APIENTRY ContinueDebugEvent (DWORD dwProcessId, DWORD dwThreadId, DWORD dwContinueStatus);
                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/debugapi.h:27:110: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI WINBOOL APIENTRY ContinueDebugEvent (DWORD dwProcessId, DWORD dwThreadId, DWORD dwContinueStatus);
                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/debugapi.h:28:78: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL APIENTRY WaitForDebugEvent (LPDEBUG_EVENT lpDebugEvent, DWORD dwMilliseconds);
                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/debugapi.h:29:51: error: definition of 'WINBOOL DebugActiveProcess' is marked 'dllimport'
   WINBASEAPI WINBOOL APIENTRY DebugActiveProcess (DWORD dwProcessId);
                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/debugapi.h:29:51: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/debugapi.h:30:55: error: definition of 'WINBOOL DebugActiveProcessStop' is marked 'dllimport'
   WINBASEAPI WINBOOL APIENTRY DebugActiveProcessStop (DWORD dwProcessId);
                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/debugapi.h:30:55: error: 'DWORD' was not declared in this scope
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:16:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:70,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/errhandlingapi.h:17:16: error: typedef 'LONG' is initialized (use decltype instead)
   typedef LONG (WINAPI *PTOP_LEVEL_EXCEPTION_FILTER) (struct _EXCEPTION_POINTERS *ExceptionInfo);
                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/errhandlingapi.h:17:25: error: 'PTOP_LEVEL_EXCEPTION_FILTER' was not declared in this scope
   typedef LONG (WINAPI *PTOP_LEVEL_EXCEPTION_FILTER) (struct _EXCEPTION_POINTERS *ExceptionInfo);
                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/errhandlingapi.h:18:11: error: 'PTOP_LEVEL_EXCEPTION_FILTER' does not name a type
   typedef PTOP_LEVEL_EXCEPTION_FILTER LPTOP_LEVEL_EXCEPTION_FILTER;
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/errhandlingapi.h:20:14: error: 'LONG' does not name a type
   WINBASEAPI LONG WINAPI UnhandledExceptionFilter (struct _EXCEPTION_POINTERS *ExceptionInfo);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/errhandlingapi.h:21:14: error: 'LPTOP_LEVEL_EXCEPTION_FILTER' does not name a type
   WINBASEAPI LPTOP_LEVEL_EXCEPTION_FILTER WINAPI SetUnhandledExceptionFilter (LPTOP_LEVEL_EXCEPTION_FILTER lpTopLevelExceptionFilter);
              ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:16:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:70,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/errhandlingapi.h:23:56: error: definition of 'void* AddVectoredExceptionHandler' is marked 'dllimport'
   WINBASEAPI PVOID WINAPI AddVectoredExceptionHandler (ULONG First, PVECTORED_EXCEPTION_HANDLER Handler);
                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/errhandlingapi.h:23:56: error: 'ULONG' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/errhandlingapi.h:23:69: error: 'PVECTORED_EXCEPTION_HANDLER' was not declared in this scope
   WINBASEAPI PVOID WINAPI AddVectoredExceptionHandler (ULONG First, PVECTORED_EXCEPTION_HANDLER Handler);
                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/errhandlingapi.h:23:104: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI PVOID WINAPI AddVectoredExceptionHandler (ULONG First, PVECTORED_EXCEPTION_HANDLER Handler);
                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/errhandlingapi.h:24:14: error: 'ULONG' does not name a type
   WINBASEAPI ULONG WINAPI RemoveVectoredExceptionHandler (PVOID Handle);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/errhandlingapi.h:25:55: error: definition of 'void* AddVectoredContinueHandler' is marked 'dllimport'
   WINBASEAPI PVOID WINAPI AddVectoredContinueHandler (ULONG First, PVECTORED_EXCEPTION_HANDLER Handler);
                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/errhandlingapi.h:25:55: error: 'ULONG' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/errhandlingapi.h:25:68: error: 'PVECTORED_EXCEPTION_HANDLER' was not declared in this scope
   WINBASEAPI PVOID WINAPI AddVectoredContinueHandler (ULONG First, PVECTORED_EXCEPTION_HANDLER Handler);
                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/errhandlingapi.h:25:103: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI PVOID WINAPI AddVectoredContinueHandler (ULONG First, PVECTORED_EXCEPTION_HANDLER Handler);
                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/errhandlingapi.h:26:14: error: 'ULONG' does not name a type
   WINBASEAPI ULONG WINAPI RemoveVectoredContinueHandler (PVOID Handle);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/errhandlingapi.h:44:42: error: variable or field 'RaiseException' declared void
   WINBASEAPI VOID WINAPI RaiseException (DWORD dwExceptionCode, DWORD dwExceptionFlags, DWORD nNumberOfArguments, CONST ULONG_PTR *lpArguments);
                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/errhandlingapi.h:44:42: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/errhandlingapi.h:44:65: error: 'DWORD' was not declared in this scope
   WINBASEAPI VOID WINAPI RaiseException (DWORD dwExceptionCode, DWORD dwExceptionFlags, DWORD nNumberOfArguments, CONST ULONG_PTR *lpArguments);
                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/errhandlingapi.h:44:89: error: 'DWORD' was not declared in this scope
   WINBASEAPI VOID WINAPI RaiseException (DWORD dwExceptionCode, DWORD dwExceptionFlags, DWORD nNumberOfArguments, CONST ULONG_PTR *lpArguments);
                                                                                         ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/errhandlingapi.h:44:115: error: expected primary-expression before 'const'
   WINBASEAPI VOID WINAPI RaiseException (DWORD dwExceptionCode, DWORD dwExceptionFlags, DWORD nNumberOfArguments, CONST ULONG_PTR *lpArguments);
                                                                                                                   ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:16:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:70,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/errhandlingapi.h:45:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetLastError (VOID);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/errhandlingapi.h:46:40: error: variable or field 'SetLastError' declared void
   WINBASEAPI VOID WINAPI SetLastError (DWORD dwErrCode);
                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/errhandlingapi.h:46:40: error: 'DWORD' was not declared in this scope
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:18:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:70,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:31:5: error: 'DWORD' does not name a type
     DWORD dwFileAttributes;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:35:5: error: 'DWORD' does not name a type
     DWORD dwVolumeSerialNumber;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:36:5: error: 'DWORD' does not name a type
     DWORD nFileSizeHigh;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:37:5: error: 'DWORD' does not name a type
     DWORD nFileSizeLow;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:38:5: error: 'DWORD' does not name a type
     DWORD nNumberOfLinks;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:39:5: error: 'DWORD' does not name a type
     DWORD nFileIndexHigh;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:40:5: error: 'DWORD' does not name a type
     DWORD nFileIndexLow;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:44:14: error: 'LONG' does not name a type
   WINBASEAPI LONG WINAPI CompareFileTime (CONST FILETIME *lpFileTime1, CONST FILETIME *lpFileTime2);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:45:60: error: 'DWORD' has not been declared
   WINBASEAPI HANDLE WINAPI CreateFileA (LPCSTR lpFileName, DWORD dwDesiredAccess, DWORD dwShareMode, LPSECURITY_ATTRIBUTES lpSecurityAttributes, DWORD dwCreationDisposition, DWORD dwFlagsAndAttributes, HANDLE hTemplateFile);
                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:45:83: error: 'DWORD' has not been declared
   WINBASEAPI HANDLE WINAPI CreateFileA (LPCSTR lpFileName, DWORD dwDesiredAccess, DWORD dwShareMode, LPSECURITY_ATTRIBUTES lpSecurityAttributes, DWORD dwCreationDisposition, DWORD dwFlagsAndAttributes, HANDLE hTemplateFile);
                                                                                   ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:18:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:70,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:45:146: error: 'DWORD' has not been declared
   WINBASEAPI HANDLE WINAPI CreateFileA (LPCSTR lpFileName, DWORD dwDesiredAccess, DWORD dwShareMode, LPSECURITY_ATTRIBUTES lpSecurityAttributes, DWORD dwCreationDisposition, DWORD dwFlagsAndAttributes, HANDLE hTemplateFile);
                                                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:45:175: error: 'DWORD' has not been declared
   WINBASEAPI HANDLE WINAPI CreateFileA (LPCSTR lpFileName, DWORD dwDesiredAccess, DWORD dwShareMode, LPSECURITY_ATTRIBUTES lpSecurityAttributes, DWORD dwCreationDisposition, DWORD dwFlagsAndAttributes, HANDLE hTemplateFile);
                                                                                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:46:61: error: 'DWORD' has not been declared
   WINBASEAPI HANDLE WINAPI CreateFileW (LPCWSTR lpFileName, DWORD dwDesiredAccess, DWORD dwShareMode, LPSECURITY_ATTRIBUTES lpSecurityAttributes, DWORD dwCreationDisposition, DWORD dwFlagsAndAttributes, HANDLE hTemplateFile);
                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:46:84: error: 'DWORD' has not been declared
   WINBASEAPI HANDLE WINAPI CreateFileW (LPCWSTR lpFileName, DWORD dwDesiredAccess, DWORD dwShareMode, LPSECURITY_ATTRIBUTES lpSecurityAttributes, DWORD dwCreationDisposition, DWORD dwFlagsAndAttributes, HANDLE hTemplateFile);
                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:46:147: error: 'DWORD' has not been declared
   WINBASEAPI HANDLE WINAPI CreateFileW (LPCWSTR lpFileName, DWORD dwDesiredAccess, DWORD dwShareMode, LPSECURITY_ATTRIBUTES lpSecurityAttributes, DWORD dwCreationDisposition, DWORD dwFlagsAndAttributes, HANDLE hTemplateFile);
                                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:46:176: error: 'DWORD' has not been declared
   WINBASEAPI HANDLE WINAPI CreateFileW (LPCWSTR lpFileName, DWORD dwDesiredAccess, DWORD dwShareMode, LPSECURITY_ATTRIBUTES lpSecurityAttributes, DWORD dwCreationDisposition, DWORD dwFlagsAndAttributes, HANDLE hTemplateFile);
                                                                                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:47:47: error: definition of 'WINBOOL DefineDosDeviceW' is marked 'dllimport'
   WINBASEAPI WINBOOL WINAPI DefineDosDeviceW (DWORD dwFlags, LPCWSTR lpDeviceName, LPCWSTR lpTargetPath);
                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:47:47: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:47:70: error: expected primary-expression before 'lpDeviceName'
   WINBASEAPI WINBOOL WINAPI DefineDosDeviceW (DWORD dwFlags, LPCWSTR lpDeviceName, LPCWSTR lpTargetPath);
                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:47:92: error: expected primary-expression before 'lpTargetPath'
   WINBASEAPI WINBOOL WINAPI DefineDosDeviceW (DWORD dwFlags, LPCWSTR lpDeviceName, LPCWSTR lpTargetPath);
                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:47:104: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI WINBOOL WINAPI DefineDosDeviceW (DWORD dwFlags, LPCWSTR lpDeviceName, LPCWSTR lpTargetPath);
                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:51:100: error: 'DWORD' has not been declared
   WINBASEAPI HANDLE WINAPI FindFirstChangeNotificationA (LPCSTR lpPathName, WINBOOL bWatchSubtree, DWORD dwNotifyFilter);
                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:52:101: error: 'DWORD' has not been declared
   WINBASEAPI HANDLE WINAPI FindFirstChangeNotificationW (LPCWSTR lpPathName, WINBOOL bWatchSubtree, DWORD dwNotifyFilter);
                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:55:69: error: 'DWORD' has not been declared
   WINBASEAPI HANDLE WINAPI FindFirstVolumeW (LPWSTR lpszVolumeName, DWORD cchBufferLength);
                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:57:89: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI FindNextVolumeW (HANDLE hFindVolume, LPWSTR lpszVolumeName, DWORD cchBufferLength);
                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:59:71: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetDiskFreeSpaceA (LPCSTR lpRootPathName, LPDWORD lpSectorsPerCluster, LPDWORD lpBytesPerSector, LPDWORD lpNumberOfFreeClusters, LPDWORD lpTotalNumberOfClusters);
                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:59:100: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetDiskFreeSpaceA (LPCSTR lpRootPathName, LPDWORD lpSectorsPerCluster, LPDWORD lpBytesPerSector, LPDWORD lpNumberOfFreeClusters, LPDWORD lpTotalNumberOfClusters);
                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:59:126: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetDiskFreeSpaceA (LPCSTR lpRootPathName, LPDWORD lpSectorsPerCluster, LPDWORD lpBytesPerSector, LPDWORD lpNumberOfFreeClusters, LPDWORD lpTotalNumberOfClusters);
                                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:59:158: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetDiskFreeSpaceA (LPCSTR lpRootPathName, LPDWORD lpSectorsPerCluster, LPDWORD lpBytesPerSector, LPDWORD lpNumberOfFreeClusters, LPDWORD lpTotalNumberOfClusters);
                                                                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:60:72: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetDiskFreeSpaceW (LPCWSTR lpRootPathName, LPDWORD lpSectorsPerCluster, LPDWORD lpBytesPerSector, LPDWORD lpNumberOfFreeClusters, LPDWORD lpTotalNumberOfClusters);
                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:60:101: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetDiskFreeSpaceW (LPCWSTR lpRootPathName, LPDWORD lpSectorsPerCluster, LPDWORD lpBytesPerSector, LPDWORD lpNumberOfFreeClusters, LPDWORD lpTotalNumberOfClusters);
                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:60:127: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetDiskFreeSpaceW (LPCWSTR lpRootPathName, LPDWORD lpSectorsPerCluster, LPDWORD lpBytesPerSector, LPDWORD lpNumberOfFreeClusters, LPDWORD lpTotalNumberOfClusters);
                                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:60:159: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetDiskFreeSpaceW (LPCWSTR lpRootPathName, LPDWORD lpSectorsPerCluster, LPDWORD lpBytesPerSector, LPDWORD lpNumberOfFreeClusters, LPDWORD lpTotalNumberOfClusters);
                                                                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:63:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetFileAttributesA (LPCSTR lpFileName);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:64:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetFileAttributesW (LPCWSTR lpFileName);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:66:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetFileSize (HANDLE hFile, LPDWORD lpFileSizeHigh);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:69:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetFileType (HANDLE hFile);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:70:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetFullPathNameA (LPCSTR lpFileName, DWORD nBufferLength, LPSTR lpBuffer, LPSTR *lpFilePart);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:71:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetFullPathNameW (LPCWSTR lpFileName, DWORD nBufferLength, LPWSTR lpBuffer, LPWSTR *lpFilePart);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:72:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetLogicalDrives (VOID);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:73:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetLogicalDriveStringsW (DWORD nBufferLength, LPWSTR lpBuffer);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:74:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetLongPathNameA (LPCSTR lpszShortPath, LPSTR lpszLongPath, DWORD cchBuffer);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:75:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetLongPathNameW (LPCWSTR lpszShortPath, LPWSTR lpszLongPath, DWORD cchBuffer);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:76:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetShortPathNameW (LPCWSTR lpszLongPath, LPWSTR lpszShortPath, DWORD cchBuffer);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:78:103: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetVolumeInformationW (LPCWSTR lpRootPathName, LPWSTR lpVolumeNameBuffer, DWORD nVolumeNameSize, LPDWORD lpVolumeSerialNumber, LPDWORD lpMaximumComponentLength, LPDWORD lpFileSystemFlags, LPWSTR lpFileSystemNameBuffer, DWORD nFileSystemNameSize);
                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:78:126: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetVolumeInformationW (LPCWSTR lpRootPathName, LPWSTR lpVolumeNameBuffer, DWORD nVolumeNameSize, LPDWORD lpVolumeSerialNumber, LPDWORD lpMaximumComponentLength, LPDWORD lpFileSystemFlags, LPWSTR lpFileSystemNameBuffer, DWORD nFileSystemNameSize);
                                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:78:156: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetVolumeInformationW (LPCWSTR lpRootPathName, LPWSTR lpVolumeNameBuffer, DWORD nVolumeNameSize, LPDWORD lpVolumeSerialNumber, LPDWORD lpMaximumComponentLength, LPDWORD lpFileSystemFlags, LPWSTR lpFileSystemNameBuffer, DWORD nFileSystemNameSize);
                                                                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:78:190: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetVolumeInformationW (LPCWSTR lpRootPathName, LPWSTR lpVolumeNameBuffer, DWORD nVolumeNameSize, LPDWORD lpVolumeSerialNumber, LPDWORD lpMaximumComponentLength, LPDWORD lpFileSystemFlags, LPWSTR lpFileSystemNameBuffer, DWORD nFileSystemNameSize);
                                                                                                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:78:248: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetVolumeInformationW (LPCWSTR lpRootPathName, LPWSTR lpVolumeNameBuffer, DWORD nVolumeNameSize, LPDWORD lpVolumeSerialNumber, LPDWORD lpMaximumComponentLength, LPDWORD lpFileSystemFlags, LPWSTR lpFileSystemNameBuffer, DWORD nFileSystemNameSize);
                                                                                                                                                                                                                                                        ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:18:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:70,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:79:98: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetVolumePathNameW (LPCWSTR lpszFileName, LPWSTR lpszVolumePathName, DWORD cchBufferLength);
                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:81:53: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI LockFile (HANDLE hFile, DWORD dwFileOffsetLow, DWORD dwFileOffsetHigh, DWORD nNumberOfBytesToLockLow, DWORD nNumberOfBytesToLockHigh);
                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:81:76: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI LockFile (HANDLE hFile, DWORD dwFileOffsetLow, DWORD dwFileOffsetHigh, DWORD nNumberOfBytesToLockLow, DWORD nNumberOfBytesToLockHigh);
                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:81:100: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI LockFile (HANDLE hFile, DWORD dwFileOffsetLow, DWORD dwFileOffsetHigh, DWORD nNumberOfBytesToLockLow, DWORD nNumberOfBytesToLockHigh);
                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:81:131: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI LockFile (HANDLE hFile, DWORD dwFileOffsetLow, DWORD dwFileOffsetHigh, DWORD nNumberOfBytesToLockLow, DWORD nNumberOfBytesToLockHigh);
                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:82:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI QueryDosDeviceW (LPCWSTR lpDeviceName, LPWSTR lpTargetPath, DWORD ucchMax);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:83:72: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI ReadFileEx (HANDLE hFile, LPVOID lpBuffer, DWORD nNumberOfBytesToRead, LPOVERLAPPED lpOverlapped, LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine);
                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:83:127: error: 'LPOVERLAPPED_COMPLETION_ROUTINE' has not been declared
   WINBASEAPI WINBOOL WINAPI ReadFileEx (HANDLE hFile, LPVOID lpBuffer, DWORD nNumberOfBytesToRead, LPOVERLAPPED lpOverlapped, LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine);
                                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:84:98: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI ReadFileScatter (HANDLE hFile, FILE_SEGMENT_ELEMENT aSegmentArray[], DWORD nNumberOfBytesToRead, LPDWORD lpReserved, LPOVERLAPPED lpOverlapped);
                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:84:126: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI ReadFileScatter (HANDLE hFile, FILE_SEGMENT_ELEMENT aSegmentArray[], DWORD nNumberOfBytesToRead, LPDWORD lpReserved, LPOVERLAPPED lpOverlapped);
                                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:85:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI SetFilePointer (HANDLE hFile, LONG lDistanceToMove, PLONG lpDistanceToMoveHigh, DWORD dwMoveMethod);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:88:55: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI UnlockFile (HANDLE hFile, DWORD dwFileOffsetLow, DWORD dwFileOffsetHigh, DWORD nNumberOfBytesToUnlockLow, DWORD nNumberOfBytesToUnlockHigh);
                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:88:78: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI UnlockFile (HANDLE hFile, DWORD dwFileOffsetLow, DWORD dwFileOffsetHigh, DWORD nNumberOfBytesToUnlockLow, DWORD nNumberOfBytesToUnlockHigh);
                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:88:102: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI UnlockFile (HANDLE hFile, DWORD dwFileOffsetLow, DWORD dwFileOffsetHigh, DWORD nNumberOfBytesToUnlockLow, DWORD nNumberOfBytesToUnlockHigh);
                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:88:135: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI UnlockFile (HANDLE hFile, DWORD dwFileOffsetLow, DWORD dwFileOffsetHigh, DWORD nNumberOfBytesToUnlockLow, DWORD nNumberOfBytesToUnlockHigh);
                                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:89:74: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI WriteFileEx (HANDLE hFile, LPCVOID lpBuffer, DWORD nNumberOfBytesToWrite, LPOVERLAPPED lpOverlapped, LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine);
                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:89:130: error: 'LPOVERLAPPED_COMPLETION_ROUTINE' has not been declared
   WINBASEAPI WINBOOL WINAPI WriteFileEx (HANDLE hFile, LPCVOID lpBuffer, DWORD nNumberOfBytesToWrite, LPOVERLAPPED lpOverlapped, LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine);
                                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:90:98: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI WriteFileGather (HANDLE hFile, FILE_SEGMENT_ELEMENT aSegmentArray[], DWORD nNumberOfBytesToWrite, LPDWORD lpReserved, LPOVERLAPPED lpOverlapped);
                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:90:127: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI WriteFileGather (HANDLE hFile, FILE_SEGMENT_ELEMENT aSegmentArray[], DWORD nNumberOfBytesToWrite, LPDWORD lpReserved, LPOVERLAPPED lpOverlapped);
                                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:91:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetTempPathW (DWORD nBufferLength, LPWSTR lpBuffer);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:92:117: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetVolumeNameForVolumeMountPointW (LPCWSTR lpszVolumeMountPoint, LPWSTR lpszVolumeName, DWORD cchBufferLength);
                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:93:114: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetVolumePathNamesForVolumeNameW (LPCWSTR lpszVolumeName, LPWCH lpszVolumePathNames, DWORD cchBufferLength, PDWORD lpcchReturnLength);
                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:93:137: error: 'PDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetVolumePathNamesForVolumeNameW (LPCWSTR lpszVolumeName, LPWCH lpszVolumePathNames, DWORD cchBufferLength, PDWORD lpcchReturnLength);
                                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:131:5: error: 'DWORD' does not name a type
     DWORD dwFileAttributes;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:135:5: error: 'DWORD' does not name a type
     DWORD nFileSizeHigh;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:136:5: error: 'DWORD' does not name a type
     DWORD nFileSizeLow;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:156:173: error: 'DWORD' has not been declared
   WINBASEAPI HANDLE WINAPI FindFirstFileExA (LPCSTR lpFileName, FINDEX_INFO_LEVELS fInfoLevelId, LPVOID lpFindFileData, FINDEX_SEARCH_OPS fSearchOp, LPVOID lpSearchFilter, DWORD dwAdditionalFlags);
                                                                                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:157:174: error: 'DWORD' has not been declared
   WINBASEAPI HANDLE WINAPI FindFirstFileExW (LPCWSTR lpFileName, FINDEX_INFO_LEVELS fInfoLevelId, LPVOID lpFindFileData, FINDEX_SEARCH_OPS fSearchOp, LPVOID lpSearchFilter, DWORD dwAdditionalFlags);
                                                                                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:165:55: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI LockFileEx (HANDLE hFile, DWORD dwFlags, DWORD dwReserved, DWORD nNumberOfBytesToLockLow, DWORD nNumberOfBytesToLockHigh, LPOVERLAPPED lpOverlapped);
                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:165:70: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI LockFileEx (HANDLE hFile, DWORD dwFlags, DWORD dwReserved, DWORD nNumberOfBytesToLockLow, DWORD nNumberOfBytesToLockHigh, LPOVERLAPPED lpOverlapped);
                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:165:88: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI LockFileEx (HANDLE hFile, DWORD dwFlags, DWORD dwReserved, DWORD nNumberOfBytesToLockLow, DWORD nNumberOfBytesToLockHigh, LPOVERLAPPED lpOverlapped);
                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:165:119: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI LockFileEx (HANDLE hFile, DWORD dwFlags, DWORD dwReserved, DWORD nNumberOfBytesToLockLow, DWORD nNumberOfBytesToLockHigh, LPOVERLAPPED lpOverlapped);
                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:166:70: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI ReadFile (HANDLE hFile, LPVOID lpBuffer, DWORD nNumberOfBytesToRead, LPDWORD lpNumberOfBytesRead, LPOVERLAPPED lpOverlapped);
                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:166:98: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI ReadFile (HANDLE hFile, LPVOID lpBuffer, DWORD nNumberOfBytesToRead, LPDWORD lpNumberOfBytesRead, LPOVERLAPPED lpOverlapped);
                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:170:68: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI SetFileAttributesA (LPCSTR lpFileName, DWORD dwFileAttributes);
                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:171:69: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI SetFileAttributesW (LPCWSTR lpFileName, DWORD dwFileAttributes);
                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:172:126: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI SetFilePointerEx (HANDLE hFile, LARGE_INTEGER liDistanceToMove, PLARGE_INTEGER lpNewFilePointer, DWORD dwMoveMethod);
                                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:173:57: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI UnlockFileEx (HANDLE hFile, DWORD dwReserved, DWORD nNumberOfBytesToUnlockLow, DWORD nNumberOfBytesToUnlockHigh, LPOVERLAPPED lpOverlapped);
                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:173:75: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI UnlockFileEx (HANDLE hFile, DWORD dwReserved, DWORD nNumberOfBytesToUnlockLow, DWORD nNumberOfBytesToUnlockHigh, LPOVERLAPPED lpOverlapped);
                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:173:108: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI UnlockFileEx (HANDLE hFile, DWORD dwReserved, DWORD nNumberOfBytesToUnlockLow, DWORD nNumberOfBytesToUnlockHigh, LPOVERLAPPED lpOverlapped);
                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:174:72: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI WriteFile (HANDLE hFile, LPCVOID lpBuffer, DWORD nNumberOfBytesToWrite, LPDWORD lpNumberOfBytesWritten, LPOVERLAPPED lpOverlapped);
                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/fileapi.h:174:101: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI WriteFile (HANDLE hFile, LPCVOID lpBuffer, DWORD nNumberOfBytesToWrite, LPDWORD lpNumberOfBytesWritten, LPOVERLAPPED lpOverlapped);
                                                                                                     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:19:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:70,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/handleapi.h:20:151: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI DuplicateHandle (HANDLE hSourceProcessHandle, HANDLE hSourceHandle, HANDLE hTargetProcessHandle, LPHANDLE lpTargetHandle, DWORD dwDesiredAccess, WINBOOL bInheritHandle, DWORD dwOptions);
                                                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/handleapi.h:20:198: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI DuplicateHandle (HANDLE hSourceProcessHandle, HANDLE hSourceHandle, HANDLE hTargetProcessHandle, LPHANDLE lpTargetHandle, DWORD dwDesiredAccess, WINBOOL bInheritHandle, DWORD dwOptions);
                                                                                                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/handleapi.h:24:67: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetHandleInformation (HANDLE hObject, LPDWORD lpdwFlags);
                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/handleapi.h:25:67: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI SetHandleInformation (HANDLE hObject, DWORD dwMask, DWORD dwFlags);
                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/handleapi.h:25:81: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI SetHandleInformation (HANDLE hObject, DWORD dwMask, DWORD dwFlags);
                                                                                 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:20:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:70,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/heapapi.h:19:5: error: 'DWORD' does not name a type
     DWORD cb;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/heapapi.h:28:40: error: definition of 'void* HeapCreate' is marked 'dllimport'
   WINBASEAPI HANDLE WINAPI HeapCreate (DWORD flOptions, SIZE_T dwInitialSize, SIZE_T dwMaximumSize);
                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/heapapi.h:28:40: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/heapapi.h:28:64: error: expected primary-expression before 'dwInitialSize'
   WINBASEAPI HANDLE WINAPI HeapCreate (DWORD flOptions, SIZE_T dwInitialSize, SIZE_T dwMaximumSize);
                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/heapapi.h:28:86: error: expected primary-expression before 'dwMaximumSize'
   WINBASEAPI HANDLE WINAPI HeapCreate (DWORD flOptions, SIZE_T dwInitialSize, SIZE_T dwMaximumSize);
                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/heapapi.h:28:99: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI HANDLE WINAPI HeapCreate (DWORD flOptions, SIZE_T dwInitialSize, SIZE_T dwMaximumSize);
                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/heapapi.h:30:57: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI HeapValidate (HANDLE hHeap, DWORD dwFlags, LPCVOID lpMem);
                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/heapapi.h:31:55: error: 'DWORD' has not been declared
   WINBASEAPI SIZE_T WINAPI HeapCompact (HANDLE hHeap, DWORD dwFlags);
                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/heapapi.h:32:45: error: 'DWORD' has not been declared
   WINBOOL WINAPI HeapSummary (HANDLE hHeap, DWORD dwFlags, LPHEAP_SUMMARY lpSummary);
                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/heapapi.h:33:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetProcessHeaps (DWORD NumberOfHeaps, PHANDLE ProcessHeaps);
              ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:20:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:70,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/heapapi.h:42:53: error: 'DWORD' has not been declared
   WINBASEAPI LPVOID WINAPI HeapAlloc (HANDLE hHeap, DWORD dwFlags, SIZE_T dwBytes);
                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/heapapi.h:43:55: error: 'DWORD' has not been declared
   WINBASEAPI LPVOID WINAPI HeapReAlloc (HANDLE hHeap, DWORD dwFlags, LPVOID lpMem, SIZE_T dwBytes);
                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/heapapi.h:44:53: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI HeapFree (HANDLE hHeap, DWORD dwFlags, LPVOID lpMem);
                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/heapapi.h:45:52: error: 'DWORD' has not been declared
   WINBASEAPI SIZE_T WINAPI HeapSize (HANDLE hHeap, DWORD dwFlags, LPCVOID lpMem);
                                                    ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:21:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:70,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ioapiset.h:18:91: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetOverlappedResult (HANDLE hFile, LPOVERLAPPED lpOverlapped, LPDWORD lpNumberOfBytesTransferred, WINBOOL bWait);
                                                                                           ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:21:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:70,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ioapiset.h:19:127: error: 'DWORD' has not been declared
   WINBASEAPI HANDLE WINAPI CreateIoCompletionPort (HANDLE FileHandle, HANDLE ExistingCompletionPort, ULONG_PTR CompletionKey, DWORD NumberOfConcurrentThreads);
                                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ioapiset.h:20:79: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetQueuedCompletionStatus (HANDLE CompletionPort, LPDWORD lpNumberOfBytesTransferred, PULONG_PTR lpCompletionKey, LPOVERLAPPED *lpOverlapped, DWORD dwMilliseconds);
                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ioapiset.h:20:171: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetQueuedCompletionStatus (HANDLE CompletionPort, LPDWORD lpNumberOfBytesTransferred, PULONG_PTR lpCompletionKey, LPOVERLAPPED *lpOverlapped, DWORD dwMilliseconds);
                                                                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ioapiset.h:21:80: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI PostQueuedCompletionStatus (HANDLE CompletionPort, DWORD dwNumberOfBytesTransferred, ULONG_PTR dwCompletionKey, LPOVERLAPPED lpOverlapped);
                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ioapiset.h:22:62: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI DeviceIoControl (HANDLE hDevice, DWORD dwIoControlCode, LPVOID lpInBuffer, DWORD nInBufferSize, LPVOID lpOutBuffer, DWORD nOutBufferSize, LPDWORD lpBytesReturned, LPOVERLAPPED lpOverlapped);
                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ioapiset.h:22:104: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI DeviceIoControl (HANDLE hDevice, DWORD dwIoControlCode, LPVOID lpInBuffer, DWORD nInBufferSize, LPVOID lpOutBuffer, DWORD nOutBufferSize, LPDWORD lpBytesReturned, LPOVERLAPPED lpOverlapped);
                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ioapiset.h:22:145: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI DeviceIoControl (HANDLE hDevice, DWORD dwIoControlCode, LPVOID lpInBuffer, DWORD nInBufferSize, LPVOID lpOutBuffer, DWORD nOutBufferSize, LPDWORD lpBytesReturned, LPOVERLAPPED lpOverlapped);
                                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ioapiset.h:22:167: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI DeviceIoControl (HANDLE hDevice, DWORD dwIoControlCode, LPVOID lpInBuffer, DWORD nInBufferSize, LPVOID lpOutBuffer, DWORD nOutBufferSize, LPDWORD lpBytesReturned, LPOVERLAPPED lpOverlapped);
                                                                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ioapiset.h:32:93: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetOverlappedResultEx (HANDLE hFile, LPOVERLAPPED lpOverlapped, LPDWORD lpNumberOfBytesTransferred, DWORD dwMilliseconds, WINBOOL bAlertable);
                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ioapiset.h:32:129: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetOverlappedResultEx (HANDLE hFile, LPOVERLAPPED lpOverlapped, LPDWORD lpNumberOfBytesTransferred, DWORD dwMilliseconds, WINBOOL bAlertable);
                                                                                                                                 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:24:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:70,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/libloaderapi.h:19:5: error: 'ULONG' does not name a type
     ULONG NumOfEnumUILang;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/libloaderapi.h:20:5: error: 'ULONG' does not name a type
     ULONG SizeOfEnumUIBuffer;
     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:24:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:70,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/libloaderapi.h:41:53: error: typedef 'PGET_MODULE_HANDLE_EXA' is initialized (use decltype instead)
   typedef WINBOOL (WINAPI *PGET_MODULE_HANDLE_EXA) (DWORD dwFlags, LPCSTR lpModuleName, HMODULE *phModule);
                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/libloaderapi.h:41:53: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/libloaderapi.h:41:75: error: expected primary-expression before 'lpModuleName'
   typedef WINBOOL (WINAPI *PGET_MODULE_HANDLE_EXA) (DWORD dwFlags, LPCSTR lpModuleName, HMODULE *phModule);
                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/libloaderapi.h:41:97: error: expected primary-expression before '*' token
   typedef WINBOOL (WINAPI *PGET_MODULE_HANDLE_EXA) (DWORD dwFlags, LPCSTR lpModuleName, HMODULE *phModule);
                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/libloaderapi.h:41:98: error: 'phModule' was not declared in this scope
   typedef WINBOOL (WINAPI *PGET_MODULE_HANDLE_EXA) (DWORD dwFlags, LPCSTR lpModuleName, HMODULE *phModule);
                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/libloaderapi.h:42:53: error: typedef 'PGET_MODULE_HANDLE_EXW' is initialized (use decltype instead)
   typedef WINBOOL (WINAPI *PGET_MODULE_HANDLE_EXW) (DWORD dwFlags, LPCWSTR lpModuleName, HMODULE *phModule);
                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/libloaderapi.h:42:53: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/libloaderapi.h:42:76: error: expected primary-expression before 'lpModuleName'
   typedef WINBOOL (WINAPI *PGET_MODULE_HANDLE_EXW) (DWORD dwFlags, LPCWSTR lpModuleName, HMODULE *phModule);
                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/libloaderapi.h:42:98: error: expected primary-expression before '*' token
   typedef WINBOOL (WINAPI *PGET_MODULE_HANDLE_EXW) (DWORD dwFlags, LPCWSTR lpModuleName, HMODULE *phModule);
                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/libloaderapi.h:42:99: error: 'phModule' was not declared in this scope
   typedef WINBOOL (WINAPI *PGET_MODULE_HANDLE_EXW) (DWORD dwFlags, LPCWSTR lpModuleName, HMODULE *phModule);
                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/libloaderapi.h:81:90: error: 'DWORD' has not been declared
   WINBASEAPI DECLSPEC_NORETURN VOID WINAPI FreeLibraryAndExitThread (HMODULE hLibModule, DWORD dwExitCode);
                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/libloaderapi.h:83:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetModuleFileNameA (HMODULE hModule, LPSTR lpFilename, DWORD nSize);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/libloaderapi.h:84:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetModuleFileNameW (HMODULE hModule, LPWSTR lpFilename, DWORD nSize);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/libloaderapi.h:87:81: error: 'DWORD' has not been declared
   WINBASEAPI HMODULE WINAPI LoadLibraryExA (LPCSTR lpLibFileName, HANDLE hFile, DWORD dwFlags);
                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/libloaderapi.h:88:82: error: 'DWORD' has not been declared
   WINBASEAPI HMODULE WINAPI LoadLibraryExW (LPCWSTR lpLibFileName, HANDLE hFile, DWORD dwFlags);
                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/libloaderapi.h:93:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI SizeofResource (HMODULE hModule, HRSRC hResInfo);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/libloaderapi.h:96:55: error: definition of 'WINBOOL SetDefaultDllDirectories' is marked 'dllimport'
   WINBASEAPI WINBOOL WINAPI SetDefaultDllDirectories (DWORD DirectoryFlags);
                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/libloaderapi.h:96:55: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/libloaderapi.h:97:49: error: definition of 'WINBOOL GetModuleHandleExA' is marked 'dllimport'
   WINBASEAPI WINBOOL WINAPI GetModuleHandleExA (DWORD dwFlags, LPCSTR lpModuleName, HMODULE *phModule);
                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/libloaderapi.h:97:49: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/libloaderapi.h:97:71: error: expected primary-expression before 'lpModuleName'
   WINBASEAPI WINBOOL WINAPI GetModuleHandleExA (DWORD dwFlags, LPCSTR lpModuleName, HMODULE *phModule);
                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/libloaderapi.h:97:93: error: expected primary-expression before '*' token
   WINBASEAPI WINBOOL WINAPI GetModuleHandleExA (DWORD dwFlags, LPCSTR lpModuleName, HMODULE *phModule);
                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/libloaderapi.h:97:94: error: 'phModule' was not declared in this scope
   WINBASEAPI WINBOOL WINAPI GetModuleHandleExA (DWORD dwFlags, LPCSTR lpModuleName, HMODULE *phModule);
                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/libloaderapi.h:97:102: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI WINBOOL WINAPI GetModuleHandleExA (DWORD dwFlags, LPCSTR lpModuleName, HMODULE *phModule);
                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/libloaderapi.h:98:49: error: definition of 'WINBOOL GetModuleHandleExW' is marked 'dllimport'
   WINBASEAPI WINBOOL WINAPI GetModuleHandleExW (DWORD dwFlags, LPCWSTR lpModuleName, HMODULE *phModule);
                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/libloaderapi.h:98:49: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/libloaderapi.h:98:72: error: expected primary-expression before 'lpModuleName'
   WINBASEAPI WINBOOL WINAPI GetModuleHandleExW (DWORD dwFlags, LPCWSTR lpModuleName, HMODULE *phModule);
                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/libloaderapi.h:98:94: error: expected primary-expression before '*' token
   WINBASEAPI WINBOOL WINAPI GetModuleHandleExW (DWORD dwFlags, LPCWSTR lpModuleName, HMODULE *phModule);
                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/libloaderapi.h:98:95: error: 'phModule' was not declared in this scope
   WINBASEAPI WINBOOL WINAPI GetModuleHandleExW (DWORD dwFlags, LPCWSTR lpModuleName, HMODULE *phModule);
                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/libloaderapi.h:98:103: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI WINBOOL WINAPI GetModuleHandleExW (DWORD dwFlags, LPCWSTR lpModuleName, HMODULE *phModule);
                                                                                                       ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:25:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:70,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/memoryapi.h:41:109: error: 'ULONG' has not been declared
   WINBASEAPI HANDLE WINAPI CreateFileMappingFromApp (HANDLE hFile, PSECURITY_ATTRIBUTES SecurityAttributes, ULONG PageProtection, ULONG64 MaximumSize, PCWSTR Name);
                                                                                                             ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:25:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:70,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/memoryapi.h:42:76: error: 'ULONG' has not been declared
   WINBASEAPI PVOID WINAPI MapViewOfFileFromApp (HANDLE hFileMappingObject, ULONG DesiredAccess, ULONG64 FileOffset, SIZE_T NumberOfBytesToMap);
                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/memoryapi.h:54:75: error: 'DWORD' has not been declared
   WINBASEAPI LPVOID WINAPI VirtualAlloc (LPVOID lpAddress, SIZE_T dwSize, DWORD flAllocationType, DWORD flProtect);
                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/memoryapi.h:54:99: error: 'DWORD' has not been declared
   WINBASEAPI LPVOID WINAPI VirtualAlloc (LPVOID lpAddress, SIZE_T dwSize, DWORD flAllocationType, DWORD flProtect);
                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/memoryapi.h:55:75: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI VirtualFree (LPVOID lpAddress, SIZE_T dwSize, DWORD dwFreeType);
                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/memoryapi.h:56:78: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI VirtualProtect (LPVOID lpAddress, SIZE_T dwSize, DWORD flNewProtect, PDWORD lpflOldProtect);
                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/memoryapi.h:56:98: error: 'PDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI VirtualProtect (LPVOID lpAddress, SIZE_T dwSize, DWORD flNewProtect, PDWORD lpflOldProtect);
                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/memoryapi.h:57:94: error: 'DWORD' has not been declared
   WINBASEAPI LPVOID WINAPI VirtualAllocEx (HANDLE hProcess, LPVOID lpAddress, SIZE_T dwSize, DWORD flAllocationType, DWORD flProtect);
                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/memoryapi.h:57:118: error: 'DWORD' has not been declared
   WINBASEAPI LPVOID WINAPI VirtualAllocEx (HANDLE hProcess, LPVOID lpAddress, SIZE_T dwSize, DWORD flAllocationType, DWORD flProtect);
                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/memoryapi.h:58:94: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI VirtualFreeEx (HANDLE hProcess, LPVOID lpAddress, SIZE_T dwSize, DWORD dwFreeType);
                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/memoryapi.h:59:97: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI VirtualProtectEx (HANDLE hProcess, LPVOID lpAddress, SIZE_T dwSize, DWORD flNewProtect, PDWORD lpflOldProtect);
                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/memoryapi.h:59:117: error: 'PDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI VirtualProtectEx (HANDLE hProcess, LPVOID lpAddress, SIZE_T dwSize, DWORD flNewProtect, PDWORD lpflOldProtect);
                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/memoryapi.h:63:109: error: 'DWORD' has not been declared
   WINBASEAPI HANDLE WINAPI CreateFileMappingW (HANDLE hFile, LPSECURITY_ATTRIBUTES lpFileMappingAttributes, DWORD flProtect, DWORD dwMaximumSizeHigh, DWORD dwMaximumSizeLow, LPCWSTR lpName);
                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/memoryapi.h:63:126: error: 'DWORD' has not been declared
   WINBASEAPI HANDLE WINAPI CreateFileMappingW (HANDLE hFile, LPSECURITY_ATTRIBUTES lpFileMappingAttributes, DWORD flProtect, DWORD dwMaximumSizeHigh, DWORD dwMaximumSizeLow, LPCWSTR lpName);
                                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/memoryapi.h:63:151: error: 'DWORD' has not been declared
   WINBASEAPI HANDLE WINAPI CreateFileMappingW (HANDLE hFile, LPSECURITY_ATTRIBUTES lpFileMappingAttributes, DWORD flProtect, DWORD dwMaximumSizeHigh, DWORD dwMaximumSizeLow, LPCWSTR lpName);
                                                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/memoryapi.h:64:46: error: definition of 'void* OpenFileMappingW' is marked 'dllimport'
   WINBASEAPI HANDLE WINAPI OpenFileMappingW (DWORD dwDesiredAccess, WINBOOL bInheritHandle, LPCWSTR lpName);
                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/memoryapi.h:64:46: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/memoryapi.h:64:77: error: expected primary-expression before 'bInheritHandle'
   WINBASEAPI HANDLE WINAPI OpenFileMappingW (DWORD dwDesiredAccess, WINBOOL bInheritHandle, LPCWSTR lpName);
                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/memoryapi.h:64:101: error: expected primary-expression before 'lpName'
   WINBASEAPI HANDLE WINAPI OpenFileMappingW (DWORD dwDesiredAccess, WINBOOL bInheritHandle, LPCWSTR lpName);
                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/memoryapi.h:64:107: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI HANDLE WINAPI OpenFileMappingW (DWORD dwDesiredAccess, WINBOOL bInheritHandle, LPCWSTR lpName);
                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/memoryapi.h:65:70: error: 'DWORD' has not been declared
   WINBASEAPI LPVOID WINAPI MapViewOfFile (HANDLE hFileMappingObject, DWORD dwDesiredAccess, DWORD dwFileOffsetHigh, DWORD dwFileOffsetLow, SIZE_T dwNumberOfBytesToMap);
                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/memoryapi.h:65:93: error: 'DWORD' has not been declared
   WINBASEAPI LPVOID WINAPI MapViewOfFile (HANDLE hFileMappingObject, DWORD dwDesiredAccess, DWORD dwFileOffsetHigh, DWORD dwFileOffsetLow, SIZE_T dwNumberOfBytesToMap);
                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/memoryapi.h:65:117: error: 'DWORD' has not been declared
   WINBASEAPI LPVOID WINAPI MapViewOfFile (HANDLE hFileMappingObject, DWORD dwDesiredAccess, DWORD dwFileOffsetHigh, DWORD dwFileOffsetLow, SIZE_T dwNumberOfBytesToMap);
                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/memoryapi.h:66:72: error: 'DWORD' has not been declared
   WINBASEAPI LPVOID WINAPI MapViewOfFileEx (HANDLE hFileMappingObject, DWORD dwDesiredAccess, DWORD dwFileOffsetHigh, DWORD dwFileOffsetLow, SIZE_T dwNumberOfBytesToMap, LPVOID lpBaseAddress);
                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/memoryapi.h:66:95: error: 'DWORD' has not been declared
   WINBASEAPI LPVOID WINAPI MapViewOfFileEx (HANDLE hFileMappingObject, DWORD dwDesiredAccess, DWORD dwFileOffsetHigh, DWORD dwFileOffsetLow, SIZE_T dwNumberOfBytesToMap, LPVOID lpBaseAddress);
                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/memoryapi.h:66:119: error: 'DWORD' has not been declared
   WINBASEAPI LPVOID WINAPI MapViewOfFileEx (HANDLE hFileMappingObject, DWORD dwDesiredAccess, DWORD dwFileOffsetHigh, DWORD dwFileOffsetLow, SIZE_T dwNumberOfBytesToMap, LPVOID lpBaseAddress);
                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/memoryapi.h:68:140: error: 'PDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetProcessWorkingSetSizeEx (HANDLE hProcess, PSIZE_T lpMinimumWorkingSetSize, PSIZE_T lpMaximumWorkingSetSize, PDWORD Flags);
                                                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/memoryapi.h:69:138: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI SetProcessWorkingSetSizeEx (HANDLE hProcess, SIZE_T dwMinimumWorkingSetSize, SIZE_T dwMaximumWorkingSetSize, DWORD Flags);
                                                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/memoryapi.h:72:41: error: definition of 'UINT GetWriteWatch' is marked 'dllimport'
   WINBASEAPI UINT WINAPI GetWriteWatch (DWORD dwFlags, PVOID lpBaseAddress, SIZE_T dwRegionSize, PVOID *lpAddresses, ULONG_PTR *lpdwCount, LPDWORD lpdwGranularity);
                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/memoryapi.h:72:41: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/memoryapi.h:72:62: error: expected primary-expression before 'lpBaseAddress'
   WINBASEAPI UINT WINAPI GetWriteWatch (DWORD dwFlags, PVOID lpBaseAddress, SIZE_T dwRegionSize, PVOID *lpAddresses, ULONG_PTR *lpdwCount, LPDWORD lpdwGranularity);
                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/memoryapi.h:72:84: error: expected primary-expression before 'dwRegionSize'
   WINBASEAPI UINT WINAPI GetWriteWatch (DWORD dwFlags, PVOID lpBaseAddress, SIZE_T dwRegionSize, PVOID *lpAddresses, ULONG_PTR *lpdwCount, LPDWORD lpdwGranularity);
                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/memoryapi.h:72:104: error: expected primary-expression before '*' token
   WINBASEAPI UINT WINAPI GetWriteWatch (DWORD dwFlags, PVOID lpBaseAddress, SIZE_T dwRegionSize, PVOID *lpAddresses, ULONG_PTR *lpdwCount, LPDWORD lpdwGranularity);
                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/memoryapi.h:72:105: error: 'lpAddresses' was not declared in this scope
   WINBASEAPI UINT WINAPI GetWriteWatch (DWORD dwFlags, PVOID lpBaseAddress, SIZE_T dwRegionSize, PVOID *lpAddresses, ULONG_PTR *lpdwCount, LPDWORD lpdwGranularity);
                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/memoryapi.h:72:128: error: expected primary-expression before '*' token
   WINBASEAPI UINT WINAPI GetWriteWatch (DWORD dwFlags, PVOID lpBaseAddress, SIZE_T dwRegionSize, PVOID *lpAddresses, ULONG_PTR *lpdwCount, LPDWORD lpdwGranularity);
                                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/memoryapi.h:72:129: error: 'lpdwCount' was not declared in this scope
   WINBASEAPI UINT WINAPI GetWriteWatch (DWORD dwFlags, PVOID lpBaseAddress, SIZE_T dwRegionSize, PVOID *lpAddresses, ULONG_PTR *lpdwCount, LPDWORD lpdwGranularity);
                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/memoryapi.h:72:140: error: 'LPDWORD' was not declared in this scope
   WINBASEAPI UINT WINAPI GetWriteWatch (DWORD dwFlags, PVOID lpBaseAddress, SIZE_T dwRegionSize, PVOID *lpAddresses, ULONG_PTR *lpdwCount, LPDWORD lpdwGranularity);
                                                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/memoryapi.h:72:163: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI UINT WINAPI GetWriteWatch (DWORD dwFlags, PVOID lpBaseAddress, SIZE_T dwRegionSize, PVOID *lpAddresses, ULONG_PTR *lpdwCount, LPDWORD lpdwGranularity);
                                                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/memoryapi.h:76:117: error: 'PDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetSystemFileCacheSize (PSIZE_T lpMinimumFileCacheSize, PSIZE_T lpMaximumFileCacheSize, PDWORD lpFlags);
                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/memoryapi.h:77:111: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI SetSystemFileCacheSize (SIZE_T MinimumFileCacheSize, SIZE_T MaximumFileCacheSize, DWORD Flags);
                                                                                                               ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:70,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/namedpipeapi.h:19:120: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI CreatePipe (PHANDLE hReadPipe, PHANDLE hWritePipe, LPSECURITY_ATTRIBUTES lpPipeAttributes, DWORD nSize);
                                                                                                                        ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:26:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:70,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/namedpipeapi.h:22:73: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI SetNamedPipeHandleState (HANDLE hNamedPipe, LPDWORD lpMode, LPDWORD lpMaxCollectionCount, LPDWORD lpCollectDataTimeout);
                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/namedpipeapi.h:22:89: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI SetNamedPipeHandleState (HANDLE hNamedPipe, LPDWORD lpMode, LPDWORD lpMaxCollectionCount, LPDWORD lpCollectDataTimeout);
                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/namedpipeapi.h:22:119: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI SetNamedPipeHandleState (HANDLE hNamedPipe, LPDWORD lpMode, LPDWORD lpMaxCollectionCount, LPDWORD lpCollectDataTimeout);
                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/namedpipeapi.h:23:80: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI PeekNamedPipe (HANDLE hNamedPipe, LPVOID lpBuffer, DWORD nBufferSize, LPDWORD lpBytesRead, LPDWORD lpTotalBytesAvail, LPDWORD lpBytesLeftThisMessage);
                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/namedpipeapi.h:23:99: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI PeekNamedPipe (HANDLE hNamedPipe, LPVOID lpBuffer, DWORD nBufferSize, LPDWORD lpBytesRead, LPDWORD lpTotalBytesAvail, LPDWORD lpBytesLeftThisMessage);
                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/namedpipeapi.h:23:120: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI PeekNamedPipe (HANDLE hNamedPipe, LPVOID lpBuffer, DWORD nBufferSize, LPDWORD lpBytesRead, LPDWORD lpTotalBytesAvail, LPDWORD lpBytesLeftThisMessage);
                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/namedpipeapi.h:23:147: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI PeekNamedPipe (HANDLE hNamedPipe, LPVOID lpBuffer, DWORD nBufferSize, LPDWORD lpBytesRead, LPDWORD lpTotalBytesAvail, LPDWORD lpBytesLeftThisMessage);
                                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/namedpipeapi.h:24:86: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI TransactNamedPipe (HANDLE hNamedPipe, LPVOID lpInBuffer, DWORD nInBufferSize, LPVOID lpOutBuffer, DWORD nOutBufferSize, LPDWORD lpBytesRead, LPOVERLAPPED lpOverlapped);
                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/namedpipeapi.h:24:127: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI TransactNamedPipe (HANDLE hNamedPipe, LPVOID lpInBuffer, DWORD nInBufferSize, LPVOID lpOutBuffer, DWORD nOutBufferSize, LPDWORD lpBytesRead, LPOVERLAPPED lpOverlapped);
                                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/namedpipeapi.h:24:149: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI TransactNamedPipe (HANDLE hNamedPipe, LPVOID lpInBuffer, DWORD nInBufferSize, LPVOID lpOutBuffer, DWORD nOutBufferSize, LPDWORD lpBytesRead, LPOVERLAPPED lpOverlapped);
                                                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/namedpipeapi.h:25:62: error: 'DWORD' has not been declared
   WINBASEAPI HANDLE WINAPI CreateNamedPipeW (LPCWSTR lpName, DWORD dwOpenMode, DWORD dwPipeMode, DWORD nMaxInstances, DWORD nOutBufferSize, DWORD nInBufferSize, DWORD nDefaultTimeOut, LPSECURITY_ATTRIBUTES lpSecurityAttributes);
                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/namedpipeapi.h:25:80: error: 'DWORD' has not been declared
   WINBASEAPI HANDLE WINAPI CreateNamedPipeW (LPCWSTR lpName, DWORD dwOpenMode, DWORD dwPipeMode, DWORD nMaxInstances, DWORD nOutBufferSize, DWORD nInBufferSize, DWORD nDefaultTimeOut, LPSECURITY_ATTRIBUTES lpSecurityAttributes);
                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/namedpipeapi.h:25:98: error: 'DWORD' has not been declared
   WINBASEAPI HANDLE WINAPI CreateNamedPipeW (LPCWSTR lpName, DWORD dwOpenMode, DWORD dwPipeMode, DWORD nMaxInstances, DWORD nOutBufferSize, DWORD nInBufferSize, DWORD nDefaultTimeOut, LPSECURITY_ATTRIBUTES lpSecurityAttributes);
                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/namedpipeapi.h:25:119: error: 'DWORD' has not been declared
   WINBASEAPI HANDLE WINAPI CreateNamedPipeW (LPCWSTR lpName, DWORD dwOpenMode, DWORD dwPipeMode, DWORD nMaxInstances, DWORD nOutBufferSize, DWORD nInBufferSize, DWORD nDefaultTimeOut, LPSECURITY_ATTRIBUTES lpSecurityAttributes);
                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/namedpipeapi.h:25:141: error: 'DWORD' has not been declared
   WINBASEAPI HANDLE WINAPI CreateNamedPipeW (LPCWSTR lpName, DWORD dwOpenMode, DWORD dwPipeMode, DWORD nMaxInstances, DWORD nOutBufferSize, DWORD nInBufferSize, DWORD nDefaultTimeOut, LPSECURITY_ATTRIBUTES lpSecurityAttributes);
                                                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/namedpipeapi.h:25:162: error: 'DWORD' has not been declared
   WINBASEAPI HANDLE WINAPI CreateNamedPipeW (LPCWSTR lpName, DWORD dwOpenMode, DWORD dwPipeMode, DWORD nMaxInstances, DWORD nOutBufferSize, DWORD nInBufferSize, DWORD nDefaultTimeOut, LPSECURITY_ATTRIBUTES lpSecurityAttributes);
                                                                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/namedpipeapi.h:26:70: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI WaitNamedPipeW (LPCWSTR lpNamedPipeName, DWORD nTimeOut);
                                                                      ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:27:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:70,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/namespaceapi.h:26:67: error: 'ULONG' has not been declared
   WINBASEAPI BOOLEAN WINAPI ClosePrivateNamespace (HANDLE Handle, ULONG Flags);
                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/namespaceapi.h:27:69: error: 'ULONG' has not been declared
   WINBASEAPI HANDLE WINAPI CreateBoundaryDescriptorW (LPCWSTR Name, ULONG Flags);
                                                                     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:28:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:70,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processenv.h:31:42: error: definition of 'void* GetStdHandle' is marked 'dllimport'
   WINBASEAPI HANDLE WINAPI GetStdHandle (DWORD nStdHandle);
                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processenv.h:31:42: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processenv.h:32:43: error: definition of 'WINBOOL SetStdHandle' is marked 'dllimport'
   WINBASEAPI WINBOOL WINAPI SetStdHandle (DWORD nStdHandle, HANDLE hHandle);
                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processenv.h:32:43: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processenv.h:32:68: error: expected primary-expression before 'hHandle'
   WINBASEAPI WINBOOL WINAPI SetStdHandle (DWORD nStdHandle, HANDLE hHandle);
                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processenv.h:32:75: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI WINBOOL WINAPI SetStdHandle (DWORD nStdHandle, HANDLE hHandle);
                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processenv.h:38:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetEnvironmentVariableA (LPCSTR lpName, LPSTR lpBuffer, DWORD nSize);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processenv.h:39:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetEnvironmentVariableW (LPCWSTR lpName, LPWSTR lpBuffer, DWORD nSize);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processenv.h:42:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI ExpandEnvironmentStringsA (LPCSTR lpSrc, LPSTR lpDst, DWORD nSize);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processenv.h:43:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI ExpandEnvironmentStringsW (LPCWSTR lpSrc, LPWSTR lpDst, DWORD nSize);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processenv.h:46:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetCurrentDirectoryA (DWORD nBufferLength, LPSTR lpBuffer);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processenv.h:47:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetCurrentDirectoryW (DWORD nBufferLength, LPWSTR lpBuffer);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processenv.h:48:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI SearchPathW (LPCWSTR lpPath, LPCWSTR lpFileName, LPCWSTR lpExtension, DWORD nBufferLength, LPWSTR lpBuffer, LPWSTR *lpFilePart);
              ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:28:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:70,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processenv.h:49:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD APIENTRY SearchPathA (LPCSTR lpPath, LPCSTR lpFileName, LPCSTR lpExtension, DWORD nBufferLength, LPSTR lpBuffer, LPSTR *lpFilePart);
              ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:29:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:70,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:27:5: error: 'DWORD' does not name a type
     DWORD dwProcessId;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:28:5: error: 'DWORD' does not name a type
     DWORD dwThreadId;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:32:5: error: 'DWORD' does not name a type
     DWORD cb;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:36:5: error: 'DWORD' does not name a type
     DWORD dwX;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:37:5: error: 'DWORD' does not name a type
     DWORD dwY;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:38:5: error: 'DWORD' does not name a type
     DWORD dwXSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:39:5: error: 'DWORD' does not name a type
     DWORD dwYSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:40:5: error: 'DWORD' does not name a type
     DWORD dwXCountChars;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:41:5: error: 'DWORD' does not name a type
     DWORD dwYCountChars;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:42:5: error: 'DWORD' does not name a type
     DWORD dwFillAttribute;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:43:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:53:5: error: 'DWORD' does not name a type
     DWORD cb;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:57:5: error: 'DWORD' does not name a type
     DWORD dwX;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:58:5: error: 'DWORD' does not name a type
     DWORD dwY;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:59:5: error: 'DWORD' does not name a type
     DWORD dwXSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:60:5: error: 'DWORD' does not name a type
     DWORD dwYSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:61:5: error: 'DWORD' does not name a type
     DWORD dwXCountChars;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:62:5: error: 'DWORD' does not name a type
     DWORD dwYCountChars;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:63:5: error: 'DWORD' does not name a type
     DWORD dwFillAttribute;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:64:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:78:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI QueueUserAPC (PAPCFUNC pfnAPC, HANDLE hThread, ULONG_PTR dwData);
              ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:29:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:70,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:82:66: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetExitCodeProcess (HANDLE hProcess, LPDWORD lpExitCode);
                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:84:104: error: 'LPTHREAD_START_ROUTINE' has not been declared
   WINBASEAPI HANDLE WINAPI CreateThread (LPSECURITY_ATTRIBUTES lpThreadAttributes, SIZE_T dwStackSize, LPTHREAD_START_ROUTINE lpStartAddress, LPVOID lpParameter, DWORD dwCreationFlags, LPDWORD lpThreadId);
                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:84:163: error: 'DWORD' has not been declared
   WINBASEAPI HANDLE WINAPI CreateThread (LPSECURITY_ATTRIBUTES lpThreadAttributes, SIZE_T dwStackSize, LPTHREAD_START_ROUTINE lpStartAddress, LPVOID lpParameter, DWORD dwCreationFlags, LPDWORD lpThreadId);
                                                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:84:186: error: 'LPDWORD' has not been declared
   WINBASEAPI HANDLE WINAPI CreateThread (LPSECURITY_ATTRIBUTES lpThreadAttributes, SIZE_T dwStackSize, LPTHREAD_START_ROUTINE lpStartAddress, LPVOID lpParameter, DWORD dwCreationFlags, LPDWORD lpThreadId);
                                                                                                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:85:127: error: 'LPTHREAD_START_ROUTINE' has not been declared
   WINBASEAPI HANDLE WINAPI CreateRemoteThread (HANDLE hProcess, LPSECURITY_ATTRIBUTES lpThreadAttributes, SIZE_T dwStackSize, LPTHREAD_START_ROUTINE lpStartAddress, LPVOID lpParameter, DWORD dwCreationFlags, LPDWORD lpThreadId);
                                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:85:186: error: 'DWORD' has not been declared
   WINBASEAPI HANDLE WINAPI CreateRemoteThread (HANDLE hProcess, LPSECURITY_ATTRIBUTES lpThreadAttributes, SIZE_T dwStackSize, LPTHREAD_START_ROUTINE lpStartAddress, LPVOID lpParameter, DWORD dwCreationFlags, LPDWORD lpThreadId);
                                                                                                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:85:209: error: 'LPDWORD' has not been declared
   WINBASEAPI HANDLE WINAPI CreateRemoteThread (HANDLE hProcess, LPSECURITY_ATTRIBUTES lpThreadAttributes, SIZE_T dwStackSize, LPTHREAD_START_ROUTINE lpStartAddress, LPVOID lpParameter, DWORD dwCreationFlags, LPDWORD lpThreadId);
                                                                                                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:86:40: error: definition of 'void* OpenThread' is marked 'dllimport'
   WINBASEAPI HANDLE WINAPI OpenThread (DWORD dwDesiredAccess, WINBOOL bInheritHandle, DWORD dwThreadId);
                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:86:40: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:86:71: error: expected primary-expression before 'bInheritHandle'
   WINBASEAPI HANDLE WINAPI OpenThread (DWORD dwDesiredAccess, WINBOOL bInheritHandle, DWORD dwThreadId);
                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:86:87: error: 'DWORD' was not declared in this scope
   WINBASEAPI HANDLE WINAPI OpenThread (DWORD dwDesiredAccess, WINBOOL bInheritHandle, DWORD dwThreadId);
                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:86:103: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI HANDLE WINAPI OpenThread (DWORD dwDesiredAccess, WINBOOL bInheritHandle, DWORD dwThreadId);
                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:91:56: error: variable or field 'ExitThread' declared void
   WINBASEAPI DECLSPEC_NORETURN VOID WINAPI ExitThread (DWORD dwExitCode);
                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:91:56: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:92:62: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI TerminateThread (HANDLE hThread, DWORD dwExitCode);
                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:93:64: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetExitCodeThread (HANDLE hThread, LPDWORD lpExitCode);
                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:94:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI SuspendThread (HANDLE hThread);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:95:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI ResumeThread (HANDLE hThread);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:96:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI TlsAlloc (VOID);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:97:41: error: definition of 'void* TlsGetValue' is marked 'dllimport'
   WINBASEAPI LPVOID WINAPI TlsGetValue (DWORD dwTlsIndex);
                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:97:41: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:98:42: error: definition of 'WINBOOL TlsSetValue' is marked 'dllimport'
   WINBASEAPI WINBOOL WINAPI TlsSetValue (DWORD dwTlsIndex, LPVOID lpTlsValue);
                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:98:42: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:98:67: error: expected primary-expression before 'lpTlsValue'
   WINBASEAPI WINBOOL WINAPI TlsSetValue (DWORD dwTlsIndex, LPVOID lpTlsValue);
                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:98:77: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI WINBOOL WINAPI TlsSetValue (DWORD dwTlsIndex, LPVOID lpTlsValue);
                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:99:38: error: definition of 'WINBOOL TlsFree' is marked 'dllimport'
   WINBASEAPI WINBOOL WINAPI TlsFree (DWORD dwTlsIndex);
                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:99:38: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:100:59: error: definition of 'WINBOOL SetProcessShutdownParameters' is marked 'dllimport'
   WINBASEAPI WINBOOL WINAPI SetProcessShutdownParameters (DWORD dwLevel, DWORD dwFlags);
                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:100:59: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:100:74: error: 'DWORD' was not declared in this scope
   WINBASEAPI WINBOOL WINAPI SetProcessShutdownParameters (DWORD dwLevel, DWORD dwFlags);
                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:100:87: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI WINBOOL WINAPI SetProcessShutdownParameters (DWORD dwLevel, DWORD dwFlags);
                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:101:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetProcessVersion (DWORD ProcessId);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:104:68: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI OpenProcessToken (HANDLE ProcessHandle, DWORD DesiredAccess, PHANDLE TokenHandle);
                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:105:66: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI OpenThreadToken (HANDLE ThreadHandle, DWORD DesiredAccess, WINBOOL OpenAsSelf, PHANDLE TokenHandle);
                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:106:64: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI SetPriorityClass (HANDLE hProcess, DWORD dwPriorityClass);
                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:107:54: error: definition of 'WINBOOL SetThreadStackGuarantee' is marked 'dllimport'
   WINBASEAPI WINBOOL WINAPI SetThreadStackGuarantee (PULONG StackSizeInBytes);
                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:107:54: error: 'PULONG' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:108:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetPriorityClass (HANDLE hProcess);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:109:51: error: definition of 'WINBOOL ProcessIdToSessionId' is marked 'dllimport'
   WINBASEAPI WINBOOL WINAPI ProcessIdToSessionId (DWORD dwProcessId, DWORD *pSessionId);
                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:109:51: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:109:70: error: 'DWORD' was not declared in this scope
   WINBASEAPI WINBOOL WINAPI ProcessIdToSessionId (DWORD dwProcessId, DWORD *pSessionId);
                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:109:77: error: 'pSessionId' was not declared in this scope
   WINBASEAPI WINBOOL WINAPI ProcessIdToSessionId (DWORD dwProcessId, DWORD *pSessionId);
                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:109:87: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI WINBOOL WINAPI ProcessIdToSessionId (DWORD dwProcessId, DWORD *pSessionId);
                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:110:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetProcessId (HANDLE Process);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:111:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetThreadId (HANDLE Thread);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:112:129: error: 'LPTHREAD_START_ROUTINE' has not been declared
   WINBASEAPI HANDLE WINAPI CreateRemoteThreadEx (HANDLE hProcess, LPSECURITY_ATTRIBUTES lpThreadAttributes, SIZE_T dwStackSize, LPTHREAD_START_ROUTINE lpStartAddress, LPVOID lpParameter, DWORD dwCreationFlags, LPPROC_THREAD_ATTRIBUTE_LIST lpAttributeList, LPDWORD lpThreadId);
                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:112:188: error: 'DWORD' has not been declared
   WINBASEAPI HANDLE WINAPI CreateRemoteThreadEx (HANDLE hProcess, LPSECURITY_ATTRIBUTES lpThreadAttributes, SIZE_T dwStackSize, LPTHREAD_START_ROUTINE lpStartAddress, LPVOID lpParameter, DWORD dwCreationFlags, LPPROC_THREAD_ATTRIBUTE_LIST lpAttributeList, LPDWORD lpThreadId);
                                                                                                                                                                                            ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:29:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:70,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:112:257: error: 'LPDWORD' has not been declared
   WINBASEAPI HANDLE WINAPI CreateRemoteThreadEx (HANDLE hProcess, LPSECURITY_ATTRIBUTES lpThreadAttributes, SIZE_T dwStackSize, LPTHREAD_START_ROUTINE lpStartAddress, LPVOID lpParameter, DWORD dwCreationFlags, LPPROC_THREAD_ATTRIBUTE_LIST lpAttributeList, LPDWORD lpThreadId);
                                                                                                                                                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:117:41: error: definition of 'void* OpenProcess' is marked 'dllimport'
   WINBASEAPI HANDLE WINAPI OpenProcess (DWORD dwDesiredAccess, WINBOOL bInheritHandle, DWORD dwProcessId);
                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:117:41: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:117:72: error: expected primary-expression before 'bInheritHandle'
   WINBASEAPI HANDLE WINAPI OpenProcess (DWORD dwDesiredAccess, WINBOOL bInheritHandle, DWORD dwProcessId);
                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:117:88: error: 'DWORD' was not declared in this scope
   WINBASEAPI HANDLE WINAPI OpenProcess (DWORD dwDesiredAccess, WINBOOL bInheritHandle, DWORD dwProcessId);
                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:117:105: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI HANDLE WINAPI OpenProcess (DWORD dwDesiredAccess, WINBOOL bInheritHandle, DWORD dwProcessId);
                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:118:69: error: 'PDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetProcessHandleCount (HANDLE hProcess, PDWORD pdwHandleCount);
                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:119:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetCurrentProcessorNumber (VOID);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:126:202: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI CreateProcessA (LPCSTR lpApplicationName, LPSTR lpCommandLine, LPSECURITY_ATTRIBUTES lpProcessAttributes, LPSECURITY_ATTRIBUTES lpThreadAttributes, WINBOOL bInheritHandles, DWORD dwCreationFlags, LPVOID lpEnvironment, LPCSTR lpCurrentDirectory, LPSTARTUPINFOA lpStartupInfo, LPPROCESS_INFORMATION lpProcessInformation);
                                                                                                                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:127:204: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI CreateProcessW (LPCWSTR lpApplicationName, LPWSTR lpCommandLine, LPSECURITY_ATTRIBUTES lpProcessAttributes, LPSECURITY_ATTRIBUTES lpThreadAttributes, WINBOOL bInheritHandles, DWORD dwCreationFlags, LPVOID lpEnvironment, LPCWSTR lpCurrentDirectory, LPSTARTUPINFOW lpStartupInfo, LPPROCESS_INFORMATION lpProcessInformation);
                                                                                                                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:132:224: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI CreateProcessAsUserW (HANDLE hToken, LPCWSTR lpApplicationName, LPWSTR lpCommandLine, LPSECURITY_ATTRIBUTES lpProcessAttributes, LPSECURITY_ATTRIBUTES lpThreadAttributes, WINBOOL bInheritHandles, DWORD dwCreationFlags, LPVOID lpEnvironment, LPCWSTR lpCurrentDirectory, LPSTARTUPINFOW lpStartupInfo, LPPROCESS_INFORMATION lpProcessInformation);
                                                                                                                                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:165:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetCurrentProcessId (VOID);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:167:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetCurrentThreadId (VOID);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/processthreadsapi.h:168:45: error: 'DWORD' was not declared in this scope
   WINBOOL WINAPI IsProcessorFeaturePresent (DWORD ProcessorFeature);
                                             ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:34:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:70,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:18:103: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AccessCheck (PSECURITY_DESCRIPTOR pSecurityDescriptor, HANDLE ClientToken, DWORD DesiredAccess, PGENERIC_MAPPING GenericMapping, PPRIVILEGE_SET PrivilegeSet, LPDWORD PrivilegeSetLength, LPDWORD GrantedAccess, LPBOOL AccessStatus);
                                                                                                       ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:34:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:70,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:18:186: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AccessCheck (PSECURITY_DESCRIPTOR pSecurityDescriptor, HANDLE ClientToken, DWORD DesiredAccess, PGENERIC_MAPPING GenericMapping, PPRIVILEGE_SET PrivilegeSet, LPDWORD PrivilegeSetLength, LPDWORD GrantedAccess, LPBOOL AccessStatus);
                                                                                                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:18:214: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AccessCheck (PSECURITY_DESCRIPTOR pSecurityDescriptor, HANDLE ClientToken, DWORD DesiredAccess, PGENERIC_MAPPING GenericMapping, PPRIVILEGE_SET PrivilegeSet, LPDWORD PrivilegeSetLength, LPDWORD GrantedAccess, LPBOOL AccessStatus);
                                                                                                                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:19:178: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AccessCheckAndAuditAlarmW (LPCWSTR SubsystemName, LPVOID HandleId, LPWSTR ObjectTypeName, LPWSTR ObjectName, PSECURITY_DESCRIPTOR SecurityDescriptor, DWORD DesiredAccess, PGENERIC_MAPPING GenericMapping, WINBOOL ObjectCreation, LPDWORD GrantedAccess, LPBOOL AccessStatus, LPBOOL pfGenerateOnClose);
                                                                                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:19:256: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AccessCheckAndAuditAlarmW (LPCWSTR SubsystemName, LPVOID HandleId, LPWSTR ObjectTypeName, LPWSTR ObjectName, PSECURITY_DESCRIPTOR SecurityDescriptor, DWORD DesiredAccess, PGENERIC_MAPPING GenericMapping, WINBOOL ObjectCreation, LPDWORD GrantedAccess, LPBOOL AccessStatus, LPBOOL pfGenerateOnClose);
                                                                                                                                                                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:24:132: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AccessCheckByType (PSECURITY_DESCRIPTOR pSecurityDescriptor, PSID PrincipalSelfSid, HANDLE ClientToken, DWORD DesiredAccess, POBJECT_TYPE_LIST ObjectTypeList, DWORD ObjectTypeListLength, PGENERIC_MAPPING GenericMapping, PPRIVILEGE_SET PrivilegeSet, LPDWORD PrivilegeSetLength, LPDWORD GrantedAccess, LPBOOL AccessStatus);
                                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:24:187: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AccessCheckByType (PSECURITY_DESCRIPTOR pSecurityDescriptor, PSID PrincipalSelfSid, HANDLE ClientToken, DWORD DesiredAccess, POBJECT_TYPE_LIST ObjectTypeList, DWORD ObjectTypeListLength, PGENERIC_MAPPING GenericMapping, PPRIVILEGE_SET PrivilegeSet, LPDWORD PrivilegeSetLength, LPDWORD GrantedAccess, LPBOOL AccessStatus);
                                                                                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:24:277: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AccessCheckByType (PSECURITY_DESCRIPTOR pSecurityDescriptor, PSID PrincipalSelfSid, HANDLE ClientToken, DWORD DesiredAccess, POBJECT_TYPE_LIST ObjectTypeList, DWORD ObjectTypeListLength, PGENERIC_MAPPING GenericMapping, PPRIVILEGE_SET PrivilegeSet, LPDWORD PrivilegeSetLength, LPDWORD GrantedAccess, LPBOOL AccessStatus);
                                                                                                                                                                                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:24:305: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AccessCheckByType (PSECURITY_DESCRIPTOR pSecurityDescriptor, PSID PrincipalSelfSid, HANDLE ClientToken, DWORD DesiredAccess, POBJECT_TYPE_LIST ObjectTypeList, DWORD ObjectTypeListLength, PGENERIC_MAPPING GenericMapping, PPRIVILEGE_SET PrivilegeSet, LPDWORD PrivilegeSetLength, LPDWORD GrantedAccess, LPBOOL AccessStatus);
                                                                                                                                                                                                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:25:142: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AccessCheckByTypeResultList (PSECURITY_DESCRIPTOR pSecurityDescriptor, PSID PrincipalSelfSid, HANDLE ClientToken, DWORD DesiredAccess, POBJECT_TYPE_LIST ObjectTypeList, DWORD ObjectTypeListLength, PGENERIC_MAPPING GenericMapping, PPRIVILEGE_SET PrivilegeSet, LPDWORD PrivilegeSetLength, LPDWORD GrantedAccessList, LPDWORD AccessStatusList);
                                                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:25:197: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AccessCheckByTypeResultList (PSECURITY_DESCRIPTOR pSecurityDescriptor, PSID PrincipalSelfSid, HANDLE ClientToken, DWORD DesiredAccess, POBJECT_TYPE_LIST ObjectTypeList, DWORD ObjectTypeListLength, PGENERIC_MAPPING GenericMapping, PPRIVILEGE_SET PrivilegeSet, LPDWORD PrivilegeSetLength, LPDWORD GrantedAccessList, LPDWORD AccessStatusList);
                                                                                                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:25:287: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AccessCheckByTypeResultList (PSECURITY_DESCRIPTOR pSecurityDescriptor, PSID PrincipalSelfSid, HANDLE ClientToken, DWORD DesiredAccess, POBJECT_TYPE_LIST ObjectTypeList, DWORD ObjectTypeListLength, PGENERIC_MAPPING GenericMapping, PPRIVILEGE_SET PrivilegeSet, LPDWORD PrivilegeSetLength, LPDWORD GrantedAccessList, LPDWORD AccessStatusList);
                                                                                                                                                                                                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:25:315: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AccessCheckByTypeResultList (PSECURITY_DESCRIPTOR pSecurityDescriptor, PSID PrincipalSelfSid, HANDLE ClientToken, DWORD DesiredAccess, POBJECT_TYPE_LIST ObjectTypeList, DWORD ObjectTypeListLength, PGENERIC_MAPPING GenericMapping, PPRIVILEGE_SET PrivilegeSet, LPDWORD PrivilegeSetLength, LPDWORD GrantedAccessList, LPDWORD AccessStatusList);
                                                                                                                                                                                                                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:25:342: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AccessCheckByTypeResultList (PSECURITY_DESCRIPTOR pSecurityDescriptor, PSID PrincipalSelfSid, HANDLE ClientToken, DWORD DesiredAccess, POBJECT_TYPE_LIST ObjectTypeList, DWORD ObjectTypeListLength, PGENERIC_MAPPING GenericMapping, PPRIVILEGE_SET PrivilegeSet, LPDWORD PrivilegeSetLength, LPDWORD GrantedAccessList, LPDWORD AccessStatusList);
                                                                                                                                                                                                                                                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:26:209: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AccessCheckByTypeAndAuditAlarmW (LPCWSTR SubsystemName, LPVOID HandleId, LPCWSTR ObjectTypeName, LPCWSTR ObjectName, PSECURITY_DESCRIPTOR SecurityDescriptor, PSID PrincipalSelfSid, DWORD DesiredAccess, AUDIT_EVENT_TYPE AuditType, DWORD Flags, POBJECT_TYPE_LIST ObjectTypeList, DWORD ObjectTypeListLength, PGENERIC_MAPPING GenericMapping, WINBOOL ObjectCreation, LPDWORD GrantedAccess, LPBOOL AccessStatus, LPBOOL pfGenerateOnClose);
                                                                                                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:26:258: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AccessCheckByTypeAndAuditAlarmW (LPCWSTR SubsystemName, LPVOID HandleId, LPCWSTR ObjectTypeName, LPCWSTR ObjectName, PSECURITY_DESCRIPTOR SecurityDescriptor, PSID PrincipalSelfSid, DWORD DesiredAccess, AUDIT_EVENT_TYPE AuditType, DWORD Flags, POBJECT_TYPE_LIST ObjectTypeList, DWORD ObjectTypeListLength, PGENERIC_MAPPING GenericMapping, WINBOOL ObjectCreation, LPDWORD GrantedAccess, LPBOOL AccessStatus, LPBOOL pfGenerateOnClose);
                                                                                                                                                                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:26:305: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AccessCheckByTypeAndAuditAlarmW (LPCWSTR SubsystemName, LPVOID HandleId, LPCWSTR ObjectTypeName, LPCWSTR ObjectName, PSECURITY_DESCRIPTOR SecurityDescriptor, PSID PrincipalSelfSid, DWORD DesiredAccess, AUDIT_EVENT_TYPE AuditType, DWORD Flags, POBJECT_TYPE_LIST ObjectTypeList, DWORD ObjectTypeListLength, PGENERIC_MAPPING GenericMapping, WINBOOL ObjectCreation, LPDWORD GrantedAccess, LPBOOL AccessStatus, LPBOOL pfGenerateOnClose);
                                                                                                                                                                                                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:26:390: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AccessCheckByTypeAndAuditAlarmW (LPCWSTR SubsystemName, LPVOID HandleId, LPCWSTR ObjectTypeName, LPCWSTR ObjectName, PSECURITY_DESCRIPTOR SecurityDescriptor, PSID PrincipalSelfSid, DWORD DesiredAccess, AUDIT_EVENT_TYPE AuditType, DWORD Flags, POBJECT_TYPE_LIST ObjectTypeList, DWORD ObjectTypeListLength, PGENERIC_MAPPING GenericMapping, WINBOOL ObjectCreation, LPDWORD GrantedAccess, LPBOOL AccessStatus, LPBOOL pfGenerateOnClose);
                                                                                                                                                                                                                                                                                                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:31:219: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AccessCheckByTypeResultListAndAuditAlarmW (LPCWSTR SubsystemName, LPVOID HandleId, LPCWSTR ObjectTypeName, LPCWSTR ObjectName, PSECURITY_DESCRIPTOR SecurityDescriptor, PSID PrincipalSelfSid, DWORD DesiredAccess, AUDIT_EVENT_TYPE AuditType, DWORD Flags, POBJECT_TYPE_LIST ObjectTypeList, DWORD ObjectTypeListLength, PGENERIC_MAPPING GenericMapping, WINBOOL ObjectCreation, LPDWORD GrantedAccessList, LPDWORD AccessStatusList, LPBOOL pfGenerateOnClose);
                                                                                                                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:31:268: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AccessCheckByTypeResultListAndAuditAlarmW (LPCWSTR SubsystemName, LPVOID HandleId, LPCWSTR ObjectTypeName, LPCWSTR ObjectName, PSECURITY_DESCRIPTOR SecurityDescriptor, PSID PrincipalSelfSid, DWORD DesiredAccess, AUDIT_EVENT_TYPE AuditType, DWORD Flags, POBJECT_TYPE_LIST ObjectTypeList, DWORD ObjectTypeListLength, PGENERIC_MAPPING GenericMapping, WINBOOL ObjectCreation, LPDWORD GrantedAccessList, LPDWORD AccessStatusList, LPBOOL pfGenerateOnClose);
                                                                                                                                                                                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:31:315: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AccessCheckByTypeResultListAndAuditAlarmW (LPCWSTR SubsystemName, LPVOID HandleId, LPCWSTR ObjectTypeName, LPCWSTR ObjectName, PSECURITY_DESCRIPTOR SecurityDescriptor, PSID PrincipalSelfSid, DWORD DesiredAccess, AUDIT_EVENT_TYPE AuditType, DWORD Flags, POBJECT_TYPE_LIST ObjectTypeList, DWORD ObjectTypeListLength, PGENERIC_MAPPING GenericMapping, WINBOOL ObjectCreation, LPDWORD GrantedAccessList, LPDWORD AccessStatusList, LPBOOL pfGenerateOnClose);
                                                                                                                                                                                                                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:31:400: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AccessCheckByTypeResultListAndAuditAlarmW (LPCWSTR SubsystemName, LPVOID HandleId, LPCWSTR ObjectTypeName, LPCWSTR ObjectName, PSECURITY_DESCRIPTOR SecurityDescriptor, PSID PrincipalSelfSid, DWORD DesiredAccess, AUDIT_EVENT_TYPE AuditType, DWORD Flags, POBJECT_TYPE_LIST ObjectTypeList, DWORD ObjectTypeListLength, PGENERIC_MAPPING GenericMapping, WINBOOL ObjectCreation, LPDWORD GrantedAccessList, LPDWORD AccessStatusList, LPBOOL pfGenerateOnClose);
                                                                                                                                                                                                                                                                                                                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:31:427: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AccessCheckByTypeResultListAndAuditAlarmW (LPCWSTR SubsystemName, LPVOID HandleId, LPCWSTR ObjectTypeName, LPCWSTR ObjectName, PSECURITY_DESCRIPTOR SecurityDescriptor, PSID PrincipalSelfSid, DWORD DesiredAccess, AUDIT_EVENT_TYPE AuditType, DWORD Flags, POBJECT_TYPE_LIST ObjectTypeList, DWORD ObjectTypeListLength, PGENERIC_MAPPING GenericMapping, WINBOOL ObjectCreation, LPDWORD GrantedAccessList, LPDWORD AccessStatusList, LPBOOL pfGenerateOnClose);
                                                                                                                                                                                                                                                                                                                                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:36:247: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AccessCheckByTypeResultListAndAuditAlarmByHandleW (LPCWSTR SubsystemName, LPVOID HandleId, HANDLE ClientToken, LPCWSTR ObjectTypeName, LPCWSTR ObjectName, PSECURITY_DESCRIPTOR SecurityDescriptor, PSID PrincipalSelfSid, DWORD DesiredAccess, AUDIT_EVENT_TYPE AuditType, DWORD Flags, POBJECT_TYPE_LIST ObjectTypeList, DWORD ObjectTypeListLength, PGENERIC_MAPPING GenericMapping, WINBOOL ObjectCreation, LPDWORD GrantedAccessList, LPDWORD AccessStatusList, LPBOOL pfGenerateOnClose);
                                                                                                                                                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:36:296: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AccessCheckByTypeResultListAndAuditAlarmByHandleW (LPCWSTR SubsystemName, LPVOID HandleId, HANDLE ClientToken, LPCWSTR ObjectTypeName, LPCWSTR ObjectName, PSECURITY_DESCRIPTOR SecurityDescriptor, PSID PrincipalSelfSid, DWORD DesiredAccess, AUDIT_EVENT_TYPE AuditType, DWORD Flags, POBJECT_TYPE_LIST ObjectTypeList, DWORD ObjectTypeListLength, PGENERIC_MAPPING GenericMapping, WINBOOL ObjectCreation, LPDWORD GrantedAccessList, LPDWORD AccessStatusList, LPBOOL pfGenerateOnClose);
                                                                                                                                                                                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:36:343: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AccessCheckByTypeResultListAndAuditAlarmByHandleW (LPCWSTR SubsystemName, LPVOID HandleId, HANDLE ClientToken, LPCWSTR ObjectTypeName, LPCWSTR ObjectName, PSECURITY_DESCRIPTOR SecurityDescriptor, PSID PrincipalSelfSid, DWORD DesiredAccess, AUDIT_EVENT_TYPE AuditType, DWORD Flags, POBJECT_TYPE_LIST ObjectTypeList, DWORD ObjectTypeListLength, PGENERIC_MAPPING GenericMapping, WINBOOL ObjectCreation, LPDWORD GrantedAccessList, LPDWORD AccessStatusList, LPBOOL pfGenerateOnClose);
                                                                                                                                                                                                                                                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:36:428: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AccessCheckByTypeResultListAndAuditAlarmByHandleW (LPCWSTR SubsystemName, LPVOID HandleId, HANDLE ClientToken, LPCWSTR ObjectTypeName, LPCWSTR ObjectName, PSECURITY_DESCRIPTOR SecurityDescriptor, PSID PrincipalSelfSid, DWORD DesiredAccess, AUDIT_EVENT_TYPE AuditType, DWORD Flags, POBJECT_TYPE_LIST ObjectTypeList, DWORD ObjectTypeListLength, PGENERIC_MAPPING GenericMapping, WINBOOL ObjectCreation, LPDWORD GrantedAccessList, LPDWORD AccessStatusList, LPBOOL pfGenerateOnClose);
                                                                                                                                                                                                                                                                                                                                                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:36:455: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AccessCheckByTypeResultListAndAuditAlarmByHandleW (LPCWSTR SubsystemName, LPVOID HandleId, HANDLE ClientToken, LPCWSTR ObjectTypeName, LPCWSTR ObjectName, PSECURITY_DESCRIPTOR SecurityDescriptor, PSID PrincipalSelfSid, DWORD DesiredAccess, AUDIT_EVENT_TYPE AuditType, DWORD Flags, POBJECT_TYPE_LIST ObjectTypeList, DWORD ObjectTypeListLength, PGENERIC_MAPPING GenericMapping, WINBOOL ObjectCreation, LPDWORD GrantedAccessList, LPDWORD AccessStatusList, LPBOOL pfGenerateOnClose);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:41:60: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AddAccessAllowedAce (PACL pAcl, DWORD dwAceRevision, DWORD AccessMask, PSID pSid);
                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:41:81: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AddAccessAllowedAce (PACL pAcl, DWORD dwAceRevision, DWORD AccessMask, PSID pSid);
                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:42:62: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AddAccessAllowedAceEx (PACL pAcl, DWORD dwAceRevision, DWORD AceFlags, DWORD AccessMask, PSID pSid);
                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:42:83: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AddAccessAllowedAceEx (PACL pAcl, DWORD dwAceRevision, DWORD AceFlags, DWORD AccessMask, PSID pSid);
                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:42:99: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AddAccessAllowedAceEx (PACL pAcl, DWORD dwAceRevision, DWORD AceFlags, DWORD AccessMask, PSID pSid);
                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:43:66: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AddAccessAllowedObjectAce (PACL pAcl, DWORD dwAceRevision, DWORD AceFlags, DWORD AccessMask, GUID *ObjectTypeGuid, GUID *InheritedObjectTypeGuid, PSID pSid);
                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:43:87: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AddAccessAllowedObjectAce (PACL pAcl, DWORD dwAceRevision, DWORD AceFlags, DWORD AccessMask, GUID *ObjectTypeGuid, GUID *InheritedObjectTypeGuid, PSID pSid);
                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:43:103: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AddAccessAllowedObjectAce (PACL pAcl, DWORD dwAceRevision, DWORD AceFlags, DWORD AccessMask, GUID *ObjectTypeGuid, GUID *InheritedObjectTypeGuid, PSID pSid);
                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:44:59: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AddAccessDeniedAce (PACL pAcl, DWORD dwAceRevision, DWORD AccessMask, PSID pSid);
                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:44:80: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AddAccessDeniedAce (PACL pAcl, DWORD dwAceRevision, DWORD AccessMask, PSID pSid);
                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:45:61: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AddAccessDeniedAceEx (PACL pAcl, DWORD dwAceRevision, DWORD AceFlags, DWORD AccessMask, PSID pSid);
                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:45:82: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AddAccessDeniedAceEx (PACL pAcl, DWORD dwAceRevision, DWORD AceFlags, DWORD AccessMask, PSID pSid);
                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:45:98: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AddAccessDeniedAceEx (PACL pAcl, DWORD dwAceRevision, DWORD AceFlags, DWORD AccessMask, PSID pSid);
                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:46:65: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AddAccessDeniedObjectAce (PACL pAcl, DWORD dwAceRevision, DWORD AceFlags, DWORD AccessMask, GUID *ObjectTypeGuid, GUID *InheritedObjectTypeGuid, PSID pSid);
                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:46:86: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AddAccessDeniedObjectAce (PACL pAcl, DWORD dwAceRevision, DWORD AceFlags, DWORD AccessMask, GUID *ObjectTypeGuid, GUID *InheritedObjectTypeGuid, PSID pSid);
                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:46:102: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AddAccessDeniedObjectAce (PACL pAcl, DWORD dwAceRevision, DWORD AceFlags, DWORD AccessMask, GUID *ObjectTypeGuid, GUID *InheritedObjectTypeGuid, PSID pSid);
                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:47:47: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AddAce (PACL pAcl, DWORD dwAceRevision, DWORD dwStartingAceIndex, LPVOID pAceList, DWORD nAceListLength);
                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:47:68: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AddAce (PACL pAcl, DWORD dwAceRevision, DWORD dwStartingAceIndex, LPVOID pAceList, DWORD nAceListLength);
                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:47:111: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AddAce (PACL pAcl, DWORD dwAceRevision, DWORD dwStartingAceIndex, LPVOID pAceList, DWORD nAceListLength);
                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:48:58: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AddAuditAccessAce (PACL pAcl, DWORD dwAceRevision, DWORD dwAccessMask, PSID pSid, WINBOOL bAuditSuccess, WINBOOL bAuditFailure);
                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:48:79: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AddAuditAccessAce (PACL pAcl, DWORD dwAceRevision, DWORD dwAccessMask, PSID pSid, WINBOOL bAuditSuccess, WINBOOL bAuditFailure);
                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:49:60: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AddAuditAccessAceEx (PACL pAcl, DWORD dwAceRevision, DWORD AceFlags, DWORD dwAccessMask, PSID pSid, WINBOOL bAuditSuccess, WINBOOL bAuditFailure);
                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:49:81: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AddAuditAccessAceEx (PACL pAcl, DWORD dwAceRevision, DWORD AceFlags, DWORD dwAccessMask, PSID pSid, WINBOOL bAuditSuccess, WINBOOL bAuditFailure);
                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:49:97: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AddAuditAccessAceEx (PACL pAcl, DWORD dwAceRevision, DWORD AceFlags, DWORD dwAccessMask, PSID pSid, WINBOOL bAuditSuccess, WINBOOL bAuditFailure);
                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:50:64: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AddAuditAccessObjectAce (PACL pAcl, DWORD dwAceRevision, DWORD AceFlags, DWORD AccessMask, GUID *ObjectTypeGuid, GUID *InheritedObjectTypeGuid, PSID pSid, WINBOOL bAuditSuccess, WINBOOL bAuditFailure);
                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:50:85: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AddAuditAccessObjectAce (PACL pAcl, DWORD dwAceRevision, DWORD AceFlags, DWORD AccessMask, GUID *ObjectTypeGuid, GUID *InheritedObjectTypeGuid, PSID pSid, WINBOOL bAuditSuccess, WINBOOL bAuditFailure);
                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:50:101: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AddAuditAccessObjectAce (PACL pAcl, DWORD dwAceRevision, DWORD AceFlags, DWORD AccessMask, GUID *ObjectTypeGuid, GUID *InheritedObjectTypeGuid, PSID pSid, WINBOOL bAuditSuccess, WINBOOL bAuditFailure);
                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:60:115: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AdjustTokenGroups (HANDLE TokenHandle, WINBOOL ResetToDefault, PTOKEN_GROUPS NewState, DWORD BufferLength, PTOKEN_GROUPS PreviousState, PDWORD ReturnLength);
                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:60:164: error: 'PDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AdjustTokenGroups (HANDLE TokenHandle, WINBOOL ResetToDefault, PTOKEN_GROUPS NewState, DWORD BufferLength, PTOKEN_GROUPS PreviousState, PDWORD ReturnLength);
                                                                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:61:129: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AdjustTokenPrivileges (HANDLE TokenHandle, WINBOOL DisableAllPrivileges, PTOKEN_PRIVILEGES NewState, DWORD BufferLength, PTOKEN_PRIVILEGES PreviousState, PDWORD ReturnLength);
                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:61:182: error: 'PDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AdjustTokenPrivileges (HANDLE TokenHandle, WINBOOL DisableAllPrivileges, PTOKEN_PRIVILEGES NewState, DWORD BufferLength, PTOKEN_PRIVILEGES PreviousState, PDWORD ReturnLength);
                                                                                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:62:127: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AllocateAndInitializeSid (PSID_IDENTIFIER_AUTHORITY pIdentifierAuthority, BYTE nSubAuthorityCount, DWORD nSubAuthority0, DWORD nSubAuthority1, DWORD nSubAuthority2, DWORD nSubAuthority3, DWORD nSubAuthority4, DWORD nSubAuthority5, DWORD nSubAuthority6, DWORD nSubAuthority7, PSID *pSid);
                                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:62:149: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AllocateAndInitializeSid (PSID_IDENTIFIER_AUTHORITY pIdentifierAuthority, BYTE nSubAuthorityCount, DWORD nSubAuthority0, DWORD nSubAuthority1, DWORD nSubAuthority2, DWORD nSubAuthority3, DWORD nSubAuthority4, DWORD nSubAuthority5, DWORD nSubAuthority6, DWORD nSubAuthority7, PSID *pSid);
                                                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:62:171: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AllocateAndInitializeSid (PSID_IDENTIFIER_AUTHORITY pIdentifierAuthority, BYTE nSubAuthorityCount, DWORD nSubAuthority0, DWORD nSubAuthority1, DWORD nSubAuthority2, DWORD nSubAuthority3, DWORD nSubAuthority4, DWORD nSubAuthority5, DWORD nSubAuthority6, DWORD nSubAuthority7, PSID *pSid);
                                                                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:62:193: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AllocateAndInitializeSid (PSID_IDENTIFIER_AUTHORITY pIdentifierAuthority, BYTE nSubAuthorityCount, DWORD nSubAuthority0, DWORD nSubAuthority1, DWORD nSubAuthority2, DWORD nSubAuthority3, DWORD nSubAuthority4, DWORD nSubAuthority5, DWORD nSubAuthority6, DWORD nSubAuthority7, PSID *pSid);
                                                                                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:62:215: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AllocateAndInitializeSid (PSID_IDENTIFIER_AUTHORITY pIdentifierAuthority, BYTE nSubAuthorityCount, DWORD nSubAuthority0, DWORD nSubAuthority1, DWORD nSubAuthority2, DWORD nSubAuthority3, DWORD nSubAuthority4, DWORD nSubAuthority5, DWORD nSubAuthority6, DWORD nSubAuthority7, PSID *pSid);
                                                                                                                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:62:237: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AllocateAndInitializeSid (PSID_IDENTIFIER_AUTHORITY pIdentifierAuthority, BYTE nSubAuthorityCount, DWORD nSubAuthority0, DWORD nSubAuthority1, DWORD nSubAuthority2, DWORD nSubAuthority3, DWORD nSubAuthority4, DWORD nSubAuthority5, DWORD nSubAuthority6, DWORD nSubAuthority7, PSID *pSid);
                                                                                                                                                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:62:259: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AllocateAndInitializeSid (PSID_IDENTIFIER_AUTHORITY pIdentifierAuthority, BYTE nSubAuthorityCount, DWORD nSubAuthority0, DWORD nSubAuthority1, DWORD nSubAuthority2, DWORD nSubAuthority3, DWORD nSubAuthority4, DWORD nSubAuthority5, DWORD nSubAuthority6, DWORD nSubAuthority7, PSID *pSid);
                                                                                                                                                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:62:281: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AllocateAndInitializeSid (PSID_IDENTIFIER_AUTHORITY pIdentifierAuthority, BYTE nSubAuthorityCount, DWORD nSubAuthority0, DWORD nSubAuthority1, DWORD nSubAuthority2, DWORD nSubAuthority3, DWORD nSubAuthority4, DWORD nSubAuthority5, DWORD nSubAuthority6, DWORD nSubAuthority7, PSID *pSid);
                                                                                                                                                                                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:64:51: error: definition of 'WINBOOL AreAllAccessesGranted' is marked 'dllimport'
   WINADVAPI WINBOOL WINAPI AreAllAccessesGranted (DWORD GrantedAccess, DWORD DesiredAccess);
                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:64:51: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:64:72: error: 'DWORD' was not declared in this scope
   WINADVAPI WINBOOL WINAPI AreAllAccessesGranted (DWORD GrantedAccess, DWORD DesiredAccess);
                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:64:91: error: expression list treated as compound expression in initializer [-fpermissive]
   WINADVAPI WINBOOL WINAPI AreAllAccessesGranted (DWORD GrantedAccess, DWORD DesiredAccess);
                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:65:51: error: definition of 'WINBOOL AreAnyAccessesGranted' is marked 'dllimport'
   WINADVAPI WINBOOL WINAPI AreAnyAccessesGranted (DWORD GrantedAccess, DWORD DesiredAccess);
                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:65:51: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:65:72: error: 'DWORD' was not declared in this scope
   WINADVAPI WINBOOL WINAPI AreAnyAccessesGranted (DWORD GrantedAccess, DWORD DesiredAccess);
                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:65:91: error: expression list treated as compound expression in initializer [-fpermissive]
   WINADVAPI WINBOOL WINAPI AreAnyAccessesGranted (DWORD GrantedAccess, DWORD DesiredAccess);
                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:75:37: error: definition of 'WINBOOL CopySid' is marked 'dllimport'
   WINADVAPI WINBOOL WINAPI CopySid (DWORD nDestinationSidLength, PSID pDestinationSid, PSID pSourceSid);
                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:75:37: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:75:71: error: expected primary-expression before 'pDestinationSid'
   WINADVAPI WINBOOL WINAPI CopySid (DWORD nDestinationSidLength, PSID pDestinationSid, PSID pSourceSid);
                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:75:93: error: expected primary-expression before 'pSourceSid'
   WINADVAPI WINBOOL WINAPI CopySid (DWORD nDestinationSidLength, PSID pDestinationSid, PSID pSourceSid);
                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:75:103: error: expression list treated as compound expression in initializer [-fpermissive]
   WINADVAPI WINBOOL WINAPI CopySid (DWORD nDestinationSidLength, PSID pDestinationSid, PSID pSourceSid);
                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:77:220: error: 'ULONG' has not been declared
   WINADVAPI WINBOOL WINAPI CreatePrivateObjectSecurityEx (PSECURITY_DESCRIPTOR ParentDescriptor, PSECURITY_DESCRIPTOR CreatorDescriptor, PSECURITY_DESCRIPTOR *NewDescriptor, GUID *ObjectType, WINBOOL IsContainerObject, ULONG AutoInheritFlags, HANDLE Token, PGENERIC_MAPPING GenericMapping);
                                                                                                                                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:78:216: error: 'ULONG' has not been declared
   WINADVAPI WINBOOL WINAPI CreatePrivateObjectSecurityWithMultipleInheritance (PSECURITY_DESCRIPTOR ParentDescriptor, PSECURITY_DESCRIPTOR CreatorDescriptor, PSECURITY_DESCRIPTOR *NewDescriptor, GUID **ObjectTypes, ULONG GuidCount, WINBOOL IsContainerObject, ULONG AutoInheritFlags, HANDLE Token, PGENERIC_MAPPING GenericMapping);
                                                                                                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:78:260: error: 'ULONG' has not been declared
   WINADVAPI WINBOOL WINAPI CreatePrivateObjectSecurityWithMultipleInheritance (PSECURITY_DESCRIPTOR ParentDescriptor, PSECURITY_DESCRIPTOR CreatorDescriptor, PSECURITY_DESCRIPTOR *NewDescriptor, GUID **ObjectTypes, ULONG GuidCount, WINBOOL IsContainerObject, ULONG AutoInheritFlags, HANDLE Token, PGENERIC_MAPPING GenericMapping);
                                                                                                                                                                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:79:81: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL APIENTRY CreateRestrictedToken (HANDLE ExistingTokenHandle, DWORD Flags, DWORD DisableSidCount, PSID_AND_ATTRIBUTES SidsToDisable, DWORD DeletePrivilegeCount, PLUID_AND_ATTRIBUTES PrivilegesToDelete, DWORD RestrictedSidCount, PSID_AND_ATTRIBUTES SidsToRestrict, PHANDLE NewTokenHandle);
                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:79:94: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL APIENTRY CreateRestrictedToken (HANDLE ExistingTokenHandle, DWORD Flags, DWORD DisableSidCount, PSID_AND_ATTRIBUTES SidsToDisable, DWORD DeletePrivilegeCount, PLUID_AND_ATTRIBUTES PrivilegesToDelete, DWORD RestrictedSidCount, PSID_AND_ATTRIBUTES SidsToRestrict, PHANDLE NewTokenHandle);
                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:79:152: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL APIENTRY CreateRestrictedToken (HANDLE ExistingTokenHandle, DWORD Flags, DWORD DisableSidCount, PSID_AND_ATTRIBUTES SidsToDisable, DWORD DeletePrivilegeCount, PLUID_AND_ATTRIBUTES PrivilegesToDelete, DWORD RestrictedSidCount, PSID_AND_ATTRIBUTES SidsToRestrict, PHANDLE NewTokenHandle);
                                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:79:221: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL APIENTRY CreateRestrictedToken (HANDLE ExistingTokenHandle, DWORD Flags, DWORD DisableSidCount, PSID_AND_ATTRIBUTES SidsToDisable, DWORD DeletePrivilegeCount, PLUID_AND_ATTRIBUTES PrivilegesToDelete, DWORD RestrictedSidCount, PSID_AND_ATTRIBUTES SidsToRestrict, PHANDLE NewTokenHandle);
                                                                                                                                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:80:113: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI CreateWellKnownSid (WELL_KNOWN_SID_TYPE WellKnownSidType, PSID DomainSid, PSID pSid, DWORD *cbSid);
                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:83:50: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI DeleteAce (PACL pAcl, DWORD dwAceIndex);
                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:86:69: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI DuplicateTokenEx (HANDLE hExistingToken, DWORD dwDesiredAccess, LPSECURITY_ATTRIBUTES lpTokenAttributes, SECURITY_IMPERSONATION_LEVEL ImpersonationLevel, TOKEN_TYPE TokenType, PHANDLE phNewToken);
                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:91:47: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI GetAce (PACL pAcl, DWORD dwAceIndex, LPVOID *pAce);
                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:92:82: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI GetAclInformation (PACL pAcl, LPVOID pAclInformation, DWORD nAclInformationLength, ACL_INFORMATION_CLASS dwAclInformationClass);
                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:93:66: error: 'SECURITY_INFORMATION' has not been declared
   WINADVAPI WINBOOL WINAPI GetFileSecurityW (LPCWSTR lpFileName, SECURITY_INFORMATION RequestedInformation, PSECURITY_DESCRIPTOR pSecurityDescriptor, DWORD nLength, LPDWORD lpnLengthNeeded);
                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:93:151: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI GetFileSecurityW (LPCWSTR lpFileName, SECURITY_INFORMATION RequestedInformation, PSECURITY_DESCRIPTOR pSecurityDescriptor, DWORD nLength, LPDWORD lpnLengthNeeded);
                                                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:93:166: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI GetFileSecurityW (LPCWSTR lpFileName, SECURITY_INFORMATION RequestedInformation, PSECURITY_DESCRIPTOR pSecurityDescriptor, DWORD nLength, LPDWORD lpnLengthNeeded);
                                                                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:98:68: error: 'SECURITY_INFORMATION' has not been declared
   WINADVAPI WINBOOL WINAPI GetKernelObjectSecurity (HANDLE Handle, SECURITY_INFORMATION RequestedInformation, PSECURITY_DESCRIPTOR pSecurityDescriptor, DWORD nLength, LPDWORD lpnLengthNeeded);
                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:98:153: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI GetKernelObjectSecurity (HANDLE Handle, SECURITY_INFORMATION RequestedInformation, PSECURITY_DESCRIPTOR pSecurityDescriptor, DWORD nLength, LPDWORD lpnLengthNeeded);
                                                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:98:168: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI GetKernelObjectSecurity (HANDLE Handle, SECURITY_INFORMATION RequestedInformation, PSECURITY_DESCRIPTOR pSecurityDescriptor, DWORD nLength, LPDWORD lpnLengthNeeded);
                                                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:99:13: error: 'DWORD' does not name a type
   WINADVAPI DWORD WINAPI GetLengthSid (PSID pSid);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:100:93: error: 'SECURITY_INFORMATION' has not been declared
   WINADVAPI WINBOOL WINAPI GetPrivateObjectSecurity (PSECURITY_DESCRIPTOR ObjectDescriptor, SECURITY_INFORMATION SecurityInformation, PSECURITY_DESCRIPTOR ResultantDescriptor, DWORD DescriptorLength, PDWORD ReturnLength);
                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:100:177: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI GetPrivateObjectSecurity (PSECURITY_DESCRIPTOR ObjectDescriptor, SECURITY_INFORMATION SecurityInformation, PSECURITY_DESCRIPTOR ResultantDescriptor, DWORD DescriptorLength, PDWORD ReturnLength);
                                                                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:100:201: error: 'PDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI GetPrivateObjectSecurity (PSECURITY_DESCRIPTOR ObjectDescriptor, SECURITY_INFORMATION SecurityInformation, PSECURITY_DESCRIPTOR ResultantDescriptor, DWORD DescriptorLength, PDWORD ReturnLength);
                                                                                                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:101:139: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI GetSecurityDescriptorControl (PSECURITY_DESCRIPTOR pSecurityDescriptor, PSECURITY_DESCRIPTOR_CONTROL pControl, LPDWORD lpdwRevision);
                                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:104:13: error: 'DWORD' does not name a type
   WINADVAPI DWORD WINAPI GetSecurityDescriptorLength (PSECURITY_DESCRIPTOR pSecurityDescriptor);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:106:13: error: 'DWORD' does not name a type
   WINADVAPI DWORD WINAPI GetSecurityDescriptorRMControl (PSECURITY_DESCRIPTOR SecurityDescriptor, PUCHAR RMControl);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:109:13: error: 'DWORD' does not name a type
   WINADVAPI DWORD WINAPI GetSidLengthRequired (UCHAR nSubAuthorityCount);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:110:13: error: 'PDWORD' does not name a type
   WINADVAPI PDWORD WINAPI GetSidSubAuthority (PSID pSid, DWORD nSubAuthority);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:112:141: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI GetTokenInformation (HANDLE TokenHandle, TOKEN_INFORMATION_CLASS TokenInformationClass, LPVOID TokenInformation, DWORD TokenInformationLength, PDWORD ReturnLength);
                                                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:112:171: error: 'PDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI GetTokenInformation (HANDLE TokenHandle, TOKEN_INFORMATION_CLASS TokenInformationClass, LPVOID TokenInformation, DWORD TokenInformationLength, PDWORD ReturnLength);
                                                                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:113:84: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI GetWindowsAccountDomainSid (PSID pSid, PSID pDomainSid, DWORD *cbDomainSid);
                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:117:54: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI InitializeAcl (PACL pAcl, DWORD nAclLength, DWORD dwAclRevision);
                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:117:72: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI InitializeAcl (PACL pAcl, DWORD nAclLength, DWORD dwAclRevision);
                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:118:100: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI InitializeSecurityDescriptor (PSECURITY_DESCRIPTOR pSecurityDescriptor, DWORD dwRevision);
                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:125:148: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI MakeAbsoluteSD (PSECURITY_DESCRIPTOR pSelfRelativeSecurityDescriptor, PSECURITY_DESCRIPTOR pAbsoluteSecurityDescriptor, LPDWORD lpdwAbsoluteSecurityDescriptorSize, PACL pDacl, LPDWORD lpdwDaclSize, PACL pSacl, LPDWORD lpdwSaclSize, PSID pOwner, LPDWORD lpdwOwnerSize, PSID pPrimaryGroup, LPDWORD lpdwPrimaryGroupSize);
                                                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:125:204: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI MakeAbsoluteSD (PSECURITY_DESCRIPTOR pSelfRelativeSecurityDescriptor, PSECURITY_DESCRIPTOR pAbsoluteSecurityDescriptor, LPDWORD lpdwAbsoluteSecurityDescriptorSize, PACL pDacl, LPDWORD lpdwDaclSize, PACL pSacl, LPDWORD lpdwSaclSize, PSID pOwner, LPDWORD lpdwOwnerSize, PSID pPrimaryGroup, LPDWORD lpdwPrimaryGroupSize);
                                                                                                                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:125:238: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI MakeAbsoluteSD (PSECURITY_DESCRIPTOR pSelfRelativeSecurityDescriptor, PSECURITY_DESCRIPTOR pAbsoluteSecurityDescriptor, LPDWORD lpdwAbsoluteSecurityDescriptorSize, PACL pDacl, LPDWORD lpdwDaclSize, PACL pSacl, LPDWORD lpdwSaclSize, PSID pOwner, LPDWORD lpdwOwnerSize, PSID pPrimaryGroup, LPDWORD lpdwPrimaryGroupSize);
                                                                                                                                                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:125:273: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI MakeAbsoluteSD (PSECURITY_DESCRIPTOR pSelfRelativeSecurityDescriptor, PSECURITY_DESCRIPTOR pAbsoluteSecurityDescriptor, LPDWORD lpdwAbsoluteSecurityDescriptorSize, PACL pDacl, LPDWORD lpdwDaclSize, PACL pSacl, LPDWORD lpdwSaclSize, PSID pOwner, LPDWORD lpdwOwnerSize, PSID pPrimaryGroup, LPDWORD lpdwPrimaryGroupSize);
                                                                                                                                                                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:125:316: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI MakeAbsoluteSD (PSECURITY_DESCRIPTOR pSelfRelativeSecurityDescriptor, PSECURITY_DESCRIPTOR pAbsoluteSecurityDescriptor, LPDWORD lpdwAbsoluteSecurityDescriptorSize, PACL pDacl, LPDWORD lpdwDaclSize, PACL pSacl, LPDWORD lpdwSaclSize, PSID pOwner, LPDWORD lpdwOwnerSize, PSID pPrimaryGroup, LPDWORD lpdwPrimaryGroupSize);
                                                                                                                                                                                                                                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:126:152: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI MakeSelfRelativeSD (PSECURITY_DESCRIPTOR pAbsoluteSecurityDescriptor, PSECURITY_DESCRIPTOR pSelfRelativeSecurityDescriptor, LPDWORD lpdwBufferLength);
                                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:127:41: error: variable or field 'MapGenericMask' declared void
   WINADVAPI VOID WINAPI MapGenericMask (PDWORD AccessMask, PGENERIC_MAPPING GenericMapping);
                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:127:41: error: 'PDWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:127:77: error: expected primary-expression before 'GenericMapping'
   WINADVAPI VOID WINAPI MapGenericMask (PDWORD AccessMask, PGENERIC_MAPPING GenericMapping);
                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:138:195: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI ObjectOpenAuditAlarmW (LPCWSTR SubsystemName, LPVOID HandleId, LPWSTR ObjectTypeName, LPWSTR ObjectName, PSECURITY_DESCRIPTOR pSecurityDescriptor, HANDLE ClientToken, DWORD DesiredAccess, DWORD GrantedAccess, PPRIVILEGE_SET Privileges, WINBOOL ObjectCreation, WINBOOL AccessGranted, LPBOOL GenerateOnClose);
                                                                                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:138:216: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI ObjectOpenAuditAlarmW (LPCWSTR SubsystemName, LPVOID HandleId, LPWSTR ObjectTypeName, LPWSTR ObjectName, PSECURITY_DESCRIPTOR pSecurityDescriptor, HANDLE ClientToken, DWORD DesiredAccess, DWORD GrantedAccess, PPRIVILEGE_SET Privileges, WINBOOL ObjectCreation, WINBOOL AccessGranted, LPBOOL GenerateOnClose);
                                                                                                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:143:116: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI ObjectPrivilegeAuditAlarmW (LPCWSTR SubsystemName, LPVOID HandleId, HANDLE ClientToken, DWORD DesiredAccess, PPRIVILEGE_SET Privileges, WINBOOL AccessGranted);
                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:159:82: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI SetAclInformation (PACL pAcl, LPVOID pAclInformation, DWORD nAclInformationLength, ACL_INFORMATION_CLASS dwAclInformationClass);
                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:160:66: error: 'SECURITY_INFORMATION' has not been declared
   WINADVAPI WINBOOL WINAPI SetFileSecurityW (LPCWSTR lpFileName, SECURITY_INFORMATION SecurityInformation, PSECURITY_DESCRIPTOR pSecurityDescriptor);
                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:165:68: error: 'SECURITY_INFORMATION' has not been declared
   WINADVAPI WINBOOL WINAPI SetKernelObjectSecurity (HANDLE Handle, SECURITY_INFORMATION SecurityInformation, PSECURITY_DESCRIPTOR SecurityDescriptor);
                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:166:54: error: definition of 'WINBOOL SetPrivateObjectSecurity' is marked 'dllimport'
   WINADVAPI WINBOOL WINAPI SetPrivateObjectSecurity (SECURITY_INFORMATION SecurityInformation, PSECURITY_DESCRIPTOR ModificationDescriptor, PSECURITY_DESCRIPTOR *ObjectsSecurityDescriptor, PGENERIC_MAPPING GenericMapping, HANDLE Token);
                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:166:54: error: 'SECURITY_INFORMATION' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:166:117: error: expected primary-expression before 'ModificationDescriptor'
   WINADVAPI WINBOOL WINAPI SetPrivateObjectSecurity (SECURITY_INFORMATION SecurityInformation, PSECURITY_DESCRIPTOR ModificationDescriptor, PSECURITY_DESCRIPTOR *ObjectsSecurityDescriptor, PGENERIC_MAPPING GenericMapping, HANDLE Token);
                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:166:162: error: expected primary-expression before '*' token
   WINADVAPI WINBOOL WINAPI SetPrivateObjectSecurity (SECURITY_INFORMATION SecurityInformation, PSECURITY_DESCRIPTOR ModificationDescriptor, PSECURITY_DESCRIPTOR *ObjectsSecurityDescriptor, PGENERIC_MAPPING GenericMapping, HANDLE Token);
                                                                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:166:163: error: 'ObjectsSecurityDescriptor' was not declared in this scope
   WINADVAPI WINBOOL WINAPI SetPrivateObjectSecurity (SECURITY_INFORMATION SecurityInformation, PSECURITY_DESCRIPTOR ModificationDescriptor, PSECURITY_DESCRIPTOR *ObjectsSecurityDescriptor, PGENERIC_MAPPING GenericMapping, HANDLE Token);
                                                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:166:207: error: expected primary-expression before 'GenericMapping'
   WINADVAPI WINBOOL WINAPI SetPrivateObjectSecurity (SECURITY_INFORMATION SecurityInformation, PSECURITY_DESCRIPTOR ModificationDescriptor, PSECURITY_DESCRIPTOR *ObjectsSecurityDescriptor, PGENERIC_MAPPING GenericMapping, HANDLE Token);
                                                                                                                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:166:230: error: expected primary-expression before 'Token'
   WINADVAPI WINBOOL WINAPI SetPrivateObjectSecurity (SECURITY_INFORMATION SecurityInformation, PSECURITY_DESCRIPTOR ModificationDescriptor, PSECURITY_DESCRIPTOR *ObjectsSecurityDescriptor, PGENERIC_MAPPING GenericMapping, HANDLE Token);
                                                                                                                                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:166:235: error: expression list treated as compound expression in initializer [-fpermissive]
   WINADVAPI WINBOOL WINAPI SetPrivateObjectSecurity (SECURITY_INFORMATION SecurityInformation, PSECURITY_DESCRIPTOR ModificationDescriptor, PSECURITY_DESCRIPTOR *ObjectsSecurityDescriptor, PGENERIC_MAPPING GenericMapping, HANDLE Token);
                                                                                                                                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:167:56: error: definition of 'WINBOOL SetPrivateObjectSecurityEx' is marked 'dllimport'
   WINADVAPI WINBOOL WINAPI SetPrivateObjectSecurityEx (SECURITY_INFORMATION SecurityInformation, PSECURITY_DESCRIPTOR ModificationDescriptor, PSECURITY_DESCRIPTOR *ObjectsSecurityDescriptor, ULONG AutoInheritFlags, PGENERIC_MAPPING GenericMapping, HANDLE Token);
                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:167:56: error: 'SECURITY_INFORMATION' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:167:119: error: expected primary-expression before 'ModificationDescriptor'
   WINADVAPI WINBOOL WINAPI SetPrivateObjectSecurityEx (SECURITY_INFORMATION SecurityInformation, PSECURITY_DESCRIPTOR ModificationDescriptor, PSECURITY_DESCRIPTOR *ObjectsSecurityDescriptor, ULONG AutoInheritFlags, PGENERIC_MAPPING GenericMapping, HANDLE Token);
                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:167:164: error: expected primary-expression before '*' token
   WINADVAPI WINBOOL WINAPI SetPrivateObjectSecurityEx (SECURITY_INFORMATION SecurityInformation, PSECURITY_DESCRIPTOR ModificationDescriptor, PSECURITY_DESCRIPTOR *ObjectsSecurityDescriptor, ULONG AutoInheritFlags, PGENERIC_MAPPING GenericMapping, HANDLE Token);
                                                                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:167:165: error: 'ObjectsSecurityDescriptor' was not declared in this scope
   WINADVAPI WINBOOL WINAPI SetPrivateObjectSecurityEx (SECURITY_INFORMATION SecurityInformation, PSECURITY_DESCRIPTOR ModificationDescriptor, PSECURITY_DESCRIPTOR *ObjectsSecurityDescriptor, ULONG AutoInheritFlags, PGENERIC_MAPPING GenericMapping, HANDLE Token);
                                                                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:167:192: error: 'ULONG' was not declared in this scope
   WINADVAPI WINBOOL WINAPI SetPrivateObjectSecurityEx (SECURITY_INFORMATION SecurityInformation, PSECURITY_DESCRIPTOR ModificationDescriptor, PSECURITY_DESCRIPTOR *ObjectsSecurityDescriptor, ULONG AutoInheritFlags, PGENERIC_MAPPING GenericMapping, HANDLE Token);
                                                                                                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:167:233: error: expected primary-expression before 'GenericMapping'
   WINADVAPI WINBOOL WINAPI SetPrivateObjectSecurityEx (SECURITY_INFORMATION SecurityInformation, PSECURITY_DESCRIPTOR ModificationDescriptor, PSECURITY_DESCRIPTOR *ObjectsSecurityDescriptor, ULONG AutoInheritFlags, PGENERIC_MAPPING GenericMapping, HANDLE Token);
                                                                                                                                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:167:256: error: expected primary-expression before 'Token'
   WINADVAPI WINBOOL WINAPI SetPrivateObjectSecurityEx (SECURITY_INFORMATION SecurityInformation, PSECURITY_DESCRIPTOR ModificationDescriptor, PSECURITY_DESCRIPTOR *ObjectsSecurityDescriptor, ULONG AutoInheritFlags, PGENERIC_MAPPING GenericMapping, HANDLE Token);
                                                                                                                                                                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:167:261: error: expression list treated as compound expression in initializer [-fpermissive]
   WINADVAPI WINBOOL WINAPI SetPrivateObjectSecurityEx (SECURITY_INFORMATION SecurityInformation, PSECURITY_DESCRIPTOR ModificationDescriptor, PSECURITY_DESCRIPTOR *ObjectsSecurityDescriptor, ULONG AutoInheritFlags, PGENERIC_MAPPING GenericMapping, HANDLE Token);
                                                                                                                                                                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:177:13: error: 'DWORD' does not name a type
   WINADVAPI DWORD WINAPI SetSecurityDescriptorRMControl (PSECURITY_DESCRIPTOR SecurityDescriptor, PUCHAR RMControl);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/securitybaseapi.h:179:141: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI SetTokenInformation (HANDLE TokenHandle, TOKEN_INFORMATION_CLASS TokenInformationClass, LPVOID TokenInformation, DWORD TokenInformationLength);
                                                                                                                                             ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:35:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:70,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/synchapi.h:49:66: error: 'LONG' has not been declared
   WINBASEAPI WINBOOL WINAPI ReleaseSemaphore (HANDLE hSemaphore, LONG lReleaseCount, LPLONG lpPreviousCount);
                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/synchapi.h:49:86: error: 'LPLONG' has not been declared
   WINBASEAPI WINBOOL WINAPI ReleaseSemaphore (HANDLE hSemaphore, LONG lReleaseCount, LPLONG lpPreviousCount);
                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/synchapi.h:51:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI WaitForSingleObjectEx (HANDLE hHandle, DWORD dwMilliseconds, WINBOOL bAlertable);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/synchapi.h:52:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI WaitForMultipleObjectsEx (DWORD nCount, CONST HANDLE *lpHandles, WINBOOL bWaitAll, DWORD dwMilliseconds, WINBOOL bAlertable);
              ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:35:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:70,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/synchapi.h:53:40: error: definition of 'void* OpenMutexW' is marked 'dllimport'
   WINBASEAPI HANDLE WINAPI OpenMutexW (DWORD dwDesiredAccess, WINBOOL bInheritHandle, LPCWSTR lpName);
                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/synchapi.h:53:40: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/synchapi.h:53:71: error: expected primary-expression before 'bInheritHandle'
   WINBASEAPI HANDLE WINAPI OpenMutexW (DWORD dwDesiredAccess, WINBOOL bInheritHandle, LPCWSTR lpName);
                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/synchapi.h:53:95: error: expected primary-expression before 'lpName'
   WINBASEAPI HANDLE WINAPI OpenMutexW (DWORD dwDesiredAccess, WINBOOL bInheritHandle, LPCWSTR lpName);
                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/synchapi.h:53:101: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI HANDLE WINAPI OpenMutexW (DWORD dwDesiredAccess, WINBOOL bInheritHandle, LPCWSTR lpName);
                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/synchapi.h:54:40: error: definition of 'void* OpenEventA' is marked 'dllimport'
   WINBASEAPI HANDLE WINAPI OpenEventA (DWORD dwDesiredAccess, WINBOOL bInheritHandle, LPCSTR lpName);
                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/synchapi.h:54:40: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/synchapi.h:54:71: error: expected primary-expression before 'bInheritHandle'
   WINBASEAPI HANDLE WINAPI OpenEventA (DWORD dwDesiredAccess, WINBOOL bInheritHandle, LPCSTR lpName);
                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/synchapi.h:54:94: error: expected primary-expression before 'lpName'
   WINBASEAPI HANDLE WINAPI OpenEventA (DWORD dwDesiredAccess, WINBOOL bInheritHandle, LPCSTR lpName);
                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/synchapi.h:54:100: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI HANDLE WINAPI OpenEventA (DWORD dwDesiredAccess, WINBOOL bInheritHandle, LPCSTR lpName);
                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/synchapi.h:55:40: error: definition of 'void* OpenEventW' is marked 'dllimport'
   WINBASEAPI HANDLE WINAPI OpenEventW (DWORD dwDesiredAccess, WINBOOL bInheritHandle, LPCWSTR lpName);
                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/synchapi.h:55:40: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/synchapi.h:55:71: error: expected primary-expression before 'bInheritHandle'
   WINBASEAPI HANDLE WINAPI OpenEventW (DWORD dwDesiredAccess, WINBOOL bInheritHandle, LPCWSTR lpName);
                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/synchapi.h:55:95: error: expected primary-expression before 'lpName'
   WINBASEAPI HANDLE WINAPI OpenEventW (DWORD dwDesiredAccess, WINBOOL bInheritHandle, LPCWSTR lpName);
                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/synchapi.h:55:101: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI HANDLE WINAPI OpenEventW (DWORD dwDesiredAccess, WINBOOL bInheritHandle, LPCWSTR lpName);
                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/synchapi.h:56:44: error: definition of 'void* OpenSemaphoreW' is marked 'dllimport'
   WINBASEAPI HANDLE WINAPI OpenSemaphoreW (DWORD dwDesiredAccess, WINBOOL bInheritHandle, LPCWSTR lpName);
                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/synchapi.h:56:44: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/synchapi.h:56:75: error: expected primary-expression before 'bInheritHandle'
   WINBASEAPI HANDLE WINAPI OpenSemaphoreW (DWORD dwDesiredAccess, WINBOOL bInheritHandle, LPCWSTR lpName);
                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/synchapi.h:56:99: error: expected primary-expression before 'lpName'
   WINBASEAPI HANDLE WINAPI OpenSemaphoreW (DWORD dwDesiredAccess, WINBOOL bInheritHandle, LPCWSTR lpName);
                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/synchapi.h:56:105: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI HANDLE WINAPI OpenSemaphoreW (DWORD dwDesiredAccess, WINBOOL bInheritHandle, LPCWSTR lpName);
                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/synchapi.h:57:99: error: 'DWORD' has not been declared
   WINBOOL WINAPI WaitOnAddress (volatile VOID *Address, PVOID CompareAddress, SIZE_T AddressSize, DWORD dwMilliseconds);
                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/synchapi.h:102:79: error: 'DWORD' has not been declared
   typedef VOID (APIENTRY *PTIMERAPCROUTINE) (LPVOID lpArgToCompletionRoutine, DWORD dwTimerLowValue, DWORD dwTimerHighValue);
                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/synchapi.h:102:102: error: 'DWORD' has not been declared
   typedef VOID (APIENTRY *PTIMERAPCROUTINE) (LPVOID lpArgToCompletionRoutine, DWORD dwTimerLowValue, DWORD dwTimerHighValue);
                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/synchapi.h:113:106: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI InitializeCriticalSectionAndSpinCount (LPCRITICAL_SECTION lpCriticalSection, DWORD dwSpinCount);
                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/synchapi.h:114:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI SetCriticalSectionSpinCount (LPCRITICAL_SECTION lpCriticalSection, DWORD dwSpinCount);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/synchapi.h:115:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI WaitForSingleObject (HANDLE hHandle, DWORD dwMilliseconds);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/synchapi.h:116:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI SleepEx (DWORD dwMilliseconds, WINBOOL bAlertable);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/synchapi.h:121:94: error: 'LONG' has not been declared
   WINBASEAPI WINBOOL WINAPI SetWaitableTimer (HANDLE hTimer, const LARGE_INTEGER *lpDueTime, LONG lPeriod, PTIMERAPCROUTINE pfnCompletionRoutine, LPVOID lpArgToCompletionRoutine, WINBOOL fResume);
                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/synchapi.h:123:48: error: definition of 'void* OpenWaitableTimerW' is marked 'dllimport'
   WINBASEAPI HANDLE WINAPI OpenWaitableTimerW (DWORD dwDesiredAccess, WINBOOL bInheritHandle, LPCWSTR lpTimerName);
                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/synchapi.h:123:48: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/synchapi.h:123:79: error: expected primary-expression before 'bInheritHandle'
   WINBASEAPI HANDLE WINAPI OpenWaitableTimerW (DWORD dwDesiredAccess, WINBOOL bInheritHandle, LPCWSTR lpTimerName);
                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/synchapi.h:123:103: error: expected primary-expression before 'lpTimerName'
   WINBASEAPI HANDLE WINAPI OpenWaitableTimerW (DWORD dwDesiredAccess, WINBOOL bInheritHandle, LPCWSTR lpTimerName);
                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/synchapi.h:123:114: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI HANDLE WINAPI OpenWaitableTimerW (DWORD dwDesiredAccess, WINBOOL bInheritHandle, LPCWSTR lpTimerName);
                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/synchapi.h:124:84: error: 'DWORD' has not been declared
   WINBOOL WINAPI EnterSynchronizationBarrier (LPSYNCHRONIZATION_BARRIER lpBarrier, DWORD dwFlags);
                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/synchapi.h:125:89: error: 'LONG' has not been declared
   WINBOOL WINAPI InitializeSynchronizationBarrier (LPSYNCHRONIZATION_BARRIER lpBarrier, LONG lTotalThreads, LONG lSpinCount);
                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/synchapi.h:125:109: error: 'LONG' has not been declared
   WINBOOL WINAPI InitializeSynchronizationBarrier (LPSYNCHRONIZATION_BARRIER lpBarrier, LONG lTotalThreads, LONG lSpinCount);
                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/synchapi.h:127:33: error: variable or field 'Sleep' declared void
   WINBASEAPI VOID WINAPI Sleep (DWORD dwMilliseconds);
                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/synchapi.h:127:33: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/synchapi.h:128:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI SignalObjectAndWait (HANDLE hObjectToSignal, HANDLE hObjectToWaitOn, DWORD dwMilliseconds, WINBOOL bAlertable);
              ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:36:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:70,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sysinfoapi.h:20:7: error: 'DWORD' does not name a type
       DWORD dwOemId;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sysinfoapi.h:26:5: error: 'DWORD' does not name a type
     DWORD dwPageSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sysinfoapi.h:30:5: error: 'DWORD' does not name a type
     DWORD dwNumberOfProcessors;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sysinfoapi.h:31:5: error: 'DWORD' does not name a type
     DWORD dwProcessorType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sysinfoapi.h:32:5: error: 'DWORD' does not name a type
     DWORD dwAllocationGranularity;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sysinfoapi.h:47:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetVersion (VOID);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sysinfoapi.h:50:5: error: 'DWORD' does not name a type
     DWORD dwLength;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sysinfoapi.h:51:5: error: 'DWORD' does not name a type
     DWORD dwMemoryLoad;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sysinfoapi.h:76:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetTickCount (VOID);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sysinfoapi.h:77:54: error: definition of 'WINBOOL GetSystemTimeAdjustment' is marked 'dllimport'
   WINBASEAPI WINBOOL WINAPI GetSystemTimeAdjustment (PDWORD lpTimeAdjustment, PDWORD lpTimeIncrement, PBOOL lpTimeAdjustmentDisabled);
                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sysinfoapi.h:77:54: error: 'PDWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sysinfoapi.h:77:79: error: 'PDWORD' was not declared in this scope
   WINBASEAPI WINBOOL WINAPI GetSystemTimeAdjustment (PDWORD lpTimeAdjustment, PDWORD lpTimeIncrement, PBOOL lpTimeAdjustmentDisabled);
                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sysinfoapi.h:77:109: error: expected primary-expression before 'lpTimeAdjustmentDisabled'
   WINBASEAPI WINBOOL WINAPI GetSystemTimeAdjustment (PDWORD lpTimeAdjustment, PDWORD lpTimeIncrement, PBOOL lpTimeAdjustmentDisabled);
                                                                                                             ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:36:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:70,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sysinfoapi.h:77:133: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI WINBOOL WINAPI GetSystemTimeAdjustment (PDWORD lpTimeAdjustment, PDWORD lpTimeIncrement, PBOOL lpTimeAdjustmentDisabled);
                                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sysinfoapi.h:84:96: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetComputerNameExA (COMPUTER_NAME_FORMAT NameType, LPSTR lpBuffer, LPDWORD nSize);
                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sysinfoapi.h:85:97: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetComputerNameExW (COMPUTER_NAME_FORMAT NameType, LPWSTR lpBuffer, LPDWORD nSize);
                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sysinfoapi.h:90:107: error: 'PDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetLogicalProcessorInformation (PSYSTEM_LOGICAL_PROCESSOR_INFORMATION Buffer, PDWORD ReturnedLength);
                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sysinfoapi.h:91:74: error: 'ULONG' has not been declared
   NTSYSAPI ULONGLONG NTAPI VerSetConditionMask (ULONGLONG ConditionMask, ULONG TypeMask, UCHAR Condition);
                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sysinfoapi.h:93:52: error: definition of 'UINT EnumSystemFirmwareTables' is marked 'dllimport'
   WINBASEAPI UINT WINAPI EnumSystemFirmwareTables (DWORD FirmwareTableProviderSignature, PVOID pFirmwareTableEnumBuffer, DWORD BufferSize);
                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sysinfoapi.h:93:52: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sysinfoapi.h:93:96: error: expected primary-expression before 'pFirmwareTableEnumBuffer'
   WINBASEAPI UINT WINAPI EnumSystemFirmwareTables (DWORD FirmwareTableProviderSignature, PVOID pFirmwareTableEnumBuffer, DWORD BufferSize);
                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sysinfoapi.h:93:122: error: 'DWORD' was not declared in this scope
   WINBASEAPI UINT WINAPI EnumSystemFirmwareTables (DWORD FirmwareTableProviderSignature, PVOID pFirmwareTableEnumBuffer, DWORD BufferSize);
                                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sysinfoapi.h:93:138: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI UINT WINAPI EnumSystemFirmwareTables (DWORD FirmwareTableProviderSignature, PVOID pFirmwareTableEnumBuffer, DWORD BufferSize);
                                                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sysinfoapi.h:94:50: error: definition of 'UINT GetSystemFirmwareTable' is marked 'dllimport'
   WINBASEAPI UINT WINAPI GetSystemFirmwareTable (DWORD FirmwareTableProviderSignature, DWORD FirmwareTableID, PVOID pFirmwareTableBuffer, DWORD BufferSize);
                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sysinfoapi.h:94:50: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sysinfoapi.h:94:88: error: 'DWORD' was not declared in this scope
   WINBASEAPI UINT WINAPI GetSystemFirmwareTable (DWORD FirmwareTableProviderSignature, DWORD FirmwareTableID, PVOID pFirmwareTableBuffer, DWORD BufferSize);
                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sysinfoapi.h:94:117: error: expected primary-expression before 'pFirmwareTableBuffer'
   WINBASEAPI UINT WINAPI GetSystemFirmwareTable (DWORD FirmwareTableProviderSignature, DWORD FirmwareTableID, PVOID pFirmwareTableBuffer, DWORD BufferSize);
                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sysinfoapi.h:94:139: error: 'DWORD' was not declared in this scope
   WINBASEAPI UINT WINAPI GetSystemFirmwareTable (DWORD FirmwareTableProviderSignature, DWORD FirmwareTableID, PVOID pFirmwareTableBuffer, DWORD BufferSize);
                                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sysinfoapi.h:94:155: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI UINT WINAPI GetSystemFirmwareTable (DWORD FirmwareTableProviderSignature, DWORD FirmwareTableID, PVOID pFirmwareTableBuffer, DWORD BufferSize);
                                                                                                                                                           ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:37:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:70,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/systemtopologyapi.h:18:55: error: definition of 'WINBOOL GetNumaHighestNodeNumber' is marked 'dllimport'
   WINBASEAPI WINBOOL WINAPI GetNumaHighestNodeNumber (PULONG HighestNodeNumber);
                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/systemtopologyapi.h:18:55: error: 'PULONG' was not declared in this scope
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:38:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:70,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/threadpoolapiset.h:18:114: error: 'ULONG' has not been declared
   typedef VOID (WINAPI *PTP_WIN32_IO_CALLBACK) (PTP_CALLBACK_INSTANCE Instance, PVOID Context, PVOID Overlapped, ULONG IoResult, ULONG_PTR NumberOfBytesTransferred, PTP_IO Io);
                                                                                                                  ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:39:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:70,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/threadpoollegacyapiset.h:18:48: error: definition of 'WINBOOL QueueUserWorkItem' is marked 'dllimport'
   WINBASEAPI WINBOOL WINAPI QueueUserWorkItem (LPTHREAD_START_ROUTINE Function, PVOID Context, ULONG Flags);
                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/threadpoollegacyapiset.h:18:48: error: 'LPTHREAD_START_ROUTINE' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/threadpoollegacyapiset.h:18:87: error: expected primary-expression before 'Context'
   WINBASEAPI WINBOOL WINAPI QueueUserWorkItem (LPTHREAD_START_ROUTINE Function, PVOID Context, ULONG Flags);
                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/threadpoollegacyapiset.h:18:96: error: 'ULONG' was not declared in this scope
   WINBASEAPI WINBOOL WINAPI QueueUserWorkItem (LPTHREAD_START_ROUTINE Function, PVOID Context, ULONG Flags);
                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/threadpoollegacyapiset.h:18:107: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI WINBOOL WINAPI QueueUserWorkItem (LPTHREAD_START_ROUTINE Function, PVOID Context, ULONG Flags);
                                                                                                           ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:39:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:70,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/threadpoollegacyapiset.h:21:138: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI CreateTimerQueueTimer (PHANDLE phNewTimer, HANDLE TimerQueue, WAITORTIMERCALLBACK Callback, PVOID Parameter, DWORD DueTime, DWORD Period, ULONG Flags);
                                                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/threadpoollegacyapiset.h:21:153: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI CreateTimerQueueTimer (PHANDLE phNewTimer, HANDLE TimerQueue, WAITORTIMERCALLBACK Callback, PVOID Parameter, DWORD DueTime, DWORD Period, ULONG Flags);
                                                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/threadpoollegacyapiset.h:21:167: error: 'ULONG' has not been declared
   WINBASEAPI WINBOOL WINAPI CreateTimerQueueTimer (PHANDLE phNewTimer, HANDLE TimerQueue, WAITORTIMERCALLBACK Callback, PVOID Parameter, DWORD DueTime, DWORD Period, ULONG Flags);
                                                                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/threadpoollegacyapiset.h:22:85: error: 'ULONG' has not been declared
   WINBASEAPI WINBOOL WINAPI ChangeTimerQueueTimer (HANDLE TimerQueue, HANDLE Timer, ULONG DueTime, ULONG Period);
                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/threadpoollegacyapiset.h:22:100: error: 'ULONG' has not been declared
   WINBASEAPI WINBOOL WINAPI ChangeTimerQueueTimer (HANDLE TimerQueue, HANDLE Timer, ULONG DueTime, ULONG Period);
                                                                                                    ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:40:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:70,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/utilapiset.h:24:35: error: definition of 'WINBOOL Beep' is marked 'dllimport'
   WINBASEAPI WINBOOL WINAPI Beep (DWORD dwFreq, DWORD dwDuration);
                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/utilapiset.h:24:35: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/utilapiset.h:24:49: error: 'DWORD' was not declared in this scope
   WINBASEAPI WINBOOL WINAPI Beep (DWORD dwFreq, DWORD dwDuration);
                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/utilapiset.h:24:65: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI WINBOOL WINAPI Beep (DWORD dwFreq, DWORD dwDuration);
                                                                 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:70:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:239:5: error: 'DWORD' does not name a type
     DWORD dwServiceMask;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:240:5: error: 'DWORD' does not name a type
     DWORD dwReserved1;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:241:5: error: 'DWORD' does not name a type
     DWORD dwMaxTxQueue;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:242:5: error: 'DWORD' does not name a type
     DWORD dwMaxRxQueue;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:243:5: error: 'DWORD' does not name a type
     DWORD dwMaxBaud;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:244:5: error: 'DWORD' does not name a type
     DWORD dwProvSubType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:245:5: error: 'DWORD' does not name a type
     DWORD dwProvCapabilities;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:246:5: error: 'DWORD' does not name a type
     DWORD dwSettableParams;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:247:5: error: 'DWORD' does not name a type
     DWORD dwSettableBaud;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:250:5: error: 'DWORD' does not name a type
     DWORD dwCurrentTxQueue;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:251:5: error: 'DWORD' does not name a type
     DWORD dwCurrentRxQueue;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:252:5: error: 'DWORD' does not name a type
     DWORD dwProvSpec1;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:253:5: error: 'DWORD' does not name a type
     DWORD dwProvSpec2;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:260:5: error: 'DWORD' does not name a type
     DWORD fCtsHold : 1;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:261:5: error: 'DWORD' does not name a type
     DWORD fDsrHold : 1;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:262:5: error: 'DWORD' does not name a type
     DWORD fRlsdHold : 1;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:263:5: error: 'DWORD' does not name a type
     DWORD fXoffHold : 1;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:264:5: error: 'DWORD' does not name a type
     DWORD fXoffSent : 1;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:265:5: error: 'DWORD' does not name a type
     DWORD fEof : 1;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:266:5: error: 'DWORD' does not name a type
     DWORD fTxim : 1;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:267:5: error: 'DWORD' does not name a type
     DWORD fReserved : 25;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:268:5: error: 'DWORD' does not name a type
     DWORD cbInQue;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:269:5: error: 'DWORD' does not name a type
     DWORD cbOutQue;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:282:5: error: 'DWORD' does not name a type
     DWORD DCBlength;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:283:5: error: 'DWORD' does not name a type
     DWORD BaudRate;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:284:5: error: 'DWORD' does not name a type
     DWORD fBinary: 1;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:285:5: error: 'DWORD' does not name a type
     DWORD fParity: 1;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:286:5: error: 'DWORD' does not name a type
     DWORD fOutxCtsFlow:1;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:287:5: error: 'DWORD' does not name a type
     DWORD fOutxDsrFlow:1;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:288:5: error: 'DWORD' does not name a type
     DWORD fDtrControl:2;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:289:5: error: 'DWORD' does not name a type
     DWORD fDsrSensitivity:1;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:290:5: error: 'DWORD' does not name a type
     DWORD fTXContinueOnXoff: 1;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:291:5: error: 'DWORD' does not name a type
     DWORD fOutX: 1;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:292:5: error: 'DWORD' does not name a type
     DWORD fInX: 1;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:293:5: error: 'DWORD' does not name a type
     DWORD fErrorChar: 1;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:294:5: error: 'DWORD' does not name a type
     DWORD fNull: 1;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:295:5: error: 'DWORD' does not name a type
     DWORD fRtsControl:2;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:296:5: error: 'DWORD' does not name a type
     DWORD fAbortOnError:1;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:297:5: error: 'DWORD' does not name a type
     DWORD fDummy2:17;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:313:5: error: 'DWORD' does not name a type
     DWORD ReadIntervalTimeout;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:314:5: error: 'DWORD' does not name a type
     DWORD ReadTotalTimeoutMultiplier;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:315:5: error: 'DWORD' does not name a type
     DWORD ReadTotalTimeoutConstant;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:316:5: error: 'DWORD' does not name a type
     DWORD WriteTotalTimeoutMultiplier;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:317:5: error: 'DWORD' does not name a type
     DWORD WriteTotalTimeoutConstant;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:321:5: error: 'DWORD' does not name a type
     DWORD dwSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:325:5: error: 'DWORD' does not name a type
     DWORD dwProviderSubType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:326:5: error: 'DWORD' does not name a type
     DWORD dwProviderOffset;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:327:5: error: 'DWORD' does not name a type
     DWORD dwProviderSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:361:5: error: 'DWORD' does not name a type
     DWORD dwLength;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:362:5: error: 'DWORD' does not name a type
     DWORD dwMemoryLoad;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:428:5: error: 'DWORD' does not name a type
     DWORD dwSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:429:5: error: 'DWORD' does not name a type
     DWORD dwProcessorArchitecture;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:430:5: error: 'DWORD' does not name a type
     DWORD dwThreadID;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:431:5: error: 'DWORD' does not name a type
     DWORD dwReserved0;
     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:70:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:904:3: error: 'LONG' does not name a type
   LONG __cdecl InterlockedAnd(LONG volatile *Destination, LONG Value);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:905:3: error: 'LONG' does not name a type
   LONG __cdecl InterlockedOr(LONG volatile *Destination, LONG Value);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:906:3: error: 'LONG' does not name a type
   LONG __cdecl InterlockedXor(LONG volatile *Destination, LONG Value);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1075:43: error: definition of 'SIZE_T GlobalCompact' is marked 'dllimport'
   WINBASEAPI SIZE_T WINAPI GlobalCompact (DWORD dwMinFree);
                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1075:43: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1113:71: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetBinaryTypeA (LPCSTR lpApplicationName, LPDWORD lpBinaryType);
                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1114:72: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetBinaryTypeW (LPCWSTR lpApplicationName, LPDWORD lpBinaryType);
                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1115:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetShortPathNameA (LPCSTR lpszLongPath, LPSTR lpszShortPath, DWORD cchBuffer);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1141:111: error: 'DWORD' has not been declared
   WINBASEAPI VOID WINAPI RaiseFailFastException (PEXCEPTION_RECORD pExceptionRecord, PCONTEXT pContextRecord, DWORD dwFlags);
                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1149:96: error: 'DWORD' has not been declared
   WINBASEAPI LPVOID WINAPI CreateFiberEx (SIZE_T dwStackCommitSize, SIZE_T dwStackReserveSize, DWORD dwFlags, LPFIBER_START_ROUTINE lpStartAddress, LPVOID lpParameter);
                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1152:72: error: 'DWORD' has not been declared
   WINBASEAPI LPVOID WINAPI ConvertThreadToFiberEx (LPVOID lpParameter, DWORD dwFlags);
                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1156:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI SetThreadIdealProcessor (HANDLE hThread, DWORD dwIdealProcessor);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1202:69: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetThreadSelectorEntry (HANDLE hThread, DWORD dwSelector, LPLDT_ENTRY lpSelectorEntry);
                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1203:14: error: 'EXECUTION_STATE' does not name a type
   WINBASEAPI EXECUTION_STATE WINAPI SetThreadExecutionState (EXECUTION_STATE esFlags);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1240:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetThreadErrorMode (VOID);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1241:49: error: definition of 'WINBOOL SetThreadErrorMode' is marked 'dllimport'
   WINBASEAPI WINBOOL WINAPI SetThreadErrorMode (DWORD dwNewMode, LPDWORD lpOldMode);
                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1241:49: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1241:66: error: 'LPDWORD' was not declared in this scope
   WINBASEAPI WINBOOL WINAPI SetThreadErrorMode (DWORD dwNewMode, LPDWORD lpOldMode);
                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1241:83: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI WINBOOL WINAPI SetThreadErrorMode (DWORD dwNewMode, LPDWORD lpOldMode);
                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1283:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI WaitForMultipleObjects (DWORD nCount, CONST HANDLE *lpHandles, WINBOOL bWaitAll, DWORD dwMilliseconds);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1285:44: error: definition of 'WINBOOL InitAtomTable' is marked 'dllimport'
   WINBASEAPI WINBOOL WINAPI InitAtomTable (DWORD nSize);
                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1285:44: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1291:79: error: 'ULONG' has not been declared
   WINBASEAPI WINBOOL WINAPI SetMessageWaitingIndicator (HANDLE hMsgIndicator, ULONG ulMsgCount);
                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1294:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI LoadModule (LPCSTR lpModuleName, LPVOID lpParameterBlock);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1297:59: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI ClearCommError (HANDLE hFile, LPDWORD lpErrors, LPCOMSTAT lpStat);
                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1298:54: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI SetupComm (HANDLE hFile, DWORD dwInQueue, DWORD dwOutQueue);
                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1298:71: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI SetupComm (HANDLE hFile, DWORD dwInQueue, DWORD dwOutQueue);
                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1299:63: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI EscapeCommFunction (HANDLE hFile, DWORD dwFunc);
                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1300:80: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetCommConfig (HANDLE hCommDev, LPCOMMCONFIG lpCC, LPDWORD lpdwSize);
                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1301:56: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetCommMask (HANDLE hFile, LPDWORD lpEvtMask);
                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1303:63: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetCommModemStatus (HANDLE hFile, LPDWORD lpModemStat);
                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1306:54: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI PurgeComm (HANDLE hFile, DWORD dwFlags);
                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1308:80: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI SetCommConfig (HANDLE hCommDev, LPCOMMCONFIG lpCC, DWORD dwSize);
                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1309:56: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI SetCommMask (HANDLE hFile, DWORD dwEvtMask);
                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1313:58: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI WaitCommEvent (HANDLE hFile, LPDWORD lpEvtMask, LPOVERLAPPED lpOverlapped);
                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1314:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI SetTapePosition (HANDLE hDevice, DWORD dwPositionMethod, DWORD dwPartition, DWORD dwOffsetLow, DWORD dwOffsetHigh, WINBOOL bImmediate);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1315:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetTapePosition (HANDLE hDevice, DWORD dwPositionType, LPDWORD lpdwPartition, LPDWORD lpdwOffsetLow, LPDWORD lpdwOffsetHigh);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1316:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI PrepareTape (HANDLE hDevice, DWORD dwOperation, WINBOOL bImmediate);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1317:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI EraseTape (HANDLE hDevice, DWORD dwEraseType, WINBOOL bImmediate);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1318:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI CreateTapePartition (HANDLE hDevice, DWORD dwPartitionMethod, DWORD dwCount, DWORD dwSize);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1319:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI WriteTapemark (HANDLE hDevice, DWORD dwTapemarkType, DWORD dwTapemarkCount, WINBOOL bImmediate);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1320:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetTapeStatus (HANDLE hDevice);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1321:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetTapeParameters (HANDLE hDevice, DWORD dwOperation, LPDWORD lpdwSize, LPVOID lpTapeInformation);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1322:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI SetTapeParameters (HANDLE hDevice, DWORD dwOperation, LPVOID lpTapeInformation);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1324:53: error: definition of 'WINBOOL GetSystemRegistryQuota' is marked 'dllimport'
   WINBASEAPI WINBOOL WINAPI GetSystemRegistryQuota (PDWORD pdwQuotaAllowed, PDWORD pdwQuotaUsed);
                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1324:53: error: 'PDWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1324:77: error: 'PDWORD' was not declared in this scope
   WINBASEAPI WINBOOL WINAPI GetSystemRegistryQuota (PDWORD pdwQuotaAllowed, PDWORD pdwQuotaUsed);
                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1324:96: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI WINBOOL WINAPI GetSystemRegistryQuota (PDWORD pdwQuotaAllowed, PDWORD pdwQuotaUsed);
                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1328:54: error: definition of 'WINBOOL SetSystemTimeAdjustment' is marked 'dllimport'
   WINBASEAPI WINBOOL WINAPI SetSystemTimeAdjustment (DWORD dwTimeAdjustment, WINBOOL bTimeAdjustmentDisabled);
                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1328:54: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1328:86: error: expected primary-expression before 'bTimeAdjustmentDisabled'
   WINBASEAPI WINBOOL WINAPI SetSystemTimeAdjustment (DWORD dwTimeAdjustment, WINBOOL bTimeAdjustmentDisabled);
                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1328:109: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI WINBOOL WINAPI SetSystemTimeAdjustment (DWORD dwTimeAdjustment, WINBOOL bTimeAdjustmentDisabled);
                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1338:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI FormatMessageA (DWORD dwFlags, LPCVOID lpSource, DWORD dwMessageId, DWORD dwLanguageId, LPSTR lpBuffer, DWORD nSize, va_list *Arguments);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1339:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI FormatMessageW (DWORD dwFlags, LPCVOID lpSource, DWORD dwMessageId, DWORD dwLanguageId, LPWSTR lpBuffer, DWORD nSize, va_list *Arguments);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1353:17: error: typedef 'DWORD' is initialized (use decltype instead)
   typedef DWORD (WINAPI *PFE_EXPORT_FUNC) (PBYTE pbData, PVOID pvCallbackContext, ULONG ulLength);
                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1353:26: error: 'PFE_EXPORT_FUNC' was not declared in this scope
   typedef DWORD (WINAPI *PFE_EXPORT_FUNC) (PBYTE pbData, PVOID pvCallbackContext, ULONG ulLength);
                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1354:17: error: typedef 'DWORD' is initialized (use decltype instead)
   typedef DWORD (WINAPI *PFE_IMPORT_FUNC) (PBYTE pbData, PVOID pvCallbackContext, PULONG ulLength);
                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1354:26: error: 'PFE_IMPORT_FUNC' was not declared in this scope
   typedef DWORD (WINAPI *PFE_IMPORT_FUNC) (PBYTE pbData, PVOID pvCallbackContext, PULONG ulLength);
                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1376:66: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetNamedPipeInfo (HANDLE hNamedPipe, LPDWORD lpFlags, LPDWORD lpOutBufferSize, LPDWORD lpInBufferSize, LPDWORD lpMaxInstances);
                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1376:83: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetNamedPipeInfo (HANDLE hNamedPipe, LPDWORD lpFlags, LPDWORD lpOutBufferSize, LPDWORD lpInBufferSize, LPDWORD lpMaxInstances);
                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1376:108: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetNamedPipeInfo (HANDLE hNamedPipe, LPDWORD lpFlags, LPDWORD lpOutBufferSize, LPDWORD lpInBufferSize, LPDWORD lpMaxInstances);
                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1376:132: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetNamedPipeInfo (HANDLE hNamedPipe, LPDWORD lpFlags, LPDWORD lpOutBufferSize, LPDWORD lpInBufferSize, LPDWORD lpMaxInstances);
                                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1377:60: error: 'DWORD' has not been declared
   WINBASEAPI HANDLE WINAPI CreateMailslotA (LPCSTR lpName, DWORD nMaxMessageSize, DWORD lReadTimeout, LPSECURITY_ATTRIBUTES lpSecurityAttributes);
                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1377:83: error: 'DWORD' has not been declared
   WINBASEAPI HANDLE WINAPI CreateMailslotA (LPCSTR lpName, DWORD nMaxMessageSize, DWORD lReadTimeout, LPSECURITY_ATTRIBUTES lpSecurityAttributes);
                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1378:61: error: 'DWORD' has not been declared
   WINBASEAPI HANDLE WINAPI CreateMailslotW (LPCWSTR lpName, DWORD nMaxMessageSize, DWORD lReadTimeout, LPSECURITY_ATTRIBUTES lpSecurityAttributes);
                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1378:84: error: 'DWORD' has not been declared
   WINBASEAPI HANDLE WINAPI CreateMailslotW (LPCWSTR lpName, DWORD nMaxMessageSize, DWORD lReadTimeout, LPSECURITY_ATTRIBUTES lpSecurityAttributes);
                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1379:64: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetMailslotInfo (HANDLE hMailslot, LPDWORD lpMaxMessageSize, LPDWORD lpNextSize, LPDWORD lpMessageCount, LPDWORD lpReadTimeout);
                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1379:90: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetMailslotInfo (HANDLE hMailslot, LPDWORD lpMaxMessageSize, LPDWORD lpNextSize, LPDWORD lpMessageCount, LPDWORD lpReadTimeout);
                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1379:110: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetMailslotInfo (HANDLE hMailslot, LPDWORD lpMaxMessageSize, LPDWORD lpNextSize, LPDWORD lpMessageCount, LPDWORD lpReadTimeout);
                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1379:134: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetMailslotInfo (HANDLE hMailslot, LPDWORD lpMaxMessageSize, LPDWORD lpNextSize, LPDWORD lpMessageCount, LPDWORD lpReadTimeout);
                                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1380:64: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI SetMailslotInfo (HANDLE hMailslot, DWORD lReadTimeout);
                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1383:61: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI DecryptFileA (LPCSTR lpFileName, DWORD dwReserved);
                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1384:62: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI DecryptFileW (LPCWSTR lpFileName, DWORD dwReserved);
                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1385:70: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI FileEncryptionStatusA (LPCSTR lpFileName, LPDWORD lpStatus);
                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1386:71: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI FileEncryptionStatusW (LPCWSTR lpFileName, LPDWORD lpStatus);
                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1387:13: error: 'DWORD' does not name a type
   WINADVAPI DWORD WINAPI OpenEncryptedFileRawA (LPCSTR lpFileName, ULONG ulFlags, PVOID *pvContext);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1388:13: error: 'DWORD' does not name a type
   WINADVAPI DWORD WINAPI OpenEncryptedFileRawW (LPCWSTR lpFileName, ULONG ulFlags, PVOID *pvContext);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1389:13: error: 'DWORD' does not name a type
   WINADVAPI DWORD WINAPI ReadEncryptedFileRaw (PFE_EXPORT_FUNC pfExportCallback, PVOID pvCallbackContext, PVOID pvContext);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1390:13: error: 'DWORD' does not name a type
   WINADVAPI DWORD WINAPI WriteEncryptedFileRaw (PFE_IMPORT_FUNC pfImportCallback, PVOID pvCallbackContext, PVOID pvContext);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1409:14: error: '__LONG32' does not name a type
   WINBASEAPI __LONG32 WINAPI _hread (HFILE hFile, LPVOID lpBuffer, __LONG32 lBytes);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1410:14: error: '__LONG32' does not name a type
   WINBASEAPI __LONG32 WINAPI _hwrite (HFILE hFile, LPCCH lpBuffer, __LONG32 lBytes);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1412:14: error: 'LONG' does not name a type
   WINBASEAPI LONG WINAPI _llseek (HFILE hFile, LONG lOffset, int iOrigin);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1414:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI SignalObjectAndWait (HANDLE hObjectToSignal, HANDLE hObjectToWaitOn, DWORD dwMilliseconds, WINBOOL bAlertable);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1415:72: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI BackupRead (HANDLE hFile, LPBYTE lpBuffer, DWORD nNumberOfBytesToRead, LPDWORD lpNumberOfBytesRead, WINBOOL bAbort, WINBOOL bProcessSecurity, LPVOID *lpContext);
                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1415:100: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI BackupRead (HANDLE hFile, LPBYTE lpBuffer, DWORD nNumberOfBytesToRead, LPDWORD lpNumberOfBytesRead, WINBOOL bAbort, WINBOOL bProcessSecurity, LPVOID *lpContext);
                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1416:55: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI BackupSeek (HANDLE hFile, DWORD dwLowBytesToSeek, DWORD dwHighBytesToSeek, LPDWORD lpdwLowByteSeeked, LPDWORD lpdwHighByteSeeked, LPVOID *lpContext);
                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1416:79: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI BackupSeek (HANDLE hFile, DWORD dwLowBytesToSeek, DWORD dwHighBytesToSeek, LPDWORD lpdwLowByteSeeked, LPDWORD lpdwHighByteSeeked, LPVOID *lpContext);
                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1416:104: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI BackupSeek (HANDLE hFile, DWORD dwLowBytesToSeek, DWORD dwHighBytesToSeek, LPDWORD lpdwLowByteSeeked, LPDWORD lpdwHighByteSeeked, LPVOID *lpContext);
                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1416:131: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI BackupSeek (HANDLE hFile, DWORD dwLowBytesToSeek, DWORD dwHighBytesToSeek, LPDWORD lpdwLowByteSeeked, LPDWORD lpdwHighByteSeeked, LPVOID *lpContext);
                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1417:73: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI BackupWrite (HANDLE hFile, LPBYTE lpBuffer, DWORD nNumberOfBytesToWrite, LPDWORD lpNumberOfBytesWritten, WINBOOL bAbort, WINBOOL bProcessSecurity, LPVOID *lpContext);
                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1417:102: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI BackupWrite (HANDLE hFile, LPBYTE lpBuffer, DWORD nNumberOfBytesToWrite, LPDWORD lpNumberOfBytesWritten, WINBOOL bAbort, WINBOOL bProcessSecurity, LPVOID *lpContext);
                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1432:5: error: 'DWORD' does not name a type
     DWORD dwStreamId;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1433:5: error: 'DWORD' does not name a type
     DWORD dwStreamAttributes;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1435:5: error: 'DWORD' does not name a type
     DWORD dwStreamNameSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1492:91: error: 'LONG' has not been declared
   WINBASEAPI HANDLE WINAPI CreateSemaphoreW (LPSECURITY_ATTRIBUTES lpSemaphoreAttributes, LONG lInitialCount, LONG lMaximumCount, LPCWSTR lpName);
                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1492:111: error: 'LONG' has not been declared
   WINBASEAPI HANDLE WINAPI CreateSemaphoreW (LPSECURITY_ATTRIBUTES lpSemaphoreAttributes, LONG lInitialCount, LONG lMaximumCount, LPCWSTR lpName);
                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1495:40: error: definition of 'void* OpenMutexA' is marked 'dllimport'
   WINBASEAPI HANDLE WINAPI OpenMutexA (DWORD dwDesiredAccess, WINBOOL bInheritHandle, LPCSTR lpName);
                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1495:40: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1495:71: error: expected primary-expression before 'bInheritHandle'
   WINBASEAPI HANDLE WINAPI OpenMutexA (DWORD dwDesiredAccess, WINBOOL bInheritHandle, LPCSTR lpName);
                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1495:94: error: expected primary-expression before 'lpName'
   WINBASEAPI HANDLE WINAPI OpenMutexA (DWORD dwDesiredAccess, WINBOOL bInheritHandle, LPCSTR lpName);
                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1495:100: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI HANDLE WINAPI OpenMutexA (DWORD dwDesiredAccess, WINBOOL bInheritHandle, LPCSTR lpName);
                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1496:91: error: 'LONG' has not been declared
   WINBASEAPI HANDLE WINAPI CreateSemaphoreA (LPSECURITY_ATTRIBUTES lpSemaphoreAttributes, LONG lInitialCount, LONG lMaximumCount, LPCSTR lpName);
                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1496:111: error: 'LONG' has not been declared
   WINBASEAPI HANDLE WINAPI CreateSemaphoreA (LPSECURITY_ATTRIBUTES lpSemaphoreAttributes, LONG lInitialCount, LONG lMaximumCount, LPCSTR lpName);
                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1497:44: error: definition of 'void* OpenSemaphoreA' is marked 'dllimport'
   WINBASEAPI HANDLE WINAPI OpenSemaphoreA (DWORD dwDesiredAccess, WINBOOL bInheritHandle, LPCSTR lpName);
                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1497:44: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1497:75: error: expected primary-expression before 'bInheritHandle'
   WINBASEAPI HANDLE WINAPI OpenSemaphoreA (DWORD dwDesiredAccess, WINBOOL bInheritHandle, LPCSTR lpName);
                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1497:98: error: expected primary-expression before 'lpName'
   WINBASEAPI HANDLE WINAPI OpenSemaphoreA (DWORD dwDesiredAccess, WINBOOL bInheritHandle, LPCSTR lpName);
                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1497:104: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI HANDLE WINAPI OpenSemaphoreA (DWORD dwDesiredAccess, WINBOOL bInheritHandle, LPCSTR lpName);
                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1500:48: error: definition of 'void* OpenWaitableTimerA' is marked 'dllimport'
   WINBASEAPI HANDLE WINAPI OpenWaitableTimerA (DWORD dwDesiredAccess, WINBOOL bInheritHandle, LPCSTR lpTimerName);
                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1500:48: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1500:79: error: expected primary-expression before 'bInheritHandle'
   WINBASEAPI HANDLE WINAPI OpenWaitableTimerA (DWORD dwDesiredAccess, WINBOOL bInheritHandle, LPCSTR lpTimerName);
                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1500:102: error: expected primary-expression before 'lpTimerName'
   WINBASEAPI HANDLE WINAPI OpenWaitableTimerA (DWORD dwDesiredAccess, WINBOOL bInheritHandle, LPCSTR lpTimerName);
                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1500:113: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI HANDLE WINAPI OpenWaitableTimerA (DWORD dwDesiredAccess, WINBOOL bInheritHandle, LPCSTR lpTimerName);
                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1501:109: error: 'DWORD' has not been declared
   WINBASEAPI HANDLE WINAPI CreateFileMappingA (HANDLE hFile, LPSECURITY_ATTRIBUTES lpFileMappingAttributes, DWORD flProtect, DWORD dwMaximumSizeHigh, DWORD dwMaximumSizeLow, LPCSTR lpName);
                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1501:126: error: 'DWORD' has not been declared
   WINBASEAPI HANDLE WINAPI CreateFileMappingA (HANDLE hFile, LPSECURITY_ATTRIBUTES lpFileMappingAttributes, DWORD flProtect, DWORD dwMaximumSizeHigh, DWORD dwMaximumSizeLow, LPCSTR lpName);
                                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1501:151: error: 'DWORD' has not been declared
   WINBASEAPI HANDLE WINAPI CreateFileMappingA (HANDLE hFile, LPSECURITY_ATTRIBUTES lpFileMappingAttributes, DWORD flProtect, DWORD dwMaximumSizeHigh, DWORD dwMaximumSizeLow, LPCSTR lpName);
                                                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1507:46: error: definition of 'void* OpenFileMappingA' is marked 'dllimport'
   WINBASEAPI HANDLE WINAPI OpenFileMappingA (DWORD dwDesiredAccess, WINBOOL bInheritHandle, LPCSTR lpName);
                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1507:46: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1507:77: error: expected primary-expression before 'bInheritHandle'
   WINBASEAPI HANDLE WINAPI OpenFileMappingA (DWORD dwDesiredAccess, WINBOOL bInheritHandle, LPCSTR lpName);
                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1507:100: error: expected primary-expression before 'lpName'
   WINBASEAPI HANDLE WINAPI OpenFileMappingA (DWORD dwDesiredAccess, WINBOOL bInheritHandle, LPCSTR lpName);
                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1507:106: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI HANDLE WINAPI OpenFileMappingA (DWORD dwDesiredAccess, WINBOOL bInheritHandle, LPCSTR lpName);
                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1508:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetLogicalDriveStringsA (DWORD nBufferLength, LPSTR lpBuffer);
              ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:70:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1635:59: error: definition of 'WINBOOL GetProcessShutdownParameters' is marked 'dllimport'
   WINBASEAPI WINBOOL WINAPI GetProcessShutdownParameters (LPDWORD lpdwLevel, LPDWORD lpdwFlags);
                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1635:59: error: 'LPDWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1635:78: error: 'LPDWORD' was not declared in this scope
   WINBASEAPI WINBOOL WINAPI GetProcessShutdownParameters (LPDWORD lpdwLevel, LPDWORD lpdwFlags);
                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1635:95: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI WINBOOL WINAPI GetProcessShutdownParameters (LPDWORD lpdwLevel, LPDWORD lpdwFlags);
                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1639:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetFirmwareEnvironmentVariableA (LPCSTR lpName, LPCSTR lpGuid, PVOID pBuffer, DWORD nSize);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1640:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetFirmwareEnvironmentVariableW (LPCWSTR lpName, LPCWSTR lpGuid, PVOID pBuffer, DWORD nSize);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1641:106: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI SetFirmwareEnvironmentVariableA (LPCSTR lpName, LPCSTR lpGuid, PVOID pValue, DWORD nSize);
                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1642:108: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI SetFirmwareEnvironmentVariableW (LPCWSTR lpName, LPCWSTR lpGuid, PVOID pValue, DWORD nSize);
                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1654:123: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI UpdateResourceA (HANDLE hUpdate, LPCSTR lpType, LPCSTR lpName, WORD wLanguage, LPVOID lpData, DWORD cb);
                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1655:125: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI UpdateResourceW (HANDLE hUpdate, LPCWSTR lpType, LPCWSTR lpName, WORD wLanguage, LPVOID lpData, DWORD cb);
                                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1668:61: error: 'DWORD' has not been declared
   WINBASEAPI ATOM WINAPI GlobalAddAtomExA (LPCSTR lpString, DWORD Flags);
                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1669:62: error: 'DWORD' has not been declared
   WINBASEAPI ATOM WINAPI GlobalAddAtomExW (LPCWSTR lpString, DWORD Flags);
                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1682:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetProfileStringA (LPCSTR lpAppName, LPCSTR lpKeyName, LPCSTR lpDefault, LPSTR lpReturnedString, DWORD nSize);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1683:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetProfileStringW (LPCWSTR lpAppName, LPCWSTR lpKeyName, LPCWSTR lpDefault, LPWSTR lpReturnedString, DWORD nSize);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1686:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetProfileSectionA (LPCSTR lpAppName, LPSTR lpReturnedString, DWORD nSize);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1687:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetProfileSectionW (LPCWSTR lpAppName, LPWSTR lpReturnedString, DWORD nSize);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1692:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetPrivateProfileStringA (LPCSTR lpAppName, LPCSTR lpKeyName, LPCSTR lpDefault, LPSTR lpReturnedString, DWORD nSize, LPCSTR lpFileName);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1693:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetPrivateProfileStringW (LPCWSTR lpAppName, LPCWSTR lpKeyName, LPCWSTR lpDefault, LPWSTR lpReturnedString, DWORD nSize, LPCWSTR lpFileName);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1696:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetPrivateProfileSectionA (LPCSTR lpAppName, LPSTR lpReturnedString, DWORD nSize, LPCSTR lpFileName);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1697:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetPrivateProfileSectionW (LPCWSTR lpAppName, LPWSTR lpReturnedString, DWORD nSize, LPCWSTR lpFileName);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1700:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetPrivateProfileSectionNamesA (LPSTR lpszReturnBuffer, DWORD nSize, LPCSTR lpFileName);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1701:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetPrivateProfileSectionNamesW (LPWSTR lpszReturnBuffer, DWORD nSize, LPCWSTR lpFileName);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1706:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetTempPathA (DWORD nBufferLength, LPSTR lpBuffer);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1777:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetDllDirectoryA (DWORD nBufferLength, LPSTR lpBuffer);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1778:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetDllDirectoryW (DWORD nBufferLength, LPWSTR lpBuffer);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1788:48: error: definition of 'WINBOOL SetSearchPathMode' is marked 'dllimport'
   WINBASEAPI WINBOOL WINAPI SetSearchPathMode (DWORD Flags);
                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1788:48: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1817:47: error: definition of 'WINBOOL DefineDosDeviceA' is marked 'dllimport'
   WINBASEAPI WINBOOL WINAPI DefineDosDeviceA (DWORD dwFlags, LPCSTR lpDeviceName, LPCSTR lpTargetPath);
                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1817:47: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1817:69: error: expected primary-expression before 'lpDeviceName'
   WINBASEAPI WINBOOL WINAPI DefineDosDeviceA (DWORD dwFlags, LPCSTR lpDeviceName, LPCSTR lpTargetPath);
                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1817:90: error: expected primary-expression before 'lpTargetPath'
   WINBASEAPI WINBOOL WINAPI DefineDosDeviceA (DWORD dwFlags, LPCSTR lpDeviceName, LPCSTR lpTargetPath);
                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1817:102: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI WINBOOL WINAPI DefineDosDeviceA (DWORD dwFlags, LPCSTR lpDeviceName, LPCSTR lpTargetPath);
                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1818:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI QueryDosDeviceA (LPCSTR lpDeviceName, LPSTR lpTargetPath, DWORD ucchMax);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1834:62: error: 'DWORD' has not been declared
   WINBASEAPI HANDLE WINAPI ReOpenFile (HANDLE hOriginalFile, DWORD dwDesiredAccess, DWORD dwShareMode, DWORD dwFlagsAndAttributes);
                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1834:85: error: 'DWORD' has not been declared
   WINBASEAPI HANDLE WINAPI ReOpenFile (HANDLE hOriginalFile, DWORD dwDesiredAccess, DWORD dwShareMode, DWORD dwFlagsAndAttributes);
                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1834:104: error: 'DWORD' has not been declared
   WINBASEAPI HANDLE WINAPI ReOpenFile (HANDLE hOriginalFile, DWORD dwDesiredAccess, DWORD dwShareMode, DWORD dwFlagsAndAttributes);
                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1846:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetCompressedFileSizeA (LPCSTR lpFileName, LPDWORD lpFileSizeHigh);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1847:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetCompressedFileSizeW (LPCWSTR lpFileName, LPDWORD lpFileSizeHigh);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1864:17: error: typedef 'DWORD' is initialized (use decltype instead)
   typedef DWORD (WINAPI *LPPROGRESS_ROUTINE) (LARGE_INTEGER TotalFileSize, LARGE_INTEGER TotalBytesTransferred, LARGE_INTEGER StreamSize, LARGE_INTEGER StreamBytesTransferred, DWORD dwStreamNumber, DWORD dwCallbackReason, HANDLE hSourceFile, HANDLE hDestinationFile, LPVOID lpData);
                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1864:26: error: 'LPPROGRESS_ROUTINE' was not declared in this scope
   typedef DWORD (WINAPI *LPPROGRESS_ROUTINE) (LARGE_INTEGER TotalFileSize, LARGE_INTEGER TotalBytesTransferred, LARGE_INTEGER StreamSize, LARGE_INTEGER StreamBytesTransferred, DWORD dwStreamNumber, DWORD dwCallbackReason, HANDLE hSourceFile, HANDLE hDestinationFile, LPVOID lpData);
                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1866:86: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI CheckNameLegalDOS8Dot3A (LPCSTR lpName, LPSTR lpOemName, DWORD OemNameSize, PBOOL pbNameContainsSpaces, PBOOL pbNameLegal);
                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1867:87: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI CheckNameLegalDOS8Dot3W (LPCWSTR lpName, LPSTR lpOemName, DWORD OemNameSize, PBOOL pbNameContainsSpaces, PBOOL pbNameLegal);
                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1870:91: error: 'LPPROGRESS_ROUTINE' has not been declared
   WINBASEAPI WINBOOL WINAPI CopyFileExA (LPCSTR lpExistingFileName, LPCSTR lpNewFileName, LPPROGRESS_ROUTINE lpProgressRoutine, LPVOID lpData, LPBOOL pbCancel, DWORD dwCopyFlags);
                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1870:161: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI CopyFileExA (LPCSTR lpExistingFileName, LPCSTR lpNewFileName, LPPROGRESS_ROUTINE lpProgressRoutine, LPVOID lpData, LPBOOL pbCancel, DWORD dwCopyFlags);
                                                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1871:93: error: 'LPPROGRESS_ROUTINE' has not been declared
   WINBASEAPI WINBOOL WINAPI CopyFileExW (LPCWSTR lpExistingFileName, LPCWSTR lpNewFileName, LPPROGRESS_ROUTINE lpProgressRoutine, LPVOID lpData, LPBOOL pbCancel, DWORD dwCopyFlags);
                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:1871:163: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI CopyFileExW (LPCWSTR lpExistingFileName, LPCWSTR lpNewFileName, LPPROGRESS_ROUTINE lpProgressRoutine, LPVOID lpData, LPBOOL pbCancel, DWORD dwCopyFlags);
                                                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2006:91: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI MoveFileExA (LPCSTR lpExistingFileName, LPCSTR lpNewFileName, DWORD dwFlags);
                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2007:93: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI MoveFileExW (LPCWSTR lpExistingFileName, LPCWSTR lpNewFileName, DWORD dwFlags);
                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2013:101: error: 'LPPROGRESS_ROUTINE' has not been declared
   WINBASEAPI WINBOOL WINAPI MoveFileWithProgressA (LPCSTR lpExistingFileName, LPCSTR lpNewFileName, LPPROGRESS_ROUTINE lpProgressRoutine, LPVOID lpData, DWORD dwFlags);
                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2013:154: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI MoveFileWithProgressA (LPCSTR lpExistingFileName, LPCSTR lpNewFileName, LPPROGRESS_ROUTINE lpProgressRoutine, LPVOID lpData, DWORD dwFlags);
                                                                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2014:103: error: 'LPPROGRESS_ROUTINE' has not been declared
   WINBASEAPI WINBOOL WINAPI MoveFileWithProgressW (LPCWSTR lpExistingFileName, LPCWSTR lpNewFileName, LPPROGRESS_ROUTINE lpProgressRoutine, LPVOID lpData, DWORD dwFlags);
                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2014:156: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI MoveFileWithProgressW (LPCWSTR lpExistingFileName, LPCWSTR lpNewFileName, LPPROGRESS_ROUTINE lpProgressRoutine, LPVOID lpData, DWORD dwFlags);
                                                                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2036:125: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI ReplaceFileA (LPCSTR lpReplacedFileName, LPCSTR lpReplacementFileName, LPCSTR lpBackupFileName, DWORD dwReplaceFlags, LPVOID lpExclude, LPVOID lpReserved);
                                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2037:128: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI ReplaceFileW (LPCWSTR lpReplacedFileName, LPCWSTR lpReplacementFileName, LPCWSTR lpBackupFileName, DWORD dwReplaceFlags, LPVOID lpExclude, LPVOID lpReserved);
                                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2061:121: error: 'DWORD' has not been declared
   WINBASEAPI HANDLE WINAPI FindFirstStreamW (LPCWSTR lpFileName, STREAM_INFO_LEVELS InfoLevel, LPVOID lpFindStreamData, DWORD dwFlags);
                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2076:61: error: 'DWORD' has not been declared
   WINBASEAPI HANDLE WINAPI CreateNamedPipeA (LPCSTR lpName, DWORD dwOpenMode, DWORD dwPipeMode, DWORD nMaxInstances, DWORD nOutBufferSize, DWORD nInBufferSize, DWORD nDefaultTimeOut, LPSECURITY_ATTRIBUTES lpSecurityAttributes);
                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2076:79: error: 'DWORD' has not been declared
   WINBASEAPI HANDLE WINAPI CreateNamedPipeA (LPCSTR lpName, DWORD dwOpenMode, DWORD dwPipeMode, DWORD nMaxInstances, DWORD nOutBufferSize, DWORD nInBufferSize, DWORD nDefaultTimeOut, LPSECURITY_ATTRIBUTES lpSecurityAttributes);
                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2076:97: error: 'DWORD' has not been declared
   WINBASEAPI HANDLE WINAPI CreateNamedPipeA (LPCSTR lpName, DWORD dwOpenMode, DWORD dwPipeMode, DWORD nMaxInstances, DWORD nOutBufferSize, DWORD nInBufferSize, DWORD nDefaultTimeOut, LPSECURITY_ATTRIBUTES lpSecurityAttributes);
                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2076:118: error: 'DWORD' has not been declared
   WINBASEAPI HANDLE WINAPI CreateNamedPipeA (LPCSTR lpName, DWORD dwOpenMode, DWORD dwPipeMode, DWORD nMaxInstances, DWORD nOutBufferSize, DWORD nInBufferSize, DWORD nDefaultTimeOut, LPSECURITY_ATTRIBUTES lpSecurityAttributes);
                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2076:140: error: 'DWORD' has not been declared
   WINBASEAPI HANDLE WINAPI CreateNamedPipeA (LPCSTR lpName, DWORD dwOpenMode, DWORD dwPipeMode, DWORD nMaxInstances, DWORD nOutBufferSize, DWORD nInBufferSize, DWORD nDefaultTimeOut, LPSECURITY_ATTRIBUTES lpSecurityAttributes);
                                                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2076:161: error: 'DWORD' has not been declared
   WINBASEAPI HANDLE WINAPI CreateNamedPipeA (LPCSTR lpName, DWORD dwOpenMode, DWORD dwPipeMode, DWORD nMaxInstances, DWORD nOutBufferSize, DWORD nInBufferSize, DWORD nDefaultTimeOut, LPSECURITY_ATTRIBUTES lpSecurityAttributes);
                                                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2077:74: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetNamedPipeHandleStateA (HANDLE hNamedPipe, LPDWORD lpState, LPDWORD lpCurInstances, LPDWORD lpMaxCollectionCount, LPDWORD lpCollectDataTimeout, LPSTR lpUserName, DWORD nMaxUserNameSize);
                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2077:91: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetNamedPipeHandleStateA (HANDLE hNamedPipe, LPDWORD lpState, LPDWORD lpCurInstances, LPDWORD lpMaxCollectionCount, LPDWORD lpCollectDataTimeout, LPSTR lpUserName, DWORD nMaxUserNameSize);
                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2077:115: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetNamedPipeHandleStateA (HANDLE hNamedPipe, LPDWORD lpState, LPDWORD lpCurInstances, LPDWORD lpMaxCollectionCount, LPDWORD lpCollectDataTimeout, LPSTR lpUserName, DWORD nMaxUserNameSize);
                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2077:145: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetNamedPipeHandleStateA (HANDLE hNamedPipe, LPDWORD lpState, LPDWORD lpCurInstances, LPDWORD lpMaxCollectionCount, LPDWORD lpCollectDataTimeout, LPSTR lpUserName, DWORD nMaxUserNameSize);
                                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2077:193: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetNamedPipeHandleStateA (HANDLE hNamedPipe, LPDWORD lpState, LPDWORD lpCurInstances, LPDWORD lpMaxCollectionCount, LPDWORD lpCollectDataTimeout, LPSTR lpUserName, DWORD nMaxUserNameSize);
                                                                                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2078:74: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetNamedPipeHandleStateW (HANDLE hNamedPipe, LPDWORD lpState, LPDWORD lpCurInstances, LPDWORD lpMaxCollectionCount, LPDWORD lpCollectDataTimeout, LPWSTR lpUserName, DWORD nMaxUserNameSize);
                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2078:91: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetNamedPipeHandleStateW (HANDLE hNamedPipe, LPDWORD lpState, LPDWORD lpCurInstances, LPDWORD lpMaxCollectionCount, LPDWORD lpCollectDataTimeout, LPWSTR lpUserName, DWORD nMaxUserNameSize);
                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2078:115: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetNamedPipeHandleStateW (HANDLE hNamedPipe, LPDWORD lpState, LPDWORD lpCurInstances, LPDWORD lpMaxCollectionCount, LPDWORD lpCollectDataTimeout, LPWSTR lpUserName, DWORD nMaxUserNameSize);
                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2078:145: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetNamedPipeHandleStateW (HANDLE hNamedPipe, LPDWORD lpState, LPDWORD lpCurInstances, LPDWORD lpMaxCollectionCount, LPDWORD lpCollectDataTimeout, LPWSTR lpUserName, DWORD nMaxUserNameSize);
                                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2078:194: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetNamedPipeHandleStateW (HANDLE hNamedPipe, LPDWORD lpState, LPDWORD lpCurInstances, LPDWORD lpMaxCollectionCount, LPDWORD lpCollectDataTimeout, LPWSTR lpUserName, DWORD nMaxUserNameSize);
                                                                                                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2079:88: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI CallNamedPipeA (LPCSTR lpNamedPipeName, LPVOID lpInBuffer, DWORD nInBufferSize, LPVOID lpOutBuffer, DWORD nOutBufferSize, LPDWORD lpBytesRead, DWORD nTimeOut);
                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2079:129: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI CallNamedPipeA (LPCSTR lpNamedPipeName, LPVOID lpInBuffer, DWORD nInBufferSize, LPVOID lpOutBuffer, DWORD nOutBufferSize, LPDWORD lpBytesRead, DWORD nTimeOut);
                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2079:151: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI CallNamedPipeA (LPCSTR lpNamedPipeName, LPVOID lpInBuffer, DWORD nInBufferSize, LPVOID lpOutBuffer, DWORD nOutBufferSize, LPDWORD lpBytesRead, DWORD nTimeOut);
                                                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2079:172: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI CallNamedPipeA (LPCSTR lpNamedPipeName, LPVOID lpInBuffer, DWORD nInBufferSize, LPVOID lpOutBuffer, DWORD nOutBufferSize, LPDWORD lpBytesRead, DWORD nTimeOut);
                                                                                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2080:89: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI CallNamedPipeW (LPCWSTR lpNamedPipeName, LPVOID lpInBuffer, DWORD nInBufferSize, LPVOID lpOutBuffer, DWORD nOutBufferSize, LPDWORD lpBytesRead, DWORD nTimeOut);
                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2080:130: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI CallNamedPipeW (LPCWSTR lpNamedPipeName, LPVOID lpInBuffer, DWORD nInBufferSize, LPVOID lpOutBuffer, DWORD nOutBufferSize, LPDWORD lpBytesRead, DWORD nTimeOut);
                                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2080:152: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI CallNamedPipeW (LPCWSTR lpNamedPipeName, LPVOID lpInBuffer, DWORD nInBufferSize, LPVOID lpOutBuffer, DWORD nOutBufferSize, LPDWORD lpBytesRead, DWORD nTimeOut);
                                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2080:173: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI CallNamedPipeW (LPCWSTR lpNamedPipeName, LPVOID lpInBuffer, DWORD nInBufferSize, LPVOID lpOutBuffer, DWORD nOutBufferSize, LPDWORD lpBytesRead, DWORD nTimeOut);
                                                                                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2081:69: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI WaitNamedPipeA (LPCSTR lpNamedPipeName, DWORD nTimeOut);
                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2087:101: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetVolumeInformationA (LPCSTR lpRootPathName, LPSTR lpVolumeNameBuffer, DWORD nVolumeNameSize, LPDWORD lpVolumeSerialNumber, LPDWORD lpMaximumComponentLength, LPDWORD lpFileSystemFlags, LPSTR lpFileSystemNameBuffer, DWORD nFileSystemNameSize);
                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2087:124: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetVolumeInformationA (LPCSTR lpRootPathName, LPSTR lpVolumeNameBuffer, DWORD nVolumeNameSize, LPDWORD lpVolumeSerialNumber, LPDWORD lpMaximumComponentLength, LPDWORD lpFileSystemFlags, LPSTR lpFileSystemNameBuffer, DWORD nFileSystemNameSize);
                                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2087:154: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetVolumeInformationA (LPCSTR lpRootPathName, LPSTR lpVolumeNameBuffer, DWORD nVolumeNameSize, LPDWORD lpVolumeSerialNumber, LPDWORD lpMaximumComponentLength, LPDWORD lpFileSystemFlags, LPSTR lpFileSystemNameBuffer, DWORD nFileSystemNameSize);
                                                                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2087:188: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetVolumeInformationA (LPCSTR lpRootPathName, LPSTR lpVolumeNameBuffer, DWORD nVolumeNameSize, LPDWORD lpVolumeSerialNumber, LPDWORD lpMaximumComponentLength, LPDWORD lpFileSystemFlags, LPSTR lpFileSystemNameBuffer, DWORD nFileSystemNameSize);
                                                                                                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2087:245: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetVolumeInformationA (LPCSTR lpRootPathName, LPSTR lpVolumeNameBuffer, DWORD nVolumeNameSize, LPDWORD lpVolumeSerialNumber, LPDWORD lpMaximumComponentLength, LPDWORD lpFileSystemFlags, LPSTR lpFileSystemNameBuffer, DWORD nFileSystemNameSize);
                                                                                                                                                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2095:74: error: 'PDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI GetNumberOfEventLogRecords (HANDLE hEventLog, PDWORD NumberOfRecords);
                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2096:71: error: 'PDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI GetOldestEventLogRecord (HANDLE hEventLog, PDWORD OldestRecord);
                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2103:61: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI ReadEventLogA (HANDLE hEventLog, DWORD dwReadFlags, DWORD dwRecordOffset, LPVOID lpBuffer, DWORD nNumberOfBytesToRead, DWORD *pnBytesRead, DWORD *pnMinNumberOfBytesNeeded);
                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2103:80: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI ReadEventLogA (HANDLE hEventLog, DWORD dwReadFlags, DWORD dwRecordOffset, LPVOID lpBuffer, DWORD nNumberOfBytesToRead, DWORD *pnBytesRead, DWORD *pnMinNumberOfBytesNeeded);
                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2103:119: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI ReadEventLogA (HANDLE hEventLog, DWORD dwReadFlags, DWORD dwRecordOffset, LPVOID lpBuffer, DWORD nNumberOfBytesToRead, DWORD *pnBytesRead, DWORD *pnMinNumberOfBytesNeeded);
                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2103:147: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI ReadEventLogA (HANDLE hEventLog, DWORD dwReadFlags, DWORD dwRecordOffset, LPVOID lpBuffer, DWORD nNumberOfBytesToRead, DWORD *pnBytesRead, DWORD *pnMinNumberOfBytesNeeded);
                                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2103:167: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI ReadEventLogA (HANDLE hEventLog, DWORD dwReadFlags, DWORD dwRecordOffset, LPVOID lpBuffer, DWORD nNumberOfBytesToRead, DWORD *pnBytesRead, DWORD *pnMinNumberOfBytesNeeded);
                                                                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2104:61: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI ReadEventLogW (HANDLE hEventLog, DWORD dwReadFlags, DWORD dwRecordOffset, LPVOID lpBuffer, DWORD nNumberOfBytesToRead, DWORD *pnBytesRead, DWORD *pnMinNumberOfBytesNeeded);
                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2104:80: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI ReadEventLogW (HANDLE hEventLog, DWORD dwReadFlags, DWORD dwRecordOffset, LPVOID lpBuffer, DWORD nNumberOfBytesToRead, DWORD *pnBytesRead, DWORD *pnMinNumberOfBytesNeeded);
                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2104:119: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI ReadEventLogW (HANDLE hEventLog, DWORD dwReadFlags, DWORD dwRecordOffset, LPVOID lpBuffer, DWORD nNumberOfBytesToRead, DWORD *pnBytesRead, DWORD *pnMinNumberOfBytesNeeded);
                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2104:147: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI ReadEventLogW (HANDLE hEventLog, DWORD dwReadFlags, DWORD dwRecordOffset, LPVOID lpBuffer, DWORD nNumberOfBytesToRead, DWORD *pnBytesRead, DWORD *pnMinNumberOfBytesNeeded);
                                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2104:167: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI ReadEventLogW (HANDLE hEventLog, DWORD dwReadFlags, DWORD dwRecordOffset, LPVOID lpBuffer, DWORD nNumberOfBytesToRead, DWORD *pnBytesRead, DWORD *pnMinNumberOfBytesNeeded);
                                                                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2105:88: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI ReportEventA (HANDLE hEventLog, WORD wType, WORD wCategory, DWORD dwEventID, PSID lpUserSid, WORD wNumStrings, DWORD dwDataSize, LPCSTR *lpStrings, LPVOID lpRawData);
                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2105:139: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI ReportEventA (HANDLE hEventLog, WORD wType, WORD wCategory, DWORD dwEventID, PSID lpUserSid, WORD wNumStrings, DWORD dwDataSize, LPCSTR *lpStrings, LPVOID lpRawData);
                                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2106:88: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI ReportEventW (HANDLE hEventLog, WORD wType, WORD wCategory, DWORD dwEventID, PSID lpUserSid, WORD wNumStrings, DWORD dwDataSize, LPCWSTR *lpStrings, LPVOID lpRawData);
                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2106:139: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI ReportEventW (HANDLE hEventLog, WORD wType, WORD wCategory, DWORD dwEventID, PSID lpUserSid, WORD wNumStrings, DWORD dwDataSize, LPCWSTR *lpStrings, LPVOID lpRawData);
                                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2132:5: error: 'DWORD' does not name a type
     DWORD dwFull;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2135:70: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI GetEventLogInformation (HANDLE hEventLog, DWORD dwInfoLevel, LPVOID lpBuffer, DWORD cbBufSize, LPDWORD pcbBytesNeeded);
                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2135:106: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI GetEventLogInformation (HANDLE hEventLog, DWORD dwInfoLevel, LPVOID lpBuffer, DWORD cbBufSize, LPDWORD pcbBytesNeeded);
                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2135:123: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI GetEventLogInformation (HANDLE hEventLog, DWORD dwInfoLevel, LPVOID lpBuffer, DWORD cbBufSize, LPDWORD pcbBytesNeeded);
                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2163:175: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AccessCheckAndAuditAlarmA (LPCSTR SubsystemName, LPVOID HandleId, LPSTR ObjectTypeName, LPSTR ObjectName, PSECURITY_DESCRIPTOR SecurityDescriptor, DWORD DesiredAccess, PGENERIC_MAPPING GenericMapping, WINBOOL ObjectCreation, LPDWORD GrantedAccess, LPBOOL AccessStatus, LPBOOL pfGenerateOnClose);
                                                                                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2163:253: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AccessCheckAndAuditAlarmA (LPCSTR SubsystemName, LPVOID HandleId, LPSTR ObjectTypeName, LPSTR ObjectName, PSECURITY_DESCRIPTOR SecurityDescriptor, DWORD DesiredAccess, PGENERIC_MAPPING GenericMapping, WINBOOL ObjectCreation, LPDWORD GrantedAccess, LPBOOL AccessStatus, LPBOOL pfGenerateOnClose);
                                                                                                                                                                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2164:206: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AccessCheckByTypeAndAuditAlarmA (LPCSTR SubsystemName, LPVOID HandleId, LPCSTR ObjectTypeName, LPCSTR ObjectName, PSECURITY_DESCRIPTOR SecurityDescriptor, PSID PrincipalSelfSid, DWORD DesiredAccess, AUDIT_EVENT_TYPE AuditType, DWORD Flags, POBJECT_TYPE_LIST ObjectTypeList, DWORD ObjectTypeListLength, PGENERIC_MAPPING GenericMapping, WINBOOL ObjectCreation, LPDWORD GrantedAccess, LPBOOL AccessStatus, LPBOOL pfGenerateOnClose);
                                                                                                                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2164:255: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AccessCheckByTypeAndAuditAlarmA (LPCSTR SubsystemName, LPVOID HandleId, LPCSTR ObjectTypeName, LPCSTR ObjectName, PSECURITY_DESCRIPTOR SecurityDescriptor, PSID PrincipalSelfSid, DWORD DesiredAccess, AUDIT_EVENT_TYPE AuditType, DWORD Flags, POBJECT_TYPE_LIST ObjectTypeList, DWORD ObjectTypeListLength, PGENERIC_MAPPING GenericMapping, WINBOOL ObjectCreation, LPDWORD GrantedAccess, LPBOOL AccessStatus, LPBOOL pfGenerateOnClose);
                                                                                                                                                                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2164:302: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AccessCheckByTypeAndAuditAlarmA (LPCSTR SubsystemName, LPVOID HandleId, LPCSTR ObjectTypeName, LPCSTR ObjectName, PSECURITY_DESCRIPTOR SecurityDescriptor, PSID PrincipalSelfSid, DWORD DesiredAccess, AUDIT_EVENT_TYPE AuditType, DWORD Flags, POBJECT_TYPE_LIST ObjectTypeList, DWORD ObjectTypeListLength, PGENERIC_MAPPING GenericMapping, WINBOOL ObjectCreation, LPDWORD GrantedAccess, LPBOOL AccessStatus, LPBOOL pfGenerateOnClose);
                                                                                                                                                                                                                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2164:387: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AccessCheckByTypeAndAuditAlarmA (LPCSTR SubsystemName, LPVOID HandleId, LPCSTR ObjectTypeName, LPCSTR ObjectName, PSECURITY_DESCRIPTOR SecurityDescriptor, PSID PrincipalSelfSid, DWORD DesiredAccess, AUDIT_EVENT_TYPE AuditType, DWORD Flags, POBJECT_TYPE_LIST ObjectTypeList, DWORD ObjectTypeListLength, PGENERIC_MAPPING GenericMapping, WINBOOL ObjectCreation, LPDWORD GrantedAccess, LPBOOL AccessStatus, LPBOOL pfGenerateOnClose);
                                                                                                                                                                                                                                                                                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2165:216: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AccessCheckByTypeResultListAndAuditAlarmA (LPCSTR SubsystemName, LPVOID HandleId, LPCSTR ObjectTypeName, LPCSTR ObjectName, PSECURITY_DESCRIPTOR SecurityDescriptor, PSID PrincipalSelfSid, DWORD DesiredAccess, AUDIT_EVENT_TYPE AuditType, DWORD Flags, POBJECT_TYPE_LIST ObjectTypeList, DWORD ObjectTypeListLength, PGENERIC_MAPPING GenericMapping, WINBOOL ObjectCreation, LPDWORD GrantedAccess, LPDWORD AccessStatusList, LPBOOL pfGenerateOnClose);
                                                                                                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2165:265: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AccessCheckByTypeResultListAndAuditAlarmA (LPCSTR SubsystemName, LPVOID HandleId, LPCSTR ObjectTypeName, LPCSTR ObjectName, PSECURITY_DESCRIPTOR SecurityDescriptor, PSID PrincipalSelfSid, DWORD DesiredAccess, AUDIT_EVENT_TYPE AuditType, DWORD Flags, POBJECT_TYPE_LIST ObjectTypeList, DWORD ObjectTypeListLength, PGENERIC_MAPPING GenericMapping, WINBOOL ObjectCreation, LPDWORD GrantedAccess, LPDWORD AccessStatusList, LPBOOL pfGenerateOnClose);
                                                                                                                                                                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2165:312: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AccessCheckByTypeResultListAndAuditAlarmA (LPCSTR SubsystemName, LPVOID HandleId, LPCSTR ObjectTypeName, LPCSTR ObjectName, PSECURITY_DESCRIPTOR SecurityDescriptor, PSID PrincipalSelfSid, DWORD DesiredAccess, AUDIT_EVENT_TYPE AuditType, DWORD Flags, POBJECT_TYPE_LIST ObjectTypeList, DWORD ObjectTypeListLength, PGENERIC_MAPPING GenericMapping, WINBOOL ObjectCreation, LPDWORD GrantedAccess, LPDWORD AccessStatusList, LPBOOL pfGenerateOnClose);
                                                                                                                                                                                                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2165:397: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AccessCheckByTypeResultListAndAuditAlarmA (LPCSTR SubsystemName, LPVOID HandleId, LPCSTR ObjectTypeName, LPCSTR ObjectName, PSECURITY_DESCRIPTOR SecurityDescriptor, PSID PrincipalSelfSid, DWORD DesiredAccess, AUDIT_EVENT_TYPE AuditType, DWORD Flags, POBJECT_TYPE_LIST ObjectTypeList, DWORD ObjectTypeListLength, PGENERIC_MAPPING GenericMapping, WINBOOL ObjectCreation, LPDWORD GrantedAccess, LPDWORD AccessStatusList, LPBOOL pfGenerateOnClose);
                                                                                                                                                                                                                                                                                                                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2165:420: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AccessCheckByTypeResultListAndAuditAlarmA (LPCSTR SubsystemName, LPVOID HandleId, LPCSTR ObjectTypeName, LPCSTR ObjectName, PSECURITY_DESCRIPTOR SecurityDescriptor, PSID PrincipalSelfSid, DWORD DesiredAccess, AUDIT_EVENT_TYPE AuditType, DWORD Flags, POBJECT_TYPE_LIST ObjectTypeList, DWORD ObjectTypeListLength, PGENERIC_MAPPING GenericMapping, WINBOOL ObjectCreation, LPDWORD GrantedAccess, LPDWORD AccessStatusList, LPBOOL pfGenerateOnClose);
                                                                                                                                                                                                                                                                                                                                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2166:244: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AccessCheckByTypeResultListAndAuditAlarmByHandleA (LPCSTR SubsystemName, LPVOID HandleId, HANDLE ClientToken, LPCSTR ObjectTypeName, LPCSTR ObjectName, PSECURITY_DESCRIPTOR SecurityDescriptor, PSID PrincipalSelfSid, DWORD DesiredAccess, AUDIT_EVENT_TYPE AuditType, DWORD Flags, POBJECT_TYPE_LIST ObjectTypeList, DWORD ObjectTypeListLength, PGENERIC_MAPPING GenericMapping, WINBOOL ObjectCreation, LPDWORD GrantedAccess, LPDWORD AccessStatusList, LPBOOL pfGenerateOnClose);
                                                                                                                                                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2166:293: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AccessCheckByTypeResultListAndAuditAlarmByHandleA (LPCSTR SubsystemName, LPVOID HandleId, HANDLE ClientToken, LPCSTR ObjectTypeName, LPCSTR ObjectName, PSECURITY_DESCRIPTOR SecurityDescriptor, PSID PrincipalSelfSid, DWORD DesiredAccess, AUDIT_EVENT_TYPE AuditType, DWORD Flags, POBJECT_TYPE_LIST ObjectTypeList, DWORD ObjectTypeListLength, PGENERIC_MAPPING GenericMapping, WINBOOL ObjectCreation, LPDWORD GrantedAccess, LPDWORD AccessStatusList, LPBOOL pfGenerateOnClose);
                                                                                                                                                                                                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2166:340: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AccessCheckByTypeResultListAndAuditAlarmByHandleA (LPCSTR SubsystemName, LPVOID HandleId, HANDLE ClientToken, LPCSTR ObjectTypeName, LPCSTR ObjectName, PSECURITY_DESCRIPTOR SecurityDescriptor, PSID PrincipalSelfSid, DWORD DesiredAccess, AUDIT_EVENT_TYPE AuditType, DWORD Flags, POBJECT_TYPE_LIST ObjectTypeList, DWORD ObjectTypeListLength, PGENERIC_MAPPING GenericMapping, WINBOOL ObjectCreation, LPDWORD GrantedAccess, LPDWORD AccessStatusList, LPBOOL pfGenerateOnClose);
                                                                                                                                                                                                                                                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2166:425: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AccessCheckByTypeResultListAndAuditAlarmByHandleA (LPCSTR SubsystemName, LPVOID HandleId, HANDLE ClientToken, LPCSTR ObjectTypeName, LPCSTR ObjectName, PSECURITY_DESCRIPTOR SecurityDescriptor, PSID PrincipalSelfSid, DWORD DesiredAccess, AUDIT_EVENT_TYPE AuditType, DWORD Flags, POBJECT_TYPE_LIST ObjectTypeList, DWORD ObjectTypeListLength, PGENERIC_MAPPING GenericMapping, WINBOOL ObjectCreation, LPDWORD GrantedAccess, LPDWORD AccessStatusList, LPBOOL pfGenerateOnClose);
                                                                                                                                                                                                                                                                                                                                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2166:448: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI AccessCheckByTypeResultListAndAuditAlarmByHandleA (LPCSTR SubsystemName, LPVOID HandleId, HANDLE ClientToken, LPCSTR ObjectTypeName, LPCSTR ObjectName, PSECURITY_DESCRIPTOR SecurityDescriptor, PSID PrincipalSelfSid, DWORD DesiredAccess, AUDIT_EVENT_TYPE AuditType, DWORD Flags, POBJECT_TYPE_LIST ObjectTypeList, DWORD ObjectTypeListLength, PGENERIC_MAPPING GenericMapping, WINBOOL ObjectCreation, LPDWORD GrantedAccess, LPDWORD AccessStatusList, LPBOOL pfGenerateOnClose);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2167:192: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI ObjectOpenAuditAlarmA (LPCSTR SubsystemName, LPVOID HandleId, LPSTR ObjectTypeName, LPSTR ObjectName, PSECURITY_DESCRIPTOR pSecurityDescriptor, HANDLE ClientToken, DWORD DesiredAccess, DWORD GrantedAccess, PPRIVILEGE_SET Privileges, WINBOOL ObjectCreation, WINBOOL AccessGranted, LPBOOL GenerateOnClose);
                                                                                                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2167:213: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI ObjectOpenAuditAlarmA (LPCSTR SubsystemName, LPVOID HandleId, LPSTR ObjectTypeName, LPSTR ObjectName, PSECURITY_DESCRIPTOR pSecurityDescriptor, HANDLE ClientToken, DWORD DesiredAccess, DWORD GrantedAccess, PPRIVILEGE_SET Privileges, WINBOOL ObjectCreation, WINBOOL AccessGranted, LPBOOL GenerateOnClose);
                                                                                                                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2168:115: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI ObjectPrivilegeAuditAlarmA (LPCSTR SubsystemName, LPVOID HandleId, HANDLE ClientToken, DWORD DesiredAccess, PPRIVILEGE_SET Privileges, WINBOOL AccessGranted);
                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2172:65: error: 'SECURITY_INFORMATION' has not been declared
   WINADVAPI WINBOOL WINAPI SetFileSecurityA (LPCSTR lpFileName, SECURITY_INFORMATION SecurityInformation, PSECURITY_DESCRIPTOR pSecurityDescriptor);
                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2173:65: error: 'SECURITY_INFORMATION' has not been declared
   WINADVAPI WINBOOL WINAPI GetFileSecurityA (LPCSTR lpFileName, SECURITY_INFORMATION RequestedInformation, PSECURITY_DESCRIPTOR pSecurityDescriptor, DWORD nLength, LPDWORD lpnLengthNeeded);
                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2173:150: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI GetFileSecurityA (LPCSTR lpFileName, SECURITY_INFORMATION RequestedInformation, PSECURITY_DESCRIPTOR pSecurityDescriptor, DWORD nLength, LPDWORD lpnLengthNeeded);
                                                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2173:165: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI GetFileSecurityA (LPCSTR lpFileName, SECURITY_INFORMATION RequestedInformation, PSECURITY_DESCRIPTOR pSecurityDescriptor, DWORD nLength, LPDWORD lpnLengthNeeded);
                                                                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2174:88: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI ReadDirectoryChangesW (HANDLE hDirectory, LPVOID lpBuffer, DWORD nBufferLength, WINBOOL bWatchSubtree, DWORD dwNotifyFilter, LPDWORD lpBytesReturned, LPOVERLAPPED lpOverlapped, LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine);
                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2174:132: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI ReadDirectoryChangesW (HANDLE hDirectory, LPVOID lpBuffer, DWORD nBufferLength, WINBOOL bWatchSubtree, DWORD dwNotifyFilter, LPDWORD lpBytesReturned, LPOVERLAPPED lpOverlapped, LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine);
                                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2174:154: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI ReadDirectoryChangesW (HANDLE hDirectory, LPVOID lpBuffer, DWORD nBufferLength, WINBOOL bWatchSubtree, DWORD dwNotifyFilter, LPDWORD lpBytesReturned, LPOVERLAPPED lpOverlapped, LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine);
                                                                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2174:206: error: 'LPOVERLAPPED_COMPLETION_ROUTINE' has not been declared
   WINBASEAPI WINBOOL WINAPI ReadDirectoryChangesW (HANDLE hDirectory, LPVOID lpBuffer, DWORD nBufferLength, WINBOOL bWatchSubtree, DWORD dwNotifyFilter, LPDWORD lpBytesReturned, LPOVERLAPPED lpOverlapped, LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine);
                                                                                                                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2188:90: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI LookupAccountSidA (LPCSTR lpSystemName, PSID Sid, LPSTR Name, LPDWORD cchName, LPSTR ReferencedDomainName, LPDWORD cchReferencedDomainName, PSID_NAME_USE peUse);
                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2188:135: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI LookupAccountSidA (LPCSTR lpSystemName, PSID Sid, LPSTR Name, LPDWORD cchName, LPSTR ReferencedDomainName, LPDWORD cchReferencedDomainName, PSID_NAME_USE peUse);
                                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2189:92: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI LookupAccountSidW (LPCWSTR lpSystemName, PSID Sid, LPWSTR Name, LPDWORD cchName, LPWSTR ReferencedDomainName, LPDWORD cchReferencedDomainName, PSID_NAME_USE peUse);
                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2189:138: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI LookupAccountSidW (LPCWSTR lpSystemName, PSID Sid, LPWSTR Name, LPDWORD cchName, LPWSTR ReferencedDomainName, LPDWORD cchReferencedDomainName, PSID_NAME_USE peUse);
                                                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2190:101: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI LookupAccountNameA (LPCSTR lpSystemName, LPCSTR lpAccountName, PSID Sid, LPDWORD cbSid, LPSTR ReferencedDomainName, LPDWORD cchReferencedDomainName, PSID_NAME_USE peUse);
                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2190:144: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI LookupAccountNameA (LPCSTR lpSystemName, LPCSTR lpAccountName, PSID Sid, LPDWORD cbSid, LPSTR ReferencedDomainName, LPDWORD cchReferencedDomainName, PSID_NAME_USE peUse);
                                                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2191:103: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI LookupAccountNameW (LPCWSTR lpSystemName, LPCWSTR lpAccountName, PSID Sid, LPDWORD cbSid, LPWSTR ReferencedDomainName, LPDWORD cchReferencedDomainName, PSID_NAME_USE peUse);
                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2191:147: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI LookupAccountNameW (LPCWSTR lpSystemName, LPCWSTR lpAccountName, PSID Sid, LPDWORD cbSid, LPWSTR ReferencedDomainName, LPDWORD cchReferencedDomainName, PSID_NAME_USE peUse);
                                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2233:99: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI LookupPrivilegeNameA (LPCSTR lpSystemName, PLUID lpLuid, LPSTR lpName, LPDWORD cchName);
                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2234:101: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI LookupPrivilegeNameW (LPCWSTR lpSystemName, PLUID lpLuid, LPWSTR lpName, LPDWORD cchName);
                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2235:114: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI LookupPrivilegeDisplayNameA (LPCSTR lpSystemName, LPCSTR lpName, LPSTR lpDisplayName, LPDWORD cchDisplayName, LPDWORD lpLanguageId);
                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2235:138: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI LookupPrivilegeDisplayNameA (LPCSTR lpSystemName, LPCSTR lpName, LPSTR lpDisplayName, LPDWORD cchDisplayName, LPDWORD lpLanguageId);
                                                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2236:117: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI LookupPrivilegeDisplayNameW (LPCWSTR lpSystemName, LPCWSTR lpName, LPWSTR lpDisplayName, LPDWORD cchDisplayName, LPDWORD lpLanguageId);
                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2236:141: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI LookupPrivilegeDisplayNameW (LPCWSTR lpSystemName, LPCWSTR lpName, LPWSTR lpDisplayName, LPDWORD cchDisplayName, LPDWORD lpLanguageId);
                                                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2243:88: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetDefaultCommConfigA (LPCSTR lpszName, LPCOMMCONFIG lpCC, LPDWORD lpdwSize);
                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2244:89: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetDefaultCommConfigW (LPCWSTR lpszName, LPCOMMCONFIG lpCC, LPDWORD lpdwSize);
                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2245:88: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI SetDefaultCommConfigA (LPCSTR lpszName, LPCOMMCONFIG lpCC, DWORD dwSize);
                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2246:89: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI SetDefaultCommConfigW (LPCWSTR lpszName, LPCOMMCONFIG lpCC, DWORD dwSize);
                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2259:63: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetComputerNameA (LPSTR lpBuffer, LPDWORD nSize);
                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2260:64: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetComputerNameW (LPWSTR lpBuffer, LPDWORD nSize);
                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2264:94: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI DnsHostnameToComputerNameA (LPCSTR Hostname, LPSTR ComputerName, LPDWORD nSize);
                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2265:96: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI DnsHostnameToComputerNameW (LPCWSTR Hostname, LPWSTR ComputerName, LPDWORD nSize);
                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2266:58: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI GetUserNameA (LPSTR lpBuffer, LPDWORD pcbBuffer);
                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2267:59: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI GetUserNameW (LPWSTR lpBuffer, LPDWORD pcbBuffer);
                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2294:101: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI LogonUserA (LPCSTR lpszUsername, LPCSTR lpszDomain, LPCSTR lpszPassword, DWORD dwLogonType, DWORD dwLogonProvider, PHANDLE phToken);
                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2294:120: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI LogonUserA (LPCSTR lpszUsername, LPCSTR lpszDomain, LPCSTR lpszPassword, DWORD dwLogonType, DWORD dwLogonProvider, PHANDLE phToken);
                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2295:104: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI LogonUserW (LPCWSTR lpszUsername, LPCWSTR lpszDomain, LPCWSTR lpszPassword, DWORD dwLogonType, DWORD dwLogonProvider, PHANDLE phToken);
                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2295:123: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI LogonUserW (LPCWSTR lpszUsername, LPCWSTR lpszDomain, LPCWSTR lpszPassword, DWORD dwLogonType, DWORD dwLogonProvider, PHANDLE phToken);
                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2296:103: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI LogonUserExA (LPCSTR lpszUsername, LPCSTR lpszDomain, LPCSTR lpszPassword, DWORD dwLogonType, DWORD dwLogonProvider, PHANDLE phToken, PSID *ppLogonSid, PVOID *ppProfileBuffer, LPDWORD pdwProfileLength, PQUOTA_LIMITS pQuotaLimits);
                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2296:122: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI LogonUserExA (LPCSTR lpszUsername, LPCSTR lpszDomain, LPCSTR lpszPassword, DWORD dwLogonType, DWORD dwLogonProvider, PHANDLE phToken, PSID *ppLogonSid, PVOID *ppProfileBuffer, LPDWORD pdwProfileLength, PQUOTA_LIMITS pQuotaLimits);
                                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2296:204: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI LogonUserExA (LPCSTR lpszUsername, LPCSTR lpszDomain, LPCSTR lpszPassword, DWORD dwLogonType, DWORD dwLogonProvider, PHANDLE phToken, PSID *ppLogonSid, PVOID *ppProfileBuffer, LPDWORD pdwProfileLength, PQUOTA_LIMITS pQuotaLimits);
                                                                                                                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2297:106: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI LogonUserExW (LPCWSTR lpszUsername, LPCWSTR lpszDomain, LPCWSTR lpszPassword, DWORD dwLogonType, DWORD dwLogonProvider, PHANDLE phToken, PSID *ppLogonSid, PVOID *ppProfileBuffer, LPDWORD pdwProfileLength, PQUOTA_LIMITS pQuotaLimits);
                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2297:125: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI LogonUserExW (LPCWSTR lpszUsername, LPCWSTR lpszDomain, LPCWSTR lpszPassword, DWORD dwLogonType, DWORD dwLogonProvider, PHANDLE phToken, PSID *ppLogonSid, PVOID *ppProfileBuffer, LPDWORD pdwProfileLength, PQUOTA_LIMITS pQuotaLimits);
                                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2297:207: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI LogonUserExW (LPCWSTR lpszUsername, LPCWSTR lpszDomain, LPCWSTR lpszPassword, DWORD dwLogonType, DWORD dwLogonProvider, PHANDLE phToken, PSID *ppLogonSid, PVOID *ppProfileBuffer, LPDWORD pdwProfileLength, PQUOTA_LIMITS pQuotaLimits);
                                                                                                                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2298:222: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI CreateProcessAsUserA (HANDLE hToken, LPCSTR lpApplicationName, LPSTR lpCommandLine, LPSECURITY_ATTRIBUTES lpProcessAttributes, LPSECURITY_ATTRIBUTES lpThreadAttributes, WINBOOL bInheritHandles, DWORD dwCreationFlags, LPVOID lpEnvironment, LPCSTR lpCurrentDirectory, LPSTARTUPINFOA lpStartupInfo, LPPROCESS_INFORMATION lpProcessInformation);
                                                                                                                                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2311:111: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI CreateProcessWithLogonW (LPCWSTR lpUsername, LPCWSTR lpDomain, LPCWSTR lpPassword, DWORD dwLogonFlags, LPCWSTR lpApplicationName, LPWSTR lpCommandLine, DWORD dwCreationFlags, LPVOID lpEnvironment, LPCWSTR lpCurrentDirectory, LPSTARTUPINFOW lpStartupInfo, LPPROCESS_INFORMATION lpProcessInformation);
                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2311:180: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI CreateProcessWithLogonW (LPCWSTR lpUsername, LPCWSTR lpDomain, LPCWSTR lpPassword, DWORD dwLogonFlags, LPCWSTR lpApplicationName, LPWSTR lpCommandLine, DWORD dwCreationFlags, LPVOID lpEnvironment, LPCWSTR lpCurrentDirectory, LPSTARTUPINFOW lpStartupInfo, LPPROCESS_INFORMATION lpProcessInformation);
                                                                                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2312:68: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI CreateProcessWithTokenW (HANDLE hToken, DWORD dwLogonFlags, LPCWSTR lpApplicationName, LPWSTR lpCommandLine, DWORD dwCreationFlags, LPVOID lpEnvironment, LPCWSTR lpCurrentDirectory, LPSTARTUPINFOW lpStartupInfo, LPPROCESS_INFORMATION lpProcessInformation);
                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2312:137: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI CreateProcessWithTokenW (HANDLE hToken, DWORD dwLogonFlags, LPCWSTR lpApplicationName, LPWSTR lpCommandLine, DWORD dwCreationFlags, LPVOID lpEnvironment, LPCWSTR lpCurrentDirectory, LPSTARTUPINFOW lpStartupInfo, LPPROCESS_INFORMATION lpProcessInformation);
                                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2314:144: error: 'ULONG' has not been declared
   WINBASEAPI WINBOOL WINAPI RegisterWaitForSingleObject (PHANDLE phNewWaitObject, HANDLE hObject, WAITORTIMERCALLBACK Callback, PVOID Context, ULONG dwMilliseconds, ULONG dwFlags);
                                                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2314:166: error: 'ULONG' has not been declared
   WINBASEAPI WINBOOL WINAPI RegisterWaitForSingleObject (PHANDLE phNewWaitObject, HANDLE hObject, WAITORTIMERCALLBACK Callback, PVOID Context, ULONG dwMilliseconds, ULONG dwFlags);
                                                                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2316:74: error: 'LPOVERLAPPED_COMPLETION_ROUTINE' has not been declared
   WINBASEAPI WINBOOL WINAPI BindIoCompletionCallback (HANDLE FileHandle, LPOVERLAPPED_COMPLETION_ROUTINE Function, ULONG Flags);
                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2316:116: error: 'ULONG' has not been declared
   WINBASEAPI WINBOOL WINAPI BindIoCompletionCallback (HANDLE FileHandle, LPOVERLAPPED_COMPLETION_ROUTINE Function, ULONG Flags);
                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2317:114: error: 'DWORD' has not been declared
   WINBASEAPI HANDLE WINAPI SetTimerQueueTimer (HANDLE TimerQueue, WAITORTIMERCALLBACK Callback, PVOID Parameter, DWORD DueTime, DWORD Period, WINBOOL PreferIo);
                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2317:129: error: 'DWORD' has not been declared
   WINBASEAPI HANDLE WINAPI SetTimerQueueTimer (HANDLE TimerQueue, WAITORTIMERCALLBACK Callback, PVOID Parameter, DWORD DueTime, DWORD Period, WINBOOL PreferIo);
                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2326:70: error: 'ULONG' has not been declared
   WINBASEAPI HANDLE APIENTRY CreateBoundaryDescriptorA (LPCSTR Name, ULONG Flags);
                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2349:5: error: 'DWORD' does not name a type
     DWORD dwDockInfo;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2355:5: error: 'DWORD' does not name a type
     DWORD dwDockInfo;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2365:90: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI VerifyVersionInfoA (LPOSVERSIONINFOEXA lpVersionInformation, DWORD dwTypeMask, DWORDLONG dwlConditionMask);
                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2366:90: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI VerifyVersionInfoW (LPOSVERSIONINFOEXW lpVersionInformation, DWORD dwTypeMask, DWORDLONG dwlConditionMask);
                                                                                          ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2374:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:70,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/timezoneapi.h:22:5: error: 'LONG' does not name a type
     LONG Bias;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/timezoneapi.h:25:5: error: 'LONG' does not name a type
     LONG StandardBias;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/timezoneapi.h:28:5: error: 'LONG' does not name a type
     LONG DaylightBias;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/timezoneapi.h:32:5: error: 'LONG' does not name a type
     LONG Bias;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/timezoneapi.h:35:5: error: 'LONG' does not name a type
     LONG StandardBias;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/timezoneapi.h:38:5: error: 'LONG' does not name a type
     LONG DaylightBias;
     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2374:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:70,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/timezoneapi.h:47:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetTimeZoneInformation (LPTIME_ZONE_INFORMATION lpTimeZoneInformation);
              ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:70:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2404:5: error: 'DWORD' does not name a type
     DWORD BatteryLifeTime;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2405:5: error: 'DWORD' does not name a type
     DWORD BatteryFullLifeTime;
     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:70:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2429:44: error: definition of 'void* OpenJobObjectA' is marked 'dllimport'
   WINBASEAPI HANDLE WINAPI OpenJobObjectA (DWORD dwDesiredAccess, WINBOOL bInheritHandle, LPCSTR lpName);
                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2429:44: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2429:75: error: expected primary-expression before 'bInheritHandle'
   WINBASEAPI HANDLE WINAPI OpenJobObjectA (DWORD dwDesiredAccess, WINBOOL bInheritHandle, LPCSTR lpName);
                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2429:98: error: expected primary-expression before 'lpName'
   WINBASEAPI HANDLE WINAPI OpenJobObjectA (DWORD dwDesiredAccess, WINBOOL bInheritHandle, LPCSTR lpName);
                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2429:104: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI HANDLE WINAPI OpenJobObjectA (DWORD dwDesiredAccess, WINBOOL bInheritHandle, LPCSTR lpName);
                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2430:44: error: definition of 'void* OpenJobObjectW' is marked 'dllimport'
   WINBASEAPI HANDLE WINAPI OpenJobObjectW (DWORD dwDesiredAccess, WINBOOL bInheritHandle, LPCWSTR lpName);
                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2430:44: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2430:75: error: expected primary-expression before 'bInheritHandle'
   WINBASEAPI HANDLE WINAPI OpenJobObjectW (DWORD dwDesiredAccess, WINBOOL bInheritHandle, LPCWSTR lpName);
                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2430:99: error: expected primary-expression before 'lpName'
   WINBASEAPI HANDLE WINAPI OpenJobObjectW (DWORD dwDesiredAccess, WINBOOL bInheritHandle, LPCWSTR lpName);
                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2430:105: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI HANDLE WINAPI OpenJobObjectW (DWORD dwDesiredAccess, WINBOOL bInheritHandle, LPCWSTR lpName);
                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2433:146: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI QueryInformationJobObject (HANDLE hJob, JOBOBJECTINFOCLASS JobObjectInformationClass, LPVOID lpJobObjectInformation, DWORD cbJobObjectInformationLength, LPDWORD lpReturnLength);
                                                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2433:182: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI QueryInformationJobObject (HANDLE hJob, JOBOBJECTINFOCLASS JobObjectInformationClass, LPVOID lpJobObjectInformation, DWORD cbJobObjectInformationLength, LPDWORD lpReturnLength);
                                                                                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2434:144: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI SetInformationJobObject (HANDLE hJob, JOBOBJECTINFOCLASS JobObjectInformationClass, LPVOID lpJobObjectInformation, DWORD cbJobObjectInformationLength);
                                                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2435:43: error: definition of 'WINBOOL CreateJobSet' is marked 'dllimport'
   WINBASEAPI WINBOOL WINAPI CreateJobSet (ULONG NumJob, PJOB_SET_ARRAY UserJobSet, ULONG Flags);
                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2435:43: error: 'ULONG' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2435:72: error: expected primary-expression before 'UserJobSet'
   WINBASEAPI WINBOOL WINAPI CreateJobSet (ULONG NumJob, PJOB_SET_ARRAY UserJobSet, ULONG Flags);
                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2435:84: error: 'ULONG' was not declared in this scope
   WINBASEAPI WINBOOL WINAPI CreateJobSet (ULONG NumJob, PJOB_SET_ARRAY UserJobSet, ULONG Flags);
                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2435:95: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI WINBOOL WINAPI CreateJobSet (ULONG NumJob, PJOB_SET_ARRAY UserJobSet, ULONG Flags);
                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2436:68: error: 'DWORD' has not been declared
   WINBASEAPI HANDLE WINAPI FindFirstVolumeA (LPSTR lpszVolumeName, DWORD cchBufferLength);
                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2437:88: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI FindNextVolumeA (HANDLE hFindVolume, LPSTR lpszVolumeName, DWORD cchBufferLength);
                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2438:109: error: 'DWORD' has not been declared
   WINBASEAPI HANDLE WINAPI FindFirstVolumeMountPointA (LPCSTR lpszRootPathName, LPSTR lpszVolumeMountPoint, DWORD cchBufferLength);
                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2439:111: error: 'DWORD' has not been declared
   WINBASEAPI HANDLE WINAPI FindFirstVolumeMountPointW (LPCWSTR lpszRootPathName, LPWSTR lpszVolumeMountPoint, DWORD cchBufferLength);
                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2440:114: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI FindNextVolumeMountPointA (HANDLE hFindVolumeMountPoint, LPSTR lpszVolumeMountPoint, DWORD cchBufferLength);
                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2441:115: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI FindNextVolumeMountPointW (HANDLE hFindVolumeMountPoint, LPWSTR lpszVolumeMountPoint, DWORD cchBufferLength);
                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2446:115: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetVolumeNameForVolumeMountPointA (LPCSTR lpszVolumeMountPoint, LPSTR lpszVolumeName, DWORD cchBufferLength);
                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2447:96: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetVolumePathNameA (LPCSTR lpszFileName, LPSTR lpszVolumePathName, DWORD cchBufferLength);
                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2448:112: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetVolumePathNamesForVolumeNameA (LPCSTR lpszVolumeName, LPCH lpszVolumePathNames, DWORD cchBufferLength, PDWORD lpcchReturnLength);
                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2448:135: error: 'PDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetVolumePathNamesForVolumeNameA (LPCSTR lpszVolumeName, LPCH lpszVolumePathNames, DWORD cchBufferLength, PDWORD lpcchReturnLength);
                                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2478:5: error: 'ULONG' does not name a type
     ULONG cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2479:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2490:5: error: 'ULONG' does not name a type
     ULONG cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2491:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2515:47: error: definition of 'WINBOOL DeactivateActCtx' is marked 'dllimport'
   WINBASEAPI WINBOOL WINAPI DeactivateActCtx (DWORD dwFlags, ULONG_PTR ulCookie);
                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2515:47: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2515:72: error: expected primary-expression before 'ulCookie'
   WINBASEAPI WINBOOL WINAPI DeactivateActCtx (DWORD dwFlags, ULONG_PTR ulCookie);
                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2515:80: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI WINBOOL WINAPI DeactivateActCtx (DWORD dwFlags, ULONG_PTR ulCookie);
                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2522:5: error: 'ULONG' does not name a type
     ULONG cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2523:5: error: 'ULONG' does not name a type
     ULONG ulDataFormatVersion;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2525:5: error: 'ULONG' does not name a type
     ULONG ulLength;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2527:5: error: 'ULONG' does not name a type
     ULONG ulSectionGlobalDataLength;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2529:5: error: 'ULONG' does not name a type
     ULONG ulSectionTotalLength;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2531:5: error: 'ULONG' does not name a type
     ULONG ulAssemblyRosterIndex;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2539:5: error: 'ULONG' does not name a type
     ULONG ulSectionLength;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2541:5: error: 'ULONG' does not name a type
     ULONG ulSectionGlobalDataLength;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2547:5: error: 'ULONG' does not name a type
     ULONG cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2548:5: error: 'ULONG' does not name a type
     ULONG ulDataFormatVersion;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2550:5: error: 'ULONG' does not name a type
     ULONG ulLength;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2552:5: error: 'ULONG' does not name a type
     ULONG ulSectionGlobalDataLength;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2554:5: error: 'ULONG' does not name a type
     ULONG ulSectionTotalLength;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2556:5: error: 'ULONG' does not name a type
     ULONG ulAssemblyRosterIndex;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2557:5: error: 'ULONG' does not name a type
     ULONG ulFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2567:55: error: definition of 'WINBOOL FindActCtxSectionStringA' is marked 'dllimport'
   WINBASEAPI WINBOOL WINAPI FindActCtxSectionStringA (DWORD dwFlags, const GUID *lpExtensionGuid, ULONG ulSectionId, LPCSTR lpStringToFind, PACTCTX_SECTION_KEYED_DATA ReturnedData);
                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2567:55: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2567:70: error: expected primary-expression before 'const'
   WINBASEAPI WINBOOL WINAPI FindActCtxSectionStringA (DWORD dwFlags, const GUID *lpExtensionGuid, ULONG ulSectionId, LPCSTR lpStringToFind, PACTCTX_SECTION_KEYED_DATA ReturnedData);
                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2567:99: error: 'ULONG' was not declared in this scope
   WINBASEAPI WINBOOL WINAPI FindActCtxSectionStringA (DWORD dwFlags, const GUID *lpExtensionGuid, ULONG ulSectionId, LPCSTR lpStringToFind, PACTCTX_SECTION_KEYED_DATA ReturnedData);
                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2567:125: error: expected primary-expression before 'lpStringToFind'
   WINBASEAPI WINBOOL WINAPI FindActCtxSectionStringA (DWORD dwFlags, const GUID *lpExtensionGuid, ULONG ulSectionId, LPCSTR lpStringToFind, PACTCTX_SECTION_KEYED_DATA ReturnedData);
                                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2567:168: error: expected primary-expression before 'ReturnedData'
   WINBASEAPI WINBOOL WINAPI FindActCtxSectionStringA (DWORD dwFlags, const GUID *lpExtensionGuid, ULONG ulSectionId, LPCSTR lpStringToFind, PACTCTX_SECTION_KEYED_DATA ReturnedData);
                                                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2567:180: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI WINBOOL WINAPI FindActCtxSectionStringA (DWORD dwFlags, const GUID *lpExtensionGuid, ULONG ulSectionId, LPCSTR lpStringToFind, PACTCTX_SECTION_KEYED_DATA ReturnedData);
                                                                                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2568:55: error: definition of 'WINBOOL FindActCtxSectionStringW' is marked 'dllimport'
   WINBASEAPI WINBOOL WINAPI FindActCtxSectionStringW (DWORD dwFlags, const GUID *lpExtensionGuid, ULONG ulSectionId, LPCWSTR lpStringToFind, PACTCTX_SECTION_KEYED_DATA ReturnedData);
                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2568:55: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2568:70: error: expected primary-expression before 'const'
   WINBASEAPI WINBOOL WINAPI FindActCtxSectionStringW (DWORD dwFlags, const GUID *lpExtensionGuid, ULONG ulSectionId, LPCWSTR lpStringToFind, PACTCTX_SECTION_KEYED_DATA ReturnedData);
                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2568:99: error: 'ULONG' was not declared in this scope
   WINBASEAPI WINBOOL WINAPI FindActCtxSectionStringW (DWORD dwFlags, const GUID *lpExtensionGuid, ULONG ulSectionId, LPCWSTR lpStringToFind, PACTCTX_SECTION_KEYED_DATA ReturnedData);
                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2568:126: error: expected primary-expression before 'lpStringToFind'
   WINBASEAPI WINBOOL WINAPI FindActCtxSectionStringW (DWORD dwFlags, const GUID *lpExtensionGuid, ULONG ulSectionId, LPCWSTR lpStringToFind, PACTCTX_SECTION_KEYED_DATA ReturnedData);
                                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2568:169: error: expected primary-expression before 'ReturnedData'
   WINBASEAPI WINBOOL WINAPI FindActCtxSectionStringW (DWORD dwFlags, const GUID *lpExtensionGuid, ULONG ulSectionId, LPCWSTR lpStringToFind, PACTCTX_SECTION_KEYED_DATA ReturnedData);
                                                                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2568:181: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI WINBOOL WINAPI FindActCtxSectionStringW (DWORD dwFlags, const GUID *lpExtensionGuid, ULONG ulSectionId, LPCWSTR lpStringToFind, PACTCTX_SECTION_KEYED_DATA ReturnedData);
                                                                                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2569:52: error: definition of 'WINBOOL FindActCtxSectionGuid' is marked 'dllimport'
   WINBASEAPI WINBOOL WINAPI FindActCtxSectionGuid (DWORD dwFlags, const GUID *lpExtensionGuid, ULONG ulSectionId, const GUID *lpGuidToFind, PACTCTX_SECTION_KEYED_DATA ReturnedData);
                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2569:52: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2569:67: error: expected primary-expression before 'const'
   WINBASEAPI WINBOOL WINAPI FindActCtxSectionGuid (DWORD dwFlags, const GUID *lpExtensionGuid, ULONG ulSectionId, const GUID *lpGuidToFind, PACTCTX_SECTION_KEYED_DATA ReturnedData);
                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2569:96: error: 'ULONG' was not declared in this scope
   WINBASEAPI WINBOOL WINAPI FindActCtxSectionGuid (DWORD dwFlags, const GUID *lpExtensionGuid, ULONG ulSectionId, const GUID *lpGuidToFind, PACTCTX_SECTION_KEYED_DATA ReturnedData);
                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2569:115: error: expected primary-expression before 'const'
   WINBASEAPI WINBOOL WINAPI FindActCtxSectionGuid (DWORD dwFlags, const GUID *lpExtensionGuid, ULONG ulSectionId, const GUID *lpGuidToFind, PACTCTX_SECTION_KEYED_DATA ReturnedData);
                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2569:168: error: expected primary-expression before 'ReturnedData'
   WINBASEAPI WINBOOL WINAPI FindActCtxSectionGuid (DWORD dwFlags, const GUID *lpExtensionGuid, ULONG ulSectionId, const GUID *lpGuidToFind, PACTCTX_SECTION_KEYED_DATA ReturnedData);
                                                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2569:180: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI WINBOOL WINAPI FindActCtxSectionGuid (DWORD dwFlags, const GUID *lpExtensionGuid, ULONG ulSectionId, const GUID *lpGuidToFind, PACTCTX_SECTION_KEYED_DATA ReturnedData);
                                                                                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2576:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2589:43: error: definition of 'WINBOOL QueryActCtxW' is marked 'dllimport'
   WINBASEAPI WINBOOL WINAPI QueryActCtxW (DWORD dwFlags, HANDLE hActCtx, PVOID pvSubInstance, ULONG ulInfoClass, PVOID pvBuffer, SIZE_T cbBuffer, SIZE_T *pcbWrittenOrRequired);
                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2589:43: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2589:65: error: expected primary-expression before 'hActCtx'
   WINBASEAPI WINBOOL WINAPI QueryActCtxW (DWORD dwFlags, HANDLE hActCtx, PVOID pvSubInstance, ULONG ulInfoClass, PVOID pvBuffer, SIZE_T cbBuffer, SIZE_T *pcbWrittenOrRequired);
                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2589:80: error: expected primary-expression before 'pvSubInstance'
   WINBASEAPI WINBOOL WINAPI QueryActCtxW (DWORD dwFlags, HANDLE hActCtx, PVOID pvSubInstance, ULONG ulInfoClass, PVOID pvBuffer, SIZE_T cbBuffer, SIZE_T *pcbWrittenOrRequired);
                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2589:95: error: 'ULONG' was not declared in this scope
   WINBASEAPI WINBOOL WINAPI QueryActCtxW (DWORD dwFlags, HANDLE hActCtx, PVOID pvSubInstance, ULONG ulInfoClass, PVOID pvBuffer, SIZE_T cbBuffer, SIZE_T *pcbWrittenOrRequired);
                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2589:120: error: expected primary-expression before 'pvBuffer'
   WINBASEAPI WINBOOL WINAPI QueryActCtxW (DWORD dwFlags, HANDLE hActCtx, PVOID pvSubInstance, ULONG ulInfoClass, PVOID pvBuffer, SIZE_T cbBuffer, SIZE_T *pcbWrittenOrRequired);
                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2589:137: error: expected primary-expression before 'cbBuffer'
   WINBASEAPI WINBOOL WINAPI QueryActCtxW (DWORD dwFlags, HANDLE hActCtx, PVOID pvSubInstance, ULONG ulInfoClass, PVOID pvBuffer, SIZE_T cbBuffer, SIZE_T *pcbWrittenOrRequired);
                                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2589:154: error: expected primary-expression before '*' token
   WINBASEAPI WINBOOL WINAPI QueryActCtxW (DWORD dwFlags, HANDLE hActCtx, PVOID pvSubInstance, ULONG ulInfoClass, PVOID pvBuffer, SIZE_T cbBuffer, SIZE_T *pcbWrittenOrRequired);
                                                                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2589:155: error: 'pcbWrittenOrRequired' was not declared in this scope
   WINBASEAPI WINBOOL WINAPI QueryActCtxW (DWORD dwFlags, HANDLE hActCtx, PVOID pvSubInstance, ULONG ulInfoClass, PVOID pvBuffer, SIZE_T cbBuffer, SIZE_T *pcbWrittenOrRequired);
                                                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2589:175: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI WINBOOL WINAPI QueryActCtxW (DWORD dwFlags, HANDLE hActCtx, PVOID pvSubInstance, ULONG ulInfoClass, PVOID pvBuffer, SIZE_T cbBuffer, SIZE_T *pcbWrittenOrRequired);
                                                                                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2591:49: error: typedef 'PQUERYACTCTXW_FUNC' is initialized (use decltype instead)
   typedef WINBOOL (WINAPI *PQUERYACTCTXW_FUNC) (DWORD dwFlags, HANDLE hActCtx, PVOID pvSubInstance, ULONG ulInfoClass, PVOID pvBuffer, SIZE_T cbBuffer, SIZE_T *pcbWrittenOrRequired);
                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2591:49: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2591:71: error: expected primary-expression before 'hActCtx'
   typedef WINBOOL (WINAPI *PQUERYACTCTXW_FUNC) (DWORD dwFlags, HANDLE hActCtx, PVOID pvSubInstance, ULONG ulInfoClass, PVOID pvBuffer, SIZE_T cbBuffer, SIZE_T *pcbWrittenOrRequired);
                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2591:86: error: expected primary-expression before 'pvSubInstance'
   typedef WINBOOL (WINAPI *PQUERYACTCTXW_FUNC) (DWORD dwFlags, HANDLE hActCtx, PVOID pvSubInstance, ULONG ulInfoClass, PVOID pvBuffer, SIZE_T cbBuffer, SIZE_T *pcbWrittenOrRequired);
                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2591:101: error: 'ULONG' was not declared in this scope
   typedef WINBOOL (WINAPI *PQUERYACTCTXW_FUNC) (DWORD dwFlags, HANDLE hActCtx, PVOID pvSubInstance, ULONG ulInfoClass, PVOID pvBuffer, SIZE_T cbBuffer, SIZE_T *pcbWrittenOrRequired);
                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2591:126: error: expected primary-expression before 'pvBuffer'
   typedef WINBOOL (WINAPI *PQUERYACTCTXW_FUNC) (DWORD dwFlags, HANDLE hActCtx, PVOID pvSubInstance, ULONG ulInfoClass, PVOID pvBuffer, SIZE_T cbBuffer, SIZE_T *pcbWrittenOrRequired);
                                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2591:143: error: expected primary-expression before 'cbBuffer'
   typedef WINBOOL (WINAPI *PQUERYACTCTXW_FUNC) (DWORD dwFlags, HANDLE hActCtx, PVOID pvSubInstance, ULONG ulInfoClass, PVOID pvBuffer, SIZE_T cbBuffer, SIZE_T *pcbWrittenOrRequired);
                                                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2591:160: error: expected primary-expression before '*' token
   typedef WINBOOL (WINAPI *PQUERYACTCTXW_FUNC) (DWORD dwFlags, HANDLE hActCtx, PVOID pvSubInstance, ULONG ulInfoClass, PVOID pvBuffer, SIZE_T cbBuffer, SIZE_T *pcbWrittenOrRequired);
                                                                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2591:161: error: 'pcbWrittenOrRequired' was not declared in this scope
   typedef WINBOOL (WINAPI *PQUERYACTCTXW_FUNC) (DWORD dwFlags, HANDLE hActCtx, PVOID pvSubInstance, ULONG ulInfoClass, PVOID pvBuffer, SIZE_T cbBuffer, SIZE_T *pcbWrittenOrRequired);
                                                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2593:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI WTSGetActiveConsoleSessionId (VOID);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2611:17: error: typedef 'DWORD' is initialized (use decltype instead)
   typedef DWORD (WINAPI *APPLICATION_RECOVERY_CALLBACK) (PVOID pvParameter);
                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2611:26: error: 'APPLICATION_RECOVERY_CALLBACK' was not declared in this scope
   typedef DWORD (WINAPI *APPLICATION_RECOVERY_CALLBACK) (PVOID pvParameter);
                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2888:64: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI CopyContext (PCONTEXT Destination, DWORD ContextFlags, PCONTEXT Source);
                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2892:62: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI InitializeContext (PVOID Buffer, DWORD ContextFlags, PCONTEXT *Context, PDWORD ContextLength);
                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2892:101: error: 'PDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI InitializeContext (PVOID Buffer, DWORD ContextFlags, PCONTEXT *Context, PDWORD ContextLength);
                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2896:66: error: 'DWORD' has not been declared
   WINBASEAPI PVOID WINAPI LocateXStateFeature (PCONTEXT Context, DWORD FeatureId, PDWORD Length);
                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2896:83: error: 'PDWORD' has not been declared
   WINBASEAPI PVOID WINAPI LocateXStateFeature (PCONTEXT Context, DWORD FeatureId, PDWORD Length);
                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h: In function 'unsigned int _InterlockedIncrement(volatile unsigned int*)':
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2930:46: error: expected primary-expression before 'volatile'
     return (unsigned) InterlockedIncrement ((volatile __LONG32 *) Addend);
                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2930:46: error: expected ')' before 'volatile'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h: In function 'long unsigned int _InterlockedIncrement(volatile long unsigned int*)':
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2935:13: error: expected primary-expression before 'unsigned'
     return (unsigned __LONG32) InterlockedIncrement ((volatile __LONG32 *) Addend);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2935:13: error: expected ')' before 'unsigned'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h: In function 'unsigned int _InterlockedDecrement(volatile unsigned int*)':
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2948:46: error: expected primary-expression before 'volatile'
     return (unsigned) InterlockedDecrement ((volatile __LONG32 *) Addend);
                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2948:46: error: expected ')' before 'volatile'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h: In function 'long unsigned int _InterlockedDecrement(volatile long unsigned int*)':
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2953:13: error: expected primary-expression before 'unsigned'
     return (unsigned __LONG32) InterlockedDecrement ((volatile __LONG32 *) Addend);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2953:13: error: expected ')' before 'unsigned'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h: In function 'unsigned int _InterlockedExchange(volatile unsigned int*, unsigned int)':
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2966:45: error: expected primary-expression before 'volatile'
     return (unsigned) InterlockedExchange ((volatile __LONG32 *) Target,(__LONG32) Value);
                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2966:45: error: expected ')' before 'volatile'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h: In function 'long unsigned int _InterlockedExchange(volatile long unsigned int*, long unsigned int)':
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2971:13: error: expected primary-expression before 'unsigned'
     return (unsigned __LONG32) InterlockedExchange ((volatile __LONG32 *) Target,(__LONG32) Value);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2971:13: error: expected ')' before 'unsigned'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h: In function 'unsigned int _InterlockedExchangeAdd(volatile unsigned int*, unsigned int)':
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2984:48: error: expected primary-expression before 'volatile'
     return (unsigned) InterlockedExchangeAdd ((volatile __LONG32 *) Addend,(__LONG32) Value);
                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2984:48: error: expected ')' before 'volatile'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h: In function 'unsigned int InterlockedExchangeSubtract(volatile unsigned int*, unsigned int)':
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2988:48: error: expected primary-expression before 'volatile'
     return (unsigned) InterlockedExchangeAdd ((volatile __LONG32 *) Addend,- (__LONG32) Value);
                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2988:48: error: expected ')' before 'volatile'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h: In function 'long unsigned int _InterlockedExchangeAdd(volatile long unsigned int*, long unsigned int)':
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2993:13: error: expected primary-expression before 'unsigned'
     return (unsigned __LONG32) InterlockedExchangeAdd ((volatile __LONG32 *) Addend,(__LONG32) Value);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:2993:13: error: expected ')' before 'unsigned'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h: In function 'long unsigned int InterlockedExchangeSubtract(volatile long unsigned int*, long unsigned int)':
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:3001:13: error: expected primary-expression before 'unsigned'
     return (unsigned __LONG32) InterlockedExchangeAdd ((volatile __LONG32 *) Addend,- (__LONG32) Value);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:3001:13: error: expected ')' before 'unsigned'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h: In function 'unsigned int _InterlockedCompareExchange(volatile unsigned int*, unsigned int, unsigned int)':
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:3018:52: error: expected primary-expression before 'volatile'
     return (unsigned) InterlockedCompareExchange ((volatile __LONG32 *) Destination,(__LONG32) Exchange,(__LONG32) Comperand);
                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:3018:52: error: expected ')' before 'volatile'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h: In function 'long unsigned int _InterlockedCompareExchange(volatile long unsigned int*, long unsigned int, long unsigned int)':
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:3023:13: error: expected primary-expression before 'unsigned'
     return (unsigned __LONG32) InterlockedCompareExchange ((volatile __LONG32 *) Destination,(__LONG32) Exchange,(__LONG32) Comperand);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winbase.h:3023:13: error: expected ')' before 'unsigned'
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:71:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h: At global scope:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:336:5: error: 'DWORD' does not name a type
     DWORD DataBytes;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:397:5: error: 'LONG' does not name a type
     LONG lOrientation;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:398:5: error: 'LONG' does not name a type
     LONG lWidth;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:399:5: error: 'LONG' does not name a type
     LONG lHeight;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:400:5: error: 'LONG' does not name a type
     LONG lWidthOffset;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:401:5: error: 'LONG' does not name a type
     LONG lHeightOffset;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:460:5: error: 'LONG' does not name a type
     LONG bmType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:461:5: error: 'LONG' does not name a type
     LONG bmWidth;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:462:5: error: 'LONG' does not name a type
     LONG bmHeight;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:463:5: error: 'LONG' does not name a type
     LONG bmWidthBytes;
     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:71:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:499:11: error: 'LONG' does not name a type
   typedef LONG LCSCSTYPE;
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:502:11: error: 'LONG' does not name a type
   typedef LONG LCSGAMUTMATCH;
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:526:11: error: '__LONG32' does not name a type
   typedef __LONG32 FXPT16DOT16,*LPFXPT16DOT16;
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:527:11: error: '__LONG32' does not name a type
   typedef __LONG32 FXPT2DOT30,*LPFXPT2DOT30;
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:530:5: error: 'FXPT2DOT30' does not name a type
     FXPT2DOT30 ciexyzX;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:531:5: error: 'FXPT2DOT30' does not name a type
     FXPT2DOT30 ciexyzY;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:532:5: error: 'FXPT2DOT30' does not name a type
     FXPT2DOT30 ciexyzZ;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:551:5: error: 'DWORD' does not name a type
     DWORD lcsSignature;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:552:5: error: 'DWORD' does not name a type
     DWORD lcsVersion;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:553:5: error: 'DWORD' does not name a type
     DWORD lcsSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:554:5: error: 'LCSCSTYPE' does not name a type
     LCSCSTYPE lcsCSType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:555:5: error: 'LCSGAMUTMATCH' does not name a type
     LCSGAMUTMATCH lcsIntent;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:557:5: error: 'DWORD' does not name a type
     DWORD lcsGammaRed;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:558:5: error: 'DWORD' does not name a type
     DWORD lcsGammaGreen;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:559:5: error: 'DWORD' does not name a type
     DWORD lcsGammaBlue;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:564:5: error: 'DWORD' does not name a type
     DWORD lcsSignature;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:565:5: error: 'DWORD' does not name a type
     DWORD lcsVersion;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:566:5: error: 'DWORD' does not name a type
     DWORD lcsSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:567:5: error: 'LCSCSTYPE' does not name a type
     LCSCSTYPE lcsCSType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:568:5: error: 'LCSGAMUTMATCH' does not name a type
     LCSGAMUTMATCH lcsIntent;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:570:5: error: 'DWORD' does not name a type
     DWORD lcsGammaRed;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:571:5: error: 'DWORD' does not name a type
     DWORD lcsGammaGreen;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:572:5: error: 'DWORD' does not name a type
     DWORD lcsGammaBlue;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:582:5: error: 'DWORD' does not name a type
     DWORD bcSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:592:5: error: 'DWORD' does not name a type
     DWORD biSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:593:5: error: 'LONG' does not name a type
     LONG biWidth;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:594:5: error: 'LONG' does not name a type
     LONG biHeight;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:597:5: error: 'DWORD' does not name a type
     DWORD biCompression;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:598:5: error: 'DWORD' does not name a type
     DWORD biSizeImage;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:599:5: error: 'LONG' does not name a type
     LONG biXPelsPerMeter;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:600:5: error: 'LONG' does not name a type
     LONG biYPelsPerMeter;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:601:5: error: 'DWORD' does not name a type
     DWORD biClrUsed;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:602:5: error: 'DWORD' does not name a type
     DWORD biClrImportant;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:608:5: error: 'DWORD' does not name a type
     DWORD bV4Size;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:609:5: error: 'LONG' does not name a type
     LONG bV4Width;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:610:5: error: 'LONG' does not name a type
     LONG bV4Height;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:613:5: error: 'DWORD' does not name a type
     DWORD bV4V4Compression;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:614:5: error: 'DWORD' does not name a type
     DWORD bV4SizeImage;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:615:5: error: 'LONG' does not name a type
     LONG bV4XPelsPerMeter;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:616:5: error: 'LONG' does not name a type
     LONG bV4YPelsPerMeter;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:617:5: error: 'DWORD' does not name a type
     DWORD bV4ClrUsed;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:618:5: error: 'DWORD' does not name a type
     DWORD bV4ClrImportant;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:619:5: error: 'DWORD' does not name a type
     DWORD bV4RedMask;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:620:5: error: 'DWORD' does not name a type
     DWORD bV4GreenMask;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:621:5: error: 'DWORD' does not name a type
     DWORD bV4BlueMask;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:622:5: error: 'DWORD' does not name a type
     DWORD bV4AlphaMask;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:623:5: error: 'DWORD' does not name a type
     DWORD bV4CSType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:625:5: error: 'DWORD' does not name a type
     DWORD bV4GammaRed;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:626:5: error: 'DWORD' does not name a type
     DWORD bV4GammaGreen;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:627:5: error: 'DWORD' does not name a type
     DWORD bV4GammaBlue;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:631:5: error: 'DWORD' does not name a type
     DWORD bV5Size;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:632:5: error: 'LONG' does not name a type
     LONG bV5Width;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:633:5: error: 'LONG' does not name a type
     LONG bV5Height;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:636:5: error: 'DWORD' does not name a type
     DWORD bV5Compression;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:637:5: error: 'DWORD' does not name a type
     DWORD bV5SizeImage;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:638:5: error: 'LONG' does not name a type
     LONG bV5XPelsPerMeter;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:639:5: error: 'LONG' does not name a type
     LONG bV5YPelsPerMeter;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:640:5: error: 'DWORD' does not name a type
     DWORD bV5ClrUsed;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:641:5: error: 'DWORD' does not name a type
     DWORD bV5ClrImportant;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:642:5: error: 'DWORD' does not name a type
     DWORD bV5RedMask;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:643:5: error: 'DWORD' does not name a type
     DWORD bV5GreenMask;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:644:5: error: 'DWORD' does not name a type
     DWORD bV5BlueMask;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:645:5: error: 'DWORD' does not name a type
     DWORD bV5AlphaMask;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:646:5: error: 'DWORD' does not name a type
     DWORD bV5CSType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:648:5: error: 'DWORD' does not name a type
     DWORD bV5GammaRed;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:649:5: error: 'DWORD' does not name a type
     DWORD bV5GammaGreen;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:650:5: error: 'DWORD' does not name a type
     DWORD bV5GammaBlue;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:651:5: error: 'DWORD' does not name a type
     DWORD bV5Intent;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:652:5: error: 'DWORD' does not name a type
     DWORD bV5ProfileData;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:653:5: error: 'DWORD' does not name a type
     DWORD bV5ProfileSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:654:5: error: 'DWORD' does not name a type
     DWORD bV5Reserved;
     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:71:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:684:5: error: 'DWORD' does not name a type
     DWORD bfSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:687:5: error: 'DWORD' does not name a type
     DWORD bfOffBits;
     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:71:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:698:5: error: 'DWORD' does not name a type
     DWORD fsUsb[4];
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:699:5: error: 'DWORD' does not name a type
     DWORD fsCsb[2];
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:716:5: error: 'DWORD' does not name a type
     DWORD lsUsb[4];
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:717:5: error: 'DWORD' does not name a type
     DWORD lsCsbDefault[2];
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:718:5: error: 'DWORD' does not name a type
     DWORD lsCsbSupported[2];
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:730:5: error: 'DWORD' does not name a type
     DWORD rdSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:742:5: error: 'LONG' does not name a type
     LONG mm;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:743:5: error: 'LONG' does not name a type
     LONG xExt;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:744:5: error: 'LONG' does not name a type
     LONG yExt;
     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:71:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:755:5: error: 'DWORD' does not name a type
     DWORD mtSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:757:5: error: 'DWORD' does not name a type
     DWORD mtMaxRecord;
     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:71:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:768:5: error: 'DWORD' does not name a type
     DWORD iType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:769:5: error: 'DWORD' does not name a type
     DWORD nSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:770:5: error: 'DWORD' does not name a type
     DWORD dParm[1];
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:774:5: error: 'DWORD' does not name a type
     DWORD iType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:775:5: error: 'DWORD' does not name a type
     DWORD nSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:778:5: error: 'DWORD' does not name a type
     DWORD dSignature;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:779:5: error: 'DWORD' does not name a type
     DWORD nVersion;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:780:5: error: 'DWORD' does not name a type
     DWORD nBytes;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:781:5: error: 'DWORD' does not name a type
     DWORD nRecords;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:784:5: error: 'DWORD' does not name a type
     DWORD nDescription;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:785:5: error: 'DWORD' does not name a type
     DWORD offDescription;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:786:5: error: 'DWORD' does not name a type
     DWORD nPalEntries;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:789:5: error: 'DWORD' does not name a type
     DWORD cbPixelFormat;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:790:5: error: 'DWORD' does not name a type
     DWORD offPixelFormat;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:791:5: error: 'DWORD' does not name a type
     DWORD bOpenGL;
     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:71:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:817:5: error: 'LONG' does not name a type
     LONG tmHeight;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:818:5: error: 'LONG' does not name a type
     LONG tmAscent;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:819:5: error: 'LONG' does not name a type
     LONG tmDescent;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:820:5: error: 'LONG' does not name a type
     LONG tmInternalLeading;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:821:5: error: 'LONG' does not name a type
     LONG tmExternalLeading;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:822:5: error: 'LONG' does not name a type
     LONG tmAveCharWidth;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:823:5: error: 'LONG' does not name a type
     LONG tmMaxCharWidth;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:824:5: error: 'LONG' does not name a type
     LONG tmWeight;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:825:5: error: 'LONG' does not name a type
     LONG tmOverhang;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:826:5: error: 'LONG' does not name a type
     LONG tmDigitizedAspectX;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:827:5: error: 'LONG' does not name a type
     LONG tmDigitizedAspectY;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:840:5: error: 'LONG' does not name a type
     LONG tmHeight;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:841:5: error: 'LONG' does not name a type
     LONG tmAscent;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:842:5: error: 'LONG' does not name a type
     LONG tmDescent;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:843:5: error: 'LONG' does not name a type
     LONG tmInternalLeading;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:844:5: error: 'LONG' does not name a type
     LONG tmExternalLeading;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:845:5: error: 'LONG' does not name a type
     LONG tmAveCharWidth;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:846:5: error: 'LONG' does not name a type
     LONG tmMaxCharWidth;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:847:5: error: 'LONG' does not name a type
     LONG tmWeight;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:848:5: error: 'LONG' does not name a type
     LONG tmOverhang;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:849:5: error: 'LONG' does not name a type
     LONG tmDigitizedAspectX;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:850:5: error: 'LONG' does not name a type
     LONG tmDigitizedAspectY;
     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:71:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:884:5: error: 'LONG' does not name a type
     LONG tmHeight;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:885:5: error: 'LONG' does not name a type
     LONG tmAscent;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:886:5: error: 'LONG' does not name a type
     LONG tmDescent;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:887:5: error: 'LONG' does not name a type
     LONG tmInternalLeading;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:888:5: error: 'LONG' does not name a type
     LONG tmExternalLeading;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:889:5: error: 'LONG' does not name a type
     LONG tmAveCharWidth;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:890:5: error: 'LONG' does not name a type
     LONG tmMaxCharWidth;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:891:5: error: 'LONG' does not name a type
     LONG tmWeight;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:892:5: error: 'LONG' does not name a type
     LONG tmOverhang;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:893:5: error: 'LONG' does not name a type
     LONG tmDigitizedAspectX;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:894:5: error: 'LONG' does not name a type
     LONG tmDigitizedAspectY;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:904:5: error: 'DWORD' does not name a type
     DWORD ntmFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:911:5: error: 'LONG' does not name a type
     LONG tmHeight;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:912:5: error: 'LONG' does not name a type
     LONG tmAscent;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:913:5: error: 'LONG' does not name a type
     LONG tmDescent;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:914:5: error: 'LONG' does not name a type
     LONG tmInternalLeading;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:915:5: error: 'LONG' does not name a type
     LONG tmExternalLeading;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:916:5: error: 'LONG' does not name a type
     LONG tmAveCharWidth;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:917:5: error: 'LONG' does not name a type
     LONG tmMaxCharWidth;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:918:5: error: 'LONG' does not name a type
     LONG tmWeight;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:919:5: error: 'LONG' does not name a type
     LONG tmOverhang;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:920:5: error: 'LONG' does not name a type
     LONG tmDigitizedAspectX;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:921:5: error: 'LONG' does not name a type
     LONG tmDigitizedAspectY;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:931:5: error: 'DWORD' does not name a type
     DWORD ntmFlags;
     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:71:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:960:5: error: 'LONG' does not name a type
     LONG paXCount;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:961:5: error: 'LONG' does not name a type
     LONG paYCount;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:962:5: error: 'LONG' does not name a type
     LONG paXExt;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:963:5: error: 'LONG' does not name a type
     LONG paYExt;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:970:5: error: 'COLORREF' does not name a type
     COLORREF lbColor;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:976:5: error: 'COLORREF' does not name a type
     COLORREF lbColor;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:977:5: error: 'ULONG' does not name a type
     ULONG lbHatch;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:991:5: error: 'COLORREF' does not name a type
     COLORREF lopnColor;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:997:5: error: 'DWORD' does not name a type
     DWORD elpPenStyle;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:998:5: error: 'DWORD' does not name a type
     DWORD elpWidth;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1000:5: error: 'COLORREF' does not name a type
     COLORREF elpColor;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1002:5: error: 'DWORD' does not name a type
     DWORD elpNumEntries;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1003:5: error: 'DWORD' does not name a type
     DWORD elpStyleEntry[1];
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1009:5: error: 'DWORD' does not name a type
     DWORD elpPenStyle;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1010:5: error: 'DWORD' does not name a type
     DWORD elpWidth;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1012:5: error: 'COLORREF' does not name a type
     COLORREF elpColor;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1013:5: error: 'ULONG' does not name a type
     ULONG elpHatch;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1014:5: error: 'DWORD' does not name a type
     DWORD elpNumEntries;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1015:5: error: 'DWORD' does not name a type
     DWORD elpStyleEntry[1];
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1042:5: error: 'LONG' does not name a type
     LONG lfHeight;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1043:5: error: 'LONG' does not name a type
     LONG lfWidth;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1044:5: error: 'LONG' does not name a type
     LONG lfEscapement;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1045:5: error: 'LONG' does not name a type
     LONG lfOrientation;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1046:5: error: 'LONG' does not name a type
     LONG lfWeight;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1059:5: error: 'LONG' does not name a type
     LONG lfHeight;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1060:5: error: 'LONG' does not name a type
     LONG lfWidth;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1061:5: error: 'LONG' does not name a type
     LONG lfEscapement;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1062:5: error: 'LONG' does not name a type
     LONG lfOrientation;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1063:5: error: 'LONG' does not name a type
     LONG lfWeight;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1360:5: error: 'DWORD' does not name a type
     DWORD elfVersion;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1361:5: error: 'DWORD' does not name a type
     DWORD elfStyleSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1362:5: error: 'DWORD' does not name a type
     DWORD elfMatch;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1363:5: error: 'DWORD' does not name a type
     DWORD elfReserved;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1365:5: error: 'DWORD' does not name a type
     DWORD elfCulture;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1373:5: error: 'DWORD' does not name a type
     DWORD elfVersion;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1374:5: error: 'DWORD' does not name a type
     DWORD elfStyleSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1375:5: error: 'DWORD' does not name a type
     DWORD elfMatch;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1376:5: error: 'DWORD' does not name a type
     DWORD elfReserved;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1378:5: error: 'DWORD' does not name a type
     DWORD elfCulture;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1675:5: error: 'DWORD' does not name a type
     DWORD dmFields;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1689:2: error: 'DWORD' does not name a type
  DWORD dmDisplayOrientation;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1690:2: error: 'DWORD' does not name a type
  DWORD dmDisplayFixedOutput;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1700:5: error: 'DWORD' does not name a type
     DWORD dmBitsPerPel;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1701:5: error: 'DWORD' does not name a type
     DWORD dmPelsWidth;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1702:5: error: 'DWORD' does not name a type
     DWORD dmPelsHeight;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1704:7: error: 'DWORD' does not name a type
       DWORD dmDisplayFlags;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1705:7: error: 'DWORD' does not name a type
       DWORD dmNup;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1707:5: error: 'DWORD' does not name a type
     DWORD dmDisplayFrequency;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1708:5: error: 'DWORD' does not name a type
     DWORD dmICMMethod;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1709:5: error: 'DWORD' does not name a type
     DWORD dmICMIntent;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1710:5: error: 'DWORD' does not name a type
     DWORD dmMediaType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1711:5: error: 'DWORD' does not name a type
     DWORD dmDitherType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1712:5: error: 'DWORD' does not name a type
     DWORD dmReserved1;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1713:5: error: 'DWORD' does not name a type
     DWORD dmReserved2;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1714:5: error: 'DWORD' does not name a type
     DWORD dmPanningWidth;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1715:5: error: 'DWORD' does not name a type
     DWORD dmPanningHeight;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1724:5: error: 'DWORD' does not name a type
     DWORD dmFields;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1738:2: error: 'DWORD' does not name a type
  DWORD dmDisplayOrientation;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1739:2: error: 'DWORD' does not name a type
  DWORD dmDisplayFixedOutput;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1749:5: error: 'DWORD' does not name a type
     DWORD dmBitsPerPel;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1750:5: error: 'DWORD' does not name a type
     DWORD dmPelsWidth;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1751:5: error: 'DWORD' does not name a type
     DWORD dmPelsHeight;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1753:7: error: 'DWORD' does not name a type
       DWORD dmDisplayFlags;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1754:7: error: 'DWORD' does not name a type
       DWORD dmNup;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1756:5: error: 'DWORD' does not name a type
     DWORD dmDisplayFrequency;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1757:5: error: 'DWORD' does not name a type
     DWORD dmICMMethod;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1758:5: error: 'DWORD' does not name a type
     DWORD dmICMIntent;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1759:5: error: 'DWORD' does not name a type
     DWORD dmMediaType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1760:5: error: 'DWORD' does not name a type
     DWORD dmDitherType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1761:5: error: 'DWORD' does not name a type
     DWORD dmReserved1;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1762:5: error: 'DWORD' does not name a type
     DWORD dmReserved2;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1763:5: error: 'DWORD' does not name a type
     DWORD dmPanningWidth;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:1764:5: error: 'DWORD' does not name a type
     DWORD dmPanningHeight;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2022:5: error: 'DWORD' does not name a type
     DWORD cb;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2025:5: error: 'DWORD' does not name a type
     DWORD StateFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2031:5: error: 'DWORD' does not name a type
     DWORD cb;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2034:5: error: 'DWORD' does not name a type
     DWORD StateFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2316:5: error: 'DWORD' does not name a type
     DWORD dwSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2317:5: error: 'DWORD' does not name a type
     DWORD iType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2318:5: error: 'DWORD' does not name a type
     DWORD nCount;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2319:5: error: 'DWORD' does not name a type
     DWORD nRgnSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2503:5: error: 'DWORD' does not name a type
     DWORD cb;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2504:5: error: 'DWORD' does not name a type
     DWORD dwType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2550:5: error: 'DWORD' does not name a type
     DWORD lStructSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2561:5: error: 'DWORD' does not name a type
     DWORD lStructSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2589:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2610:5: error: 'DWORD' does not name a type
     DWORD dwLayerMask;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2611:5: error: 'DWORD' does not name a type
     DWORD dwVisibleMask;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2612:5: error: 'DWORD' does not name a type
     DWORD dwDamageMask;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2646:81: error: 'DWORD' has not been declared
   typedef int (CALLBACK *OLDFONTENUMPROCA)(CONST LOGFONTA *,CONST TEXTMETRICA *,DWORD,LPARAM);
                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2647:81: error: 'DWORD' has not been declared
   typedef int (CALLBACK *OLDFONTENUMPROCW)(CONST LOGFONTW *,CONST TEXTMETRICW *,DWORD,LPARAM);
                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2679:94: error: 'DWORD' has not been declared
   WINGDIAPI WINBOOL WINAPI BitBlt(HDC hdc,int x,int y,int cx,int cy,HDC hdcSrc,int x1,int y1,DWORD rop);
                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2695:81: error: 'DWORD' has not been declared
   WINGDIAPI HBITMAP WINAPI CreateDIBitmap(HDC hdc,CONST BITMAPINFOHEADER *pbmih,DWORD flInit,CONST VOID *pjBits,CONST BITMAPINFO *pbmi,UINT iUsage);
                                                                                 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:71:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2702:106: error: 'DWORD' has not been declared
   WINGDIAPI HFONT WINAPI CreateFontA(int cHeight,int cWidth,int cEscapement,int cOrientation,int cWeight,DWORD bItalic,DWORD bUnderline,DWORD bStrikeOut,DWORD iCharSet,DWORD iOutPrecision,DWORD iClipPrecision,DWORD iQuality,DWORD iPitchAndFamily,LPCSTR pszFaceName);
                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2702:120: error: 'DWORD' has not been declared
   WINGDIAPI HFONT WINAPI CreateFontA(int cHeight,int cWidth,int cEscapement,int cOrientation,int cWeight,DWORD bItalic,DWORD bUnderline,DWORD bStrikeOut,DWORD iCharSet,DWORD iOutPrecision,DWORD iClipPrecision,DWORD iQuality,DWORD iPitchAndFamily,LPCSTR pszFaceName);
                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2702:137: error: 'DWORD' has not been declared
   WINGDIAPI HFONT WINAPI CreateFontA(int cHeight,int cWidth,int cEscapement,int cOrientation,int cWeight,DWORD bItalic,DWORD bUnderline,DWORD bStrikeOut,DWORD iCharSet,DWORD iOutPrecision,DWORD iClipPrecision,DWORD iQuality,DWORD iPitchAndFamily,LPCSTR pszFaceName);
                                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2702:154: error: 'DWORD' has not been declared
   WINGDIAPI HFONT WINAPI CreateFontA(int cHeight,int cWidth,int cEscapement,int cOrientation,int cWeight,DWORD bItalic,DWORD bUnderline,DWORD bStrikeOut,DWORD iCharSet,DWORD iOutPrecision,DWORD iClipPrecision,DWORD iQuality,DWORD iPitchAndFamily,LPCSTR pszFaceName);
                                                                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2702:169: error: 'DWORD' has not been declared
   WINGDIAPI HFONT WINAPI CreateFontA(int cHeight,int cWidth,int cEscapement,int cOrientation,int cWeight,DWORD bItalic,DWORD bUnderline,DWORD bStrikeOut,DWORD iCharSet,DWORD iOutPrecision,DWORD iClipPrecision,DWORD iQuality,DWORD iPitchAndFamily,LPCSTR pszFaceName);
                                                                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2702:189: error: 'DWORD' has not been declared
   WINGDIAPI HFONT WINAPI CreateFontA(int cHeight,int cWidth,int cEscapement,int cOrientation,int cWeight,DWORD bItalic,DWORD bUnderline,DWORD bStrikeOut,DWORD iCharSet,DWORD iOutPrecision,DWORD iClipPrecision,DWORD iQuality,DWORD iPitchAndFamily,LPCSTR pszFaceName);
                                                                                                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2702:210: error: 'DWORD' has not been declared
   WINGDIAPI HFONT WINAPI CreateFontA(int cHeight,int cWidth,int cEscapement,int cOrientation,int cWeight,DWORD bItalic,DWORD bUnderline,DWORD bStrikeOut,DWORD iCharSet,DWORD iOutPrecision,DWORD iClipPrecision,DWORD iQuality,DWORD iPitchAndFamily,LPCSTR pszFaceName);
                                                                                                                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2702:225: error: 'DWORD' has not been declared
   WINGDIAPI HFONT WINAPI CreateFontA(int cHeight,int cWidth,int cEscapement,int cOrientation,int cWeight,DWORD bItalic,DWORD bUnderline,DWORD bStrikeOut,DWORD iCharSet,DWORD iOutPrecision,DWORD iClipPrecision,DWORD iQuality,DWORD iPitchAndFamily,LPCSTR pszFaceName);
                                                                                                                                                                                                                                 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:71:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2703:106: error: 'DWORD' has not been declared
   WINGDIAPI HFONT WINAPI CreateFontW(int cHeight,int cWidth,int cEscapement,int cOrientation,int cWeight,DWORD bItalic,DWORD bUnderline,DWORD bStrikeOut,DWORD iCharSet,DWORD iOutPrecision,DWORD iClipPrecision,DWORD iQuality,DWORD iPitchAndFamily,LPCWSTR pszFaceName);
                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2703:120: error: 'DWORD' has not been declared
   WINGDIAPI HFONT WINAPI CreateFontW(int cHeight,int cWidth,int cEscapement,int cOrientation,int cWeight,DWORD bItalic,DWORD bUnderline,DWORD bStrikeOut,DWORD iCharSet,DWORD iOutPrecision,DWORD iClipPrecision,DWORD iQuality,DWORD iPitchAndFamily,LPCWSTR pszFaceName);
                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2703:137: error: 'DWORD' has not been declared
   WINGDIAPI HFONT WINAPI CreateFontW(int cHeight,int cWidth,int cEscapement,int cOrientation,int cWeight,DWORD bItalic,DWORD bUnderline,DWORD bStrikeOut,DWORD iCharSet,DWORD iOutPrecision,DWORD iClipPrecision,DWORD iQuality,DWORD iPitchAndFamily,LPCWSTR pszFaceName);
                                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2703:154: error: 'DWORD' has not been declared
   WINGDIAPI HFONT WINAPI CreateFontW(int cHeight,int cWidth,int cEscapement,int cOrientation,int cWeight,DWORD bItalic,DWORD bUnderline,DWORD bStrikeOut,DWORD iCharSet,DWORD iOutPrecision,DWORD iClipPrecision,DWORD iQuality,DWORD iPitchAndFamily,LPCWSTR pszFaceName);
                                                                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2703:169: error: 'DWORD' has not been declared
   WINGDIAPI HFONT WINAPI CreateFontW(int cHeight,int cWidth,int cEscapement,int cOrientation,int cWeight,DWORD bItalic,DWORD bUnderline,DWORD bStrikeOut,DWORD iCharSet,DWORD iOutPrecision,DWORD iClipPrecision,DWORD iQuality,DWORD iPitchAndFamily,LPCWSTR pszFaceName);
                                                                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2703:189: error: 'DWORD' has not been declared
   WINGDIAPI HFONT WINAPI CreateFontW(int cHeight,int cWidth,int cEscapement,int cOrientation,int cWeight,DWORD bItalic,DWORD bUnderline,DWORD bStrikeOut,DWORD iCharSet,DWORD iOutPrecision,DWORD iClipPrecision,DWORD iQuality,DWORD iPitchAndFamily,LPCWSTR pszFaceName);
                                                                                                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2703:210: error: 'DWORD' has not been declared
   WINGDIAPI HFONT WINAPI CreateFontW(int cHeight,int cWidth,int cEscapement,int cOrientation,int cWeight,DWORD bItalic,DWORD bUnderline,DWORD bStrikeOut,DWORD iCharSet,DWORD iOutPrecision,DWORD iClipPrecision,DWORD iQuality,DWORD iPitchAndFamily,LPCWSTR pszFaceName);
                                                                                                                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2703:225: error: 'DWORD' has not been declared
   WINGDIAPI HFONT WINAPI CreateFontW(int cHeight,int cWidth,int cEscapement,int cOrientation,int cWeight,DWORD bItalic,DWORD bUnderline,DWORD bStrikeOut,DWORD iCharSet,DWORD iOutPrecision,DWORD iClipPrecision,DWORD iQuality,DWORD iPitchAndFamily,LPCWSTR pszFaceName);
                                                                                                                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2704:55: error: 'COLORREF' has not been declared
   WINGDIAPI HBRUSH WINAPI CreateHatchBrush(int iHatch,COLORREF color);
                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2710:57: error: 'COLORREF' has not been declared
   WINGDIAPI HPEN WINAPI CreatePen(int iStyle,int cWidth,COLORREF color);
                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2717:56: error: definition of 'WINBOOL CreateScalableFontResourceA' is marked 'dllimport'
   WINGDIAPI WINBOOL WINAPI CreateScalableFontResourceA(DWORD fdwHidden,LPCSTR lpszFont,LPCSTR lpszFile,LPCSTR lpszPath);
                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2717:56: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2717:79: error: expected primary-expression before 'lpszFont'
   WINGDIAPI WINBOOL WINAPI CreateScalableFontResourceA(DWORD fdwHidden,LPCSTR lpszFont,LPCSTR lpszFile,LPCSTR lpszPath);
                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2717:95: error: expected primary-expression before 'lpszFile'
   WINGDIAPI WINBOOL WINAPI CreateScalableFontResourceA(DWORD fdwHidden,LPCSTR lpszFont,LPCSTR lpszFile,LPCSTR lpszPath);
                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2717:111: error: expected primary-expression before 'lpszPath'
   WINGDIAPI WINBOOL WINAPI CreateScalableFontResourceA(DWORD fdwHidden,LPCSTR lpszFont,LPCSTR lpszFile,LPCSTR lpszPath);
                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2717:119: error: expression list treated as compound expression in initializer [-fpermissive]
   WINGDIAPI WINBOOL WINAPI CreateScalableFontResourceA(DWORD fdwHidden,LPCSTR lpszFont,LPCSTR lpszFile,LPCSTR lpszPath);
                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2718:56: error: definition of 'WINBOOL CreateScalableFontResourceW' is marked 'dllimport'
   WINGDIAPI WINBOOL WINAPI CreateScalableFontResourceW(DWORD fdwHidden,LPCWSTR lpszFont,LPCWSTR lpszFile,LPCWSTR lpszPath);
                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2718:56: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2718:80: error: expected primary-expression before 'lpszFont'
   WINGDIAPI WINBOOL WINAPI CreateScalableFontResourceW(DWORD fdwHidden,LPCWSTR lpszFont,LPCWSTR lpszFile,LPCWSTR lpszPath);
                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2718:97: error: expected primary-expression before 'lpszFile'
   WINGDIAPI WINBOOL WINAPI CreateScalableFontResourceW(DWORD fdwHidden,LPCWSTR lpszFont,LPCWSTR lpszFile,LPCWSTR lpszPath);
                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2718:114: error: expected primary-expression before 'lpszPath'
   WINGDIAPI WINBOOL WINAPI CreateScalableFontResourceW(DWORD fdwHidden,LPCWSTR lpszFont,LPCWSTR lpszFile,LPCWSTR lpszPath);
                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2718:122: error: expression list treated as compound expression in initializer [-fpermissive]
   WINGDIAPI WINBOOL WINAPI CreateScalableFontResourceW(DWORD fdwHidden,LPCWSTR lpszFont,LPCWSTR lpszFile,LPCWSTR lpszPath);
                                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2719:44: error: definition of 'HBRUSH__* CreateSolidBrush' is marked 'dllimport'
   WINGDIAPI HBRUSH WINAPI CreateSolidBrush(COLORREF color);
                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2719:44: error: 'COLORREF' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2726:17: error: typedef 'DWORD' is initialized (use decltype instead)
   typedef DWORD (CALLBACK *LPFNDEVCAPS)(LPSTR,LPSTR,UINT,LPSTR,LPDEVMODE);
                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2726:28: error: 'LPFNDEVCAPS' was not declared in this scope
   typedef DWORD (CALLBACK *LPFNDEVCAPS)(LPSTR,LPSTR,UINT,LPSTR,LPDEVMODE);
                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2810:108: error: 'DWORD' has not been declared
   WINGDIAPI int WINAPI EnumFontFamiliesExA(HDC hdc,LPLOGFONTA lpLogfont,FONTENUMPROCA lpProc,LPARAM lParam,DWORD dwFlags);
                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2811:108: error: 'DWORD' has not been declared
   WINGDIAPI int WINAPI EnumFontFamiliesExW(HDC hdc,LPLOGFONTW lpLogfont,FONTENUMPROCW lpProc,LPARAM lParam,DWORD dwFlags);
                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2821:58: error: 'DWORD' has not been declared
   WINGDIAPI HRGN WINAPI ExtCreateRegion(CONST XFORM *lpx,DWORD nCount,CONST RGNDATA *lpData);
                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2822:61: error: 'COLORREF' has not been declared
   WINGDIAPI WINBOOL WINAPI ExtFloodFill(HDC hdc,int x,int y,COLORREF color,UINT type);
                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2824:58: error: 'COLORREF' has not been declared
   WINGDIAPI WINBOOL WINAPI FloodFill(HDC hdc,int x,int y,COLORREF color);
                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2828:13: error: 'COLORREF' does not name a type
   WINGDIAPI COLORREF WINAPI GetBkColor(HDC hdc);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2829:13: error: 'COLORREF' does not name a type
   WINGDIAPI COLORREF WINAPI GetDCBrushColor(HDC hdc);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2830:13: error: 'COLORREF' does not name a type
   WINGDIAPI COLORREF WINAPI GetDCPenColor(HDC hdc);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2832:13: error: 'LONG' does not name a type
   WINGDIAPI LONG WINAPI GetBitmapBits(HBITMAP hbit,LONG cb,LPVOID lpvBits);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2853:13: error: 'DWORD' does not name a type
   WINGDIAPI DWORD WINAPI GetFontData (HDC hdc,DWORD dwTable,DWORD dwOffset,PVOID pvBuffer,DWORD cjBuffer);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2854:13: error: 'DWORD' does not name a type
   WINGDIAPI DWORD WINAPI GetGlyphOutlineA(HDC hdc,UINT uChar,UINT fuFormat,LPGLYPHMETRICS lpgm,DWORD cjBuffer,LPVOID pvBuffer,CONST MAT2 *lpmat2);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2855:13: error: 'DWORD' does not name a type
   WINGDIAPI DWORD WINAPI GetGlyphOutlineW(HDC hdc,UINT uChar,UINT fuFormat,LPGLYPHMETRICS lpgm,DWORD cjBuffer,LPVOID pvBuffer,CONST MAT2 *lpmat2);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2861:13: error: 'COLORREF' does not name a type
   WINGDIAPI COLORREF WINAPI GetNearestColor(HDC hdc,COLORREF color);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2862:59: error: 'COLORREF' has not been declared
   WINGDIAPI UINT WINAPI GetNearestPaletteIndex(HPALETTE h,COLORREF color);
                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2863:13: error: 'DWORD' does not name a type
   WINGDIAPI DWORD WINAPI GetObjectType(HGDIOBJ h);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2879:13: error: 'COLORREF' does not name a type
   WINGDIAPI COLORREF WINAPI GetPixel(HDC hdc,int x,int y);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2884:13: error: 'DWORD' does not name a type
   WINGDIAPI DWORD WINAPI GetRegionData(HRGN hrgn,DWORD nCount,LPRGNDATA lpRgnData);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2892:13: error: 'COLORREF' does not name a type
   WINGDIAPI COLORREF WINAPI GetTextColor(HDC hdc);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2900:73: error: 'DWORD' has not been declared
   WINGDIAPI int WINAPI GetTextCharsetInfo(HDC hdc,LPFONTSIGNATURE lpSig,DWORD dwFlags);
                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2901:49: error: definition of 'WINBOOL TranslateCharsetInfo' is marked 'dllimport'
   WINGDIAPI WINBOOL WINAPI TranslateCharsetInfo(DWORD *lpSrc,LPCHARSETINFO lpCs,DWORD dwFlags);
                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2901:49: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2901:56: error: 'lpSrc' was not declared in this scope
   WINGDIAPI WINBOOL WINAPI TranslateCharsetInfo(DWORD *lpSrc,LPCHARSETINFO lpCs,DWORD dwFlags);
                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2901:76: error: expected primary-expression before 'lpCs'
   WINGDIAPI WINBOOL WINAPI TranslateCharsetInfo(DWORD *lpSrc,LPCHARSETINFO lpCs,DWORD dwFlags);
                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2901:81: error: 'DWORD' was not declared in this scope
   WINGDIAPI WINBOOL WINAPI TranslateCharsetInfo(DWORD *lpSrc,LPCHARSETINFO lpCs,DWORD dwFlags);
                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2901:94: error: expression list treated as compound expression in initializer [-fpermissive]
   WINGDIAPI WINBOOL WINAPI TranslateCharsetInfo(DWORD *lpSrc,LPCHARSETINFO lpCs,DWORD dwFlags);
                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2902:13: error: 'DWORD' does not name a type
   WINGDIAPI DWORD WINAPI GetFontLanguageInfo(HDC hdc);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2903:13: error: 'DWORD' does not name a type
   WINGDIAPI DWORD WINAPI GetCharacterPlacementA(HDC hdc,LPCSTR lpString,int nCount,int nMexExtent,LPGCP_RESULTSA lpResults,DWORD dwFlags);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2904:13: error: 'DWORD' does not name a type
   WINGDIAPI DWORD WINAPI GetCharacterPlacementW(HDC hdc,LPCWSTR lpString,int nCount,int nMexExtent,LPGCP_RESULTSW lpResults,DWORD dwFlags);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2912:5: error: 'DWORD' does not name a type
     DWORD cbThis;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2913:5: error: 'DWORD' does not name a type
     DWORD flAccel;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2914:5: error: 'DWORD' does not name a type
     DWORD cGlyphsSupported;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2915:5: error: 'DWORD' does not name a type
     DWORD cRanges;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2925:13: error: 'DWORD' does not name a type
   WINGDIAPI DWORD WINAPI GetFontUnicodeRanges(HDC hdc,LPGLYPHSET lpgs);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2926:13: error: 'DWORD' does not name a type
   WINGDIAPI DWORD WINAPI GetGlyphIndicesA(HDC hdc,LPCSTR lpstr,int c,LPWORD pgi,DWORD fl);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2927:13: error: 'DWORD' does not name a type
   WINGDIAPI DWORD WINAPI GetGlyphIndicesW(HDC hdc,LPCWSTR lpstr,int c,LPWORD pgi,DWORD fl);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2938:5: error: 'DWORD' does not name a type
     DWORD dvReserved;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2939:5: error: 'DWORD' does not name a type
     DWORD dvNumAxes;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2940:5: error: 'LONG' does not name a type
     LONG dvValues[MM_MAX_NUMAXES];
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2946:55: error: 'DWORD' has not been declared
   WINGDIAPI int WINAPI AddFontResourceExA(LPCSTR name,DWORD fl,PVOID res);
                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2947:56: error: 'DWORD' has not been declared
   WINGDIAPI int WINAPI AddFontResourceExW(LPCWSTR name,DWORD fl,PVOID res);
                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2948:62: error: 'DWORD' has not been declared
   WINGDIAPI WINBOOL WINAPI RemoveFontResourceExA(LPCSTR name,DWORD fl,PVOID pdv);
                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2949:63: error: 'DWORD' has not been declared
   WINGDIAPI WINBOOL WINAPI RemoveFontResourceExW(LPCWSTR name,DWORD fl,PVOID pdv);
                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2950:64: error: 'DWORD' has not been declared
   WINGDIAPI HANDLE WINAPI AddFontMemResourceEx(PVOID pFileView,DWORD cjSize,PVOID pvResrved,DWORD *pNumFonts);
                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2950:93: error: 'DWORD' has not been declared
   WINGDIAPI HANDLE WINAPI AddFontMemResourceEx(PVOID pFileView,DWORD cjSize,PVOID pvResrved,DWORD *pNumFonts);
                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2959:5: error: 'LONG' does not name a type
     LONG axMinValue;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2960:5: error: 'LONG' does not name a type
     LONG axMaxValue;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2965:5: error: 'LONG' does not name a type
     LONG axMinValue;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2966:5: error: 'LONG' does not name a type
     LONG axMaxValue;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2975:5: error: 'DWORD' does not name a type
     DWORD axlReserved;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2976:5: error: 'DWORD' does not name a type
     DWORD axlNumAxes;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2981:5: error: 'DWORD' does not name a type
     DWORD axlReserved;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:2982:5: error: 'DWORD' does not name a type
     DWORD axlNumAxes;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3036:154: error: 'DWORD' has not been declared
   WINGDIAPI WINBOOL WINAPI MaskBlt(HDC hdcDest,int xDest,int yDest,int width,int height,HDC hdcSrc,int xSrc,int ySrc,HBITMAP hbmMask,int xMask,int yMask,DWORD rop);
                                                                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3040:67: error: 'DWORD' has not been declared
   WINGDIAPI WINBOOL WINAPI PatBlt(HDC hdc,int x,int y,int w,int h,DWORD rop);
                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3064:13: error: 'COLORREF' does not name a type
   WINGDIAPI COLORREF WINAPI SetBkColor(HDC hdc,COLORREF color);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3065:13: error: 'COLORREF' does not name a type
   WINGDIAPI COLORREF WINAPI SetDCBrushColor(HDC hdc,COLORREF color);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3066:13: error: 'COLORREF' does not name a type
   WINGDIAPI COLORREF WINAPI SetDCPenColor(HDC hdc,COLORREF color);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3068:13: error: 'LONG' does not name a type
   WINGDIAPI LONG WINAPI SetBitmapBits(HBITMAP hbm,DWORD cb,CONST VOID *pvBits);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3071:70: error: 'DWORD' has not been declared
   WINGDIAPI int WINAPI SetDIBitsToDevice(HDC hdc,int xDest,int yDest,DWORD w,DWORD h,int xSrc,int ySrc,UINT StartScan,UINT cLines,CONST VOID *lpvBits,CONST BITMAPINFO *lpbmi,UINT ColorUse);
                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3071:78: error: 'DWORD' has not been declared
   WINGDIAPI int WINAPI SetDIBitsToDevice(HDC hdc,int xDest,int yDest,DWORD w,DWORD h,int xSrc,int ySrc,UINT StartScan,UINT cLines,CONST VOID *lpvBits,CONST BITMAPINFO *lpbmi,UINT ColorUse);
                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3072:13: error: 'DWORD' does not name a type
   WINGDIAPI DWORD WINAPI SetMapperFlags(HDC hdc,DWORD flags);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3075:13: error: 'DWORD' does not name a type
   WINGDIAPI DWORD WINAPI SetLayout(HDC hdc,DWORD l);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3076:13: error: 'DWORD' does not name a type
   WINGDIAPI DWORD WINAPI GetLayout(HDC hdc);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3079:13: error: 'COLORREF' does not name a type
   WINGDIAPI COLORREF WINAPI SetPixel(HDC hdc,int x,int y,COLORREF color);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3080:58: error: 'COLORREF' has not been declared
   WINGDIAPI WINBOOL WINAPI SetPixelV(HDC hdc,int x,int y,COLORREF color);
                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3083:138: error: 'DWORD' has not been declared
   WINGDIAPI WINBOOL WINAPI StretchBlt(HDC hdcDest,int xDest,int yDest,int wDest,int hDest,HDC hdcSrc,int xSrc,int ySrc,int wSrc,int hSrc,DWORD rop);
                                                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3085:195: error: 'DWORD' has not been declared
   WINGDIAPI int WINAPI StretchDIBits(HDC hdc,int xDest,int yDest,int DestWidth,int DestHeight,int xSrc,int ySrc,int SrcWidth,int SrcHeight,CONST VOID *lpBits,CONST BITMAPINFO *lpbmi,UINT iUsage,DWORD rop);
                                                                                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3090:13: error: 'COLORREF' does not name a type
   WINGDIAPI COLORREF WINAPI SetTextColor(HDC hdc,COLORREF color);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3127:5: error: 'LONG' does not name a type
     LONG x;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3128:5: error: 'LONG' does not name a type
     LONG y;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3137:5: error: 'ULONG' does not name a type
     ULONG Vertex1;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3138:5: error: 'ULONG' does not name a type
     ULONG Vertex2;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3139:5: error: 'ULONG' does not name a type
     ULONG Vertex3;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3143:5: error: 'ULONG' does not name a type
     ULONG UpperLeft;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3144:5: error: 'ULONG' does not name a type
     ULONG LowerRight;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3169:68: error: 'ULONG' has not been declared
   WINGDIAPI WINBOOL WINAPI GradientFill(HDC hdc,PTRIVERTEX pVertex,ULONG nVertex,PVOID pMesh,ULONG nMesh,ULONG ulMode);
                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3169:94: error: 'ULONG' has not been declared
   WINGDIAPI WINBOOL WINAPI GradientFill(HDC hdc,PTRIVERTEX pVertex,ULONG nVertex,PVOID pMesh,ULONG nMesh,ULONG ulMode);
                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3169:106: error: 'ULONG' has not been declared
   WINGDIAPI WINBOOL WINAPI GradientFill(HDC hdc,PTRIVERTEX pVertex,ULONG nVertex,PVOID pMesh,ULONG nMesh,ULONG ulMode);
                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3170:71: error: 'ULONG' has not been declared
   WINGDIAPI WINBOOL WINAPI GdiGradientFill(HDC hdc,PTRIVERTEX pVertex,ULONG nVertex,PVOID pMesh,ULONG nMesh,ULONG ulMode);
                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3170:97: error: 'ULONG' has not been declared
   WINGDIAPI WINBOOL WINAPI GdiGradientFill(HDC hdc,PTRIVERTEX pVertex,ULONG nVertex,PVOID pMesh,ULONG nMesh,ULONG ulMode);
                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3170:109: error: 'ULONG' has not been declared
   WINGDIAPI WINBOOL WINAPI GdiGradientFill(HDC hdc,PTRIVERTEX pVertex,ULONG nVertex,PVOID pMesh,ULONG nMesh,ULONG ulMode);
                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3220:5: error: 'DWORD' does not name a type
     DWORD dsBitfields[3];
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3222:5: error: 'DWORD' does not name a type
     DWORD dsOffset;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3225:57: error: 'DWORD' has not been declared
   WINGDIAPI WINBOOL WINAPI AngleArc(HDC hdc,int x,int y,DWORD r,FLOAT StartAngle,FLOAT SweepAngle);
                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3226:72: error: 'DWORD' does not name a type
   WINGDIAPI WINBOOL WINAPI PolyPolyline(HDC hdc,CONST POINT *apt,CONST DWORD *asz,DWORD csz);
                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3226:83: error: 'DWORD' has not been declared
   WINGDIAPI WINBOOL WINAPI PolyPolyline(HDC hdc,CONST POINT *apt,CONST DWORD *asz,DWORD csz);
                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3229:75: error: 'DWORD' has not been declared
   WINGDIAPI WINBOOL WINAPI ModifyWorldTransform(HDC hdc,CONST XFORM *lpxf,DWORD mode);
                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3231:119: error: 'DWORD' has not been declared
   WINGDIAPI HBITMAP WINAPI CreateDIBSection(HDC hdc,CONST BITMAPINFO *lpbmi,UINT usage,VOID **ppvBits,HANDLE hSection,DWORD offset);
                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3291:5: error: 'DWORD' does not name a type
     DWORD fwType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3299:5: error: 'DWORD' does not name a type
     DWORD fwType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3338:38: error: definition of 'HPEN__* ExtCreatePen' is marked 'dllimport'
   WINGDIAPI HPEN WINAPI ExtCreatePen(DWORD iPenStyle,DWORD cWidth,CONST LOGBRUSH *plbrush,DWORD cStyle,CONST DWORD *pstyle);
                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3338:38: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3338:54: error: 'DWORD' was not declared in this scope
   WINGDIAPI HPEN WINAPI ExtCreatePen(DWORD iPenStyle,DWORD cWidth,CONST LOGBRUSH *plbrush,DWORD cStyle,CONST DWORD *pstyle);
                                                      ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3338:67: error: expected primary-expression before 'const'
   WINGDIAPI HPEN WINAPI ExtCreatePen(DWORD iPenStyle,DWORD cWidth,CONST LOGBRUSH *plbrush,DWORD cStyle,CONST DWORD *pstyle);
                                                                   ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:71:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3338:91: error: 'DWORD' was not declared in this scope
   WINGDIAPI HPEN WINAPI ExtCreatePen(DWORD iPenStyle,DWORD cWidth,CONST LOGBRUSH *plbrush,DWORD cStyle,CONST DWORD *pstyle);
                                                                                           ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3338:104: error: expected primary-expression before 'const'
   WINGDIAPI HPEN WINAPI ExtCreatePen(DWORD iPenStyle,DWORD cWidth,CONST LOGBRUSH *plbrush,DWORD cStyle,CONST DWORD *pstyle);
                                                                                                        ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:71:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3338:123: error: expression list treated as compound expression in initializer [-fpermissive]
   WINGDIAPI HPEN WINAPI ExtCreatePen(DWORD iPenStyle,DWORD cWidth,CONST LOGBRUSH *plbrush,DWORD cStyle,CONST DWORD *pstyle);
                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3355:64: error: 'DWORD' has not been declared
   WINGDIAPI WINBOOL WINAPI PolyBezier(HDC hdc,CONST POINT *apt,DWORD cpt);
                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3356:66: error: 'DWORD' has not been declared
   WINGDIAPI WINBOOL WINAPI PolyBezierTo(HDC hdc,CONST POINT *apt,DWORD cpt);
                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3357:64: error: 'DWORD' has not been declared
   WINGDIAPI WINBOOL WINAPI PolylineTo(HDC hdc,CONST POINT *apt,DWORD cpt);
                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3381:13: error: 'DWORD' does not name a type
   WINGDIAPI DWORD WINAPI GetKerningPairsA(HDC hdc,DWORD nPairs,LPKERNINGPAIR lpKernPair);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3382:13: error: 'DWORD' does not name a type
   WINGDIAPI DWORD WINAPI GetKerningPairsW(HDC hdc,DWORD nPairs,LPKERNINGPAIR lpKernPair);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3387:13: error: 'DWORD' does not name a type
   WINGDIAPI DWORD WINAPI GdiSetBatchLimit(DWORD dw);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3388:13: error: 'DWORD' does not name a type
   WINGDIAPI DWORD WINAPI GdiGetBatchLimit();
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3407:91: error: 'DWORD' has not been declared
   WINGDIAPI WINBOOL WINAPI CheckColorsInGamut(HDC hdc,LPVOID lpRGBTriple,LPVOID dlpBuffer,DWORD nCount);
                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3409:96: error: 'DWORD' has not been declared
   WINGDIAPI WINBOOL WINAPI GetLogColorSpaceA(HCOLORSPACE hColorSpace,LPLOGCOLORSPACEA lpBuffer,DWORD nSize);
                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3410:96: error: 'DWORD' has not been declared
   WINGDIAPI WINBOOL WINAPI GetLogColorSpaceW(HCOLORSPACE hColorSpace,LPLOGCOLORSPACEW lpBuffer,DWORD nSize);
                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3415:51: error: 'LPDWORD' has not been declared
   WINGDIAPI WINBOOL WINAPI GetICMProfileA(HDC hdc,LPDWORD pBufSize,LPSTR pszFilename);
                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3416:51: error: 'LPDWORD' has not been declared
   WINGDIAPI WINBOOL WINAPI GetICMProfileW(HDC hdc,LPDWORD pBufSize,LPWSTR pszFilename);
                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3421:69: error: 'DWORD' has not been declared
   WINGDIAPI WINBOOL WINAPI ColorMatchToTarget(HDC hdc,HDC hdcTarget,DWORD action);
                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3424:45: error: definition of 'WINBOOL UpdateICMRegKeyA' is marked 'dllimport'
   WINGDIAPI WINBOOL WINAPI UpdateICMRegKeyA(DWORD reserved,LPSTR lpszCMID,LPSTR lpszFileName,UINT command);
                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3424:45: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3424:66: error: expected primary-expression before 'lpszCMID'
   WINGDIAPI WINBOOL WINAPI UpdateICMRegKeyA(DWORD reserved,LPSTR lpszCMID,LPSTR lpszFileName,UINT command);
                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3424:81: error: expected primary-expression before 'lpszFileName'
   WINGDIAPI WINBOOL WINAPI UpdateICMRegKeyA(DWORD reserved,LPSTR lpszCMID,LPSTR lpszFileName,UINT command);
                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3424:99: error: expected primary-expression before 'command'
   WINGDIAPI WINBOOL WINAPI UpdateICMRegKeyA(DWORD reserved,LPSTR lpszCMID,LPSTR lpszFileName,UINT command);
                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3424:106: error: expression list treated as compound expression in initializer [-fpermissive]
   WINGDIAPI WINBOOL WINAPI UpdateICMRegKeyA(DWORD reserved,LPSTR lpszCMID,LPSTR lpszFileName,UINT command);
                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3425:45: error: definition of 'WINBOOL UpdateICMRegKeyW' is marked 'dllimport'
   WINGDIAPI WINBOOL WINAPI UpdateICMRegKeyW(DWORD reserved,LPWSTR lpszCMID,LPWSTR lpszFileName,UINT command);
                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3425:45: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3425:67: error: expected primary-expression before 'lpszCMID'
   WINGDIAPI WINBOOL WINAPI UpdateICMRegKeyW(DWORD reserved,LPWSTR lpszCMID,LPWSTR lpszFileName,UINT command);
                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3425:83: error: expected primary-expression before 'lpszFileName'
   WINGDIAPI WINBOOL WINAPI UpdateICMRegKeyW(DWORD reserved,LPWSTR lpszCMID,LPWSTR lpszFileName,UINT command);
                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3425:101: error: expected primary-expression before 'command'
   WINGDIAPI WINBOOL WINAPI UpdateICMRegKeyW(DWORD reserved,LPWSTR lpszCMID,LPWSTR lpszFileName,UINT command);
                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3425:108: error: expression list treated as compound expression in initializer [-fpermissive]
   WINGDIAPI WINBOOL WINAPI UpdateICMRegKeyW(DWORD reserved,LPWSTR lpszCMID,LPWSTR lpszFileName,UINT command);
                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3426:70: error: 'DWORD' has not been declared
   WINGDIAPI WINBOOL WINAPI ColorCorrectPalette(HDC hdc,HPALETTE hPal,DWORD deFirst,DWORD num);
                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3426:84: error: 'DWORD' has not been declared
   WINGDIAPI WINBOOL WINAPI ColorCorrectPalette(HDC hdc,HPALETTE hPal,DWORD deFirst,DWORD num);
                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3562:5: error: 'DWORD' does not name a type
     DWORD iType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3563:5: error: 'DWORD' does not name a type
     DWORD nSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3568:5: error: 'DWORD' does not name a type
     DWORD nChars;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3569:5: error: 'DWORD' does not name a type
     DWORD offString;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3570:5: error: 'DWORD' does not name a type
     DWORD fOptions;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3572:5: error: 'DWORD' does not name a type
     DWORD offDx;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3581:5: error: 'DWORD' does not name a type
     DWORD iMode;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3593:5: error: 'LONG' does not name a type
     LONG iRelative;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3598:5: error: 'DWORD' does not name a type
     DWORD iArcDirection;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3604:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3609:5: error: 'COLORREF' does not name a type
     COLORREF crColor;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3614:5: error: 'DWORD' does not name a type
     DWORD ihObject;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3619:5: error: 'DWORD' does not name a type
     DWORD ihPal;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3624:5: error: 'DWORD' does not name a type
     DWORD ihPal;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3625:5: error: 'DWORD' does not name a type
     DWORD cEntries;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3630:5: error: 'DWORD' does not name a type
     DWORD ihPal;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3631:5: error: 'DWORD' does not name a type
     DWORD iStart;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3632:5: error: 'DWORD' does not name a type
     DWORD cEntries;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3643:5: error: 'DWORD' does not name a type
     DWORD cbData;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3649:5: error: 'DWORD' does not name a type
     DWORD nPalEntries;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3650:5: error: 'DWORD' does not name a type
     DWORD offPalEntries;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3651:5: error: 'DWORD' does not name a type
     DWORD nSizeLast;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3686:5: error: 'LONG' does not name a type
     LONG xNum;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3687:5: error: 'LONG' does not name a type
     LONG xDenom;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3688:5: error: 'LONG' does not name a type
     LONG yNum;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3689:5: error: 'LONG' does not name a type
     LONG yDenom;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3700:5: error: 'DWORD' does not name a type
     DWORD iMode;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3706:5: error: 'COLORREF' does not name a type
     COLORREF crColor;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3712:5: error: 'COLORREF' does not name a type
     COLORREF crColor;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3713:5: error: 'DWORD' does not name a type
     DWORD iMode;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3737:5: error: 'DWORD' does not name a type
     DWORD nRadius;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3745:5: error: 'DWORD' does not name a type
     DWORD cptl;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3752:5: error: 'DWORD' does not name a type
     DWORD cpts;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3759:5: error: 'DWORD' does not name a type
     DWORD cptl;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3767:5: error: 'DWORD' does not name a type
     DWORD cpts;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3775:5: error: 'DWORD' does not name a type
     DWORD nPolys;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3776:5: error: 'DWORD' does not name a type
     DWORD cptl;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3777:5: error: 'DWORD' does not name a type
     DWORD aPolyCounts[1];
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3784:5: error: 'DWORD' does not name a type
     DWORD nPolys;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3785:5: error: 'DWORD' does not name a type
     DWORD cpts;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3786:5: error: 'DWORD' does not name a type
     DWORD aPolyCounts[1];
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3793:5: error: 'DWORD' does not name a type
     DWORD cbRgnData;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3800:5: error: 'DWORD' does not name a type
     DWORD cbRgnData;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3801:5: error: 'DWORD' does not name a type
     DWORD ihBrush;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3808:5: error: 'DWORD' does not name a type
     DWORD cbRgnData;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3809:5: error: 'DWORD' does not name a type
     DWORD ihBrush;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3816:5: error: 'DWORD' does not name a type
     DWORD cbRgnData;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3817:5: error: 'DWORD' does not name a type
     DWORD iMode;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3824:5: error: 'DWORD' does not name a type
     DWORD iGraphicsMode;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3833:5: error: 'DWORD' does not name a type
     DWORD iGraphicsMode;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3836:5: error: 'LONG' does not name a type
     LONG cStrings;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3843:5: error: 'LONG' does not name a type
     LONG xDest;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3844:5: error: 'LONG' does not name a type
     LONG yDest;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3845:5: error: 'LONG' does not name a type
     LONG cxDest;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3846:5: error: 'LONG' does not name a type
     LONG cyDest;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3847:5: error: 'DWORD' does not name a type
     DWORD dwRop;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3848:5: error: 'LONG' does not name a type
     LONG xSrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3849:5: error: 'LONG' does not name a type
     LONG ySrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3851:5: error: 'COLORREF' does not name a type
     COLORREF crBkColorSrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3852:5: error: 'DWORD' does not name a type
     DWORD iUsageSrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3853:5: error: 'DWORD' does not name a type
     DWORD offBmiSrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3854:5: error: 'DWORD' does not name a type
     DWORD cbBmiSrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3855:5: error: 'DWORD' does not name a type
     DWORD offBitsSrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3856:5: error: 'DWORD' does not name a type
     DWORD cbBitsSrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3862:5: error: 'LONG' does not name a type
     LONG xDest;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3863:5: error: 'LONG' does not name a type
     LONG yDest;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3864:5: error: 'LONG' does not name a type
     LONG cxDest;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3865:5: error: 'LONG' does not name a type
     LONG cyDest;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3866:5: error: 'DWORD' does not name a type
     DWORD dwRop;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3867:5: error: 'LONG' does not name a type
     LONG xSrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3868:5: error: 'LONG' does not name a type
     LONG ySrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3870:5: error: 'COLORREF' does not name a type
     COLORREF crBkColorSrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3871:5: error: 'DWORD' does not name a type
     DWORD iUsageSrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3872:5: error: 'DWORD' does not name a type
     DWORD offBmiSrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3873:5: error: 'DWORD' does not name a type
     DWORD cbBmiSrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3874:5: error: 'DWORD' does not name a type
     DWORD offBitsSrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3875:5: error: 'DWORD' does not name a type
     DWORD cbBitsSrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3876:5: error: 'LONG' does not name a type
     LONG cxSrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3877:5: error: 'LONG' does not name a type
     LONG cySrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3883:5: error: 'LONG' does not name a type
     LONG xDest;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3884:5: error: 'LONG' does not name a type
     LONG yDest;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3885:5: error: 'LONG' does not name a type
     LONG cxDest;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3886:5: error: 'LONG' does not name a type
     LONG cyDest;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3887:5: error: 'DWORD' does not name a type
     DWORD dwRop;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3888:5: error: 'LONG' does not name a type
     LONG xSrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3889:5: error: 'LONG' does not name a type
     LONG ySrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3891:5: error: 'COLORREF' does not name a type
     COLORREF crBkColorSrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3892:5: error: 'DWORD' does not name a type
     DWORD iUsageSrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3893:5: error: 'DWORD' does not name a type
     DWORD offBmiSrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3894:5: error: 'DWORD' does not name a type
     DWORD cbBmiSrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3895:5: error: 'DWORD' does not name a type
     DWORD offBitsSrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3896:5: error: 'DWORD' does not name a type
     DWORD cbBitsSrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3897:5: error: 'LONG' does not name a type
     LONG xMask;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3898:5: error: 'LONG' does not name a type
     LONG yMask;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3899:5: error: 'DWORD' does not name a type
     DWORD iUsageMask;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3900:5: error: 'DWORD' does not name a type
     DWORD offBmiMask;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3901:5: error: 'DWORD' does not name a type
     DWORD cbBmiMask;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3902:5: error: 'DWORD' does not name a type
     DWORD offBitsMask;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3903:5: error: 'DWORD' does not name a type
     DWORD cbBitsMask;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3910:5: error: 'LONG' does not name a type
     LONG xSrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3911:5: error: 'LONG' does not name a type
     LONG ySrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3912:5: error: 'LONG' does not name a type
     LONG cxSrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3913:5: error: 'LONG' does not name a type
     LONG cySrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3915:5: error: 'COLORREF' does not name a type
     COLORREF crBkColorSrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3916:5: error: 'DWORD' does not name a type
     DWORD iUsageSrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3917:5: error: 'DWORD' does not name a type
     DWORD offBmiSrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3918:5: error: 'DWORD' does not name a type
     DWORD cbBmiSrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3919:5: error: 'DWORD' does not name a type
     DWORD offBitsSrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3920:5: error: 'DWORD' does not name a type
     DWORD cbBitsSrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3921:5: error: 'LONG' does not name a type
     LONG xMask;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3922:5: error: 'LONG' does not name a type
     LONG yMask;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3923:5: error: 'DWORD' does not name a type
     DWORD iUsageMask;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3924:5: error: 'DWORD' does not name a type
     DWORD offBmiMask;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3925:5: error: 'DWORD' does not name a type
     DWORD cbBmiMask;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3926:5: error: 'DWORD' does not name a type
     DWORD offBitsMask;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3927:5: error: 'DWORD' does not name a type
     DWORD cbBitsMask;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3933:5: error: 'LONG' does not name a type
     LONG xDest;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3934:5: error: 'LONG' does not name a type
     LONG yDest;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3935:5: error: 'LONG' does not name a type
     LONG xSrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3936:5: error: 'LONG' does not name a type
     LONG ySrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3937:5: error: 'LONG' does not name a type
     LONG cxSrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3938:5: error: 'LONG' does not name a type
     LONG cySrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3939:5: error: 'DWORD' does not name a type
     DWORD offBmiSrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3940:5: error: 'DWORD' does not name a type
     DWORD cbBmiSrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3941:5: error: 'DWORD' does not name a type
     DWORD offBitsSrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3942:5: error: 'DWORD' does not name a type
     DWORD cbBitsSrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3943:5: error: 'DWORD' does not name a type
     DWORD iUsageSrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3944:5: error: 'DWORD' does not name a type
     DWORD iStartScan;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3945:5: error: 'DWORD' does not name a type
     DWORD cScans;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3951:5: error: 'LONG' does not name a type
     LONG xDest;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3952:5: error: 'LONG' does not name a type
     LONG yDest;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3953:5: error: 'LONG' does not name a type
     LONG xSrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3954:5: error: 'LONG' does not name a type
     LONG ySrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3955:5: error: 'LONG' does not name a type
     LONG cxSrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3956:5: error: 'LONG' does not name a type
     LONG cySrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3957:5: error: 'DWORD' does not name a type
     DWORD offBmiSrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3958:5: error: 'DWORD' does not name a type
     DWORD cbBmiSrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3959:5: error: 'DWORD' does not name a type
     DWORD offBitsSrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3960:5: error: 'DWORD' does not name a type
     DWORD cbBitsSrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3961:5: error: 'DWORD' does not name a type
     DWORD iUsageSrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3962:5: error: 'DWORD' does not name a type
     DWORD dwRop;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3963:5: error: 'LONG' does not name a type
     LONG cxDest;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3964:5: error: 'LONG' does not name a type
     LONG cyDest;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3969:5: error: 'DWORD' does not name a type
     DWORD ihFont;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3975:5: error: 'DWORD' does not name a type
     DWORD ihPal;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3981:5: error: 'DWORD' does not name a type
     DWORD ihPen;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3987:5: error: 'DWORD' does not name a type
     DWORD ihPen;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3988:5: error: 'DWORD' does not name a type
     DWORD offBmi;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3989:5: error: 'DWORD' does not name a type
     DWORD cbBmi;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3990:5: error: 'DWORD' does not name a type
     DWORD offBits;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3991:5: error: 'DWORD' does not name a type
     DWORD cbBits;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:3997:5: error: 'DWORD' does not name a type
     DWORD ihBrush;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4003:5: error: 'DWORD' does not name a type
     DWORD ihBrush;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4004:5: error: 'DWORD' does not name a type
     DWORD iUsage;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4005:5: error: 'DWORD' does not name a type
     DWORD offBmi;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4006:5: error: 'DWORD' does not name a type
     DWORD cbBmi;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4007:5: error: 'DWORD' does not name a type
     DWORD offBits;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4008:5: error: 'DWORD' does not name a type
     DWORD cbBits;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4013:5: error: 'DWORD' does not name a type
     DWORD ihBrush;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4014:5: error: 'DWORD' does not name a type
     DWORD iUsage;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4015:5: error: 'DWORD' does not name a type
     DWORD offBmi;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4016:5: error: 'DWORD' does not name a type
     DWORD cbBmi;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4017:5: error: 'DWORD' does not name a type
     DWORD offBits;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4018:5: error: 'DWORD' does not name a type
     DWORD cbBits;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4022:5: error: 'DWORD' does not name a type
     DWORD dSignature;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4023:5: error: 'DWORD' does not name a type
     DWORD nVersion;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4024:5: error: 'DWORD' does not name a type
     DWORD cbData;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4025:5: error: 'DWORD' does not name a type
     DWORD offData;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4030:5: error: 'DWORD' does not name a type
     DWORD cbData;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4037:5: error: 'DWORD' does not name a type
     DWORD cbData;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4048:5: error: 'DWORD' does not name a type
     DWORD ihCS;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4054:5: error: 'DWORD' does not name a type
     DWORD ihCS;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4076:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4077:5: error: 'DWORD' does not name a type
     DWORD cbName;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4078:5: error: 'DWORD' does not name a type
     DWORD cbData;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4086:5: error: 'DWORD' does not name a type
     DWORD ihCS;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4088:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4089:5: error: 'DWORD' does not name a type
     DWORD cbData;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4097:5: error: 'DWORD' does not name a type
     DWORD dwAction;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4098:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4099:5: error: 'DWORD' does not name a type
     DWORD cbName;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4100:5: error: 'DWORD' does not name a type
     DWORD cbData;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4106:5: error: 'DWORD' does not name a type
     DWORD ihPalette;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4107:5: error: 'DWORD' does not name a type
     DWORD nFirstEntry;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4108:5: error: 'DWORD' does not name a type
     DWORD nPalEntries;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4109:5: error: 'DWORD' does not name a type
     DWORD nReserved;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4115:5: error: 'LONG' does not name a type
     LONG xDest;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4116:5: error: 'LONG' does not name a type
     LONG yDest;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4117:5: error: 'LONG' does not name a type
     LONG cxDest;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4118:5: error: 'LONG' does not name a type
     LONG cyDest;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4119:5: error: 'DWORD' does not name a type
     DWORD dwRop;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4120:5: error: 'LONG' does not name a type
     LONG xSrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4121:5: error: 'LONG' does not name a type
     LONG ySrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4123:5: error: 'COLORREF' does not name a type
     COLORREF crBkColorSrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4124:5: error: 'DWORD' does not name a type
     DWORD iUsageSrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4125:5: error: 'DWORD' does not name a type
     DWORD offBmiSrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4126:5: error: 'DWORD' does not name a type
     DWORD cbBmiSrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4127:5: error: 'DWORD' does not name a type
     DWORD offBitsSrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4128:5: error: 'DWORD' does not name a type
     DWORD cbBitsSrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4129:5: error: 'LONG' does not name a type
     LONG cxSrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4130:5: error: 'LONG' does not name a type
     LONG cySrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4136:5: error: 'DWORD' does not name a type
     DWORD nVer;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4137:5: error: 'DWORD' does not name a type
     DWORD nTri;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4138:5: error: 'ULONG' does not name a type
     ULONG ulMode;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4145:5: error: 'LONG' does not name a type
     LONG xDest;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4146:5: error: 'LONG' does not name a type
     LONG yDest;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4147:5: error: 'LONG' does not name a type
     LONG cxDest;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4148:5: error: 'LONG' does not name a type
     LONG cyDest;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4149:5: error: 'DWORD' does not name a type
     DWORD dwRop;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4150:5: error: 'LONG' does not name a type
     LONG xSrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4151:5: error: 'LONG' does not name a type
     LONG ySrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4153:5: error: 'COLORREF' does not name a type
     COLORREF crBkColorSrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4154:5: error: 'DWORD' does not name a type
     DWORD iUsageSrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4155:5: error: 'DWORD' does not name a type
     DWORD offBmiSrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4156:5: error: 'DWORD' does not name a type
     DWORD cbBmiSrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4157:5: error: 'DWORD' does not name a type
     DWORD offBitsSrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4158:5: error: 'DWORD' does not name a type
     DWORD cbBitsSrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4159:5: error: 'LONG' does not name a type
     LONG cxSrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4160:5: error: 'LONG' does not name a type
     LONG cySrc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4184:51: error: 'DWORD' has not been declared
   WINGDIAPI WINBOOL WINAPI wglUseFontBitmapsA(HDC,DWORD,DWORD,DWORD);
                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4184:57: error: 'DWORD' has not been declared
   WINGDIAPI WINBOOL WINAPI wglUseFontBitmapsA(HDC,DWORD,DWORD,DWORD);
                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4184:63: error: 'DWORD' has not been declared
   WINGDIAPI WINBOOL WINAPI wglUseFontBitmapsA(HDC,DWORD,DWORD,DWORD);
                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4185:51: error: 'DWORD' has not been declared
   WINGDIAPI WINBOOL WINAPI wglUseFontBitmapsW(HDC,DWORD,DWORD,DWORD);
                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4185:57: error: 'DWORD' has not been declared
   WINGDIAPI WINBOOL WINAPI wglUseFontBitmapsW(HDC,DWORD,DWORD,DWORD);
                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4185:63: error: 'DWORD' has not been declared
   WINGDIAPI WINBOOL WINAPI wglUseFontBitmapsW(HDC,DWORD,DWORD,DWORD);
                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4206:52: error: 'DWORD' has not been declared
   WINGDIAPI WINBOOL WINAPI wglUseFontOutlinesA(HDC,DWORD,DWORD,DWORD,FLOAT,FLOAT,int,LPGLYPHMETRICSFLOAT);
                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4206:58: error: 'DWORD' has not been declared
   WINGDIAPI WINBOOL WINAPI wglUseFontOutlinesA(HDC,DWORD,DWORD,DWORD,FLOAT,FLOAT,int,LPGLYPHMETRICSFLOAT);
                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4206:64: error: 'DWORD' has not been declared
   WINGDIAPI WINBOOL WINAPI wglUseFontOutlinesA(HDC,DWORD,DWORD,DWORD,FLOAT,FLOAT,int,LPGLYPHMETRICSFLOAT);
                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4207:52: error: 'DWORD' has not been declared
   WINGDIAPI WINBOOL WINAPI wglUseFontOutlinesW(HDC,DWORD,DWORD,DWORD,FLOAT,FLOAT,int,LPGLYPHMETRICSFLOAT);
                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4207:58: error: 'DWORD' has not been declared
   WINGDIAPI WINBOOL WINAPI wglUseFontOutlinesW(HDC,DWORD,DWORD,DWORD,FLOAT,FLOAT,int,LPGLYPHMETRICSFLOAT);
                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4207:64: error: 'DWORD' has not been declared
   WINGDIAPI WINBOOL WINAPI wglUseFontOutlinesW(HDC,DWORD,DWORD,DWORD,FLOAT,FLOAT,int,LPGLYPHMETRICSFLOAT);
                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4212:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4233:5: error: 'COLORREF' does not name a type
     COLORREF crTransparent;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4283:72: error: 'COLORREF' does not name a type
   WINGDIAPI int WINAPI wglSetLayerPaletteEntries(HDC,int,int,int,CONST COLORREF *);
                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4284:66: error: 'COLORREF' has not been declared
   WINGDIAPI int WINAPI wglGetLayerPaletteEntries(HDC,int,int,int,COLORREF *);
                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wingdi.h:4295:13: error: 'DWORD' does not name a type
   WINGDIAPI DWORD WINAPI wglSwapMultipleBuffers(UINT,CONST WGLSWAP *);
             ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:72:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:36:57: error: 'DWORD' has not been declared
   typedef VOID (CALLBACK *TIMERPROC)(HWND,UINT,UINT_PTR,DWORD);
                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:418:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:419:5: error: 'DWORD' does not name a type
     DWORD dwSessionId;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:537:5: error: 'DWORD' does not name a type
     DWORD time;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:566:5: error: 'DWORD' does not name a type
     DWORD vkCode;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:567:5: error: 'DWORD' does not name a type
     DWORD scanCode;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:568:5: error: 'DWORD' does not name a type
     DWORD flags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:569:5: error: 'DWORD' does not name a type
     DWORD time;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:575:5: error: 'DWORD' does not name a type
     DWORD mouseData;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:576:5: error: 'DWORD' does not name a type
     DWORD flags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:577:5: error: 'DWORD' does not name a type
     DWORD time;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:582:5: error: 'DWORD' does not name a type
     DWORD idThread;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:583:5: error: 'DWORD' does not name a type
     DWORD idThreadInstaller;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:598:5: error: 'DWORD' does not name a type
     DWORD mouseData;
     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:72:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:644:43: error: definition of 'HKL__* GetKeyboardLayout' is marked 'dllimport'
   WINUSERAPI HKL WINAPI GetKeyboardLayout(DWORD idThread);
                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:644:43: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:649:5: error: 'DWORD' does not name a type
     DWORD time;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:656:120: error: 'DWORD' has not been declared
   WINUSERAPI int WINAPI GetMouseMovePointsEx(UINT cbSize,LPMOUSEMOVEPOINT lppt,LPMOUSEMOVEPOINT lpptBuf,int nBufPoints,DWORD resolution);
                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:676:99: error: 'DWORD' has not been declared
   WINUSERAPI HDESK WINAPI CreateDesktopA(LPCSTR lpszDesktop,LPCSTR lpszDevice,LPDEVMODEA pDevmode,DWORD dwFlags,ACCESS_MASK dwDesiredAccess,LPSECURITY_ATTRIBUTES lpsa);
                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:676:113: error: 'ACCESS_MASK' has not been declared
   WINUSERAPI HDESK WINAPI CreateDesktopA(LPCSTR lpszDesktop,LPCSTR lpszDevice,LPDEVMODEA pDevmode,DWORD dwFlags,ACCESS_MASK dwDesiredAccess,LPSECURITY_ATTRIBUTES lpsa);
                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:677:101: error: 'DWORD' has not been declared
   WINUSERAPI HDESK WINAPI CreateDesktopW(LPCWSTR lpszDesktop,LPCWSTR lpszDevice,LPDEVMODEW pDevmode,DWORD dwFlags,ACCESS_MASK dwDesiredAccess,LPSECURITY_ATTRIBUTES lpsa);
                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:677:115: error: 'ACCESS_MASK' has not been declared
   WINUSERAPI HDESK WINAPI CreateDesktopW(LPCWSTR lpszDesktop,LPCWSTR lpszDevice,LPDEVMODEW pDevmode,DWORD dwFlags,ACCESS_MASK dwDesiredAccess,LPSECURITY_ATTRIBUTES lpsa);
                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:684:59: error: 'DWORD' has not been declared
   WINUSERAPI HDESK WINAPI OpenDesktopA(LPCSTR lpszDesktop,DWORD dwFlags,WINBOOL fInherit,ACCESS_MASK dwDesiredAccess);
                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:684:90: error: 'ACCESS_MASK' has not been declared
   WINUSERAPI HDESK WINAPI OpenDesktopA(LPCSTR lpszDesktop,DWORD dwFlags,WINBOOL fInherit,ACCESS_MASK dwDesiredAccess);
                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:685:60: error: 'DWORD' has not been declared
   WINUSERAPI HDESK WINAPI OpenDesktopW(LPCWSTR lpszDesktop,DWORD dwFlags,WINBOOL fInherit,ACCESS_MASK dwDesiredAccess);
                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:685:91: error: 'ACCESS_MASK' has not been declared
   WINUSERAPI HDESK WINAPI OpenDesktopW(LPCWSTR lpszDesktop,DWORD dwFlags,WINBOOL fInherit,ACCESS_MASK dwDesiredAccess);
                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:686:44: error: definition of 'HDESK__* OpenInputDesktop' is marked 'dllimport'
   WINUSERAPI HDESK WINAPI OpenInputDesktop(DWORD dwFlags,WINBOOL fInherit,ACCESS_MASK dwDesiredAccess);
                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:686:44: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:686:66: error: expected primary-expression before 'fInherit'
   WINUSERAPI HDESK WINAPI OpenInputDesktop(DWORD dwFlags,WINBOOL fInherit,ACCESS_MASK dwDesiredAccess);
                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:686:75: error: 'ACCESS_MASK' was not declared in this scope
   WINUSERAPI HDESK WINAPI OpenInputDesktop(DWORD dwFlags,WINBOOL fInherit,ACCESS_MASK dwDesiredAccess);
                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:686:102: error: expression list treated as compound expression in initializer [-fpermissive]
   WINUSERAPI HDESK WINAPI OpenInputDesktop(DWORD dwFlags,WINBOOL fInherit,ACCESS_MASK dwDesiredAccess);
                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:693:44: error: definition of 'HDESK__* GetThreadDesktop' is marked 'dllimport'
   WINUSERAPI HDESK WINAPI GetThreadDesktop(DWORD dwThreadId);
                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:693:44: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:716:66: error: 'DWORD' has not been declared
   WINUSERAPI HWINSTA WINAPI CreateWindowStationA(LPCSTR lpwinsta,DWORD dwFlags,ACCESS_MASK dwDesiredAccess,LPSECURITY_ATTRIBUTES lpsa);
                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:716:80: error: 'ACCESS_MASK' has not been declared
   WINUSERAPI HWINSTA WINAPI CreateWindowStationA(LPCSTR lpwinsta,DWORD dwFlags,ACCESS_MASK dwDesiredAccess,LPSECURITY_ATTRIBUTES lpsa);
                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:717:67: error: 'DWORD' has not been declared
   WINUSERAPI HWINSTA WINAPI CreateWindowStationW(LPCWSTR lpwinsta,DWORD dwFlags,ACCESS_MASK dwDesiredAccess,LPSECURITY_ATTRIBUTES lpsa);
                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:717:81: error: 'ACCESS_MASK' has not been declared
   WINUSERAPI HWINSTA WINAPI CreateWindowStationW(LPCWSTR lpwinsta,DWORD dwFlags,ACCESS_MASK dwDesiredAccess,LPSECURITY_ATTRIBUTES lpsa);
                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:718:83: error: 'ACCESS_MASK' has not been declared
   WINUSERAPI HWINSTA WINAPI OpenWindowStationA(LPCSTR lpszWinSta,WINBOOL fInherit,ACCESS_MASK dwDesiredAccess);
                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:719:84: error: 'ACCESS_MASK' has not been declared
   WINUSERAPI HWINSTA WINAPI OpenWindowStationW(LPCWSTR lpszWinSta,WINBOOL fInherit,ACCESS_MASK dwDesiredAccess);
                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:728:63: error: 'PSECURITY_INFORMATION' has not been declared
   WINUSERAPI WINBOOL WINAPI SetUserObjectSecurity(HANDLE hObj,PSECURITY_INFORMATION pSIRequested,PSECURITY_DESCRIPTOR pSID);
                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:729:63: error: 'PSECURITY_INFORMATION' has not been declared
   WINUSERAPI WINBOOL WINAPI GetUserObjectSecurity(HANDLE hObj,PSECURITY_INFORMATION pSIRequested,PSECURITY_DESCRIPTOR pSID,DWORD nLength,LPDWORD lpnLengthNeeded);
                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:729:124: error: 'DWORD' has not been declared
   WINUSERAPI WINBOOL WINAPI GetUserObjectSecurity(HANDLE hObj,PSECURITY_INFORMATION pSIRequested,PSECURITY_DESCRIPTOR pSID,DWORD nLength,LPDWORD lpnLengthNeeded);
                                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:729:138: error: 'LPDWORD' has not been declared
   WINUSERAPI WINBOOL WINAPI GetUserObjectSecurity(HANDLE hObj,PSECURITY_INFORMATION pSIRequested,PSECURITY_DESCRIPTOR pSID,DWORD nLength,LPDWORD lpnLengthNeeded);
                                                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:739:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:745:91: error: 'DWORD' has not been declared
   WINUSERAPI WINBOOL WINAPI GetUserObjectInformationA(HANDLE hObj,int nIndex,PVOID pvInfo,DWORD nLength,LPDWORD lpnLengthNeeded);
                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:745:105: error: 'LPDWORD' has not been declared
   WINUSERAPI WINBOOL WINAPI GetUserObjectInformationA(HANDLE hObj,int nIndex,PVOID pvInfo,DWORD nLength,LPDWORD lpnLengthNeeded);
                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:746:91: error: 'DWORD' has not been declared
   WINUSERAPI WINBOOL WINAPI GetUserObjectInformationW(HANDLE hObj,int nIndex,PVOID pvInfo,DWORD nLength,LPDWORD lpnLengthNeeded);
                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:746:105: error: 'LPDWORD' has not been declared
   WINUSERAPI WINBOOL WINAPI GetUserObjectInformationW(HANDLE hObj,int nIndex,PVOID pvInfo,DWORD nLength,LPDWORD lpnLengthNeeded);
                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:747:91: error: 'DWORD' has not been declared
   WINUSERAPI WINBOOL WINAPI SetUserObjectInformationA(HANDLE hObj,int nIndex,PVOID pvInfo,DWORD nLength);
                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:748:91: error: 'DWORD' has not been declared
   WINUSERAPI WINBOOL WINAPI SetUserObjectInformationW(HANDLE hObj,int nIndex,PVOID pvInfo,DWORD nLength);
                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:827:5: error: 'DWORD' does not name a type
     DWORD time;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:983:5: error: 'DWORD' does not name a type
     DWORD cbData;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1359:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1360:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1362:5: error: 'DWORD' does not name a type
     DWORD dwHoverTime;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1611:5: error: 'LONG' does not name a type
     LONG style;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1614:5: error: 'DWORD' does not name a type
     DWORD dwExStyle;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1626:5: error: 'LONG' does not name a type
     LONG style;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1629:5: error: 'DWORD' does not name a type
     DWORD dwExStyle;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1658:5: error: 'DWORD' does not name a type
     DWORD styleOld;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1659:5: error: 'DWORD' does not name a type
     DWORD styleNew;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1721:5: error: 'DWORD' does not name a type
     DWORD dwLocaleId;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1786:55: error: 'DWORD' has not been declared
   WINUSERAPI WINBOOL WINAPI ExitWindowsEx(UINT uFlags,DWORD dwReason);
                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1788:14: error: 'DWORD' does not name a type
   WINUSERAPI DWORD WINAPI GetMessagePos(VOID);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1789:14: error: 'LONG' does not name a type
   WINUSERAPI LONG WINAPI GetMessageTime(VOID);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1812:14: error: '__LONG32' does not name a type
   WINUSERAPI __LONG32 WINAPI BroadcastSystemMessageExA(DWORD flags,LPDWORD lpInfo,UINT Msg,WPARAM wParam,LPARAM lParam,PBSMINFO pbsmInfo);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1813:14: error: '__LONG32' does not name a type
   WINUSERAPI __LONG32 WINAPI BroadcastSystemMessageExW(DWORD flags,LPDWORD lpInfo,UINT Msg,WPARAM wParam,LPARAM lParam,PBSMINFO pbsmInfo);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1814:14: error: '__LONG32' does not name a type
   WINUSERAPI __LONG32 WINAPI BroadcastSystemMessageA(DWORD flags,LPDWORD lpInfo,UINT Msg,WPARAM wParam,LPARAM lParam);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1815:14: error: '__LONG32' does not name a type
   WINUSERAPI __LONG32 WINAPI BroadcastSystemMessageW(DWORD flags,LPDWORD lpInfo,UINT Msg,WPARAM wParam,LPARAM lParam);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1863:5: error: 'DWORD' does not name a type
     DWORD DataLength;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1878:104: error: 'DWORD' has not been declared
   WINUSERAPI HDEVNOTIFY WINAPI RegisterDeviceNotificationA(HANDLE hRecipient,LPVOID NotificationFilter,DWORD Flags);
                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1879:104: error: 'DWORD' has not been declared
   WINUSERAPI HDEVNOTIFY WINAPI RegisterDeviceNotificationW(HANDLE hRecipient,LPVOID NotificationFilter,DWORD Flags);
                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1887:48: error: definition of 'WINBOOL PostThreadMessageA' is marked 'dllimport'
   WINUSERAPI WINBOOL WINAPI PostThreadMessageA(DWORD idThread,UINT Msg,WPARAM wParam,LPARAM lParam);
                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1887:48: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1887:68: error: expected primary-expression before 'Msg'
   WINUSERAPI WINBOOL WINAPI PostThreadMessageA(DWORD idThread,UINT Msg,WPARAM wParam,LPARAM lParam);
                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1887:79: error: expected primary-expression before 'wParam'
   WINUSERAPI WINBOOL WINAPI PostThreadMessageA(DWORD idThread,UINT Msg,WPARAM wParam,LPARAM lParam);
                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1887:93: error: expected primary-expression before 'lParam'
   WINUSERAPI WINBOOL WINAPI PostThreadMessageA(DWORD idThread,UINT Msg,WPARAM wParam,LPARAM lParam);
                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1887:99: error: expression list treated as compound expression in initializer [-fpermissive]
   WINUSERAPI WINBOOL WINAPI PostThreadMessageA(DWORD idThread,UINT Msg,WPARAM wParam,LPARAM lParam);
                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1888:48: error: definition of 'WINBOOL PostThreadMessageW' is marked 'dllimport'
   WINUSERAPI WINBOOL WINAPI PostThreadMessageW(DWORD idThread,UINT Msg,WPARAM wParam,LPARAM lParam);
                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1888:48: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1888:68: error: expected primary-expression before 'Msg'
   WINUSERAPI WINBOOL WINAPI PostThreadMessageW(DWORD idThread,UINT Msg,WPARAM wParam,LPARAM lParam);
                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1888:79: error: expected primary-expression before 'wParam'
   WINUSERAPI WINBOOL WINAPI PostThreadMessageW(DWORD idThread,UINT Msg,WPARAM wParam,LPARAM lParam);
                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1888:93: error: expected primary-expression before 'lParam'
   WINUSERAPI WINBOOL WINAPI PostThreadMessageW(DWORD idThread,UINT Msg,WPARAM wParam,LPARAM lParam);
                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1888:99: error: expression list treated as compound expression in initializer [-fpermissive]
   WINUSERAPI WINBOOL WINAPI PostThreadMessageW(DWORD idThread,UINT Msg,WPARAM wParam,LPARAM lParam);
                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1895:47: error: definition of 'WINBOOL AttachThreadInput' is marked 'dllimport'
   WINUSERAPI WINBOOL WINAPI AttachThreadInput(DWORD idAttach,DWORD idAttachTo,WINBOOL fAttach);
                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1895:47: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1895:62: error: 'DWORD' was not declared in this scope
   WINUSERAPI WINBOOL WINAPI AttachThreadInput(DWORD idAttach,DWORD idAttachTo,WINBOOL fAttach);
                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1895:87: error: expected primary-expression before 'fAttach'
   WINUSERAPI WINBOOL WINAPI AttachThreadInput(DWORD idAttach,DWORD idAttachTo,WINBOOL fAttach);
                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1895:94: error: expression list treated as compound expression in initializer [-fpermissive]
   WINUSERAPI WINBOOL WINAPI AttachThreadInput(DWORD idAttach,DWORD idAttachTo,WINBOOL fAttach);
                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1898:14: error: 'DWORD' does not name a type
   WINUSERAPI DWORD WINAPI WaitForInputIdle(HANDLE hProcess,DWORD dwMilliseconds);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1905:14: error: 'DWORD' does not name a type
   WINUSERAPI DWORD WINAPI InSendMessageEx(LPVOID lpReserved);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1935:42: error: definition of 'HWND__* CreateWindowExA' is marked 'dllimport'
   WINUSERAPI HWND WINAPI CreateWindowExA(DWORD dwExStyle,LPCSTR lpClassName,LPCSTR lpWindowName,DWORD dwStyle,int X,int Y,int nWidth,int nHeight,HWND hWndParent,HMENU hMenu,HINSTANCE hInstance,LPVOID lpParam);
                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1935:42: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1935:65: error: expected primary-expression before 'lpClassName'
   WINUSERAPI HWND WINAPI CreateWindowExA(DWORD dwExStyle,LPCSTR lpClassName,LPCSTR lpWindowName,DWORD dwStyle,int X,int Y,int nWidth,int nHeight,HWND hWndParent,HMENU hMenu,HINSTANCE hInstance,LPVOID lpParam);
                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1935:84: error: expected primary-expression before 'lpWindowName'
   WINUSERAPI HWND WINAPI CreateWindowExA(DWORD dwExStyle,LPCSTR lpClassName,LPCSTR lpWindowName,DWORD dwStyle,int X,int Y,int nWidth,int nHeight,HWND hWndParent,HMENU hMenu,HINSTANCE hInstance,LPVOID lpParam);
                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1935:97: error: 'DWORD' was not declared in this scope
   WINUSERAPI HWND WINAPI CreateWindowExA(DWORD dwExStyle,LPCSTR lpClassName,LPCSTR lpWindowName,DWORD dwStyle,int X,int Y,int nWidth,int nHeight,HWND hWndParent,HMENU hMenu,HINSTANCE hInstance,LPVOID lpParam);
                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1935:111: error: expected primary-expression before 'int'
   WINUSERAPI HWND WINAPI CreateWindowExA(DWORD dwExStyle,LPCSTR lpClassName,LPCSTR lpWindowName,DWORD dwStyle,int X,int Y,int nWidth,int nHeight,HWND hWndParent,HMENU hMenu,HINSTANCE hInstance,LPVOID lpParam);
                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1935:117: error: expected primary-expression before 'int'
   WINUSERAPI HWND WINAPI CreateWindowExA(DWORD dwExStyle,LPCSTR lpClassName,LPCSTR lpWindowName,DWORD dwStyle,int X,int Y,int nWidth,int nHeight,HWND hWndParent,HMENU hMenu,HINSTANCE hInstance,LPVOID lpParam);
                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1935:123: error: expected primary-expression before 'int'
   WINUSERAPI HWND WINAPI CreateWindowExA(DWORD dwExStyle,LPCSTR lpClassName,LPCSTR lpWindowName,DWORD dwStyle,int X,int Y,int nWidth,int nHeight,HWND hWndParent,HMENU hMenu,HINSTANCE hInstance,LPVOID lpParam);
                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1935:134: error: expected primary-expression before 'int'
   WINUSERAPI HWND WINAPI CreateWindowExA(DWORD dwExStyle,LPCSTR lpClassName,LPCSTR lpWindowName,DWORD dwStyle,int X,int Y,int nWidth,int nHeight,HWND hWndParent,HMENU hMenu,HINSTANCE hInstance,LPVOID lpParam);
                                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1935:151: error: expected primary-expression before 'hWndParent'
   WINUSERAPI HWND WINAPI CreateWindowExA(DWORD dwExStyle,LPCSTR lpClassName,LPCSTR lpWindowName,DWORD dwStyle,int X,int Y,int nWidth,int nHeight,HWND hWndParent,HMENU hMenu,HINSTANCE hInstance,LPVOID lpParam);
                                                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1935:168: error: expected primary-expression before 'hMenu'
   WINUSERAPI HWND WINAPI CreateWindowExA(DWORD dwExStyle,LPCSTR lpClassName,LPCSTR lpWindowName,DWORD dwStyle,int X,int Y,int nWidth,int nHeight,HWND hWndParent,HMENU hMenu,HINSTANCE hInstance,LPVOID lpParam);
                                                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1935:184: error: expected primary-expression before 'hInstance'
   WINUSERAPI HWND WINAPI CreateWindowExA(DWORD dwExStyle,LPCSTR lpClassName,LPCSTR lpWindowName,DWORD dwStyle,int X,int Y,int nWidth,int nHeight,HWND hWndParent,HMENU hMenu,HINSTANCE hInstance,LPVOID lpParam);
                                                                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1935:201: error: expected primary-expression before 'lpParam'
   WINUSERAPI HWND WINAPI CreateWindowExA(DWORD dwExStyle,LPCSTR lpClassName,LPCSTR lpWindowName,DWORD dwStyle,int X,int Y,int nWidth,int nHeight,HWND hWndParent,HMENU hMenu,HINSTANCE hInstance,LPVOID lpParam);
                                                                                                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1935:208: error: expression list treated as compound expression in initializer [-fpermissive]
   WINUSERAPI HWND WINAPI CreateWindowExA(DWORD dwExStyle,LPCSTR lpClassName,LPCSTR lpWindowName,DWORD dwStyle,int X,int Y,int nWidth,int nHeight,HWND hWndParent,HMENU hMenu,HINSTANCE hInstance,LPVOID lpParam);
                                                                                                                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1936:42: error: definition of 'HWND__* CreateWindowExW' is marked 'dllimport'
   WINUSERAPI HWND WINAPI CreateWindowExW(DWORD dwExStyle,LPCWSTR lpClassName,LPCWSTR lpWindowName,DWORD dwStyle,int X,int Y,int nWidth,int nHeight,HWND hWndParent,HMENU hMenu,HINSTANCE hInstance,LPVOID lpParam);
                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1936:42: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1936:66: error: expected primary-expression before 'lpClassName'
   WINUSERAPI HWND WINAPI CreateWindowExW(DWORD dwExStyle,LPCWSTR lpClassName,LPCWSTR lpWindowName,DWORD dwStyle,int X,int Y,int nWidth,int nHeight,HWND hWndParent,HMENU hMenu,HINSTANCE hInstance,LPVOID lpParam);
                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1936:86: error: expected primary-expression before 'lpWindowName'
   WINUSERAPI HWND WINAPI CreateWindowExW(DWORD dwExStyle,LPCWSTR lpClassName,LPCWSTR lpWindowName,DWORD dwStyle,int X,int Y,int nWidth,int nHeight,HWND hWndParent,HMENU hMenu,HINSTANCE hInstance,LPVOID lpParam);
                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1936:99: error: 'DWORD' was not declared in this scope
   WINUSERAPI HWND WINAPI CreateWindowExW(DWORD dwExStyle,LPCWSTR lpClassName,LPCWSTR lpWindowName,DWORD dwStyle,int X,int Y,int nWidth,int nHeight,HWND hWndParent,HMENU hMenu,HINSTANCE hInstance,LPVOID lpParam);
                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1936:113: error: expected primary-expression before 'int'
   WINUSERAPI HWND WINAPI CreateWindowExW(DWORD dwExStyle,LPCWSTR lpClassName,LPCWSTR lpWindowName,DWORD dwStyle,int X,int Y,int nWidth,int nHeight,HWND hWndParent,HMENU hMenu,HINSTANCE hInstance,LPVOID lpParam);
                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1936:119: error: expected primary-expression before 'int'
   WINUSERAPI HWND WINAPI CreateWindowExW(DWORD dwExStyle,LPCWSTR lpClassName,LPCWSTR lpWindowName,DWORD dwStyle,int X,int Y,int nWidth,int nHeight,HWND hWndParent,HMENU hMenu,HINSTANCE hInstance,LPVOID lpParam);
                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1936:125: error: expected primary-expression before 'int'
   WINUSERAPI HWND WINAPI CreateWindowExW(DWORD dwExStyle,LPCWSTR lpClassName,LPCWSTR lpWindowName,DWORD dwStyle,int X,int Y,int nWidth,int nHeight,HWND hWndParent,HMENU hMenu,HINSTANCE hInstance,LPVOID lpParam);
                                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1936:136: error: expected primary-expression before 'int'
   WINUSERAPI HWND WINAPI CreateWindowExW(DWORD dwExStyle,LPCWSTR lpClassName,LPCWSTR lpWindowName,DWORD dwStyle,int X,int Y,int nWidth,int nHeight,HWND hWndParent,HMENU hMenu,HINSTANCE hInstance,LPVOID lpParam);
                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1936:153: error: expected primary-expression before 'hWndParent'
   WINUSERAPI HWND WINAPI CreateWindowExW(DWORD dwExStyle,LPCWSTR lpClassName,LPCWSTR lpWindowName,DWORD dwStyle,int X,int Y,int nWidth,int nHeight,HWND hWndParent,HMENU hMenu,HINSTANCE hInstance,LPVOID lpParam);
                                                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1936:170: error: expected primary-expression before 'hMenu'
   WINUSERAPI HWND WINAPI CreateWindowExW(DWORD dwExStyle,LPCWSTR lpClassName,LPCWSTR lpWindowName,DWORD dwStyle,int X,int Y,int nWidth,int nHeight,HWND hWndParent,HMENU hMenu,HINSTANCE hInstance,LPVOID lpParam);
                                                                                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1936:186: error: expected primary-expression before 'hInstance'
   WINUSERAPI HWND WINAPI CreateWindowExW(DWORD dwExStyle,LPCWSTR lpClassName,LPCWSTR lpWindowName,DWORD dwStyle,int X,int Y,int nWidth,int nHeight,HWND hWndParent,HMENU hMenu,HINSTANCE hInstance,LPVOID lpParam);
                                                                                                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1936:203: error: expected primary-expression before 'lpParam'
   WINUSERAPI HWND WINAPI CreateWindowExW(DWORD dwExStyle,LPCWSTR lpClassName,LPCWSTR lpWindowName,DWORD dwStyle,int X,int Y,int nWidth,int nHeight,HWND hWndParent,HMENU hMenu,HINSTANCE hInstance,LPVOID lpParam);
                                                                                                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1936:210: error: expression list treated as compound expression in initializer [-fpermissive]
   WINUSERAPI HWND WINAPI CreateWindowExW(DWORD dwExStyle,LPCWSTR lpClassName,LPCWSTR lpWindowName,DWORD dwStyle,int X,int Y,int nWidth,int nHeight,HWND hWndParent,HMENU hMenu,HINSTANCE hInstance,LPVOID lpParam);
                                                                                                                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1944:53: error: 'DWORD' has not been declared
   WINUSERAPI WINBOOL WINAPI AnimateWindow(HWND hWnd,DWORD dwTime,DWORD dwFlags);
                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1944:66: error: 'DWORD' has not been declared
   WINUSERAPI WINBOOL WINAPI AnimateWindow(HWND hWnd,DWORD dwTime,DWORD dwFlags);
                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1947:121: error: 'COLORREF' has not been declared
   WINUSERAPI WINBOOL WINAPI UpdateLayeredWindow(HWND hWnd,HDC hdcDst,POINT *pptDst,SIZE *psize,HDC hdcSrc,POINT *pptSrc,COLORREF crKey,BLENDFUNCTION *pblend,DWORD dwFlags);
                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1947:158: error: 'DWORD' has not been declared
   WINUSERAPI WINBOOL WINAPI UpdateLayeredWindow(HWND hWnd,HDC hdcDst,POINT *pptDst,SIZE *psize,HDC hdcSrc,POINT *pptSrc,COLORREF crKey,BLENDFUNCTION *pblend,DWORD dwFlags);
                                                                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1950:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1956:5: error: 'COLORREF' does not name a type
     COLORREF crKey;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1958:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1964:66: error: 'COLORREF' has not been declared
   WINUSERAPI WINBOOL WINAPI GetLayeredWindowAttributes(HWND hwnd,COLORREF *pcrKey,BYTE *pbAlpha,DWORD *pdwFlags);
                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1964:97: error: 'DWORD' has not been declared
   WINUSERAPI WINBOOL WINAPI GetLayeredWindowAttributes(HWND hwnd,COLORREF *pcrKey,BYTE *pbAlpha,DWORD *pdwFlags);
                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1969:66: error: 'COLORREF' has not been declared
   WINUSERAPI WINBOOL WINAPI SetLayeredWindowAttributes(HWND hwnd,COLORREF crKey,BYTE bAlpha,DWORD dwFlags);
                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1969:93: error: 'DWORD' has not been declared
   WINUSERAPI WINBOOL WINAPI SetLayeredWindowAttributes(HWND hwnd,COLORREF crKey,BYTE bAlpha,DWORD dwFlags);
                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1986:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:1988:5: error: 'DWORD' does not name a type
     DWORD dwTimeout;
     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:72:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2047:5: error: 'DWORD' does not name a type
     DWORD style;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2048:5: error: 'DWORD' does not name a type
     DWORD dwExtendedStyle;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2067:5: error: 'DWORD' does not name a type
     DWORD style;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2068:5: error: 'DWORD' does not name a type
     DWORD dwExtendedStyle;
     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:72:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2133:14: error: '__LONG32' does not name a type
   WINUSERAPI __LONG32 WINAPI GetDialogBaseUnits(VOID);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2155:14: error: 'DWORD' does not name a type
   WINUSERAPI DWORD WINAPI GetClipboardSequenceNumber(VOID);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2189:73: error: 'DWORD' has not been declared
   WINUSERAPI WINBOOL WINAPI CharToOemBuffA(LPCSTR lpszSrc,LPSTR lpszDst,DWORD cchDstLength);
                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2190:74: error: 'DWORD' has not been declared
   WINUSERAPI WINBOOL WINAPI CharToOemBuffW(LPCWSTR lpszSrc,LPSTR lpszDst,DWORD cchDstLength);
                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2191:73: error: 'DWORD' has not been declared
   WINUSERAPI WINBOOL WINAPI OemToCharBuffA(LPCSTR lpszSrc,LPSTR lpszDst,DWORD cchDstLength);
                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2192:74: error: 'DWORD' has not been declared
   WINUSERAPI WINBOOL WINAPI OemToCharBuffW(LPCSTR lpszSrc,LPWSTR lpszDst,DWORD cchDstLength);
                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2195:14: error: 'DWORD' does not name a type
   WINUSERAPI DWORD WINAPI CharUpperBuffA(LPSTR lpsz,DWORD cchLength);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2196:14: error: 'DWORD' does not name a type
   WINUSERAPI DWORD WINAPI CharUpperBuffW(LPWSTR lpsz,DWORD cchLength);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2199:14: error: 'DWORD' does not name a type
   WINUSERAPI DWORD WINAPI CharLowerBuffA(LPSTR lpsz,DWORD cchLength);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2200:14: error: 'DWORD' does not name a type
   WINUSERAPI DWORD WINAPI CharLowerBuffW(LPWSTR lpsz,DWORD cchLength);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2205:74: error: 'DWORD' has not been declared
   WINUSERAPI LPSTR WINAPI CharNextExA(WORD CodePage,LPCSTR lpCurrentChar,DWORD dwFlags);
                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2206:89: error: 'DWORD' has not been declared
   WINUSERAPI LPSTR WINAPI CharPrevExA(WORD CodePage,LPCSTR lpStart,LPCSTR lpCurrentChar,DWORD dwFlags);
                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2248:41: error: definition of 'int GetKeyNameTextA' is marked 'dllimport'
   WINUSERAPI int WINAPI GetKeyNameTextA(LONG lParam,LPSTR lpString,int cchSize);
                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2248:41: error: 'LONG' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2248:59: error: expected primary-expression before 'lpString'
   WINUSERAPI int WINAPI GetKeyNameTextA(LONG lParam,LPSTR lpString,int cchSize);
                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2248:68: error: expected primary-expression before 'int'
   WINUSERAPI int WINAPI GetKeyNameTextA(LONG lParam,LPSTR lpString,int cchSize);
                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2248:79: error: expression list treated as compound expression in initializer [-fpermissive]
   WINUSERAPI int WINAPI GetKeyNameTextA(LONG lParam,LPSTR lpString,int cchSize);
                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2249:41: error: definition of 'int GetKeyNameTextW' is marked 'dllimport'
   WINUSERAPI int WINAPI GetKeyNameTextW(LONG lParam,LPWSTR lpString,int cchSize);
                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2249:41: error: 'LONG' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2249:60: error: expected primary-expression before 'lpString'
   WINUSERAPI int WINAPI GetKeyNameTextW(LONG lParam,LPWSTR lpString,int cchSize);
                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2249:69: error: expected primary-expression before 'int'
   WINUSERAPI int WINAPI GetKeyNameTextW(LONG lParam,LPWSTR lpString,int cchSize);
                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2249:80: error: expression list treated as compound expression in initializer [-fpermissive]
   WINUSERAPI int WINAPI GetKeyNameTextW(LONG lParam,LPWSTR lpString,int cchSize);
                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2254:14: error: 'DWORD' does not name a type
   WINUSERAPI DWORD WINAPI OemKeyScan(WORD wOemChar);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2265:58: error: 'DWORD' has not been declared
   WINUSERAPI VOID WINAPI keybd_event(BYTE bVk,BYTE bScan,DWORD dwFlags,ULONG_PTR dwExtraInfo);
                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2280:38: error: variable or field 'mouse_event' declared void
   WINUSERAPI VOID WINAPI mouse_event(DWORD dwFlags,DWORD dx,DWORD dy,DWORD dwData,ULONG_PTR dwExtraInfo);
                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2280:38: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2280:52: error: 'DWORD' was not declared in this scope
   WINUSERAPI VOID WINAPI mouse_event(DWORD dwFlags,DWORD dx,DWORD dy,DWORD dwData,ULONG_PTR dwExtraInfo);
                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2280:61: error: 'DWORD' was not declared in this scope
   WINUSERAPI VOID WINAPI mouse_event(DWORD dwFlags,DWORD dx,DWORD dy,DWORD dwData,ULONG_PTR dwExtraInfo);
                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2280:70: error: 'DWORD' was not declared in this scope
   WINUSERAPI VOID WINAPI mouse_event(DWORD dwFlags,DWORD dx,DWORD dy,DWORD dwData,ULONG_PTR dwExtraInfo);
                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2280:93: error: expected primary-expression before 'dwExtraInfo'
   WINUSERAPI VOID WINAPI mouse_event(DWORD dwFlags,DWORD dx,DWORD dy,DWORD dwData,ULONG_PTR dwExtraInfo);
                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2283:5: error: 'LONG' does not name a type
     LONG dx;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2284:5: error: 'LONG' does not name a type
     LONG dy;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2285:5: error: 'DWORD' does not name a type
     DWORD mouseData;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2286:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2287:5: error: 'DWORD' does not name a type
     DWORD time;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2294:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2295:5: error: 'DWORD' does not name a type
     DWORD time;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2300:5: error: 'DWORD' does not name a type
     DWORD uMsg;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2310:5: error: 'DWORD' does not name a type
     DWORD type;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2322:5: error: 'DWORD' does not name a type
     DWORD dwTime;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2334:14: error: 'DWORD' does not name a type
   WINUSERAPI DWORD WINAPI GetQueueStatus(UINT flags);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2338:14: error: 'DWORD' does not name a type
   WINUSERAPI DWORD WINAPI MsgWaitForMultipleObjects(DWORD nCount,CONST HANDLE *pHandles,WINBOOL fWaitAll,DWORD dwMilliseconds,DWORD dwWakeMask);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2339:14: error: 'DWORD' does not name a type
   WINUSERAPI DWORD WINAPI MsgWaitForMultipleObjectsEx(DWORD nCount,CONST HANDLE *pHandles,DWORD dwMilliseconds,DWORD dwWakeMask,DWORD dwFlags);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2550:14: error: 'DWORD' does not name a type
   WINUSERAPI DWORD WINAPI CheckMenuItem(HMENU hMenu,UINT uIDCheckItem,UINT uCheck);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2564:14: error: 'LONG' does not name a type
   WINUSERAPI LONG WINAPI GetMenuCheckMarkDimensions(VOID);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2596:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2597:5: error: 'DWORD' does not name a type
     DWORD fMask;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2598:5: error: 'DWORD' does not name a type
     DWORD dwStyle;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2601:5: error: 'DWORD' does not name a type
     DWORD dwContextHelpID;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2615:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2733:5: error: 'DWORD' does not name a type
     DWORD wFmt;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2736:5: error: 'DWORD' does not name a type
     DWORD dwControlData;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2749:14: error: 'DWORD' does not name a type
   WINUSERAPI DWORD WINAPI DragObject(HWND hwndParent,HWND hwndFrom,UINT fmt,ULONG_PTR data,HCURSOR hcur);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2822:14: error: 'LONG' does not name a type
   WINUSERAPI LONG WINAPI TabbedTextOutA(HDC hdc,int x,int y,LPCSTR lpString,int chCount,int nTabPositions,CONST INT *lpnTabStopPositions,int nTabOrigin);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2823:14: error: 'LONG' does not name a type
   WINUSERAPI LONG WINAPI TabbedTextOutW(HDC hdc,int x,int y,LPCWSTR lpString,int chCount,int nTabPositions,CONST INT *lpnTabStopPositions,int nTabOrigin);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2824:14: error: 'DWORD' does not name a type
   WINUSERAPI DWORD WINAPI GetTabbedTextExtentA(HDC hdc,LPCSTR lpString,int chCount,int nTabPositions,CONST INT *lpnTabStopPositions);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2825:14: error: 'DWORD' does not name a type
   WINUSERAPI DWORD WINAPI GetTabbedTextExtentW(HDC hdc,LPCWSTR lpString,int chCount,int nTabPositions,CONST INT *lpnTabStopPositions);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2832:54: error: definition of 'WINBOOL AllowSetForegroundWindow' is marked 'dllimport'
   WINUSERAPI WINBOOL WINAPI AllowSetForegroundWindow(DWORD dwProcessId);
                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2832:54: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2843:57: error: 'DWORD' has not been declared
   WINUSERAPI HDC WINAPI GetDCEx(HWND hWnd,HRGN hrgnClip,DWORD flags);
                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2950:60: error: 'DWORD' has not been declared
   WINUSERAPI WINBOOL WINAPI AdjustWindowRect(LPRECT lpRect,DWORD dwStyle,WINBOOL bMenu);
                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2951:62: error: 'DWORD' has not been declared
   WINUSERAPI WINBOOL WINAPI AdjustWindowRectEx(LPRECT lpRect,DWORD dwStyle,WINBOOL bMenu,DWORD dwExStyle);
                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2951:90: error: 'DWORD' has not been declared
   WINUSERAPI WINBOOL WINAPI AdjustWindowRectEx(LPRECT lpRect,DWORD dwStyle,WINBOOL bMenu,DWORD dwExStyle);
                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2965:57: error: 'DWORD' has not been declared
   WINUSERAPI WINBOOL WINAPI SetWindowContextHelpId(HWND,DWORD);
                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2966:14: error: 'DWORD' does not name a type
   WINUSERAPI DWORD WINAPI GetWindowContextHelpId(HWND);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2967:56: error: 'DWORD' has not been declared
   WINUSERAPI WINBOOL WINAPI SetMenuContextHelpId(HMENU,DWORD);
                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:2968:14: error: 'DWORD' does not name a type
   WINUSERAPI DWORD WINAPI GetMenuContextHelpId(HMENU);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:3026:5: error: 'DWORD' does not name a type
     DWORD dwStyle;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:3030:5: error: 'DWORD' does not name a type
     DWORD dwLanguageId;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:3039:5: error: 'DWORD' does not name a type
     DWORD dwStyle;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:3043:5: error: 'DWORD' does not name a type
     DWORD dwLanguageId;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:3136:14: error: 'DWORD' does not name a type
   WINUSERAPI DWORD WINAPI GetSysColor(int nIndex);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:3138:85: error: 'COLORREF' does not name a type
   WINUSERAPI WINBOOL WINAPI SetSysColors(int cElements,CONST INT *lpaElements,CONST COLORREF *lpaRgbValues);
                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:3164:14: error: 'LONG' does not name a type
   WINUSERAPI LONG WINAPI GetWindowLongA(HWND hWnd,int nIndex);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:3165:14: error: 'LONG' does not name a type
   WINUSERAPI LONG WINAPI GetWindowLongW(HWND hWnd,int nIndex);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:3166:14: error: 'LONG' does not name a type
   WINUSERAPI LONG WINAPI SetWindowLongA(HWND hWnd,int nIndex,LONG dwNewLong);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:3167:14: error: 'LONG' does not name a type
   WINUSERAPI LONG WINAPI SetWindowLongW(HWND hWnd,int nIndex,LONG dwNewLong);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:3194:14: error: 'DWORD' does not name a type
   WINUSERAPI DWORD WINAPI GetClassLongA(HWND hWnd,int nIndex);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:3195:14: error: 'DWORD' does not name a type
   WINUSERAPI DWORD WINAPI GetClassLongW(HWND hWnd,int nIndex);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:3196:14: error: 'DWORD' does not name a type
   WINUSERAPI DWORD WINAPI SetClassLongA(HWND hWnd,int nIndex,LONG dwNewLong);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:3197:14: error: 'DWORD' does not name a type
   WINUSERAPI DWORD WINAPI SetClassLongW(HWND hWnd,int nIndex,LONG dwNewLong);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:3223:53: error: definition of 'WINBOOL GetProcessDefaultLayout' is marked 'dllimport'
   WINUSERAPI WINBOOL WINAPI GetProcessDefaultLayout(DWORD *pdwDefaultLayout);
                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:3223:53: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:3223:60: error: 'pdwDefaultLayout' was not declared in this scope
   WINUSERAPI WINBOOL WINAPI GetProcessDefaultLayout(DWORD *pdwDefaultLayout);
                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:3224:53: error: definition of 'WINBOOL SetProcessDefaultLayout' is marked 'dllimport'
   WINUSERAPI WINBOOL WINAPI SetProcessDefaultLayout(DWORD dwDefaultLayout);
                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:3224:53: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:3237:47: error: definition of 'WINBOOL EnumThreadWindows' is marked 'dllimport'
   WINUSERAPI WINBOOL WINAPI EnumThreadWindows(DWORD dwThreadId,WNDENUMPROC lpfn,LPARAM lParam);
                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:3237:47: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:3237:76: error: expected primary-expression before 'lpfn'
   WINUSERAPI WINBOOL WINAPI EnumThreadWindows(DWORD dwThreadId,WNDENUMPROC lpfn,LPARAM lParam);
                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:3237:88: error: expected primary-expression before 'lParam'
   WINUSERAPI WINBOOL WINAPI EnumThreadWindows(DWORD dwThreadId,WNDENUMPROC lpfn,LPARAM lParam);
                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:3237:94: error: expression list treated as compound expression in initializer [-fpermissive]
   WINUSERAPI WINBOOL WINAPI EnumThreadWindows(DWORD dwThreadId,WNDENUMPROC lpfn,LPARAM lParam);
                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:3249:14: error: 'DWORD' does not name a type
   WINUSERAPI DWORD WINAPI GetWindowThreadProcessId(HWND hWnd,LPDWORD lpdwProcessId);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:3275:85: error: 'DWORD' has not been declared
   WINUSERAPI HHOOK WINAPI SetWindowsHookExA(int idHook,HOOKPROC lpfn,HINSTANCE hmod,DWORD dwThreadId);
                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:3276:85: error: 'DWORD' has not been declared
   WINUSERAPI HHOOK WINAPI SetWindowsHookExW(int idHook,HOOKPROC lpfn,HINSTANCE hmod,DWORD dwThreadId);
                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:3405:58: error: 'DWORD' has not been declared
   WINUSERAPI WINBOOL WINAPI SetSystemCursor(HCURSOR hcur,DWORD id);
                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:3409:5: error: 'DWORD' does not name a type
     DWORD xHotspot;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:3410:5: error: 'DWORD' does not name a type
     DWORD yHotspot;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:3427:65: error: 'DWORD' has not been declared
   WINUSERAPI HICON WINAPI CreateIconFromResource(PBYTE presbits,DWORD dwResSize,WINBOOL fIcon,DWORD dwVer);
                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:3427:95: error: 'DWORD' has not been declared
   WINUSERAPI HICON WINAPI CreateIconFromResource(PBYTE presbits,DWORD dwResSize,WINBOOL fIcon,DWORD dwVer);
                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:3428:67: error: 'DWORD' has not been declared
   WINUSERAPI HICON WINAPI CreateIconFromResourceEx(PBYTE presbits,DWORD dwResSize,WINBOOL fIcon,DWORD dwVer,int cxDesired,int cyDesired,UINT Flags);
                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:3428:97: error: 'DWORD' has not been declared
   WINUSERAPI HICON WINAPI CreateIconFromResourceEx(PBYTE presbits,DWORD dwResSize,WINBOOL fIcon,DWORD dwVer,int cxDesired,int cyDesired,UINT Flags);
                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4092:5: error: 'DWORD' does not name a type
     DWORD style;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4104:5: error: 'DWORD' does not name a type
     DWORD style;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4130:82: error: 'DWORD' has not been declared
   WINUSERAPI HWND WINAPI CreateMDIWindowA(LPCSTR lpClassName,LPCSTR lpWindowName,DWORD dwStyle,int X,int Y,int nWidth,int nHeight,HWND hWndParent,HINSTANCE hInstance,LPARAM lParam);
                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4131:84: error: 'DWORD' has not been declared
   WINUSERAPI HWND WINAPI CreateMDIWindowW(LPCWSTR lpClassName,LPCWSTR lpWindowName,DWORD dwStyle,int X,int Y,int nWidth,int nHeight,HWND hWndParent,HINSTANCE hInstance,LPARAM lParam);
                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4139:11: error: 'DWORD' does not name a type
   typedef DWORD HELPPOLY;
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4141:5: error: 'DWORD' does not name a type
     DWORD mkSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4147:5: error: 'DWORD' does not name a type
     DWORD mkSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4219:14: error: 'DWORD' does not name a type
   WINUSERAPI DWORD WINAPI GetGuiResources(HANDLE hProcess,DWORD uiFlags);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4551:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4561:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4578:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4584:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4610:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:72,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/tvout.h:13:3: error: 'ULONG' does not name a type
   ULONG dwOffset;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/tvout.h:14:3: error: 'ULONG' does not name a type
   ULONG dwCommand;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/tvout.h:15:3: error: 'ULONG' does not name a type
   ULONG dwFlags;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/tvout.h:16:3: error: 'ULONG' does not name a type
   ULONG dwMode;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/tvout.h:17:3: error: 'ULONG' does not name a type
   ULONG dwTVStandard;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/tvout.h:18:3: error: 'ULONG' does not name a type
   ULONG dwAvailableModes;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/tvout.h:19:3: error: 'ULONG' does not name a type
   ULONG dwAvailableTVStandard;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/tvout.h:20:3: error: 'ULONG' does not name a type
   ULONG dwFlickerFilter;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/tvout.h:21:3: error: 'ULONG' does not name a type
   ULONG dwOverScanX;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/tvout.h:22:3: error: 'ULONG' does not name a type
   ULONG dwOverScanY;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/tvout.h:23:3: error: 'ULONG' does not name a type
   ULONG dwMaxUnscaledX;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/tvout.h:24:3: error: 'ULONG' does not name a type
   ULONG dwMaxUnscaledY;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/tvout.h:25:3: error: 'ULONG' does not name a type
   ULONG dwPositionX;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/tvout.h:26:3: error: 'ULONG' does not name a type
   ULONG dwPositionY;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/tvout.h:27:3: error: 'ULONG' does not name a type
   ULONG dwBrightness;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/tvout.h:28:3: error: 'ULONG' does not name a type
   ULONG dwContrast;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/tvout.h:29:3: error: 'ULONG' does not name a type
   ULONG dwCPType;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/tvout.h:30:3: error: 'ULONG' does not name a type
   ULONG dwCPCommand;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/tvout.h:31:3: error: 'ULONG' does not name a type
   ULONG dwCPStandard;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/tvout.h:32:3: error: 'ULONG' does not name a type
   ULONG dwCPKey;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/tvout.h:33:3: error: 'ULONG' does not name a type
   ULONG bCP_APSTriggerBits;
   ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:72:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4630:14: error: 'LONG' does not name a type
   WINUSERAPI LONG WINAPI ChangeDisplaySettingsA(LPDEVMODEA lpDevMode,DWORD dwFlags);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4631:14: error: 'LONG' does not name a type
   WINUSERAPI LONG WINAPI ChangeDisplaySettingsW(LPDEVMODEW lpDevMode,DWORD dwFlags);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4632:14: error: 'LONG' does not name a type
   WINUSERAPI LONG WINAPI ChangeDisplaySettingsExA(LPCSTR lpszDeviceName,LPDEVMODEA lpDevMode,HWND hwnd,DWORD dwflags,LPVOID lParam);
              ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:72:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4633:14: error: 'LONG' does not name a type
   WINUSERAPI LONG WINAPI ChangeDisplaySettingsExW(LPCWSTR lpszDeviceName,LPDEVMODEW lpDevMode,HWND hwnd,DWORD dwflags,LPVOID lParam);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4638:72: error: 'DWORD' has not been declared
   WINUSERAPI WINBOOL WINAPI EnumDisplaySettingsA(LPCSTR lpszDeviceName,DWORD iModeNum,LPDEVMODEA lpDevMode);
                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4639:73: error: 'DWORD' has not been declared
   WINUSERAPI WINBOOL WINAPI EnumDisplaySettingsW(LPCWSTR lpszDeviceName,DWORD iModeNum,LPDEVMODEW lpDevMode);
                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4640:74: error: 'DWORD' has not been declared
   WINUSERAPI WINBOOL WINAPI EnumDisplaySettingsExA(LPCSTR lpszDeviceName,DWORD iModeNum,LPDEVMODEA lpDevMode,DWORD dwFlags);
                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4640:110: error: 'DWORD' has not been declared
   WINUSERAPI WINBOOL WINAPI EnumDisplaySettingsExA(LPCSTR lpszDeviceName,DWORD iModeNum,LPDEVMODEA lpDevMode,DWORD dwFlags);
                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4641:75: error: 'DWORD' has not been declared
   WINUSERAPI WINBOOL WINAPI EnumDisplaySettingsExW(LPCWSTR lpszDeviceName,DWORD iModeNum,LPDEVMODEW lpDevMode,DWORD dwFlags);
                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4641:111: error: 'DWORD' has not been declared
   WINUSERAPI WINBOOL WINAPI EnumDisplaySettingsExW(LPCWSTR lpszDeviceName,DWORD iModeNum,LPDEVMODEW lpDevMode,DWORD dwFlags);
                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4645:65: error: 'DWORD' has not been declared
   WINUSERAPI WINBOOL WINAPI EnumDisplayDevicesA(LPCSTR lpDevice,DWORD iDevNum,PDISPLAY_DEVICEA lpDisplayDevice,DWORD dwFlags);
                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4645:112: error: 'DWORD' has not been declared
   WINUSERAPI WINBOOL WINAPI EnumDisplayDevicesA(LPCSTR lpDevice,DWORD iDevNum,PDISPLAY_DEVICEA lpDisplayDevice,DWORD dwFlags);
                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4646:66: error: 'DWORD' has not been declared
   WINUSERAPI WINBOOL WINAPI EnumDisplayDevicesW(LPCWSTR lpDevice,DWORD iDevNum,PDISPLAY_DEVICEW lpDisplayDevice,DWORD dwFlags);
                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4646:113: error: 'DWORD' has not been declared
   WINUSERAPI WINBOOL WINAPI EnumDisplayDevicesW(LPCWSTR lpDevice,DWORD iDevNum,PDISPLAY_DEVICEW lpDisplayDevice,DWORD dwFlags);
                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4658:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4659:5: error: 'DWORD' does not name a type
     DWORD iWaitMSec;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4660:5: error: 'DWORD' does not name a type
     DWORD iDelayMSec;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4661:5: error: 'DWORD' does not name a type
     DWORD iRepeatMSec;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4662:5: error: 'DWORD' does not name a type
     DWORD iBounceMSec;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4675:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4706:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4707:5: error: 'DWORD' does not name a type
     DWORD iMaxSpeed;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4708:5: error: 'DWORD' does not name a type
     DWORD iTimeToMaxSpeed;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4709:5: error: 'DWORD' does not name a type
     DWORD iCtrlSpeed;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4710:5: error: 'DWORD' does not name a type
     DWORD dwReserved1;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4711:5: error: 'DWORD' does not name a type
     DWORD dwReserved2;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4730:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4731:5: error: 'DWORD' does not name a type
     DWORD iTimeOutMSec;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4753:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4754:5: error: 'DWORD' does not name a type
     DWORD iFSTextEffect;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4755:5: error: 'DWORD' does not name a type
     DWORD iFSTextEffectMSec;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4756:5: error: 'DWORD' does not name a type
     DWORD iFSTextEffectColorBits;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4757:5: error: 'DWORD' does not name a type
     DWORD iFSGrafEffect;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4758:5: error: 'DWORD' does not name a type
     DWORD iFSGrafEffectMSec;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4759:5: error: 'DWORD' does not name a type
     DWORD iFSGrafEffectColor;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4760:5: error: 'DWORD' does not name a type
     DWORD iWindowsEffect;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4761:5: error: 'DWORD' does not name a type
     DWORD iWindowsEffectMSec;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4763:5: error: 'DWORD' does not name a type
     DWORD iWindowsEffectOrdinal;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4768:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4769:5: error: 'DWORD' does not name a type
     DWORD iFSTextEffect;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4770:5: error: 'DWORD' does not name a type
     DWORD iFSTextEffectMSec;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4771:5: error: 'DWORD' does not name a type
     DWORD iFSTextEffectColorBits;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4772:5: error: 'DWORD' does not name a type
     DWORD iFSGrafEffect;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4773:5: error: 'DWORD' does not name a type
     DWORD iFSGrafEffectMSec;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4774:5: error: 'DWORD' does not name a type
     DWORD iFSGrafEffectColor;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4775:5: error: 'DWORD' does not name a type
     DWORD iWindowsEffect;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4776:5: error: 'DWORD' does not name a type
     DWORD iWindowsEffectMSec;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4778:5: error: 'DWORD' does not name a type
     DWORD iWindowsEffectOrdinal;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4790:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4800:45: error: variable or field 'SetDebugErrorLevel' declared void
   WINUSERAPI VOID WINAPI SetDebugErrorLevel(DWORD dwLevel);
                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4800:45: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4806:41: error: variable or field 'SetLastErrorEx' declared void
   WINUSERAPI VOID WINAPI SetLastErrorEx(DWORD dwErrCode,DWORD dwType);
                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4806:41: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4806:57: error: 'DWORD' was not declared in this scope
   WINUSERAPI VOID WINAPI SetLastErrorEx(DWORD dwErrCode,DWORD dwType);
                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4817:56: error: 'DWORD' has not been declared
   WINUSERAPI HMONITOR WINAPI MonitorFromPoint(POINT pt,DWORD dwFlags);
                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4818:59: error: 'DWORD' has not been declared
   WINUSERAPI HMONITOR WINAPI MonitorFromRect(LPCRECT lprc,DWORD dwFlags);
                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4819:58: error: 'DWORD' has not been declared
   WINUSERAPI HMONITOR WINAPI MonitorFromWindow(HWND hwnd,DWORD dwFlags);
                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4828:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4831:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4880:41: error: variable or field 'NotifyWinEvent' declared void
   WINUSERAPI VOID WINAPI NotifyWinEvent(DWORD event,HWND hwnd,LONG idObject,LONG idChild);
                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4880:41: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4880:58: error: expected primary-expression before 'hwnd'
   WINUSERAPI VOID WINAPI NotifyWinEvent(DWORD event,HWND hwnd,LONG idObject,LONG idChild);
                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4880:63: error: 'LONG' was not declared in this scope
   WINUSERAPI VOID WINAPI NotifyWinEvent(DWORD event,HWND hwnd,LONG idObject,LONG idChild);
                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4880:77: error: 'LONG' was not declared in this scope
   WINUSERAPI VOID WINAPI NotifyWinEvent(DWORD event,HWND hwnd,LONG idObject,LONG idChild);
                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4882:69: error: 'DWORD' has not been declared
   typedef VOID (CALLBACK *WINEVENTPROC)(HWINEVENTHOOK hWinEventHook,DWORD event,HWND hwnd,LONG idObject,LONG idChild,DWORD idEventThread,DWORD dwmsEventTime);
                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4882:91: error: 'LONG' has not been declared
   typedef VOID (CALLBACK *WINEVENTPROC)(HWINEVENTHOOK hWinEventHook,DWORD event,HWND hwnd,LONG idObject,LONG idChild,DWORD idEventThread,DWORD dwmsEventTime);
                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4882:105: error: 'LONG' has not been declared
   typedef VOID (CALLBACK *WINEVENTPROC)(HWINEVENTHOOK hWinEventHook,DWORD event,HWND hwnd,LONG idObject,LONG idChild,DWORD idEventThread,DWORD dwmsEventTime);
                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4882:118: error: 'DWORD' has not been declared
   typedef VOID (CALLBACK *WINEVENTPROC)(HWINEVENTHOOK hWinEventHook,DWORD event,HWND hwnd,LONG idObject,LONG idChild,DWORD idEventThread,DWORD dwmsEventTime);
                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4882:138: error: 'DWORD' has not been declared
   typedef VOID (CALLBACK *WINEVENTPROC)(HWINEVENTHOOK hWinEventHook,DWORD event,HWND hwnd,LONG idObject,LONG idChild,DWORD idEventThread,DWORD dwmsEventTime);
                                                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4884:51: error: definition of 'HWINEVENTHOOK__* SetWinEventHook' is marked 'dllimport'
   WINUSERAPI HWINEVENTHOOK WINAPI SetWinEventHook(DWORD eventMin,DWORD eventMax,HMODULE hmodWinEventProc,WINEVENTPROC pfnWinEventProc,DWORD idProcess,DWORD idThread,DWORD dwFlags);
                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4884:51: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4884:66: error: 'DWORD' was not declared in this scope
   WINUSERAPI HWINEVENTHOOK WINAPI SetWinEventHook(DWORD eventMin,DWORD eventMax,HMODULE hmodWinEventProc,WINEVENTPROC pfnWinEventProc,DWORD idProcess,DWORD idThread,DWORD dwFlags);
                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4884:89: error: expected primary-expression before 'hmodWinEventProc'
   WINUSERAPI HWINEVENTHOOK WINAPI SetWinEventHook(DWORD eventMin,DWORD eventMax,HMODULE hmodWinEventProc,WINEVENTPROC pfnWinEventProc,DWORD idProcess,DWORD idThread,DWORD dwFlags);
                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4884:119: error: expected primary-expression before 'pfnWinEventProc'
   WINUSERAPI HWINEVENTHOOK WINAPI SetWinEventHook(DWORD eventMin,DWORD eventMax,HMODULE hmodWinEventProc,WINEVENTPROC pfnWinEventProc,DWORD idProcess,DWORD idThread,DWORD dwFlags);
                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4884:135: error: 'DWORD' was not declared in this scope
   WINUSERAPI HWINEVENTHOOK WINAPI SetWinEventHook(DWORD eventMin,DWORD eventMax,HMODULE hmodWinEventProc,WINEVENTPROC pfnWinEventProc,DWORD idProcess,DWORD idThread,DWORD dwFlags);
                                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4884:151: error: 'DWORD' was not declared in this scope
   WINUSERAPI HWINEVENTHOOK WINAPI SetWinEventHook(DWORD eventMin,DWORD eventMax,HMODULE hmodWinEventProc,WINEVENTPROC pfnWinEventProc,DWORD idProcess,DWORD idThread,DWORD dwFlags);
                                                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4884:166: error: 'DWORD' was not declared in this scope
   WINUSERAPI HWINEVENTHOOK WINAPI SetWinEventHook(DWORD eventMin,DWORD eventMax,HMODULE hmodWinEventProc,WINEVENTPROC pfnWinEventProc,DWORD idProcess,DWORD idThread,DWORD dwFlags);
                                                                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4884:179: error: expression list treated as compound expression in initializer [-fpermissive]
   WINUSERAPI HWINEVENTHOOK WINAPI SetWinEventHook(DWORD eventMin,DWORD eventMax,HMODULE hmodWinEventProc,WINEVENTPROC pfnWinEventProc,DWORD idProcess,DWORD idThread,DWORD dwFlags);
                                                                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4885:53: error: definition of 'WINBOOL IsWinEventHookInstalled' is marked 'dllimport'
   WINUSERAPI WINBOOL WINAPI IsWinEventHookInstalled(DWORD event);
                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:4885:53: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:5003:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:5004:5: error: 'DWORD' does not name a type
     DWORD flags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:5023:46: error: definition of 'WINBOOL GetGUIThreadInfo' is marked 'dllimport'
   WINUSERAPI WINBOOL WINAPI GetGUIThreadInfo(DWORD idThread,PGUITHREADINFO pgui);
                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:5023:46: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:5023:76: error: expected primary-expression before 'pgui'
   WINUSERAPI WINBOOL WINAPI GetGUIThreadInfo(DWORD idThread,PGUITHREADINFO pgui);
                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:5023:80: error: expression list treated as compound expression in initializer [-fpermissive]
   WINUSERAPI WINBOOL WINAPI GetGUIThreadInfo(DWORD idThread,PGUITHREADINFO pgui);
                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:5066:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:5067:5: error: 'DWORD' does not name a type
     DWORD flags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:5077:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:5080:5: error: 'DWORD' does not name a type
     DWORD dwStyle;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:5081:5: error: 'DWORD' does not name a type
     DWORD dwExStyle;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:5082:5: error: 'DWORD' does not name a type
     DWORD dwWindowStatus;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:5094:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:5096:5: error: 'DWORD' does not name a type
     DWORD rgstate[CCHILDREN_TITLEBAR + 1];
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:5102:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:5110:54: error: 'LONG' has not been declared
   WINUSERAPI WINBOOL WINAPI GetMenuBarInfo(HWND hwnd,LONG idObject,LONG idItem,PMENUBARINFO pmbi);
                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:5110:68: error: 'LONG' has not been declared
   WINUSERAPI WINBOOL WINAPI GetMenuBarInfo(HWND hwnd,LONG idObject,LONG idItem,PMENUBARINFO pmbi);
                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:5113:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:5119:5: error: 'DWORD' does not name a type
     DWORD rgstate[CCHILDREN_SCROLLBAR + 1];
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:5122:56: error: 'LONG' has not been declared
   WINUSERAPI WINBOOL WINAPI GetScrollBarInfo(HWND hwnd,LONG idObject,PSCROLLBARINFO psbi);
                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:5125:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:5128:5: error: 'DWORD' does not name a type
     DWORD stateButton;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:5148:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:5163:14: error: 'DWORD' does not name a type
   WINUSERAPI DWORD WINAPI GetListBoxInfo(HWND hwnd);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:5177:5: error: 'DWORD' does not name a type
     DWORD dwType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:5178:5: error: 'DWORD' does not name a type
     DWORD dwSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:5190:7: error: 'ULONG' does not name a type
       ULONG ulButtons;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:5196:5: error: 'ULONG' does not name a type
     ULONG ulRawButtons;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:5197:5: error: 'LONG' does not name a type
     LONG lLastX;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:5198:5: error: 'LONG' does not name a type
     LONG lLastY;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:5199:5: error: 'ULONG' does not name a type
     ULONG ulExtraInformation;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:5234:5: error: 'ULONG' does not name a type
     ULONG ExtraInformation;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:5247:5: error: 'DWORD' does not name a type
     DWORD dwSizeHid;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:5248:5: error: 'DWORD' does not name a type
     DWORD dwCount;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:5279:5: error: 'DWORD' does not name a type
     DWORD dwId;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:5280:5: error: 'DWORD' does not name a type
     DWORD dwNumberOfButtons;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:5281:5: error: 'DWORD' does not name a type
     DWORD dwSampleRate;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:5285:5: error: 'DWORD' does not name a type
     DWORD dwType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:5286:5: error: 'DWORD' does not name a type
     DWORD dwSubType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:5287:5: error: 'DWORD' does not name a type
     DWORD dwKeyboardMode;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:5288:5: error: 'DWORD' does not name a type
     DWORD dwNumberOfFunctionKeys;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:5289:5: error: 'DWORD' does not name a type
     DWORD dwNumberOfIndicators;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:5290:5: error: 'DWORD' does not name a type
     DWORD dwNumberOfKeysTotal;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:5294:5: error: 'DWORD' does not name a type
     DWORD dwVendorId;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:5295:5: error: 'DWORD' does not name a type
     DWORD dwProductId;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:5296:5: error: 'DWORD' does not name a type
     DWORD dwVersionNumber;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:5302:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:5303:5: error: 'DWORD' does not name a type
     DWORD dwType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:5320:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winuser.h:5389:5: error: 'DWORD' does not name a type
     DWORD dwType;
     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:16:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:73,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/datetimeapi.h:19:64: error: 'DWORD' has not been declared
   WINBASEAPI int WINAPI GetTimeFormatEx (LPCWSTR lpLocaleName, DWORD dwFlags, CONST SYSTEMTIME *lpTime, LPCWSTR lpFormat, LPWSTR lpTimeStr, int cchTime);
                                                                ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:16:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:73,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/datetimeapi.h:20:64: error: 'DWORD' has not been declared
   WINBASEAPI int WINAPI GetDateFormatEx (LPCWSTR lpLocaleName, DWORD dwFlags, CONST SYSTEMTIME *lpDate, LPCWSTR lpFormat, LPWSTR lpDateStr, int cchDate, LPCWSTR lpCalendar);
                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/datetimeapi.h:24:41: error: definition of 'int GetDateFormatA' is marked 'dllimport'
   WINBASEAPI int WINAPI GetDateFormatA (LCID Locale, DWORD dwFlags, CONST SYSTEMTIME *lpDate, LPCSTR lpFormat, LPSTR lpDateStr, int cchDate);
                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/datetimeapi.h:24:41: error: 'LCID' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/datetimeapi.h:24:54: error: 'DWORD' was not declared in this scope
   WINBASEAPI int WINAPI GetDateFormatA (LCID Locale, DWORD dwFlags, CONST SYSTEMTIME *lpDate, LPCSTR lpFormat, LPSTR lpDateStr, int cchDate);
                                                      ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/datetimeapi.h:24:69: error: expected primary-expression before 'const'
   WINBASEAPI int WINAPI GetDateFormatA (LCID Locale, DWORD dwFlags, CONST SYSTEMTIME *lpDate, LPCSTR lpFormat, LPSTR lpDateStr, int cchDate);
                                                                     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:16:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:73,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/datetimeapi.h:24:102: error: expected primary-expression before 'lpFormat'
   WINBASEAPI int WINAPI GetDateFormatA (LCID Locale, DWORD dwFlags, CONST SYSTEMTIME *lpDate, LPCSTR lpFormat, LPSTR lpDateStr, int cchDate);
                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/datetimeapi.h:24:118: error: expected primary-expression before 'lpDateStr'
   WINBASEAPI int WINAPI GetDateFormatA (LCID Locale, DWORD dwFlags, CONST SYSTEMTIME *lpDate, LPCSTR lpFormat, LPSTR lpDateStr, int cchDate);
                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/datetimeapi.h:24:129: error: expected primary-expression before 'int'
   WINBASEAPI int WINAPI GetDateFormatA (LCID Locale, DWORD dwFlags, CONST SYSTEMTIME *lpDate, LPCSTR lpFormat, LPSTR lpDateStr, int cchDate);
                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/datetimeapi.h:24:140: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI int WINAPI GetDateFormatA (LCID Locale, DWORD dwFlags, CONST SYSTEMTIME *lpDate, LPCSTR lpFormat, LPSTR lpDateStr, int cchDate);
                                                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/datetimeapi.h:25:41: error: definition of 'int GetDateFormatW' is marked 'dllimport'
   WINBASEAPI int WINAPI GetDateFormatW (LCID Locale, DWORD dwFlags, CONST SYSTEMTIME *lpDate, LPCWSTR lpFormat, LPWSTR lpDateStr, int cchDate);
                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/datetimeapi.h:25:41: error: 'LCID' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/datetimeapi.h:25:54: error: 'DWORD' was not declared in this scope
   WINBASEAPI int WINAPI GetDateFormatW (LCID Locale, DWORD dwFlags, CONST SYSTEMTIME *lpDate, LPCWSTR lpFormat, LPWSTR lpDateStr, int cchDate);
                                                      ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/datetimeapi.h:25:69: error: expected primary-expression before 'const'
   WINBASEAPI int WINAPI GetDateFormatW (LCID Locale, DWORD dwFlags, CONST SYSTEMTIME *lpDate, LPCWSTR lpFormat, LPWSTR lpDateStr, int cchDate);
                                                                     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:16:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:73,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/datetimeapi.h:25:103: error: expected primary-expression before 'lpFormat'
   WINBASEAPI int WINAPI GetDateFormatW (LCID Locale, DWORD dwFlags, CONST SYSTEMTIME *lpDate, LPCWSTR lpFormat, LPWSTR lpDateStr, int cchDate);
                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/datetimeapi.h:25:120: error: expected primary-expression before 'lpDateStr'
   WINBASEAPI int WINAPI GetDateFormatW (LCID Locale, DWORD dwFlags, CONST SYSTEMTIME *lpDate, LPCWSTR lpFormat, LPWSTR lpDateStr, int cchDate);
                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/datetimeapi.h:25:131: error: expected primary-expression before 'int'
   WINBASEAPI int WINAPI GetDateFormatW (LCID Locale, DWORD dwFlags, CONST SYSTEMTIME *lpDate, LPCWSTR lpFormat, LPWSTR lpDateStr, int cchDate);
                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/datetimeapi.h:25:142: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI int WINAPI GetDateFormatW (LCID Locale, DWORD dwFlags, CONST SYSTEMTIME *lpDate, LPCWSTR lpFormat, LPWSTR lpDateStr, int cchDate);
                                                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/datetimeapi.h:26:41: error: definition of 'int GetTimeFormatA' is marked 'dllimport'
   WINBASEAPI int WINAPI GetTimeFormatA (LCID Locale, DWORD dwFlags, CONST SYSTEMTIME *lpTime, LPCSTR lpFormat, LPSTR lpTimeStr, int cchTime);
                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/datetimeapi.h:26:41: error: 'LCID' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/datetimeapi.h:26:54: error: 'DWORD' was not declared in this scope
   WINBASEAPI int WINAPI GetTimeFormatA (LCID Locale, DWORD dwFlags, CONST SYSTEMTIME *lpTime, LPCSTR lpFormat, LPSTR lpTimeStr, int cchTime);
                                                      ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/datetimeapi.h:26:69: error: expected primary-expression before 'const'
   WINBASEAPI int WINAPI GetTimeFormatA (LCID Locale, DWORD dwFlags, CONST SYSTEMTIME *lpTime, LPCSTR lpFormat, LPSTR lpTimeStr, int cchTime);
                                                                     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:16:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:73,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/datetimeapi.h:26:102: error: expected primary-expression before 'lpFormat'
   WINBASEAPI int WINAPI GetTimeFormatA (LCID Locale, DWORD dwFlags, CONST SYSTEMTIME *lpTime, LPCSTR lpFormat, LPSTR lpTimeStr, int cchTime);
                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/datetimeapi.h:26:118: error: expected primary-expression before 'lpTimeStr'
   WINBASEAPI int WINAPI GetTimeFormatA (LCID Locale, DWORD dwFlags, CONST SYSTEMTIME *lpTime, LPCSTR lpFormat, LPSTR lpTimeStr, int cchTime);
                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/datetimeapi.h:26:129: error: expected primary-expression before 'int'
   WINBASEAPI int WINAPI GetTimeFormatA (LCID Locale, DWORD dwFlags, CONST SYSTEMTIME *lpTime, LPCSTR lpFormat, LPSTR lpTimeStr, int cchTime);
                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/datetimeapi.h:26:140: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI int WINAPI GetTimeFormatA (LCID Locale, DWORD dwFlags, CONST SYSTEMTIME *lpTime, LPCSTR lpFormat, LPSTR lpTimeStr, int cchTime);
                                                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/datetimeapi.h:27:41: error: definition of 'int GetTimeFormatW' is marked 'dllimport'
   WINBASEAPI int WINAPI GetTimeFormatW (LCID Locale, DWORD dwFlags, CONST SYSTEMTIME *lpTime, LPCWSTR lpFormat, LPWSTR lpTimeStr, int cchTime);
                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/datetimeapi.h:27:41: error: 'LCID' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/datetimeapi.h:27:54: error: 'DWORD' was not declared in this scope
   WINBASEAPI int WINAPI GetTimeFormatW (LCID Locale, DWORD dwFlags, CONST SYSTEMTIME *lpTime, LPCWSTR lpFormat, LPWSTR lpTimeStr, int cchTime);
                                                      ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/datetimeapi.h:27:69: error: expected primary-expression before 'const'
   WINBASEAPI int WINAPI GetTimeFormatW (LCID Locale, DWORD dwFlags, CONST SYSTEMTIME *lpTime, LPCWSTR lpFormat, LPWSTR lpTimeStr, int cchTime);
                                                                     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:16:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:73,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/datetimeapi.h:27:103: error: expected primary-expression before 'lpFormat'
   WINBASEAPI int WINAPI GetTimeFormatW (LCID Locale, DWORD dwFlags, CONST SYSTEMTIME *lpTime, LPCWSTR lpFormat, LPWSTR lpTimeStr, int cchTime);
                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/datetimeapi.h:27:120: error: expected primary-expression before 'lpTimeStr'
   WINBASEAPI int WINAPI GetTimeFormatW (LCID Locale, DWORD dwFlags, CONST SYSTEMTIME *lpTime, LPCWSTR lpFormat, LPWSTR lpTimeStr, int cchTime);
                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/datetimeapi.h:27:131: error: expected primary-expression before 'int'
   WINBASEAPI int WINAPI GetTimeFormatW (LCID Locale, DWORD dwFlags, CONST SYSTEMTIME *lpTime, LPCWSTR lpFormat, LPWSTR lpTimeStr, int cchTime);
                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/datetimeapi.h:27:142: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI int WINAPI GetTimeFormatW (LCID Locale, DWORD dwFlags, CONST SYSTEMTIME *lpTime, LPCWSTR lpFormat, LPWSTR lpTimeStr, int cchTime);
                                                                                                                                              ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:73:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:644:11: error: 'DWORD' does not name a type
   typedef DWORD LGRPID;
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:645:11: error: 'DWORD' does not name a type
   typedef DWORD LCTYPE;
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:646:11: error: 'DWORD' does not name a type
   typedef DWORD CALTYPE;
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:647:11: error: 'DWORD' does not name a type
   typedef DWORD CALID;
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:724:11: error: 'DWORD' does not name a type
   typedef DWORD NLS_FUNCTION;
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:736:5: error: 'DWORD' does not name a type
     DWORD dwNLSVersionInfoSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:737:5: error: 'DWORD' does not name a type
     DWORD dwNLSVersion;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:738:5: error: 'DWORD' does not name a type
     DWORD dwDefinedVersion;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:743:5: error: 'DWORD' does not name a type
     DWORD dwNLSVersionInfoSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:744:5: error: 'DWORD' does not name a type
     DWORD dwNLSVersion;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:745:5: error: 'DWORD' does not name a type
     DWORD dwDefinedVersion;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:746:5: error: 'DWORD' does not name a type
     DWORD dwEffectiveId;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:750:11: error: 'LONG' does not name a type
   typedef LONG GEOID;
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:751:11: error: 'DWORD' does not name a type
   typedef DWORD GEOTYPE;
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:752:11: error: 'DWORD' does not name a type
   typedef DWORD GEOCLASS;
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:798:56: error: typedef 'LANGUAGEGROUP_ENUMPROCA' is initialized (use decltype instead)
   typedef WINBOOL (CALLBACK *LANGUAGEGROUP_ENUMPROCA) (LGRPID, LPSTR, LPSTR, DWORD, LONG_PTR);
                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:798:56: error: 'LGRPID' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:798:69: error: expected primary-expression before ',' token
   typedef WINBOOL (CALLBACK *LANGUAGEGROUP_ENUMPROCA) (LGRPID, LPSTR, LPSTR, DWORD, LONG_PTR);
                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:798:76: error: expected primary-expression before ',' token
   typedef WINBOOL (CALLBACK *LANGUAGEGROUP_ENUMPROCA) (LGRPID, LPSTR, LPSTR, DWORD, LONG_PTR);
                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:798:78: error: 'DWORD' was not declared in this scope
   typedef WINBOOL (CALLBACK *LANGUAGEGROUP_ENUMPROCA) (LGRPID, LPSTR, LPSTR, DWORD, LONG_PTR);
                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:798:93: error: expected primary-expression before ')' token
   typedef WINBOOL (CALLBACK *LANGUAGEGROUP_ENUMPROCA) (LGRPID, LPSTR, LPSTR, DWORD, LONG_PTR);
                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:799:58: error: typedef 'LANGGROUPLOCALE_ENUMPROCA' is initialized (use decltype instead)
   typedef WINBOOL (CALLBACK *LANGGROUPLOCALE_ENUMPROCA) (LGRPID, LCID, LPSTR, LONG_PTR);
                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:799:58: error: 'LGRPID' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:799:66: error: 'LCID' was not declared in this scope
   typedef WINBOOL (CALLBACK *LANGGROUPLOCALE_ENUMPROCA) (LGRPID, LCID, LPSTR, LONG_PTR);
                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:799:77: error: expected primary-expression before ',' token
   typedef WINBOOL (CALLBACK *LANGGROUPLOCALE_ENUMPROCA) (LGRPID, LCID, LPSTR, LONG_PTR);
                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:799:87: error: expected primary-expression before ')' token
   typedef WINBOOL (CALLBACK *LANGGROUPLOCALE_ENUMPROCA) (LGRPID, LCID, LPSTR, LONG_PTR);
                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:803:59: error: 'CALID' has not been declared
   typedef WINBOOL (CALLBACK *DATEFMT_ENUMPROCEXA) (LPSTR, CALID);
                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:806:59: error: 'CALID' has not been declared
   typedef WINBOOL (CALLBACK *CALINFO_ENUMPROCEXA) (LPSTR, CALID);
                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:809:56: error: typedef 'LANGUAGEGROUP_ENUMPROCW' is initialized (use decltype instead)
   typedef WINBOOL (CALLBACK *LANGUAGEGROUP_ENUMPROCW) (LGRPID, LPWSTR, LPWSTR, DWORD, LONG_PTR);
                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:809:56: error: 'LGRPID' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:809:70: error: expected primary-expression before ',' token
   typedef WINBOOL (CALLBACK *LANGUAGEGROUP_ENUMPROCW) (LGRPID, LPWSTR, LPWSTR, DWORD, LONG_PTR);
                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:809:78: error: expected primary-expression before ',' token
   typedef WINBOOL (CALLBACK *LANGUAGEGROUP_ENUMPROCW) (LGRPID, LPWSTR, LPWSTR, DWORD, LONG_PTR);
                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:809:80: error: 'DWORD' was not declared in this scope
   typedef WINBOOL (CALLBACK *LANGUAGEGROUP_ENUMPROCW) (LGRPID, LPWSTR, LPWSTR, DWORD, LONG_PTR);
                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:809:95: error: expected primary-expression before ')' token
   typedef WINBOOL (CALLBACK *LANGUAGEGROUP_ENUMPROCW) (LGRPID, LPWSTR, LPWSTR, DWORD, LONG_PTR);
                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:810:58: error: typedef 'LANGGROUPLOCALE_ENUMPROCW' is initialized (use decltype instead)
   typedef WINBOOL (CALLBACK *LANGGROUPLOCALE_ENUMPROCW) (LGRPID, LCID, LPWSTR, LONG_PTR);
                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:810:58: error: 'LGRPID' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:810:66: error: 'LCID' was not declared in this scope
   typedef WINBOOL (CALLBACK *LANGGROUPLOCALE_ENUMPROCW) (LGRPID, LCID, LPWSTR, LONG_PTR);
                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:810:78: error: expected primary-expression before ',' token
   typedef WINBOOL (CALLBACK *LANGGROUPLOCALE_ENUMPROCW) (LGRPID, LCID, LPWSTR, LONG_PTR);
                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:810:88: error: expected primary-expression before ')' token
   typedef WINBOOL (CALLBACK *LANGGROUPLOCALE_ENUMPROCW) (LGRPID, LCID, LPWSTR, LONG_PTR);
                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:814:60: error: 'CALID' has not been declared
   typedef WINBOOL (CALLBACK *DATEFMT_ENUMPROCEXW) (LPWSTR, CALID);
                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:817:60: error: 'CALID' has not been declared
   typedef WINBOOL (CALLBACK *CALINFO_ENUMPROCEXW) (LPWSTR, CALID);
                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:818:50: error: typedef 'GEO_ENUMPROC' is initialized (use decltype instead)
   typedef WINBOOL (CALLBACK *GEO_ENUMPROC) (GEOID);
                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:818:45: error: 'GEOID' was not declared in this scope
   typedef WINBOOL (CALLBACK *GEO_ENUMPROC) (GEOID);
                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:870:5: error: 'DWORD' does not name a type
     DWORD dwSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:871:5: error: 'DWORD' does not name a type
     DWORD dwVersion;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:872:5: error: 'DWORD' does not name a type
     DWORD dwFileType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:875:5: error: 'DWORD' does not name a type
     DWORD dwLanguageNameOffset;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:876:5: error: 'DWORD' does not name a type
     DWORD dwTypeIDMainSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:877:5: error: 'DWORD' does not name a type
     DWORD dwTypeIDMainOffset;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:878:5: error: 'DWORD' does not name a type
     DWORD dwTypeNameMainOffset;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:879:5: error: 'DWORD' does not name a type
     DWORD dwTypeIDMUISize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:880:5: error: 'DWORD' does not name a type
     DWORD dwTypeIDMUIOffset;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:881:5: error: 'DWORD' does not name a type
     DWORD dwTypeNameMUIOffset;
     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:886:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:73,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/stringapiset.h:19:41: error: definition of 'int CompareStringW' is marked 'dllimport'
   WINBASEAPI int WINAPI CompareStringW (LCID Locale, DWORD dwCmpFlags, PCNZWCH lpString1, int cchCount1, PCNZWCH lpString2, int cchCount2);
                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/stringapiset.h:19:41: error: 'LCID' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/stringapiset.h:19:54: error: 'DWORD' was not declared in this scope
   WINBASEAPI int WINAPI CompareStringW (LCID Locale, DWORD dwCmpFlags, PCNZWCH lpString1, int cchCount1, PCNZWCH lpString2, int cchCount2);
                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/stringapiset.h:19:80: error: expected primary-expression before 'lpString1'
   WINBASEAPI int WINAPI CompareStringW (LCID Locale, DWORD dwCmpFlags, PCNZWCH lpString1, int cchCount1, PCNZWCH lpString2, int cchCount2);
                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/stringapiset.h:19:91: error: expected primary-expression before 'int'
   WINBASEAPI int WINAPI CompareStringW (LCID Locale, DWORD dwCmpFlags, PCNZWCH lpString1, int cchCount1, PCNZWCH lpString2, int cchCount2);
                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/stringapiset.h:19:114: error: expected primary-expression before 'lpString2'
   WINBASEAPI int WINAPI CompareStringW (LCID Locale, DWORD dwCmpFlags, PCNZWCH lpString1, int cchCount1, PCNZWCH lpString2, int cchCount2);
                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/stringapiset.h:19:125: error: expected primary-expression before 'int'
   WINBASEAPI int WINAPI CompareStringW (LCID Locale, DWORD dwCmpFlags, PCNZWCH lpString1, int cchCount1, PCNZWCH lpString2, int cchCount2);
                                                                                                                             ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:886:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:73,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/stringapiset.h:19:138: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI int WINAPI CompareStringW (LCID Locale, DWORD dwCmpFlags, PCNZWCH lpString1, int cchCount1, PCNZWCH lpString2, int cchCount2);
                                                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/stringapiset.h:20:38: error: definition of 'int FoldStringW' is marked 'dllimport'
   WINBASEAPI int WINAPI FoldStringW (DWORD dwMapFlags, LPCWCH lpSrcStr, int cchSrc, LPWSTR lpDestStr, int cchDest);
                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/stringapiset.h:20:38: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/stringapiset.h:20:63: error: expected primary-expression before 'lpSrcStr'
   WINBASEAPI int WINAPI FoldStringW (DWORD dwMapFlags, LPCWCH lpSrcStr, int cchSrc, LPWSTR lpDestStr, int cchDest);
                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/stringapiset.h:20:73: error: expected primary-expression before 'int'
   WINBASEAPI int WINAPI FoldStringW (DWORD dwMapFlags, LPCWCH lpSrcStr, int cchSrc, LPWSTR lpDestStr, int cchDest);
                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/stringapiset.h:20:92: error: expected primary-expression before 'lpDestStr'
   WINBASEAPI int WINAPI FoldStringW (DWORD dwMapFlags, LPCWCH lpSrcStr, int cchSrc, LPWSTR lpDestStr, int cchDest);
                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/stringapiset.h:20:103: error: expected primary-expression before 'int'
   WINBASEAPI int WINAPI FoldStringW (DWORD dwMapFlags, LPCWCH lpSrcStr, int cchSrc, LPWSTR lpDestStr, int cchDest);
                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/stringapiset.h:20:114: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI int WINAPI FoldStringW (DWORD dwMapFlags, LPCWCH lpSrcStr, int cchSrc, LPWSTR lpDestStr, int cchDest);
                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/stringapiset.h:30:47: error: definition of 'WINBOOL GetStringTypeExW' is marked 'dllimport'
   WINBASEAPI WINBOOL WINAPI GetStringTypeExW (LCID Locale, DWORD dwInfoType, LPCWCH lpSrcStr, int cchSrc, LPWORD lpCharType);
                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/stringapiset.h:30:47: error: 'LCID' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/stringapiset.h:30:60: error: 'DWORD' was not declared in this scope
   WINBASEAPI WINBOOL WINAPI GetStringTypeExW (LCID Locale, DWORD dwInfoType, LPCWCH lpSrcStr, int cchSrc, LPWORD lpCharType);
                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/stringapiset.h:30:85: error: expected primary-expression before 'lpSrcStr'
   WINBASEAPI WINBOOL WINAPI GetStringTypeExW (LCID Locale, DWORD dwInfoType, LPCWCH lpSrcStr, int cchSrc, LPWORD lpCharType);
                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/stringapiset.h:30:95: error: expected primary-expression before 'int'
   WINBASEAPI WINBOOL WINAPI GetStringTypeExW (LCID Locale, DWORD dwInfoType, LPCWCH lpSrcStr, int cchSrc, LPWORD lpCharType);
                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/stringapiset.h:30:114: error: expected primary-expression before 'lpCharType'
   WINBASEAPI WINBOOL WINAPI GetStringTypeExW (LCID Locale, DWORD dwInfoType, LPCWCH lpSrcStr, int cchSrc, LPWORD lpCharType);
                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/stringapiset.h:30:124: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI WINBOOL WINAPI GetStringTypeExW (LCID Locale, DWORD dwInfoType, LPCWCH lpSrcStr, int cchSrc, LPWORD lpCharType);
                                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/stringapiset.h:40:45: error: definition of 'WINBOOL GetStringTypeW' is marked 'dllimport'
   WINBASEAPI WINBOOL WINAPI GetStringTypeW (DWORD dwInfoType, LPCWCH lpSrcStr, int cchSrc, LPWORD lpCharType);
                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/stringapiset.h:40:45: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/stringapiset.h:40:70: error: expected primary-expression before 'lpSrcStr'
   WINBASEAPI WINBOOL WINAPI GetStringTypeW (DWORD dwInfoType, LPCWCH lpSrcStr, int cchSrc, LPWORD lpCharType);
                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/stringapiset.h:40:80: error: expected primary-expression before 'int'
   WINBASEAPI WINBOOL WINAPI GetStringTypeW (DWORD dwInfoType, LPCWCH lpSrcStr, int cchSrc, LPWORD lpCharType);
                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/stringapiset.h:40:99: error: expected primary-expression before 'lpCharType'
   WINBASEAPI WINBOOL WINAPI GetStringTypeW (DWORD dwInfoType, LPCWCH lpSrcStr, int cchSrc, LPWORD lpCharType);
                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/stringapiset.h:40:109: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI WINBOOL WINAPI GetStringTypeW (DWORD dwInfoType, LPCWCH lpSrcStr, int cchSrc, LPWORD lpCharType);
                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/stringapiset.h:41:61: error: 'DWORD' has not been declared
   WINBASEAPI int WINAPI MultiByteToWideChar (UINT CodePage, DWORD dwFlags, LPCCH lpMultiByteStr, int cbMultiByte, LPWSTR lpWideCharStr, int cchWideChar);
                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/stringapiset.h:42:61: error: 'DWORD' has not been declared
   WINBASEAPI int WINAPI WideCharToMultiByte (UINT CodePage, DWORD dwFlags, LPCWCH lpWideCharStr, int cchWideChar, LPSTR lpMultiByteStr, int cbMultiByte, LPCCH lpDefaultChar, LPBOOL lpUsedDefaultChar);
                                                             ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:73:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:907:41: error: definition of 'int CompareStringA' is marked 'dllimport'
   WINBASEAPI int WINAPI CompareStringA (LCID Locale, DWORD dwCmpFlags, PCNZCH lpString1, int cchCount1, PCNZCH lpString2, int cchCount2);
                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:907:41: error: 'LCID' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:907:54: error: 'DWORD' was not declared in this scope
   WINBASEAPI int WINAPI CompareStringA (LCID Locale, DWORD dwCmpFlags, PCNZCH lpString1, int cchCount1, PCNZCH lpString2, int cchCount2);
                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:907:79: error: expected primary-expression before 'lpString1'
   WINBASEAPI int WINAPI CompareStringA (LCID Locale, DWORD dwCmpFlags, PCNZCH lpString1, int cchCount1, PCNZCH lpString2, int cchCount2);
                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:907:90: error: expected primary-expression before 'int'
   WINBASEAPI int WINAPI CompareStringA (LCID Locale, DWORD dwCmpFlags, PCNZCH lpString1, int cchCount1, PCNZCH lpString2, int cchCount2);
                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:907:112: error: expected primary-expression before 'lpString2'
   WINBASEAPI int WINAPI CompareStringA (LCID Locale, DWORD dwCmpFlags, PCNZCH lpString1, int cchCount1, PCNZCH lpString2, int cchCount2);
                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:907:123: error: expected primary-expression before 'int'
   WINBASEAPI int WINAPI CompareStringA (LCID Locale, DWORD dwCmpFlags, PCNZCH lpString1, int cchCount1, PCNZCH lpString2, int cchCount2);
                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:907:136: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI int WINAPI CompareStringA (LCID Locale, DWORD dwCmpFlags, PCNZCH lpString1, int cchCount1, PCNZCH lpString2, int cchCount2);
                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:908:39: error: definition of 'int LCMapStringW' is marked 'dllimport'
   WINBASEAPI int WINAPI LCMapStringW (LCID Locale, DWORD dwMapFlags, LPCWSTR lpSrcStr, int cchSrc, LPWSTR lpDestStr, int cchDest);
                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:908:39: error: 'LCID' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:908:52: error: 'DWORD' was not declared in this scope
   WINBASEAPI int WINAPI LCMapStringW (LCID Locale, DWORD dwMapFlags, LPCWSTR lpSrcStr, int cchSrc, LPWSTR lpDestStr, int cchDest);
                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:908:78: error: expected primary-expression before 'lpSrcStr'
   WINBASEAPI int WINAPI LCMapStringW (LCID Locale, DWORD dwMapFlags, LPCWSTR lpSrcStr, int cchSrc, LPWSTR lpDestStr, int cchDest);
                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:908:88: error: expected primary-expression before 'int'
   WINBASEAPI int WINAPI LCMapStringW (LCID Locale, DWORD dwMapFlags, LPCWSTR lpSrcStr, int cchSrc, LPWSTR lpDestStr, int cchDest);
                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:908:107: error: expected primary-expression before 'lpDestStr'
   WINBASEAPI int WINAPI LCMapStringW (LCID Locale, DWORD dwMapFlags, LPCWSTR lpSrcStr, int cchSrc, LPWSTR lpDestStr, int cchDest);
                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:908:118: error: expected primary-expression before 'int'
   WINBASEAPI int WINAPI LCMapStringW (LCID Locale, DWORD dwMapFlags, LPCWSTR lpSrcStr, int cchSrc, LPWSTR lpDestStr, int cchDest);
                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:908:129: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI int WINAPI LCMapStringW (LCID Locale, DWORD dwMapFlags, LPCWSTR lpSrcStr, int cchSrc, LPWSTR lpDestStr, int cchDest);
                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:909:39: error: definition of 'int LCMapStringA' is marked 'dllimport'
   WINBASEAPI int WINAPI LCMapStringA (LCID Locale, DWORD dwMapFlags, LPCSTR lpSrcStr, int cchSrc, LPSTR lpDestStr, int cchDest);
                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:909:39: error: 'LCID' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:909:52: error: 'DWORD' was not declared in this scope
   WINBASEAPI int WINAPI LCMapStringA (LCID Locale, DWORD dwMapFlags, LPCSTR lpSrcStr, int cchSrc, LPSTR lpDestStr, int cchDest);
                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:909:77: error: expected primary-expression before 'lpSrcStr'
   WINBASEAPI int WINAPI LCMapStringA (LCID Locale, DWORD dwMapFlags, LPCSTR lpSrcStr, int cchSrc, LPSTR lpDestStr, int cchDest);
                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:909:87: error: expected primary-expression before 'int'
   WINBASEAPI int WINAPI LCMapStringA (LCID Locale, DWORD dwMapFlags, LPCSTR lpSrcStr, int cchSrc, LPSTR lpDestStr, int cchDest);
                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:909:105: error: expected primary-expression before 'lpDestStr'
   WINBASEAPI int WINAPI LCMapStringA (LCID Locale, DWORD dwMapFlags, LPCSTR lpSrcStr, int cchSrc, LPSTR lpDestStr, int cchDest);
                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:909:116: error: expected primary-expression before 'int'
   WINBASEAPI int WINAPI LCMapStringA (LCID Locale, DWORD dwMapFlags, LPCSTR lpSrcStr, int cchSrc, LPSTR lpDestStr, int cchDest);
                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:909:127: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI int WINAPI LCMapStringA (LCID Locale, DWORD dwMapFlags, LPCSTR lpSrcStr, int cchSrc, LPSTR lpDestStr, int cchDest);
                                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:910:41: error: definition of 'int GetLocaleInfoW' is marked 'dllimport'
   WINBASEAPI int WINAPI GetLocaleInfoW (LCID Locale, LCTYPE LCType, LPWSTR lpLCData, int cchData);
                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:910:41: error: 'LCID' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:910:54: error: 'LCTYPE' was not declared in this scope
   WINBASEAPI int WINAPI GetLocaleInfoW (LCID Locale, LCTYPE LCType, LPWSTR lpLCData, int cchData);
                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:910:76: error: expected primary-expression before 'lpLCData'
   WINBASEAPI int WINAPI GetLocaleInfoW (LCID Locale, LCTYPE LCType, LPWSTR lpLCData, int cchData);
                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:910:86: error: expected primary-expression before 'int'
   WINBASEAPI int WINAPI GetLocaleInfoW (LCID Locale, LCTYPE LCType, LPWSTR lpLCData, int cchData);
                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:910:97: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI int WINAPI GetLocaleInfoW (LCID Locale, LCTYPE LCType, LPWSTR lpLCData, int cchData);
                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:911:41: error: definition of 'int GetLocaleInfoA' is marked 'dllimport'
   WINBASEAPI int WINAPI GetLocaleInfoA (LCID Locale, LCTYPE LCType, LPSTR lpLCData, int cchData);
                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:911:41: error: 'LCID' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:911:54: error: 'LCTYPE' was not declared in this scope
   WINBASEAPI int WINAPI GetLocaleInfoA (LCID Locale, LCTYPE LCType, LPSTR lpLCData, int cchData);
                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:911:75: error: expected primary-expression before 'lpLCData'
   WINBASEAPI int WINAPI GetLocaleInfoA (LCID Locale, LCTYPE LCType, LPSTR lpLCData, int cchData);
                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:911:85: error: expected primary-expression before 'int'
   WINBASEAPI int WINAPI GetLocaleInfoA (LCID Locale, LCTYPE LCType, LPSTR lpLCData, int cchData);
                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:911:96: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI int WINAPI GetLocaleInfoA (LCID Locale, LCTYPE LCType, LPSTR lpLCData, int cchData);
                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:914:43: error: definition of 'int GetNumberFormatA' is marked 'dllimport'
   WINBASEAPI int WINAPI GetNumberFormatA (LCID Locale, DWORD dwFlags, LPCSTR lpValue, CONST NUMBERFMTA *lpFormat, LPSTR lpNumberStr, int cchNumber);
                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:914:43: error: 'LCID' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:914:56: error: 'DWORD' was not declared in this scope
   WINBASEAPI int WINAPI GetNumberFormatA (LCID Locale, DWORD dwFlags, LPCSTR lpValue, CONST NUMBERFMTA *lpFormat, LPSTR lpNumberStr, int cchNumber);
                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:914:78: error: expected primary-expression before 'lpValue'
   WINBASEAPI int WINAPI GetNumberFormatA (LCID Locale, DWORD dwFlags, LPCSTR lpValue, CONST NUMBERFMTA *lpFormat, LPSTR lpNumberStr, int cchNumber);
                                                                              ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:914:87: error: expected primary-expression before 'const'
   WINBASEAPI int WINAPI GetNumberFormatA (LCID Locale, DWORD dwFlags, LPCSTR lpValue, CONST NUMBERFMTA *lpFormat, LPSTR lpNumberStr, int cchNumber);
                                                                                       ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:73:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:914:121: error: expected primary-expression before 'lpNumberStr'
   WINBASEAPI int WINAPI GetNumberFormatA (LCID Locale, DWORD dwFlags, LPCSTR lpValue, CONST NUMBERFMTA *lpFormat, LPSTR lpNumberStr, int cchNumber);
                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:914:134: error: expected primary-expression before 'int'
   WINBASEAPI int WINAPI GetNumberFormatA (LCID Locale, DWORD dwFlags, LPCSTR lpValue, CONST NUMBERFMTA *lpFormat, LPSTR lpNumberStr, int cchNumber);
                                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:914:147: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI int WINAPI GetNumberFormatA (LCID Locale, DWORD dwFlags, LPCSTR lpValue, CONST NUMBERFMTA *lpFormat, LPSTR lpNumberStr, int cchNumber);
                                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:915:43: error: definition of 'int GetNumberFormatW' is marked 'dllimport'
   WINBASEAPI int WINAPI GetNumberFormatW (LCID Locale, DWORD dwFlags, LPCWSTR lpValue, CONST NUMBERFMTW *lpFormat, LPWSTR lpNumberStr, int cchNumber);
                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:915:43: error: 'LCID' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:915:56: error: 'DWORD' was not declared in this scope
   WINBASEAPI int WINAPI GetNumberFormatW (LCID Locale, DWORD dwFlags, LPCWSTR lpValue, CONST NUMBERFMTW *lpFormat, LPWSTR lpNumberStr, int cchNumber);
                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:915:79: error: expected primary-expression before 'lpValue'
   WINBASEAPI int WINAPI GetNumberFormatW (LCID Locale, DWORD dwFlags, LPCWSTR lpValue, CONST NUMBERFMTW *lpFormat, LPWSTR lpNumberStr, int cchNumber);
                                                                               ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:915:88: error: expected primary-expression before 'const'
   WINBASEAPI int WINAPI GetNumberFormatW (LCID Locale, DWORD dwFlags, LPCWSTR lpValue, CONST NUMBERFMTW *lpFormat, LPWSTR lpNumberStr, int cchNumber);
                                                                                        ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:73:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:915:123: error: expected primary-expression before 'lpNumberStr'
   WINBASEAPI int WINAPI GetNumberFormatW (LCID Locale, DWORD dwFlags, LPCWSTR lpValue, CONST NUMBERFMTW *lpFormat, LPWSTR lpNumberStr, int cchNumber);
                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:915:136: error: expected primary-expression before 'int'
   WINBASEAPI int WINAPI GetNumberFormatW (LCID Locale, DWORD dwFlags, LPCWSTR lpValue, CONST NUMBERFMTW *lpFormat, LPWSTR lpNumberStr, int cchNumber);
                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:915:149: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI int WINAPI GetNumberFormatW (LCID Locale, DWORD dwFlags, LPCWSTR lpValue, CONST NUMBERFMTW *lpFormat, LPWSTR lpNumberStr, int cchNumber);
                                                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:916:45: error: definition of 'int GetCurrencyFormatA' is marked 'dllimport'
   WINBASEAPI int WINAPI GetCurrencyFormatA (LCID Locale, DWORD dwFlags, LPCSTR lpValue, CONST CURRENCYFMTA *lpFormat, LPSTR lpCurrencyStr, int cchCurrency);
                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:916:45: error: 'LCID' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:916:58: error: 'DWORD' was not declared in this scope
   WINBASEAPI int WINAPI GetCurrencyFormatA (LCID Locale, DWORD dwFlags, LPCSTR lpValue, CONST CURRENCYFMTA *lpFormat, LPSTR lpCurrencyStr, int cchCurrency);
                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:916:80: error: expected primary-expression before 'lpValue'
   WINBASEAPI int WINAPI GetCurrencyFormatA (LCID Locale, DWORD dwFlags, LPCSTR lpValue, CONST CURRENCYFMTA *lpFormat, LPSTR lpCurrencyStr, int cchCurrency);
                                                                                ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:916:89: error: expected primary-expression before 'const'
   WINBASEAPI int WINAPI GetCurrencyFormatA (LCID Locale, DWORD dwFlags, LPCSTR lpValue, CONST CURRENCYFMTA *lpFormat, LPSTR lpCurrencyStr, int cchCurrency);
                                                                                         ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:73:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:916:125: error: expected primary-expression before 'lpCurrencyStr'
   WINBASEAPI int WINAPI GetCurrencyFormatA (LCID Locale, DWORD dwFlags, LPCSTR lpValue, CONST CURRENCYFMTA *lpFormat, LPSTR lpCurrencyStr, int cchCurrency);
                                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:916:140: error: expected primary-expression before 'int'
   WINBASEAPI int WINAPI GetCurrencyFormatA (LCID Locale, DWORD dwFlags, LPCSTR lpValue, CONST CURRENCYFMTA *lpFormat, LPSTR lpCurrencyStr, int cchCurrency);
                                                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:916:155: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI int WINAPI GetCurrencyFormatA (LCID Locale, DWORD dwFlags, LPCSTR lpValue, CONST CURRENCYFMTA *lpFormat, LPSTR lpCurrencyStr, int cchCurrency);
                                                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:917:45: error: definition of 'int GetCurrencyFormatW' is marked 'dllimport'
   WINBASEAPI int WINAPI GetCurrencyFormatW (LCID Locale, DWORD dwFlags, LPCWSTR lpValue, CONST CURRENCYFMTW *lpFormat, LPWSTR lpCurrencyStr, int cchCurrency);
                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:917:45: error: 'LCID' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:917:58: error: 'DWORD' was not declared in this scope
   WINBASEAPI int WINAPI GetCurrencyFormatW (LCID Locale, DWORD dwFlags, LPCWSTR lpValue, CONST CURRENCYFMTW *lpFormat, LPWSTR lpCurrencyStr, int cchCurrency);
                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:917:81: error: expected primary-expression before 'lpValue'
   WINBASEAPI int WINAPI GetCurrencyFormatW (LCID Locale, DWORD dwFlags, LPCWSTR lpValue, CONST CURRENCYFMTW *lpFormat, LPWSTR lpCurrencyStr, int cchCurrency);
                                                                                 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:917:90: error: expected primary-expression before 'const'
   WINBASEAPI int WINAPI GetCurrencyFormatW (LCID Locale, DWORD dwFlags, LPCWSTR lpValue, CONST CURRENCYFMTW *lpFormat, LPWSTR lpCurrencyStr, int cchCurrency);
                                                                                          ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:73:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:917:127: error: expected primary-expression before 'lpCurrencyStr'
   WINBASEAPI int WINAPI GetCurrencyFormatW (LCID Locale, DWORD dwFlags, LPCWSTR lpValue, CONST CURRENCYFMTW *lpFormat, LPWSTR lpCurrencyStr, int cchCurrency);
                                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:917:142: error: expected primary-expression before 'int'
   WINBASEAPI int WINAPI GetCurrencyFormatW (LCID Locale, DWORD dwFlags, LPCWSTR lpValue, CONST CURRENCYFMTW *lpFormat, LPWSTR lpCurrencyStr, int cchCurrency);
                                                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:917:157: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI int WINAPI GetCurrencyFormatW (LCID Locale, DWORD dwFlags, LPCWSTR lpValue, CONST CURRENCYFMTW *lpFormat, LPWSTR lpCurrencyStr, int cchCurrency);
                                                                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:918:85: error: 'LCID' has not been declared
   WINBASEAPI WINBOOL WINAPI EnumCalendarInfoA (CALINFO_ENUMPROCA lpCalInfoEnumProc, LCID Locale, CALID Calendar, CALTYPE CalType);
                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:918:98: error: 'CALID' has not been declared
   WINBASEAPI WINBOOL WINAPI EnumCalendarInfoA (CALINFO_ENUMPROCA lpCalInfoEnumProc, LCID Locale, CALID Calendar, CALTYPE CalType);
                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:918:114: error: 'CALTYPE' has not been declared
   WINBASEAPI WINBOOL WINAPI EnumCalendarInfoA (CALINFO_ENUMPROCA lpCalInfoEnumProc, LCID Locale, CALID Calendar, CALTYPE CalType);
                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:919:85: error: 'LCID' has not been declared
   WINBASEAPI WINBOOL WINAPI EnumCalendarInfoW (CALINFO_ENUMPROCW lpCalInfoEnumProc, LCID Locale, CALID Calendar, CALTYPE CalType);
                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:919:98: error: 'CALID' has not been declared
   WINBASEAPI WINBOOL WINAPI EnumCalendarInfoW (CALINFO_ENUMPROCW lpCalInfoEnumProc, LCID Locale, CALID Calendar, CALTYPE CalType);
                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:919:114: error: 'CALTYPE' has not been declared
   WINBASEAPI WINBOOL WINAPI EnumCalendarInfoW (CALINFO_ENUMPROCW lpCalInfoEnumProc, LCID Locale, CALID Calendar, CALTYPE CalType);
                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:920:91: error: 'LCID' has not been declared
   WINBASEAPI WINBOOL WINAPI EnumCalendarInfoExA (CALINFO_ENUMPROCEXA lpCalInfoEnumProcEx, LCID Locale, CALID Calendar, CALTYPE CalType);
                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:920:104: error: 'CALID' has not been declared
   WINBASEAPI WINBOOL WINAPI EnumCalendarInfoExA (CALINFO_ENUMPROCEXA lpCalInfoEnumProcEx, LCID Locale, CALID Calendar, CALTYPE CalType);
                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:920:120: error: 'CALTYPE' has not been declared
   WINBASEAPI WINBOOL WINAPI EnumCalendarInfoExA (CALINFO_ENUMPROCEXA lpCalInfoEnumProcEx, LCID Locale, CALID Calendar, CALTYPE CalType);
                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:921:91: error: 'LCID' has not been declared
   WINBASEAPI WINBOOL WINAPI EnumCalendarInfoExW (CALINFO_ENUMPROCEXW lpCalInfoEnumProcEx, LCID Locale, CALID Calendar, CALTYPE CalType);
                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:921:104: error: 'CALID' has not been declared
   WINBASEAPI WINBOOL WINAPI EnumCalendarInfoExW (CALINFO_ENUMPROCEXW lpCalInfoEnumProcEx, LCID Locale, CALID Calendar, CALTYPE CalType);
                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:921:120: error: 'CALTYPE' has not been declared
   WINBASEAPI WINBOOL WINAPI EnumCalendarInfoExW (CALINFO_ENUMPROCEXW lpCalInfoEnumProcEx, LCID Locale, CALID Calendar, CALTYPE CalType);
                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:922:84: error: 'LCID' has not been declared
   WINBASEAPI WINBOOL WINAPI EnumTimeFormatsA (TIMEFMT_ENUMPROCA lpTimeFmtEnumProc, LCID Locale, DWORD dwFlags);
                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:922:97: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI EnumTimeFormatsA (TIMEFMT_ENUMPROCA lpTimeFmtEnumProc, LCID Locale, DWORD dwFlags);
                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:923:84: error: 'LCID' has not been declared
   WINBASEAPI WINBOOL WINAPI EnumTimeFormatsW (TIMEFMT_ENUMPROCW lpTimeFmtEnumProc, LCID Locale, DWORD dwFlags);
                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:923:97: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI EnumTimeFormatsW (TIMEFMT_ENUMPROCW lpTimeFmtEnumProc, LCID Locale, DWORD dwFlags);
                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:924:84: error: 'LCID' has not been declared
   WINBASEAPI WINBOOL WINAPI EnumDateFormatsA (DATEFMT_ENUMPROCA lpDateFmtEnumProc, LCID Locale, DWORD dwFlags);
                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:924:97: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI EnumDateFormatsA (DATEFMT_ENUMPROCA lpDateFmtEnumProc, LCID Locale, DWORD dwFlags);
                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:925:84: error: 'LCID' has not been declared
   WINBASEAPI WINBOOL WINAPI EnumDateFormatsW (DATEFMT_ENUMPROCW lpDateFmtEnumProc, LCID Locale, DWORD dwFlags);
                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:925:97: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI EnumDateFormatsW (DATEFMT_ENUMPROCW lpDateFmtEnumProc, LCID Locale, DWORD dwFlags);
                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:926:90: error: 'LCID' has not been declared
   WINBASEAPI WINBOOL WINAPI EnumDateFormatsExA (DATEFMT_ENUMPROCEXA lpDateFmtEnumProcEx, LCID Locale, DWORD dwFlags);
                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:926:103: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI EnumDateFormatsExA (DATEFMT_ENUMPROCEXA lpDateFmtEnumProcEx, LCID Locale, DWORD dwFlags);
                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:927:90: error: 'LCID' has not been declared
   WINBASEAPI WINBOOL WINAPI EnumDateFormatsExW (DATEFMT_ENUMPROCEXW lpDateFmtEnumProcEx, LCID Locale, DWORD dwFlags);
                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:927:103: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI EnumDateFormatsExW (DATEFMT_ENUMPROCEXW lpDateFmtEnumProcEx, LCID Locale, DWORD dwFlags);
                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:928:51: error: definition of 'WINBOOL IsValidLanguageGroup' is marked 'dllimport'
   WINBASEAPI WINBOOL WINAPI IsValidLanguageGroup (LGRPID LanguageGroup, DWORD dwFlags);
                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:928:51: error: 'LGRPID' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:928:73: error: 'DWORD' was not declared in this scope
   WINBASEAPI WINBOOL WINAPI IsValidLanguageGroup (LGRPID LanguageGroup, DWORD dwFlags);
                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:928:86: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI WINBOOL WINAPI IsValidLanguageGroup (LGRPID LanguageGroup, DWORD dwFlags);
                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:929:44: error: definition of 'WINBOOL GetNLSVersion' is marked 'dllimport'
   WINBASEAPI WINBOOL WINAPI GetNLSVersion (NLS_FUNCTION Function, LCID Locale, LPNLSVERSIONINFO lpVersionInformation);
                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:929:44: error: 'NLS_FUNCTION' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:929:67: error: 'LCID' was not declared in this scope
   WINBASEAPI WINBOOL WINAPI GetNLSVersion (NLS_FUNCTION Function, LCID Locale, LPNLSVERSIONINFO lpVersionInformation);
                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:929:97: error: expected primary-expression before 'lpVersionInformation'
   WINBASEAPI WINBOOL WINAPI GetNLSVersion (NLS_FUNCTION Function, LCID Locale, LPNLSVERSIONINFO lpVersionInformation);
                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:929:117: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI WINBOOL WINAPI GetNLSVersion (NLS_FUNCTION Function, LCID Locale, LPNLSVERSIONINFO lpVersionInformation);
                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:930:49: error: definition of 'WINBOOL IsNLSDefinedString' is marked 'dllimport'
   WINBASEAPI WINBOOL WINAPI IsNLSDefinedString (NLS_FUNCTION Function, DWORD dwFlags, LPNLSVERSIONINFO lpVersionInformation, LPCWSTR lpString, INT cchStr);
                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:930:49: error: 'NLS_FUNCTION' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:930:72: error: 'DWORD' was not declared in this scope
   WINBASEAPI WINBOOL WINAPI IsNLSDefinedString (NLS_FUNCTION Function, DWORD dwFlags, LPNLSVERSIONINFO lpVersionInformation, LPCWSTR lpString, INT cchStr);
                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:930:104: error: expected primary-expression before 'lpVersionInformation'
   WINBASEAPI WINBOOL WINAPI IsNLSDefinedString (NLS_FUNCTION Function, DWORD dwFlags, LPNLSVERSIONINFO lpVersionInformation, LPCWSTR lpString, INT cchStr);
                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:930:134: error: expected primary-expression before 'lpString'
   WINBASEAPI WINBOOL WINAPI IsNLSDefinedString (NLS_FUNCTION Function, DWORD dwFlags, LPNLSVERSIONINFO lpVersionInformation, LPCWSTR lpString, INT cchStr);
                                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:930:148: error: expected primary-expression before 'cchStr'
   WINBASEAPI WINBOOL WINAPI IsNLSDefinedString (NLS_FUNCTION Function, DWORD dwFlags, LPNLSVERSIONINFO lpVersionInformation, LPCWSTR lpString, INT cchStr);
                                                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:930:154: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI WINBOOL WINAPI IsNLSDefinedString (NLS_FUNCTION Function, DWORD dwFlags, LPNLSVERSIONINFO lpVersionInformation, LPCWSTR lpString, INT cchStr);
                                                                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:931:44: error: definition of 'WINBOOL IsValidLocale' is marked 'dllimport'
   WINBASEAPI WINBOOL WINAPI IsValidLocale (LCID Locale, DWORD dwFlags);
                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:931:44: error: 'LCID' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:931:57: error: 'DWORD' was not declared in this scope
   WINBASEAPI WINBOOL WINAPI IsValidLocale (LCID Locale, DWORD dwFlags);
                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:931:70: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI WINBOOL WINAPI IsValidLocale (LCID Locale, DWORD dwFlags);
                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:932:45: error: definition of 'WINBOOL SetLocaleInfoA' is marked 'dllimport'
   WINBASEAPI WINBOOL WINAPI SetLocaleInfoA (LCID Locale, LCTYPE LCType, LPCSTR lpLCData);
                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:932:45: error: 'LCID' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:932:58: error: 'LCTYPE' was not declared in this scope
   WINBASEAPI WINBOOL WINAPI SetLocaleInfoA (LCID Locale, LCTYPE LCType, LPCSTR lpLCData);
                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:932:80: error: expected primary-expression before 'lpLCData'
   WINBASEAPI WINBOOL WINAPI SetLocaleInfoA (LCID Locale, LCTYPE LCType, LPCSTR lpLCData);
                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:932:88: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI WINBOOL WINAPI SetLocaleInfoA (LCID Locale, LCTYPE LCType, LPCSTR lpLCData);
                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:933:45: error: definition of 'WINBOOL SetLocaleInfoW' is marked 'dllimport'
   WINBASEAPI WINBOOL WINAPI SetLocaleInfoW (LCID Locale, LCTYPE LCType, LPCWSTR lpLCData);
                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:933:45: error: 'LCID' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:933:58: error: 'LCTYPE' was not declared in this scope
   WINBASEAPI WINBOOL WINAPI SetLocaleInfoW (LCID Locale, LCTYPE LCType, LPCWSTR lpLCData);
                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:933:81: error: expected primary-expression before 'lpLCData'
   WINBASEAPI WINBOOL WINAPI SetLocaleInfoW (LCID Locale, LCTYPE LCType, LPCWSTR lpLCData);
                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:933:89: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI WINBOOL WINAPI SetLocaleInfoW (LCID Locale, LCTYPE LCType, LPCWSTR lpLCData);
                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:934:43: error: definition of 'int GetCalendarInfoA' is marked 'dllimport'
   WINBASEAPI int WINAPI GetCalendarInfoA (LCID Locale, CALID Calendar, CALTYPE CalType, LPSTR lpCalData, int cchData, LPDWORD lpValue);
                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:934:43: error: 'LCID' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:934:56: error: 'CALID' was not declared in this scope
   WINBASEAPI int WINAPI GetCalendarInfoA (LCID Locale, CALID Calendar, CALTYPE CalType, LPSTR lpCalData, int cchData, LPDWORD lpValue);
                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:934:72: error: 'CALTYPE' was not declared in this scope
   WINBASEAPI int WINAPI GetCalendarInfoA (LCID Locale, CALID Calendar, CALTYPE CalType, LPSTR lpCalData, int cchData, LPDWORD lpValue);
                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:934:95: error: expected primary-expression before 'lpCalData'
   WINBASEAPI int WINAPI GetCalendarInfoA (LCID Locale, CALID Calendar, CALTYPE CalType, LPSTR lpCalData, int cchData, LPDWORD lpValue);
                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:934:106: error: expected primary-expression before 'int'
   WINBASEAPI int WINAPI GetCalendarInfoA (LCID Locale, CALID Calendar, CALTYPE CalType, LPSTR lpCalData, int cchData, LPDWORD lpValue);
                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:934:119: error: 'LPDWORD' was not declared in this scope
   WINBASEAPI int WINAPI GetCalendarInfoA (LCID Locale, CALID Calendar, CALTYPE CalType, LPSTR lpCalData, int cchData, LPDWORD lpValue);
                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:934:134: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI int WINAPI GetCalendarInfoA (LCID Locale, CALID Calendar, CALTYPE CalType, LPSTR lpCalData, int cchData, LPDWORD lpValue);
                                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:935:43: error: definition of 'int GetCalendarInfoW' is marked 'dllimport'
   WINBASEAPI int WINAPI GetCalendarInfoW (LCID Locale, CALID Calendar, CALTYPE CalType, LPWSTR lpCalData, int cchData, LPDWORD lpValue);
                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:935:43: error: 'LCID' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:935:56: error: 'CALID' was not declared in this scope
   WINBASEAPI int WINAPI GetCalendarInfoW (LCID Locale, CALID Calendar, CALTYPE CalType, LPWSTR lpCalData, int cchData, LPDWORD lpValue);
                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:935:72: error: 'CALTYPE' was not declared in this scope
   WINBASEAPI int WINAPI GetCalendarInfoW (LCID Locale, CALID Calendar, CALTYPE CalType, LPWSTR lpCalData, int cchData, LPDWORD lpValue);
                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:935:96: error: expected primary-expression before 'lpCalData'
   WINBASEAPI int WINAPI GetCalendarInfoW (LCID Locale, CALID Calendar, CALTYPE CalType, LPWSTR lpCalData, int cchData, LPDWORD lpValue);
                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:935:107: error: expected primary-expression before 'int'
   WINBASEAPI int WINAPI GetCalendarInfoW (LCID Locale, CALID Calendar, CALTYPE CalType, LPWSTR lpCalData, int cchData, LPDWORD lpValue);
                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:935:120: error: 'LPDWORD' was not declared in this scope
   WINBASEAPI int WINAPI GetCalendarInfoW (LCID Locale, CALID Calendar, CALTYPE CalType, LPWSTR lpCalData, int cchData, LPDWORD lpValue);
                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:935:135: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI int WINAPI GetCalendarInfoW (LCID Locale, CALID Calendar, CALTYPE CalType, LPWSTR lpCalData, int cchData, LPDWORD lpValue);
                                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:936:47: error: definition of 'WINBOOL SetCalendarInfoA' is marked 'dllimport'
   WINBASEAPI WINBOOL WINAPI SetCalendarInfoA (LCID Locale, CALID Calendar, CALTYPE CalType, LPCSTR lpCalData);
                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:936:47: error: 'LCID' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:936:60: error: 'CALID' was not declared in this scope
   WINBASEAPI WINBOOL WINAPI SetCalendarInfoA (LCID Locale, CALID Calendar, CALTYPE CalType, LPCSTR lpCalData);
                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:936:76: error: 'CALTYPE' was not declared in this scope
   WINBASEAPI WINBOOL WINAPI SetCalendarInfoA (LCID Locale, CALID Calendar, CALTYPE CalType, LPCSTR lpCalData);
                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:936:100: error: expected primary-expression before 'lpCalData'
   WINBASEAPI WINBOOL WINAPI SetCalendarInfoA (LCID Locale, CALID Calendar, CALTYPE CalType, LPCSTR lpCalData);
                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:936:109: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI WINBOOL WINAPI SetCalendarInfoA (LCID Locale, CALID Calendar, CALTYPE CalType, LPCSTR lpCalData);
                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:937:47: error: definition of 'WINBOOL SetCalendarInfoW' is marked 'dllimport'
   WINBASEAPI WINBOOL WINAPI SetCalendarInfoW (LCID Locale, CALID Calendar, CALTYPE CalType, LPCWSTR lpCalData);
                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:937:47: error: 'LCID' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:937:60: error: 'CALID' was not declared in this scope
   WINBASEAPI WINBOOL WINAPI SetCalendarInfoW (LCID Locale, CALID Calendar, CALTYPE CalType, LPCWSTR lpCalData);
                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:937:76: error: 'CALTYPE' was not declared in this scope
   WINBASEAPI WINBOOL WINAPI SetCalendarInfoW (LCID Locale, CALID Calendar, CALTYPE CalType, LPCWSTR lpCalData);
                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:937:101: error: expected primary-expression before 'lpCalData'
   WINBASEAPI WINBOOL WINAPI SetCalendarInfoW (LCID Locale, CALID Calendar, CALTYPE CalType, LPCWSTR lpCalData);
                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:937:110: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI WINBOOL WINAPI SetCalendarInfoW (LCID Locale, CALID Calendar, CALTYPE CalType, LPCWSTR lpCalData);
                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:978:38: error: definition of 'int GetGeoInfoA' is marked 'dllimport'
   WINBASEAPI int WINAPI GetGeoInfoA (GEOID Location, GEOTYPE GeoType, LPSTR lpGeoData, int cchData, LANGID LangId);
                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:978:38: error: 'GEOID' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:978:54: error: 'GEOTYPE' was not declared in this scope
   WINBASEAPI int WINAPI GetGeoInfoA (GEOID Location, GEOTYPE GeoType, LPSTR lpGeoData, int cchData, LANGID LangId);
                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:978:77: error: expected primary-expression before 'lpGeoData'
   WINBASEAPI int WINAPI GetGeoInfoA (GEOID Location, GEOTYPE GeoType, LPSTR lpGeoData, int cchData, LANGID LangId);
                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:978:88: error: expected primary-expression before 'int'
   WINBASEAPI int WINAPI GetGeoInfoA (GEOID Location, GEOTYPE GeoType, LPSTR lpGeoData, int cchData, LANGID LangId);
                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:978:108: error: expected primary-expression before 'LangId'
   WINBASEAPI int WINAPI GetGeoInfoA (GEOID Location, GEOTYPE GeoType, LPSTR lpGeoData, int cchData, LANGID LangId);
                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:978:114: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI int WINAPI GetGeoInfoA (GEOID Location, GEOTYPE GeoType, LPSTR lpGeoData, int cchData, LANGID LangId);
                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:979:38: error: definition of 'int GetGeoInfoW' is marked 'dllimport'
   WINBASEAPI int WINAPI GetGeoInfoW (GEOID Location, GEOTYPE GeoType, LPWSTR lpGeoData, int cchData, LANGID LangId);
                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:979:38: error: 'GEOID' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:979:54: error: 'GEOTYPE' was not declared in this scope
   WINBASEAPI int WINAPI GetGeoInfoW (GEOID Location, GEOTYPE GeoType, LPWSTR lpGeoData, int cchData, LANGID LangId);
                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:979:78: error: expected primary-expression before 'lpGeoData'
   WINBASEAPI int WINAPI GetGeoInfoW (GEOID Location, GEOTYPE GeoType, LPWSTR lpGeoData, int cchData, LANGID LangId);
                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:979:89: error: expected primary-expression before 'int'
   WINBASEAPI int WINAPI GetGeoInfoW (GEOID Location, GEOTYPE GeoType, LPWSTR lpGeoData, int cchData, LANGID LangId);
                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:979:109: error: expected primary-expression before 'LangId'
   WINBASEAPI int WINAPI GetGeoInfoW (GEOID Location, GEOTYPE GeoType, LPWSTR lpGeoData, int cchData, LANGID LangId);
                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:979:115: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI int WINAPI GetGeoInfoW (GEOID Location, GEOTYPE GeoType, LPWSTR lpGeoData, int cchData, LANGID LangId);
                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:980:46: error: definition of 'WINBOOL EnumSystemGeoID' is marked 'dllimport'
   WINBASEAPI WINBOOL WINAPI EnumSystemGeoID (GEOCLASS GeoClass, GEOID ParentGeoId, GEO_ENUMPROC lpGeoEnumProc);
                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:980:46: error: 'GEOCLASS' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:980:65: error: 'GEOID' was not declared in this scope
   WINBASEAPI WINBOOL WINAPI EnumSystemGeoID (GEOCLASS GeoClass, GEOID ParentGeoId, GEO_ENUMPROC lpGeoEnumProc);
                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:980:84: error: 'GEO_ENUMPROC' was not declared in this scope
   WINBASEAPI WINBOOL WINAPI EnumSystemGeoID (GEOCLASS GeoClass, GEOID ParentGeoId, GEO_ENUMPROC lpGeoEnumProc);
                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:980:110: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI WINBOOL WINAPI EnumSystemGeoID (GEOCLASS GeoClass, GEOID ParentGeoId, GEO_ENUMPROC lpGeoEnumProc);
                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:981:14: error: 'GEOID' does not name a type
   WINBASEAPI GEOID WINAPI GetUserGeoID (GEOCLASS GeoClass);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:983:58: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetCPInfoExA (UINT CodePage, DWORD dwFlags, LPCPINFOEXA lpCPInfoEx);
                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:984:58: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetCPInfoExW (UINT CodePage, DWORD dwFlags, LPCPINFOEXW lpCPInfoEx);
                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:997:43: error: definition of 'WINBOOL SetUserGeoID' is marked 'dllimport'
   WINBASEAPI WINBOOL WINAPI SetUserGeoID (GEOID GeoId);
                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:997:43: error: 'GEOID' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:998:14: error: 'LCID' does not name a type
   WINBASEAPI LCID WINAPI ConvertDefaultLocale (LCID Locale);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:999:14: error: 'LCID' does not name a type
   WINBASEAPI LCID WINAPI GetThreadLocale (void);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:1000:46: error: definition of 'WINBOOL SetThreadLocale' is marked 'dllimport'
   WINBASEAPI WINBOOL WINAPI SetThreadLocale (LCID Locale);
                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:1000:46: error: 'LCID' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:1005:14: error: 'LCID' does not name a type
   WINBASEAPI LCID WINAPI GetSystemDefaultLCID (void);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:1006:14: error: 'LCID' does not name a type
   WINBASEAPI LCID WINAPI GetUserDefaultLCID (void);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:1008:47: error: definition of 'WINBOOL GetStringTypeExA' is marked 'dllimport'
   WINBASEAPI WINBOOL WINAPI GetStringTypeExA (LCID Locale, DWORD dwInfoType, LPCSTR lpSrcStr, int cchSrc, LPWORD lpCharType);
                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:1008:47: error: 'LCID' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:1008:60: error: 'DWORD' was not declared in this scope
   WINBASEAPI WINBOOL WINAPI GetStringTypeExA (LCID Locale, DWORD dwInfoType, LPCSTR lpSrcStr, int cchSrc, LPWORD lpCharType);
                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:1008:85: error: expected primary-expression before 'lpSrcStr'
   WINBASEAPI WINBOOL WINAPI GetStringTypeExA (LCID Locale, DWORD dwInfoType, LPCSTR lpSrcStr, int cchSrc, LPWORD lpCharType);
                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:1008:95: error: expected primary-expression before 'int'
   WINBASEAPI WINBOOL WINAPI GetStringTypeExA (LCID Locale, DWORD dwInfoType, LPCSTR lpSrcStr, int cchSrc, LPWORD lpCharType);
                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:1008:114: error: expected primary-expression before 'lpCharType'
   WINBASEAPI WINBOOL WINAPI GetStringTypeExA (LCID Locale, DWORD dwInfoType, LPCSTR lpSrcStr, int cchSrc, LPWORD lpCharType);
                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:1008:124: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI WINBOOL WINAPI GetStringTypeExA (LCID Locale, DWORD dwInfoType, LPCSTR lpSrcStr, int cchSrc, LPWORD lpCharType);
                                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:1009:45: error: definition of 'WINBOOL GetStringTypeA' is marked 'dllimport'
   WINBASEAPI WINBOOL WINAPI GetStringTypeA (LCID Locale, DWORD dwInfoType, LPCSTR lpSrcStr, int cchSrc, LPWORD lpCharType);
                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:1009:45: error: 'LCID' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:1009:58: error: 'DWORD' was not declared in this scope
   WINBASEAPI WINBOOL WINAPI GetStringTypeA (LCID Locale, DWORD dwInfoType, LPCSTR lpSrcStr, int cchSrc, LPWORD lpCharType);
                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:1009:83: error: expected primary-expression before 'lpSrcStr'
   WINBASEAPI WINBOOL WINAPI GetStringTypeA (LCID Locale, DWORD dwInfoType, LPCSTR lpSrcStr, int cchSrc, LPWORD lpCharType);
                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:1009:93: error: expected primary-expression before 'int'
   WINBASEAPI WINBOOL WINAPI GetStringTypeA (LCID Locale, DWORD dwInfoType, LPCSTR lpSrcStr, int cchSrc, LPWORD lpCharType);
                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:1009:112: error: expected primary-expression before 'lpCharType'
   WINBASEAPI WINBOOL WINAPI GetStringTypeA (LCID Locale, DWORD dwInfoType, LPCSTR lpSrcStr, int cchSrc, LPWORD lpCharType);
                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:1009:122: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI WINBOOL WINAPI GetStringTypeA (LCID Locale, DWORD dwInfoType, LPCSTR lpSrcStr, int cchSrc, LPWORD lpCharType);
                                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:1010:38: error: definition of 'int FoldStringA' is marked 'dllimport'
   WINBASEAPI int WINAPI FoldStringA (DWORD dwMapFlags, LPCSTR lpSrcStr, int cchSrc, LPSTR lpDestStr, int cchDest);
                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:1010:38: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:1010:63: error: expected primary-expression before 'lpSrcStr'
   WINBASEAPI int WINAPI FoldStringA (DWORD dwMapFlags, LPCSTR lpSrcStr, int cchSrc, LPSTR lpDestStr, int cchDest);
                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:1010:73: error: expected primary-expression before 'int'
   WINBASEAPI int WINAPI FoldStringA (DWORD dwMapFlags, LPCSTR lpSrcStr, int cchSrc, LPSTR lpDestStr, int cchDest);
                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:1010:91: error: expected primary-expression before 'lpDestStr'
   WINBASEAPI int WINAPI FoldStringA (DWORD dwMapFlags, LPCSTR lpSrcStr, int cchSrc, LPSTR lpDestStr, int cchDest);
                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:1010:102: error: expected primary-expression before 'int'
   WINBASEAPI int WINAPI FoldStringA (DWORD dwMapFlags, LPCSTR lpSrcStr, int cchSrc, LPSTR lpDestStr, int cchDest);
                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:1010:113: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI int WINAPI FoldStringA (DWORD dwMapFlags, LPCSTR lpSrcStr, int cchSrc, LPSTR lpDestStr, int cchDest);
                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:1011:84: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI EnumSystemLocalesA (LOCALE_ENUMPROCA lpLocaleEnumProc, DWORD dwFlags);
                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:1012:84: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI EnumSystemLocalesW (LOCALE_ENUMPROCW lpLocaleEnumProc, DWORD dwFlags);
                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:1013:56: error: definition of 'WINBOOL EnumSystemLanguageGroupsA' is marked 'dllimport'
   WINBASEAPI WINBOOL WINAPI EnumSystemLanguageGroupsA (LANGUAGEGROUP_ENUMPROCA lpLanguageGroupEnumProc, DWORD dwFlags, LONG_PTR lParam);
                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:1013:56: error: 'LANGUAGEGROUP_ENUMPROCA' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:1013:105: error: 'DWORD' was not declared in this scope
   WINBASEAPI WINBOOL WINAPI EnumSystemLanguageGroupsA (LANGUAGEGROUP_ENUMPROCA lpLanguageGroupEnumProc, DWORD dwFlags, LONG_PTR lParam);
                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:1013:129: error: expected primary-expression before 'lParam'
   WINBASEAPI WINBOOL WINAPI EnumSystemLanguageGroupsA (LANGUAGEGROUP_ENUMPROCA lpLanguageGroupEnumProc, DWORD dwFlags, LONG_PTR lParam);
                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:1013:135: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI WINBOOL WINAPI EnumSystemLanguageGroupsA (LANGUAGEGROUP_ENUMPROCA lpLanguageGroupEnumProc, DWORD dwFlags, LONG_PTR lParam);
                                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:1014:56: error: definition of 'WINBOOL EnumSystemLanguageGroupsW' is marked 'dllimport'
   WINBASEAPI WINBOOL WINAPI EnumSystemLanguageGroupsW (LANGUAGEGROUP_ENUMPROCW lpLanguageGroupEnumProc, DWORD dwFlags, LONG_PTR lParam);
                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:1014:56: error: 'LANGUAGEGROUP_ENUMPROCW' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:1014:105: error: 'DWORD' was not declared in this scope
   WINBASEAPI WINBOOL WINAPI EnumSystemLanguageGroupsW (LANGUAGEGROUP_ENUMPROCW lpLanguageGroupEnumProc, DWORD dwFlags, LONG_PTR lParam);
                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:1014:129: error: expected primary-expression before 'lParam'
   WINBASEAPI WINBOOL WINAPI EnumSystemLanguageGroupsW (LANGUAGEGROUP_ENUMPROCW lpLanguageGroupEnumProc, DWORD dwFlags, LONG_PTR lParam);
                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:1014:135: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI WINBOOL WINAPI EnumSystemLanguageGroupsW (LANGUAGEGROUP_ENUMPROCW lpLanguageGroupEnumProc, DWORD dwFlags, LONG_PTR lParam);
                                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:1015:56: error: definition of 'WINBOOL EnumLanguageGroupLocalesA' is marked 'dllimport'
   WINBASEAPI WINBOOL WINAPI EnumLanguageGroupLocalesA (LANGGROUPLOCALE_ENUMPROCA lpLangGroupLocaleEnumProc, LGRPID LanguageGroup, DWORD dwFlags, LONG_PTR lParam);
                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:1015:56: error: 'LANGGROUPLOCALE_ENUMPROCA' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:1015:109: error: 'LGRPID' was not declared in this scope
   WINBASEAPI WINBOOL WINAPI EnumLanguageGroupLocalesA (LANGGROUPLOCALE_ENUMPROCA lpLangGroupLocaleEnumProc, LGRPID LanguageGroup, DWORD dwFlags, LONG_PTR lParam);
                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:1015:131: error: 'DWORD' was not declared in this scope
   WINBASEAPI WINBOOL WINAPI EnumLanguageGroupLocalesA (LANGGROUPLOCALE_ENUMPROCA lpLangGroupLocaleEnumProc, LGRPID LanguageGroup, DWORD dwFlags, LONG_PTR lParam);
                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:1015:155: error: expected primary-expression before 'lParam'
   WINBASEAPI WINBOOL WINAPI EnumLanguageGroupLocalesA (LANGGROUPLOCALE_ENUMPROCA lpLangGroupLocaleEnumProc, LGRPID LanguageGroup, DWORD dwFlags, LONG_PTR lParam);
                                                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:1015:161: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI WINBOOL WINAPI EnumLanguageGroupLocalesA (LANGGROUPLOCALE_ENUMPROCA lpLangGroupLocaleEnumProc, LGRPID LanguageGroup, DWORD dwFlags, LONG_PTR lParam);
                                                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:1016:56: error: definition of 'WINBOOL EnumLanguageGroupLocalesW' is marked 'dllimport'
   WINBASEAPI WINBOOL WINAPI EnumLanguageGroupLocalesW (LANGGROUPLOCALE_ENUMPROCW lpLangGroupLocaleEnumProc, LGRPID LanguageGroup, DWORD dwFlags, LONG_PTR lParam);
                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:1016:56: error: 'LANGGROUPLOCALE_ENUMPROCW' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:1016:109: error: 'LGRPID' was not declared in this scope
   WINBASEAPI WINBOOL WINAPI EnumLanguageGroupLocalesW (LANGGROUPLOCALE_ENUMPROCW lpLangGroupLocaleEnumProc, LGRPID LanguageGroup, DWORD dwFlags, LONG_PTR lParam);
                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:1016:131: error: 'DWORD' was not declared in this scope
   WINBASEAPI WINBOOL WINAPI EnumLanguageGroupLocalesW (LANGGROUPLOCALE_ENUMPROCW lpLangGroupLocaleEnumProc, LGRPID LanguageGroup, DWORD dwFlags, LONG_PTR lParam);
                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:1016:155: error: expected primary-expression before 'lParam'
   WINBASEAPI WINBOOL WINAPI EnumLanguageGroupLocalesW (LANGGROUPLOCALE_ENUMPROCW lpLangGroupLocaleEnumProc, LGRPID LanguageGroup, DWORD dwFlags, LONG_PTR lParam);
                                                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:1016:161: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI WINBOOL WINAPI EnumLanguageGroupLocalesW (LANGGROUPLOCALE_ENUMPROCW lpLangGroupLocaleEnumProc, LGRPID LanguageGroup, DWORD dwFlags, LONG_PTR lParam);
                                                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:1017:90: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI EnumUILanguagesA (UILANGUAGE_ENUMPROCA lpUILanguageEnumProc, DWORD dwFlags, LONG_PTR lParam);
                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:1018:90: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI EnumUILanguagesW (UILANGUAGE_ENUMPROCW lpUILanguageEnumProc, DWORD dwFlags, LONG_PTR lParam);
                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:1046:90: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI EnumSystemCodePagesA (CODEPAGE_ENUMPROCA lpCodePageEnumProc, DWORD dwFlags);
                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnls.h:1047:90: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI EnumSystemCodePagesW (CODEPAGE_ENUMPROCW lpCodePageEnumProc, DWORD dwFlags);
                                                                                          ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:74:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:38:5: error: 'DWORD' does not name a type
     DWORD dwControlKeyState;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:60:5: error: 'DWORD' does not name a type
     DWORD dwButtonState;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:61:5: error: 'DWORD' does not name a type
     DWORD dwControlKeyState;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:62:5: error: 'DWORD' does not name a type
     DWORD dwEventFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:142:5: error: 'DWORD' does not name a type
     DWORD dwSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:147:5: error: 'DWORD' does not name a type
     DWORD nFont;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:152:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:163:46: error: typedef 'PHANDLER_ROUTINE' is initialized (use decltype instead)
   typedef WINBOOL (WINAPI *PHANDLER_ROUTINE)(DWORD CtrlType);
                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:163:46: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:207:91: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI PeekConsoleInputA(HANDLE hConsoleInput,PINPUT_RECORD lpBuffer,DWORD nLength,LPDWORD lpNumberOfEventsRead);
                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:207:105: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI PeekConsoleInputA(HANDLE hConsoleInput,PINPUT_RECORD lpBuffer,DWORD nLength,LPDWORD lpNumberOfEventsRead);
                                                                                                         ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:74:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:208:91: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI PeekConsoleInputW(HANDLE hConsoleInput,PINPUT_RECORD lpBuffer,DWORD nLength,LPDWORD lpNumberOfEventsRead);
                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:208:105: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI PeekConsoleInputW(HANDLE hConsoleInput,PINPUT_RECORD lpBuffer,DWORD nLength,LPDWORD lpNumberOfEventsRead);
                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:209:91: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI ReadConsoleInputA(HANDLE hConsoleInput,PINPUT_RECORD lpBuffer,DWORD nLength,LPDWORD lpNumberOfEventsRead);
                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:209:105: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI ReadConsoleInputA(HANDLE hConsoleInput,PINPUT_RECORD lpBuffer,DWORD nLength,LPDWORD lpNumberOfEventsRead);
                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:210:91: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI ReadConsoleInputW(HANDLE hConsoleInput,PINPUT_RECORD lpBuffer,DWORD nLength,LPDWORD lpNumberOfEventsRead);
                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:210:105: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI ReadConsoleInputW(HANDLE hConsoleInput,PINPUT_RECORD lpBuffer,DWORD nLength,LPDWORD lpNumberOfEventsRead);
                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:211:98: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI WriteConsoleInputA(HANDLE hConsoleInput,CONST INPUT_RECORD *lpBuffer,DWORD nLength,LPDWORD lpNumberOfEventsWritten);
                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:211:112: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI WriteConsoleInputA(HANDLE hConsoleInput,CONST INPUT_RECORD *lpBuffer,DWORD nLength,LPDWORD lpNumberOfEventsWritten);
                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:212:98: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI WriteConsoleInputW(HANDLE hConsoleInput,CONST INPUT_RECORD *lpBuffer,DWORD nLength,LPDWORD lpNumberOfEventsWritten);
                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:212:112: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI WriteConsoleInputW(HANDLE hConsoleInput,CONST INPUT_RECORD *lpBuffer,DWORD nLength,LPDWORD lpNumberOfEventsWritten);
                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:217:97: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI ReadConsoleOutputCharacterA(HANDLE hConsoleOutput,LPSTR lpCharacter,DWORD nLength,COORD dwReadCoord,LPDWORD lpNumberOfCharsRead);
                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:217:129: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI ReadConsoleOutputCharacterA(HANDLE hConsoleOutput,LPSTR lpCharacter,DWORD nLength,COORD dwReadCoord,LPDWORD lpNumberOfCharsRead);
                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:218:98: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI ReadConsoleOutputCharacterW(HANDLE hConsoleOutput,LPWSTR lpCharacter,DWORD nLength,COORD dwReadCoord,LPDWORD lpNumberOfCharsRead);
                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:218:130: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI ReadConsoleOutputCharacterW(HANDLE hConsoleOutput,LPWSTR lpCharacter,DWORD nLength,COORD dwReadCoord,LPDWORD lpNumberOfCharsRead);
                                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:219:97: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI ReadConsoleOutputAttribute(HANDLE hConsoleOutput,LPWORD lpAttribute,DWORD nLength,COORD dwReadCoord,LPDWORD lpNumberOfAttrsRead);
                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:219:129: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI ReadConsoleOutputAttribute(HANDLE hConsoleOutput,LPWORD lpAttribute,DWORD nLength,COORD dwReadCoord,LPDWORD lpNumberOfAttrsRead);
                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:220:99: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI WriteConsoleOutputCharacterA(HANDLE hConsoleOutput,LPCSTR lpCharacter,DWORD nLength,COORD dwWriteCoord,LPDWORD lpNumberOfCharsWritten);
                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:220:132: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI WriteConsoleOutputCharacterA(HANDLE hConsoleOutput,LPCSTR lpCharacter,DWORD nLength,COORD dwWriteCoord,LPDWORD lpNumberOfCharsWritten);
                                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:221:100: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI WriteConsoleOutputCharacterW(HANDLE hConsoleOutput,LPCWSTR lpCharacter,DWORD nLength,COORD dwWriteCoord,LPDWORD lpNumberOfCharsWritten);
                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:221:133: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI WriteConsoleOutputCharacterW(HANDLE hConsoleOutput,LPCWSTR lpCharacter,DWORD nLength,COORD dwWriteCoord,LPDWORD lpNumberOfCharsWritten);
                                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:222:103: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI WriteConsoleOutputAttribute(HANDLE hConsoleOutput,CONST WORD *lpAttribute,DWORD nLength,COORD dwWriteCoord,LPDWORD lpNumberOfAttrsWritten);
                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:222:136: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI WriteConsoleOutputAttribute(HANDLE hConsoleOutput,CONST WORD *lpAttribute,DWORD nLength,COORD dwWriteCoord,LPDWORD lpNumberOfAttrsWritten);
                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:223:95: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI FillConsoleOutputCharacterA(HANDLE hConsoleOutput,CHAR cCharacter,DWORD nLength,COORD dwWriteCoord,LPDWORD lpNumberOfCharsWritten);
                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:223:128: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI FillConsoleOutputCharacterA(HANDLE hConsoleOutput,CHAR cCharacter,DWORD nLength,COORD dwWriteCoord,LPDWORD lpNumberOfCharsWritten);
                                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:224:96: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI FillConsoleOutputCharacterW(HANDLE hConsoleOutput,WCHAR cCharacter,DWORD nLength,COORD dwWriteCoord,LPDWORD lpNumberOfCharsWritten);
                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:224:129: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI FillConsoleOutputCharacterW(HANDLE hConsoleOutput,WCHAR cCharacter,DWORD nLength,COORD dwWriteCoord,LPDWORD lpNumberOfCharsWritten);
                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:225:94: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI FillConsoleOutputAttribute(HANDLE hConsoleOutput,WORD wAttribute,DWORD nLength,COORD dwWriteCoord,LPDWORD lpNumberOfAttrsWritten);
                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:225:127: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI FillConsoleOutputAttribute(HANDLE hConsoleOutput,WORD wAttribute,DWORD nLength,COORD dwWriteCoord,LPDWORD lpNumberOfAttrsWritten);
                                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:226:66: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetConsoleMode(HANDLE hConsoleHandle,LPDWORD lpMode);
                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:227:80: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI GetNumberOfConsoleInputEvents(HANDLE hConsoleInput,LPDWORD lpNumberOfEvents);
                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:232:68: error: 'DWORD' has not been declared
   WINBASEAPI COORD WINAPI GetConsoleFontSize(HANDLE hConsoleOutput,DWORD nFont);
                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:234:60: error: definition of 'WINBOOL GetNumberOfConsoleMouseButtons' is marked 'dllimport'
   WINBASEAPI WINBOOL WINAPI GetNumberOfConsoleMouseButtons(LPDWORD lpNumberOfMouseButtons);
                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:234:60: error: 'LPDWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:235:66: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI SetConsoleMode(HANDLE hConsoleHandle,DWORD dwMode);
                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:245:51: error: definition of 'WINBOOL SetConsoleCtrlHandler' is marked 'dllimport'
   WINBASEAPI WINBOOL WINAPI SetConsoleCtrlHandler(PHANDLER_ROUTINE HandlerRoutine,WINBOOL Add);
                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:245:51: error: 'PHANDLER_ROUTINE' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:245:91: error: expected primary-expression before 'Add'
   WINBASEAPI WINBOOL WINAPI SetConsoleCtrlHandler(PHANDLER_ROUTINE HandlerRoutine,WINBOOL Add);
                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:245:94: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI WINBOOL WINAPI SetConsoleCtrlHandler(PHANDLER_ROUTINE HandlerRoutine,WINBOOL Add);
                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:246:54: error: definition of 'WINBOOL GenerateConsoleCtrlEvent' is marked 'dllimport'
   WINBASEAPI WINBOOL WINAPI GenerateConsoleCtrlEvent(DWORD dwCtrlEvent,DWORD dwProcessGroupId);
                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:246:54: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:246:72: error: 'DWORD' was not declared in this scope
   WINBASEAPI WINBOOL WINAPI GenerateConsoleCtrlEvent(DWORD dwCtrlEvent,DWORD dwProcessGroupId);
                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:246:94: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI WINBOOL WINAPI GenerateConsoleCtrlEvent(DWORD dwCtrlEvent,DWORD dwProcessGroupId);
                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:249:43: error: definition of 'WINBOOL AttachConsole' is marked 'dllimport'
   WINBASEAPI WINBOOL WINAPI AttachConsole(DWORD dwProcessId);
                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:249:43: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:253:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetConsoleTitleA(LPSTR lpConsoleTitle,DWORD nSize);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:254:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetConsoleTitleW(LPWSTR lpConsoleTitle,DWORD nSize);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:257:79: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI ReadConsoleA(HANDLE hConsoleInput,LPVOID lpBuffer,DWORD nNumberOfCharsToRead,LPDWORD lpNumberOfCharsRead,LPVOID lpReserved);
                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:257:106: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI ReadConsoleA(HANDLE hConsoleInput,LPVOID lpBuffer,DWORD nNumberOfCharsToRead,LPDWORD lpNumberOfCharsRead,LPVOID lpReserved);
                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:258:79: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI ReadConsoleW(HANDLE hConsoleInput,LPVOID lpBuffer,DWORD nNumberOfCharsToRead,LPDWORD lpNumberOfCharsRead,LPVOID lpReserved);
                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:258:106: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI ReadConsoleW(HANDLE hConsoleInput,LPVOID lpBuffer,DWORD nNumberOfCharsToRead,LPDWORD lpNumberOfCharsRead,LPVOID lpReserved);
                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:259:86: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI WriteConsoleA(HANDLE hConsoleOutput,CONST VOID *lpBuffer,DWORD nNumberOfCharsToWrite,LPDWORD lpNumberOfCharsWritten,LPVOID lpReserved);
                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:259:114: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI WriteConsoleA(HANDLE hConsoleOutput,CONST VOID *lpBuffer,DWORD nNumberOfCharsToWrite,LPDWORD lpNumberOfCharsWritten,LPVOID lpReserved);
                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:260:86: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI WriteConsoleW(HANDLE hConsoleOutput,CONST VOID *lpBuffer,DWORD nNumberOfCharsToWrite,LPDWORD lpNumberOfCharsWritten,LPVOID lpReserved);
                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:260:114: error: 'LPDWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI WriteConsoleW(HANDLE hConsoleOutput,CONST VOID *lpBuffer,DWORD nNumberOfCharsToWrite,LPDWORD lpNumberOfCharsWritten,LPVOID lpReserved);
                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:264:54: error: definition of 'void* CreateConsoleScreenBuffer' is marked 'dllimport'
   WINBASEAPI HANDLE WINAPI CreateConsoleScreenBuffer(DWORD dwDesiredAccess,DWORD dwShareMode,CONST SECURITY_ATTRIBUTES *lpSecurityAttributes,DWORD dwFlags,LPVOID lpScreenBufferData);
                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:264:54: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:264:76: error: 'DWORD' was not declared in this scope
   WINBASEAPI HANDLE WINAPI CreateConsoleScreenBuffer(DWORD dwDesiredAccess,DWORD dwShareMode,CONST SECURITY_ATTRIBUTES *lpSecurityAttributes,DWORD dwFlags,LPVOID lpScreenBufferData);
                                                                            ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:264:94: error: expected primary-expression before 'const'
   WINBASEAPI HANDLE WINAPI CreateConsoleScreenBuffer(DWORD dwDesiredAccess,DWORD dwShareMode,CONST SECURITY_ATTRIBUTES *lpSecurityAttributes,DWORD dwFlags,LPVOID lpScreenBufferData);
                                                                                              ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:74:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:264:142: error: 'DWORD' was not declared in this scope
   WINBASEAPI HANDLE WINAPI CreateConsoleScreenBuffer(DWORD dwDesiredAccess,DWORD dwShareMode,CONST SECURITY_ATTRIBUTES *lpSecurityAttributes,DWORD dwFlags,LPVOID lpScreenBufferData);
                                                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:264:163: error: expected primary-expression before 'lpScreenBufferData'
   WINBASEAPI HANDLE WINAPI CreateConsoleScreenBuffer(DWORD dwDesiredAccess,DWORD dwShareMode,CONST SECURITY_ATTRIBUTES *lpSecurityAttributes,DWORD dwFlags,LPVOID lpScreenBufferData);
                                                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:264:181: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBASEAPI HANDLE WINAPI CreateConsoleScreenBuffer(DWORD dwDesiredAccess,DWORD dwShareMode,CONST SECURITY_ATTRIBUTES *lpSecurityAttributes,DWORD dwFlags,LPVOID lpScreenBufferData);
                                                                                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:272:51: error: definition of 'WINBOOL GetConsoleDisplayMode' is marked 'dllimport'
   WINBASEAPI WINBOOL WINAPI GetConsoleDisplayMode(LPDWORD lpModeFlags);
                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:272:51: error: 'LPDWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:276:74: error: 'DWORD' has not been declared
   WINBASEAPI WINBOOL WINAPI SetConsoleDisplayMode(HANDLE hConsoleOutput, DWORD dwFlags, PCOORD lpNewScreenBufferDimensions);
                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:279:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetConsoleProcessList(LPDWORD lpdwProcessList,DWORD dwProcessCount);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:282:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetConsoleAliasA(LPSTR Source,LPSTR TargetBuffer,DWORD TargetBufferLength,LPSTR ExeName);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:283:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetConsoleAliasW(LPWSTR Source,LPWSTR TargetBuffer,DWORD TargetBufferLength,LPWSTR ExeName);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:284:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetConsoleAliasesLengthA(LPSTR ExeName);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:285:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetConsoleAliasesLengthW(LPWSTR ExeName);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:286:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetConsoleAliasExesLengthA(VOID);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:287:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetConsoleAliasExesLengthW(VOID);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:288:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetConsoleAliasesA(LPSTR AliasBuffer,DWORD AliasBufferLength,LPSTR ExeName);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:289:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetConsoleAliasesW(LPWSTR AliasBuffer,DWORD AliasBufferLength,LPWSTR ExeName);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:290:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetConsoleAliasExesA(LPSTR ExeNameBuffer,DWORD ExeNameBufferLength);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:291:14: error: 'DWORD' does not name a type
   WINBASEAPI DWORD WINAPI GetConsoleAliasExesW(LPWSTR ExeNameBuffer,DWORD ExeNameBufferLength);
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:298:3: error: 'ULONG' does not name a type
   ULONG cbSize;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:299:3: error: 'DWORD' does not name a type
   DWORD nFont;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:310:3: error: 'DWORD' does not name a type
   DWORD dwFlags;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:314:3: error: 'ULONG' does not name a type
   ULONG nLength;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:315:3: error: 'ULONG' does not name a type
   ULONG nInitialChars;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:316:3: error: 'ULONG' does not name a type
   ULONG dwCtrlWakeupMask;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:317:3: error: 'ULONG' does not name a type
   ULONG dwControlKeyState;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:321:3: error: 'ULONG' does not name a type
   ULONG      cbSize;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincon.h:329:3: error: 'COLORREF' does not name a type
   COLORREF   ColorTable[16];
   ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:75:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winver.h:115:5: error: 'DWORD' does not name a type
     DWORD dwSignature;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winver.h:116:5: error: 'DWORD' does not name a type
     DWORD dwStrucVersion;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winver.h:117:5: error: 'DWORD' does not name a type
     DWORD dwFileVersionMS;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winver.h:118:5: error: 'DWORD' does not name a type
     DWORD dwFileVersionLS;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winver.h:119:5: error: 'DWORD' does not name a type
     DWORD dwProductVersionMS;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winver.h:120:5: error: 'DWORD' does not name a type
     DWORD dwProductVersionLS;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winver.h:121:5: error: 'DWORD' does not name a type
     DWORD dwFileFlagsMask;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winver.h:122:5: error: 'DWORD' does not name a type
     DWORD dwFileFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winver.h:123:5: error: 'DWORD' does not name a type
     DWORD dwFileOS;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winver.h:124:5: error: 'DWORD' does not name a type
     DWORD dwFileType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winver.h:125:5: error: 'DWORD' does not name a type
     DWORD dwFileSubtype;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winver.h:126:5: error: 'DWORD' does not name a type
     DWORD dwFileDateMS;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winver.h:127:5: error: 'DWORD' does not name a type
     DWORD dwFileDateLS;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winver.h:137:3: error: 'DWORD' does not name a type
   DWORD WINAPI VerFindFileA(DWORD uFlags,LPSTR szFileName,LPSTR szWinDir,LPSTR szAppDir,LPSTR szCurDir,PUINT lpuCurDirLen,LPSTR szDestDir,PUINT lpuDestDirLen);
   ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:75:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winver.h:138:3: error: 'DWORD' does not name a type
   DWORD WINAPI VerFindFileW(DWORD uFlags,LPWSTR szFileName,LPWSTR szWinDir,LPWSTR szAppDir,LPWSTR szCurDir,PUINT lpuCurDirLen,LPWSTR szDestDir,PUINT lpuDestDirLen);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winver.h:139:3: error: 'DWORD' does not name a type
   DWORD WINAPI VerInstallFileA(DWORD uFlags,LPSTR szSrcFileName,LPSTR szDestFileName,LPSTR szSrcDir,LPSTR szDestDir,LPSTR szCurDir,LPSTR szTmpFile,PUINT lpuTmpFileLen);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winver.h:140:3: error: 'DWORD' does not name a type
   DWORD WINAPI VerInstallFileW(DWORD uFlags,LPWSTR szSrcFileName,LPWSTR szDestFileName,LPWSTR szSrcDir,LPWSTR szDestDir,LPWSTR szCurDir,LPWSTR szTmpFile,PUINT lpuTmpFileLen);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winver.h:141:3: error: 'DWORD' does not name a type
   DWORD WINAPI GetFileVersionInfoSizeA(LPCSTR lptstrFilename,LPDWORD lpdwHandle);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winver.h:142:3: error: 'DWORD' does not name a type
   DWORD WINAPI GetFileVersionInfoSizeW(LPCWSTR lptstrFilename,LPDWORD lpdwHandle);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winver.h:143:60: error: 'DWORD' has not been declared
   WINBOOL WINAPI GetFileVersionInfoA(LPCSTR lptstrFilename,DWORD dwHandle,DWORD dwLen,LPVOID lpData);
                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winver.h:143:75: error: 'DWORD' has not been declared
   WINBOOL WINAPI GetFileVersionInfoA(LPCSTR lptstrFilename,DWORD dwHandle,DWORD dwLen,LPVOID lpData);
                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winver.h:144:61: error: 'DWORD' has not been declared
   WINBOOL WINAPI GetFileVersionInfoW(LPCWSTR lptstrFilename,DWORD dwHandle,DWORD dwLen,LPVOID lpData);
                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winver.h:144:76: error: 'DWORD' has not been declared
   WINBOOL WINAPI GetFileVersionInfoW(LPCWSTR lptstrFilename,DWORD dwHandle,DWORD dwLen,LPVOID lpData);
                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winver.h:145:3: error: 'DWORD' does not name a type
   DWORD WINAPI VerLanguageNameA(DWORD wLang,LPSTR szLang,DWORD nSize);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winver.h:146:3: error: 'DWORD' does not name a type
   DWORD WINAPI VerLanguageNameW(DWORD wLang,LPWSTR szLang,DWORD nSize);
   ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:76:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:34:11: error: 'ACCESS_MASK' does not name a type
   typedef ACCESS_MASK REGSAM;
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:35:11: error: 'LONG' does not name a type
   typedef LONG LSTATUS;
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:65:5: error: 'DWORD' does not name a type
     DWORD pv_type;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:72:5: error: 'DWORD' does not name a type
     DWORD pv_type;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:78:11: error: 'DWORD' does not name a type
   typedef DWORD __cdecl QUERYHANDLER(LPVOID keycontext,PVALCONTEXT val_list,DWORD num_vals,LPVOID outputbuffer,DWORD *total_outlen,DWORD input_blen);
           ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:76:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:80:11: error: 'QUERYHANDLER' does not name a type
   typedef QUERYHANDLER *PQUERYHANDLER;
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:83:5: error: 'PQUERYHANDLER' does not name a type
     PQUERYHANDLER pi_R0_1val;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:84:5: error: 'PQUERYHANDLER' does not name a type
     PQUERYHANDLER pi_R0_allvals;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:85:5: error: 'PQUERYHANDLER' does not name a type
     PQUERYHANDLER pi_R3_1val;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:86:5: error: 'PQUERYHANDLER' does not name a type
     PQUERYHANDLER pi_R3_allvals;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:87:5: error: 'DWORD' does not name a type
     DWORD pi_flags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:95:5: error: 'DWORD' does not name a type
     DWORD ve_valuelen;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:97:5: error: 'DWORD' does not name a type
     DWORD ve_type;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:102:5: error: 'DWORD' does not name a type
     DWORD ve_valuelen;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:104:5: error: 'DWORD' does not name a type
     DWORD ve_type;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:140:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegCloseKey(HKEY hKey);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:141:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegOverridePredefKey(HKEY hKey,HKEY hNewHKey);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:142:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegOpenUserClassesRoot(HANDLE hToken,DWORD dwOptions,REGSAM samDesired,PHKEY phkResult);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:143:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegOpenCurrentUser(REGSAM samDesired,PHKEY phkResult);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:144:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegDisablePredefinedCache();
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:145:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegConnectRegistryA(LPCSTR lpMachineName,HKEY hKey,PHKEY phkResult);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:146:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegConnectRegistryW(LPCWSTR lpMachineName,HKEY hKey,PHKEY phkResult);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:147:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegConnectRegistryExA(LPCSTR lpMachineName,HKEY hKey,ULONG Flags,PHKEY phkResult);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:148:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegConnectRegistryExW(LPCWSTR lpMachineName,HKEY hKey,ULONG Flags,PHKEY phkResult);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:149:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegCreateKeyA(HKEY hKey,LPCSTR lpSubKey,PHKEY phkResult);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:150:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegCreateKeyW(HKEY hKey,LPCWSTR lpSubKey,PHKEY phkResult);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:151:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegCreateKeyExA(HKEY hKey,LPCSTR lpSubKey,DWORD Reserved,LPSTR lpClass,DWORD dwOptions,REGSAM samDesired,LPSECURITY_ATTRIBUTES lpSecurityAttributes,PHKEY phkResult,LPDWORD lpdwDisposition);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:152:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegCreateKeyExW(HKEY hKey,LPCWSTR lpSubKey,DWORD Reserved,LPWSTR lpClass,DWORD dwOptions,REGSAM samDesired,LPSECURITY_ATTRIBUTES lpSecurityAttributes,PHKEY phkResult,LPDWORD lpdwDisposition);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:153:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegDeleteKeyA(HKEY hKey,LPCSTR lpSubKey);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:154:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegDeleteKeyW(HKEY hKey,LPCWSTR lpSubKey);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:155:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegDeleteKeyExA(HKEY hKey,LPCSTR lpSubKey,REGSAM samDesired,DWORD Reserved);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:156:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegDeleteKeyExW(HKEY hKey,LPCWSTR lpSubKey,REGSAM samDesired,DWORD Reserved);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:157:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegDisableReflectionKey(HKEY hBase);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:158:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegEnableReflectionKey(HKEY hBase);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:159:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegQueryReflectionKey(HKEY hBase,WINBOOL *bIsReflectionDisabled);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:160:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegDeleteValueA(HKEY hKey,LPCSTR lpValueName);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:161:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegDeleteValueW(HKEY hKey,LPCWSTR lpValueName);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:162:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegEnumKeyA(HKEY hKey,DWORD dwIndex,LPSTR lpName,DWORD cchName);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:163:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegEnumKeyW(HKEY hKey,DWORD dwIndex,LPWSTR lpName,DWORD cchName);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:164:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegEnumKeyExA(HKEY hKey,DWORD dwIndex,LPSTR lpName,LPDWORD lpcchName,LPDWORD lpReserved,LPSTR lpClass,LPDWORD lpcchClass,PFILETIME lpftLastWriteTime);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:165:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegEnumKeyExW(HKEY hKey,DWORD dwIndex,LPWSTR lpName,LPDWORD lpcchName,LPDWORD lpReserved,LPWSTR lpClass,LPDWORD lpcchClass,PFILETIME lpftLastWriteTime);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:166:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegEnumValueA(HKEY hKey,DWORD dwIndex,LPSTR lpValueName,LPDWORD lpcchValueName,LPDWORD lpReserved,LPDWORD lpType,LPBYTE lpData,LPDWORD lpcbData);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:167:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegEnumValueW(HKEY hKey,DWORD dwIndex,LPWSTR lpValueName,LPDWORD lpcchValueName,LPDWORD lpReserved,LPDWORD lpType,LPBYTE lpData,LPDWORD lpcbData);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:168:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegFlushKey(HKEY hKey);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:169:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegGetKeySecurity(HKEY hKey,SECURITY_INFORMATION SecurityInformation,PSECURITY_DESCRIPTOR pSecurityDescriptor,LPDWORD lpcbSecurityDescriptor);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:170:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegLoadKeyA(HKEY hKey,LPCSTR lpSubKey,LPCSTR lpFile);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:171:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegLoadKeyW(HKEY hKey,LPCWSTR lpSubKey,LPCWSTR lpFile);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:172:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegNotifyChangeKeyValue(HKEY hKey,WINBOOL bWatchSubtree,DWORD dwNotifyFilter,HANDLE hEvent,WINBOOL fAsynchronous);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:173:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegOpenKeyA(HKEY hKey,LPCSTR lpSubKey,PHKEY phkResult);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:174:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegOpenKeyW(HKEY hKey,LPCWSTR lpSubKey,PHKEY phkResult);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:175:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegOpenKeyExA(HKEY hKey,LPCSTR lpSubKey,DWORD ulOptions,REGSAM samDesired,PHKEY phkResult);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:176:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegOpenKeyExW(HKEY hKey,LPCWSTR lpSubKey,DWORD ulOptions,REGSAM samDesired,PHKEY phkResult);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:177:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegQueryInfoKeyA(HKEY hKey,LPSTR lpClass,LPDWORD lpcchClass,LPDWORD lpReserved,LPDWORD lpcSubKeys,LPDWORD lpcbMaxSubKeyLen,LPDWORD lpcbMaxClassLen,LPDWORD lpcValues,LPDWORD lpcbMaxValueNameLen,LPDWORD lpcbMaxValueLen,LPDWORD lpcbSecurityDescriptor,PFILETIME lpftLastWriteTime);
             ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:76:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:178:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegQueryInfoKeyW(HKEY hKey,LPWSTR lpClass,LPDWORD lpcchClass,LPDWORD lpReserved,LPDWORD lpcSubKeys,LPDWORD lpcbMaxSubKeyLen,LPDWORD lpcbMaxClassLen,LPDWORD lpcValues,LPDWORD lpcbMaxValueNameLen,LPDWORD lpcbMaxValueLen,LPDWORD lpcbSecurityDescriptor,PFILETIME lpftLastWriteTime);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:179:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegQueryValueA(HKEY hKey,LPCSTR lpSubKey,LPSTR lpData,PLONG lpcbData);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:180:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegQueryValueW(HKEY hKey,LPCWSTR lpSubKey,LPWSTR lpData,PLONG lpcbData);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:181:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegQueryMultipleValuesA(HKEY hKey,PVALENTA val_list,DWORD num_vals,LPSTR lpValueBuf,LPDWORD ldwTotsize);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:182:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegQueryMultipleValuesW(HKEY hKey,PVALENTW val_list,DWORD num_vals,LPWSTR lpValueBuf,LPDWORD ldwTotsize);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:183:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegQueryValueExA(HKEY hKey,LPCSTR lpValueName,LPDWORD lpReserved,LPDWORD lpType,LPBYTE lpData,LPDWORD lpcbData);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:184:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegQueryValueExW(HKEY hKey,LPCWSTR lpValueName,LPDWORD lpReserved,LPDWORD lpType,LPBYTE lpData,LPDWORD lpcbData);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:185:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegReplaceKeyA(HKEY hKey,LPCSTR lpSubKey,LPCSTR lpNewFile,LPCSTR lpOldFile);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:186:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegReplaceKeyW(HKEY hKey,LPCWSTR lpSubKey,LPCWSTR lpNewFile,LPCWSTR lpOldFile);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:187:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegRestoreKeyA(HKEY hKey,LPCSTR lpFile,DWORD dwFlags);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:188:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegRestoreKeyW(HKEY hKey,LPCWSTR lpFile,DWORD dwFlags);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:189:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegSaveKeyA(HKEY hKey,LPCSTR lpFile,LPSECURITY_ATTRIBUTES lpSecurityAttributes);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:190:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegSaveKeyW(HKEY hKey,LPCWSTR lpFile,LPSECURITY_ATTRIBUTES lpSecurityAttributes);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:191:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegSetKeySecurity(HKEY hKey,SECURITY_INFORMATION SecurityInformation,PSECURITY_DESCRIPTOR pSecurityDescriptor);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:192:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegSetValueA(HKEY hKey,LPCSTR lpSubKey,DWORD dwType,LPCSTR lpData,DWORD cbData);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:193:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegSetValueW(HKEY hKey,LPCWSTR lpSubKey,DWORD dwType,LPCWSTR lpData,DWORD cbData);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:194:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegSetValueExA(HKEY hKey,LPCSTR lpValueName,DWORD Reserved,DWORD dwType,CONST BYTE *lpData,DWORD cbData);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:195:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegSetValueExW(HKEY hKey,LPCWSTR lpValueName,DWORD Reserved,DWORD dwType,CONST BYTE *lpData,DWORD cbData);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:196:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegUnLoadKeyA(HKEY hKey,LPCSTR lpSubKey);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:197:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegUnLoadKeyW(HKEY hKey,LPCWSTR lpSubKey);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:198:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegGetValueA(HKEY hkey,LPCSTR lpSubKey,LPCSTR lpValue,DWORD dwFlags,LPDWORD pdwType,PVOID pvData,LPDWORD pcbData);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:199:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegGetValueW(HKEY hkey,LPCWSTR lpSubKey,LPCWSTR lpValue,DWORD dwFlags,LPDWORD pdwType,PVOID pvData,LPDWORD pcbData);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:200:88: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI InitiateSystemShutdownA(LPSTR lpMachineName,LPSTR lpMessage,DWORD dwTimeout,WINBOOL bForceAppsClosed,WINBOOL bRebootAfterShutdown);
                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:201:90: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI InitiateSystemShutdownW(LPWSTR lpMachineName,LPWSTR lpMessage,DWORD dwTimeout,WINBOOL bForceAppsClosed,WINBOOL bRebootAfterShutdown);
                                                                                          ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:76:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:222:90: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI InitiateSystemShutdownExA(LPSTR lpMachineName,LPSTR lpMessage,DWORD dwTimeout,WINBOOL bForceAppsClosed,WINBOOL bRebootAfterShutdown,DWORD dwReason);
                                                                                          ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:76:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:222:160: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI InitiateSystemShutdownExA(LPSTR lpMachineName,LPSTR lpMessage,DWORD dwTimeout,WINBOOL bForceAppsClosed,WINBOOL bRebootAfterShutdown,DWORD dwReason);
                                                                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:223:92: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI InitiateSystemShutdownExW(LPWSTR lpMachineName,LPWSTR lpMessage,DWORD dwTimeout,WINBOOL bForceAppsClosed,WINBOOL bRebootAfterShutdown,DWORD dwReason);
                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:223:162: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI InitiateSystemShutdownExW(LPWSTR lpMachineName,LPWSTR lpMessage,DWORD dwTimeout,WINBOOL bForceAppsClosed,WINBOOL bRebootAfterShutdown,DWORD dwReason);
                                                                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:224:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegSaveKeyExA(HKEY hKey,LPCSTR lpFile,LPSECURITY_ATTRIBUTES lpSecurityAttributes,DWORD Flags);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:225:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI RegSaveKeyExW(HKEY hKey,LPCWSTR lpFile,LPSECURITY_ATTRIBUTES lpSecurityAttributes,DWORD Flags);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winreg.h:226:13: error: 'LONG' does not name a type
   WINADVAPI LONG WINAPI Wow64Win32ApiEntry (DWORD dwFuncNumber,DWORD dwFlag,DWORD dwRes);
             ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:77:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:54:5: error: 'DWORD' does not name a type
     DWORD dwScope;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:55:5: error: 'DWORD' does not name a type
     DWORD dwType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:56:5: error: 'DWORD' does not name a type
     DWORD dwDisplayType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:57:5: error: 'DWORD' does not name a type
     DWORD dwUsage;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:64:5: error: 'DWORD' does not name a type
     DWORD dwScope;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:65:5: error: 'DWORD' does not name a type
     DWORD dwType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:66:5: error: 'DWORD' does not name a type
     DWORD dwDisplayType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:67:5: error: 'DWORD' does not name a type
     DWORD dwUsage;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:106:3: error: 'DWORD' does not name a type
   DWORD WINAPI WNetAddConnectionA(LPCSTR lpRemoteName,LPCSTR lpPassword,LPCSTR lpLocalName);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:107:3: error: 'DWORD' does not name a type
   DWORD WINAPI WNetAddConnectionW(LPCWSTR lpRemoteName,LPCWSTR lpPassword,LPCWSTR lpLocalName);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:108:3: error: 'DWORD' does not name a type
   DWORD WINAPI WNetAddConnection2A(LPNETRESOURCEA lpNetResource,LPCSTR lpPassword,LPCSTR lpUserName,DWORD dwFlags);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:109:3: error: 'DWORD' does not name a type
   DWORD WINAPI WNetAddConnection2W(LPNETRESOURCEW lpNetResource,LPCWSTR lpPassword,LPCWSTR lpUserName,DWORD dwFlags);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:110:3: error: 'DWORD' does not name a type
   DWORD WINAPI WNetAddConnection3A(HWND hwndOwner,LPNETRESOURCEA lpNetResource,LPCSTR lpPassword,LPCSTR lpUserName,DWORD dwFlags);
   ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:77:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:111:3: error: 'DWORD' does not name a type
   DWORD WINAPI WNetAddConnection3W(HWND hwndOwner,LPNETRESOURCEW lpNetResource,LPCWSTR lpPassword,LPCWSTR lpUserName,DWORD dwFlags);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:112:3: error: 'DWORD' does not name a type
   DWORD WINAPI WNetCancelConnectionA(LPCSTR lpName,WINBOOL fForce);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:113:3: error: 'DWORD' does not name a type
   DWORD WINAPI WNetCancelConnectionW(LPCWSTR lpName,WINBOOL fForce);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:114:3: error: 'DWORD' does not name a type
   DWORD WINAPI WNetCancelConnection2A(LPCSTR lpName,DWORD dwFlags,WINBOOL fForce);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:115:3: error: 'DWORD' does not name a type
   DWORD WINAPI WNetCancelConnection2W(LPCWSTR lpName,DWORD dwFlags,WINBOOL fForce);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:116:3: error: 'DWORD' does not name a type
   DWORD WINAPI WNetGetConnectionA(LPCSTR lpLocalName,LPSTR lpRemoteName,LPDWORD lpnLength);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:117:3: error: 'DWORD' does not name a type
   DWORD WINAPI WNetGetConnectionW(LPCWSTR lpLocalName,LPWSTR lpRemoteName,LPDWORD lpnLength);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:118:3: error: 'DWORD' does not name a type
   DWORD WINAPI WNetRestoreConnectionA(HWND hwndParent,LPCSTR lpDevice);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:119:3: error: 'DWORD' does not name a type
   DWORD WINAPI WNetUseConnectionA(HWND hwndOwner,LPNETRESOURCEA lpNetResource,LPCSTR lpPassword,LPCSTR lpUserID,DWORD dwFlags,LPSTR lpAccessName,LPDWORD lpBufferSize,LPDWORD lpResult);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:120:3: error: 'DWORD' does not name a type
   DWORD WINAPI WNetUseConnectionW(HWND hwndOwner,LPNETRESOURCEW lpNetResource,LPCWSTR lpPassword,LPCWSTR lpUserID,DWORD dwFlags,LPWSTR lpAccessName,LPDWORD lpBufferSize,LPDWORD lpResult);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:121:3: error: 'DWORD' does not name a type
   DWORD WINAPI WNetConnectionDialog(HWND hwnd,DWORD dwType);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:122:3: error: 'DWORD' does not name a type
   DWORD WINAPI WNetDisconnectDialog(HWND hwnd,DWORD dwType);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:126:3: error: 'DWORD' does not name a type
   DWORD WINAPI WNetRestoreConnectionW(HWND hwndParent,LPCWSTR lpDevice);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:130:5: error: 'DWORD' does not name a type
     DWORD cbStructure;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:133:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:134:5: error: 'DWORD' does not name a type
     DWORD dwDevNum;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:138:5: error: 'DWORD' does not name a type
     DWORD cbStructure;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:141:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:142:5: error: 'DWORD' does not name a type
     DWORD dwDevNum;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:158:3: error: 'DWORD' does not name a type
   DWORD WINAPI WNetConnectionDialog1A(LPCONNECTDLGSTRUCTA lpConnDlgStruct);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:159:3: error: 'DWORD' does not name a type
   DWORD WINAPI WNetConnectionDialog1W(LPCONNECTDLGSTRUCTW lpConnDlgStruct);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:162:5: error: 'DWORD' does not name a type
     DWORD cbStructure;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:166:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:170:5: error: 'DWORD' does not name a type
     DWORD cbStructure;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:174:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:189:3: error: 'DWORD' does not name a type
   DWORD WINAPI WNetDisconnectDialog1A(LPDISCDLGSTRUCTA lpConnDlgStruct);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:190:3: error: 'DWORD' does not name a type
   DWORD WINAPI WNetDisconnectDialog1W(LPDISCDLGSTRUCTW lpConnDlgStruct);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:191:3: error: 'DWORD' does not name a type
   DWORD WINAPI WNetOpenEnumA(DWORD dwScope,DWORD dwType,DWORD dwUsage,LPNETRESOURCEA lpNetResource,LPHANDLE lphEnum);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:192:3: error: 'DWORD' does not name a type
   DWORD WINAPI WNetOpenEnumW(DWORD dwScope,DWORD dwType,DWORD dwUsage,LPNETRESOURCEW lpNetResource,LPHANDLE lphEnum);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:193:3: error: 'DWORD' does not name a type
   DWORD WINAPI WNetEnumResourceA(HANDLE hEnum,LPDWORD lpcCount,LPVOID lpBuffer,LPDWORD lpBufferSize);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:194:3: error: 'DWORD' does not name a type
   DWORD WINAPI WNetEnumResourceW(HANDLE hEnum,LPDWORD lpcCount,LPVOID lpBuffer,LPDWORD lpBufferSize);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:195:3: error: 'DWORD' does not name a type
   DWORD WINAPI WNetCloseEnum(HANDLE hEnum);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:196:3: error: 'DWORD' does not name a type
   DWORD WINAPI WNetGetResourceParentA(LPNETRESOURCEA lpNetResource,LPVOID lpBuffer,LPDWORD lpcbBuffer);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:197:3: error: 'DWORD' does not name a type
   DWORD WINAPI WNetGetResourceParentW(LPNETRESOURCEW lpNetResource,LPVOID lpBuffer,LPDWORD lpcbBuffer);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:198:3: error: 'DWORD' does not name a type
   DWORD WINAPI WNetGetResourceInformationA(LPNETRESOURCEA lpNetResource,LPVOID lpBuffer,LPDWORD lpcbBuffer,LPSTR *lplpSystem);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:199:3: error: 'DWORD' does not name a type
   DWORD WINAPI WNetGetResourceInformationW(LPNETRESOURCEW lpNetResource,LPVOID lpBuffer,LPDWORD lpcbBuffer,LPWSTR *lplpSystem);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:234:3: error: 'DWORD' does not name a type
   DWORD WINAPI WNetGetUniversalNameA(LPCSTR lpLocalPath,DWORD dwInfoLevel,LPVOID lpBuffer,LPDWORD lpBufferSize);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:235:3: error: 'DWORD' does not name a type
   DWORD WINAPI WNetGetUniversalNameW(LPCWSTR lpLocalPath,DWORD dwInfoLevel,LPVOID lpBuffer,LPDWORD lpBufferSize);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:236:3: error: 'DWORD' does not name a type
   DWORD WINAPI WNetGetUserA(LPCSTR lpName,LPSTR lpUserName,LPDWORD lpnLength);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:237:3: error: 'DWORD' does not name a type
   DWORD WINAPI WNetGetUserW(LPCWSTR lpName,LPWSTR lpUserName,LPDWORD lpnLength);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:244:3: error: 'DWORD' does not name a type
   DWORD WINAPI WNetGetProviderNameA(DWORD dwNetType,LPSTR lpProviderName,LPDWORD lpBufferSize);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:245:3: error: 'DWORD' does not name a type
   DWORD WINAPI WNetGetProviderNameW(DWORD dwNetType,LPWSTR lpProviderName,LPDWORD lpBufferSize);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:248:5: error: 'DWORD' does not name a type
     DWORD cbStructure;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:249:5: error: 'DWORD' does not name a type
     DWORD dwProviderVersion;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:250:5: error: 'DWORD' does not name a type
     DWORD dwStatus;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:251:5: error: 'DWORD' does not name a type
     DWORD dwCharacteristics;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:254:5: error: 'DWORD' does not name a type
     DWORD dwPrinters;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:255:5: error: 'DWORD' does not name a type
     DWORD dwDrives;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:264:3: error: 'DWORD' does not name a type
   DWORD WINAPI WNetGetNetworkInformationA(LPCSTR lpProvider,LPNETINFOSTRUCT lpNetInfoStruct);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:265:3: error: 'DWORD' does not name a type
   DWORD WINAPI WNetGetNetworkInformationW(LPCWSTR lpProvider,LPNETINFOSTRUCT lpNetInfoStruct);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:272:90: error: 'DWORD' has not been declared
   typedef UINT (WINAPI *PFNRECONCILEPROFILEA) (LPCSTR pszCentralFile,LPCSTR pszLocalFile,DWORD dwFlags);
                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:273:92: error: 'DWORD' has not been declared
   typedef UINT (WINAPI *PFNRECONCILEPROFILEW) (LPCWSTR pszCentralFile,LPCWSTR pszLocalFile,DWORD dwFlags);
                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:280:117: error: 'DWORD' has not been declared
   typedef WINBOOL (WINAPI *PFNPROCESSPOLICIESA) (HWND hwnd,LPCSTR pszPath,LPCSTR pszUsername,LPCSTR pszComputerName,DWORD dwFlags);
                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:281:120: error: 'DWORD' has not been declared
   typedef WINBOOL (WINAPI *PFNPROCESSPOLICIESW) (HWND hwnd,LPCWSTR pszPath,LPCWSTR pszUsername,LPCWSTR pszComputerName,DWORD dwFlags);
                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:289:3: error: 'DWORD' does not name a type
   DWORD WINAPI WNetGetLastErrorA(LPDWORD lpError,LPSTR lpErrorBuf,DWORD nErrorBufSize,LPSTR lpNameBuf,DWORD nNameBufSize);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:290:3: error: 'DWORD' does not name a type
   DWORD WINAPI WNetGetLastErrorW(LPDWORD lpError,LPWSTR lpErrorBuf,DWORD nErrorBufSize,LPWSTR lpNameBuf,DWORD nNameBufSize);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:336:5: error: 'DWORD' does not name a type
     DWORD cbStructure;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:337:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:338:5: error: 'DWORD' does not name a type
     DWORD dwSpeed;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:339:5: error: 'DWORD' does not name a type
     DWORD dwDelay;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:340:5: error: 'DWORD' does not name a type
     DWORD dwOptDataSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:350:3: error: 'DWORD' does not name a type
   DWORD WINAPI MultinetGetConnectionPerformanceA(LPNETRESOURCEA lpNetResource,LPNETCONNECTINFOSTRUCT lpNetConnectInfoStruct);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winnetwk.h:351:3: error: 'DWORD' does not name a type
   DWORD WINAPI MultinetGetConnectionPerformanceW(LPNETRESOURCEW lpNetResource,LPNETCONNECTINFOSTRUCT lpNetConnectInfoStruct);
   ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:83:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:31:5: error: 'DWORD' does not name a type
     DWORD dwLangID;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:32:5: error: 'DWORD' does not name a type
     DWORD dwSecurity;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:37:5: error: 'DWORD' does not name a type
     DWORD cb;
     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:83:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:159:30: error: 'LPDWORD' was not declared in this scope
   UINT WINAPI DdeInitializeA(LPDWORD pidInst,PFNCALLBACK pfnCallback,DWORD afCmd,DWORD ulRes);
                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:159:58: error: expected primary-expression before 'pfnCallback'
   UINT WINAPI DdeInitializeA(LPDWORD pidInst,PFNCALLBACK pfnCallback,DWORD afCmd,DWORD ulRes);
                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:159:70: error: 'DWORD' was not declared in this scope
   UINT WINAPI DdeInitializeA(LPDWORD pidInst,PFNCALLBACK pfnCallback,DWORD afCmd,DWORD ulRes);
                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:159:82: error: 'DWORD' was not declared in this scope
   UINT WINAPI DdeInitializeA(LPDWORD pidInst,PFNCALLBACK pfnCallback,DWORD afCmd,DWORD ulRes);
                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:159:93: error: expression list treated as compound expression in initializer [-fpermissive]
   UINT WINAPI DdeInitializeA(LPDWORD pidInst,PFNCALLBACK pfnCallback,DWORD afCmd,DWORD ulRes);
                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:160:30: error: 'LPDWORD' was not declared in this scope
   UINT WINAPI DdeInitializeW(LPDWORD pidInst,PFNCALLBACK pfnCallback,DWORD afCmd,DWORD ulRes);
                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:160:58: error: expected primary-expression before 'pfnCallback'
   UINT WINAPI DdeInitializeW(LPDWORD pidInst,PFNCALLBACK pfnCallback,DWORD afCmd,DWORD ulRes);
                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:160:70: error: 'DWORD' was not declared in this scope
   UINT WINAPI DdeInitializeW(LPDWORD pidInst,PFNCALLBACK pfnCallback,DWORD afCmd,DWORD ulRes);
                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:160:82: error: 'DWORD' was not declared in this scope
   UINT WINAPI DdeInitializeW(LPDWORD pidInst,PFNCALLBACK pfnCallback,DWORD afCmd,DWORD ulRes);
                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:160:93: error: expression list treated as compound expression in initializer [-fpermissive]
   UINT WINAPI DdeInitializeW(LPDWORD pidInst,PFNCALLBACK pfnCallback,DWORD afCmd,DWORD ulRes);
                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:183:34: error: 'DWORD' was not declared in this scope
   WINBOOL WINAPI DdeUninitialize(DWORD idInst);
                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:184:35: error: 'DWORD' was not declared in this scope
   HCONVLIST WINAPI DdeConnectList(DWORD idInst,HSZ hszService,HSZ hszTopic,HCONVLIST hConvList,PCONVCONTEXT pCC);
                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:184:52: error: expected primary-expression before 'hszService'
   HCONVLIST WINAPI DdeConnectList(DWORD idInst,HSZ hszService,HSZ hszTopic,HCONVLIST hConvList,PCONVCONTEXT pCC);
                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:184:67: error: expected primary-expression before 'hszTopic'
   HCONVLIST WINAPI DdeConnectList(DWORD idInst,HSZ hszService,HSZ hszTopic,HCONVLIST hConvList,PCONVCONTEXT pCC);
                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:184:86: error: expected primary-expression before 'hConvList'
   HCONVLIST WINAPI DdeConnectList(DWORD idInst,HSZ hszService,HSZ hszTopic,HCONVLIST hConvList,PCONVCONTEXT pCC);
                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:184:109: error: expected primary-expression before 'pCC'
   HCONVLIST WINAPI DdeConnectList(DWORD idInst,HSZ hszService,HSZ hszTopic,HCONVLIST hConvList,PCONVCONTEXT pCC);
                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:184:112: error: expression list treated as compound expression in initializer [-fpermissive]
   HCONVLIST WINAPI DdeConnectList(DWORD idInst,HSZ hszService,HSZ hszTopic,HCONVLIST hConvList,PCONVCONTEXT pCC);
                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:187:27: error: 'DWORD' was not declared in this scope
   HCONV WINAPI DdeConnect(DWORD idInst,HSZ hszService,HSZ hszTopic,PCONVCONTEXT pCC);
                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:187:44: error: expected primary-expression before 'hszService'
   HCONV WINAPI DdeConnect(DWORD idInst,HSZ hszService,HSZ hszTopic,PCONVCONTEXT pCC);
                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:187:59: error: expected primary-expression before 'hszTopic'
   HCONV WINAPI DdeConnect(DWORD idInst,HSZ hszService,HSZ hszTopic,PCONVCONTEXT pCC);
                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:187:81: error: expected primary-expression before 'pCC'
   HCONV WINAPI DdeConnect(DWORD idInst,HSZ hszService,HSZ hszTopic,PCONVCONTEXT pCC);
                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:187:84: error: expression list treated as compound expression in initializer [-fpermissive]
   HCONV WINAPI DdeConnect(DWORD idInst,HSZ hszService,HSZ hszTopic,PCONVCONTEXT pCC);
                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:190:44: error: 'DWORD' has not been declared
   UINT WINAPI DdeQueryConvInfo(HCONV hConv,DWORD idTransaction,PCONVINFO pConvInfo);
                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:191:47: error: 'DWORD' has not been declared
   WINBOOL WINAPI DdeSetUserHandle(HCONV hConv,DWORD id,DWORD_PTR hUser);
                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:192:40: error: 'DWORD' was not declared in this scope
   WINBOOL WINAPI DdeAbandonTransaction(DWORD idInst,HCONV hConv,DWORD idTransaction);
                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:192:59: error: expected primary-expression before 'hConv'
   WINBOOL WINAPI DdeAbandonTransaction(DWORD idInst,HCONV hConv,DWORD idTransaction);
                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:192:65: error: 'DWORD' was not declared in this scope
   WINBOOL WINAPI DdeAbandonTransaction(DWORD idInst,HCONV hConv,DWORD idTransaction);
                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:192:84: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBOOL WINAPI DdeAbandonTransaction(DWORD idInst,HCONV hConv,DWORD idTransaction);
                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:193:32: error: 'DWORD' was not declared in this scope
   WINBOOL WINAPI DdePostAdvise(DWORD idInst,HSZ hszTopic,HSZ hszItem);
                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:193:49: error: expected primary-expression before 'hszTopic'
   WINBOOL WINAPI DdePostAdvise(DWORD idInst,HSZ hszTopic,HSZ hszItem);
                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:193:62: error: expected primary-expression before 'hszItem'
   WINBOOL WINAPI DdePostAdvise(DWORD idInst,HSZ hszTopic,HSZ hszItem);
                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:193:69: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBOOL WINAPI DdePostAdvise(DWORD idInst,HSZ hszTopic,HSZ hszItem);
                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:194:36: error: 'DWORD' was not declared in this scope
   WINBOOL WINAPI DdeEnableCallback(DWORD idInst,HCONV hConv,UINT wCmd);
                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:194:55: error: expected primary-expression before 'hConv'
   WINBOOL WINAPI DdeEnableCallback(DWORD idInst,HCONV hConv,UINT wCmd);
                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:194:66: error: expected primary-expression before 'wCmd'
   WINBOOL WINAPI DdeEnableCallback(DWORD idInst,HCONV hConv,UINT wCmd);
                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:194:70: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBOOL WINAPI DdeEnableCallback(DWORD idInst,HCONV hConv,UINT wCmd);
                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:207:34: error: 'DWORD' was not declared in this scope
   HDDEDATA WINAPI DdeNameService(DWORD idInst,HSZ hsz1,HSZ hsz2,UINT afCmd);
                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:207:51: error: expected primary-expression before 'hsz1'
   HDDEDATA WINAPI DdeNameService(DWORD idInst,HSZ hsz1,HSZ hsz2,UINT afCmd);
                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:207:60: error: expected primary-expression before 'hsz2'
   HDDEDATA WINAPI DdeNameService(DWORD idInst,HSZ hsz1,HSZ hsz2,UINT afCmd);
                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:207:70: error: expected primary-expression before 'afCmd'
   HDDEDATA WINAPI DdeNameService(DWORD idInst,HSZ hsz1,HSZ hsz2,UINT afCmd);
                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:207:75: error: expression list treated as compound expression in initializer [-fpermissive]
   HDDEDATA WINAPI DdeNameService(DWORD idInst,HSZ hsz1,HSZ hsz2,UINT afCmd);
                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:208:53: error: 'DWORD' has not been declared
   HDDEDATA WINAPI DdeClientTransaction(LPBYTE pData,DWORD cbData,HCONV hConv,HSZ hszItem,UINT wFmt,UINT wType,DWORD dwTimeout,LPDWORD pdwResult);
                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:208:111: error: 'DWORD' has not been declared
   HDDEDATA WINAPI DdeClientTransaction(LPBYTE pData,DWORD cbData,HCONV hConv,HSZ hszItem,UINT wFmt,UINT wType,DWORD dwTimeout,LPDWORD pdwResult);
                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:208:127: error: 'LPDWORD' has not been declared
   HDDEDATA WINAPI DdeClientTransaction(LPBYTE pData,DWORD cbData,HCONV hConv,HSZ hszItem,UINT wFmt,UINT wType,DWORD dwTimeout,LPDWORD pdwResult);
                                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:209:39: error: 'DWORD' was not declared in this scope
   HDDEDATA WINAPI DdeCreateDataHandle(DWORD idInst,LPBYTE pSrc,DWORD cb,DWORD cbOff,HSZ hszItem,UINT wFmt,UINT afCmd);
                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:209:59: error: expected primary-expression before 'pSrc'
   HDDEDATA WINAPI DdeCreateDataHandle(DWORD idInst,LPBYTE pSrc,DWORD cb,DWORD cbOff,HSZ hszItem,UINT wFmt,UINT afCmd);
                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:209:64: error: 'DWORD' was not declared in this scope
   HDDEDATA WINAPI DdeCreateDataHandle(DWORD idInst,LPBYTE pSrc,DWORD cb,DWORD cbOff,HSZ hszItem,UINT wFmt,UINT afCmd);
                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:209:73: error: 'DWORD' was not declared in this scope
   HDDEDATA WINAPI DdeCreateDataHandle(DWORD idInst,LPBYTE pSrc,DWORD cb,DWORD cbOff,HSZ hszItem,UINT wFmt,UINT afCmd);
                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:209:89: error: expected primary-expression before 'hszItem'
   HDDEDATA WINAPI DdeCreateDataHandle(DWORD idInst,LPBYTE pSrc,DWORD cb,DWORD cbOff,HSZ hszItem,UINT wFmt,UINT afCmd);
                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:209:102: error: expected primary-expression before 'wFmt'
   HDDEDATA WINAPI DdeCreateDataHandle(DWORD idInst,LPBYTE pSrc,DWORD cb,DWORD cbOff,HSZ hszItem,UINT wFmt,UINT afCmd);
                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:209:112: error: expected primary-expression before 'afCmd'
   HDDEDATA WINAPI DdeCreateDataHandle(DWORD idInst,LPBYTE pSrc,DWORD cb,DWORD cbOff,HSZ hszItem,UINT wFmt,UINT afCmd);
                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:209:117: error: expression list treated as compound expression in initializer [-fpermissive]
   HDDEDATA WINAPI DdeCreateDataHandle(DWORD idInst,LPBYTE pSrc,DWORD cb,DWORD cbOff,HSZ hszItem,UINT wFmt,UINT afCmd);
                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:210:57: error: 'DWORD' has not been declared
   HDDEDATA WINAPI DdeAddData(HDDEDATA hData,LPBYTE pSrc,DWORD cb,DWORD cbOff);
                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:210:66: error: 'DWORD' has not been declared
   HDDEDATA WINAPI DdeAddData(HDDEDATA hData,LPBYTE pSrc,DWORD cb,DWORD cbOff);
                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:211:3: error: 'DWORD' does not name a type
   DWORD WINAPI DdeGetData(HDDEDATA hData,LPBYTE pDst,DWORD cbMax,DWORD cbOff);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:212:46: error: 'LPDWORD' has not been declared
   LPBYTE WINAPI DdeAccessData(HDDEDATA hData,LPDWORD pcbDataSize);
                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:218:31: error: 'DWORD' was not declared in this scope
   UINT WINAPI DdeGetLastError(DWORD idInst);
                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:244:37: error: 'DWORD' was not declared in this scope
   HSZ WINAPI DdeCreateStringHandleA(DWORD idInst,LPCSTR psz,int iCodePage);
                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:244:57: error: expected primary-expression before 'psz'
   HSZ WINAPI DdeCreateStringHandleA(DWORD idInst,LPCSTR psz,int iCodePage);
                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:244:61: error: expected primary-expression before 'int'
   HSZ WINAPI DdeCreateStringHandleA(DWORD idInst,LPCSTR psz,int iCodePage);
                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:244:74: error: expression list treated as compound expression in initializer [-fpermissive]
   HSZ WINAPI DdeCreateStringHandleA(DWORD idInst,LPCSTR psz,int iCodePage);
                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:245:37: error: 'DWORD' was not declared in this scope
   HSZ WINAPI DdeCreateStringHandleW(DWORD idInst,LPCWSTR psz,int iCodePage);
                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:245:58: error: expected primary-expression before 'psz'
   HSZ WINAPI DdeCreateStringHandleW(DWORD idInst,LPCWSTR psz,int iCodePage);
                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:245:62: error: expected primary-expression before 'int'
   HSZ WINAPI DdeCreateStringHandleW(DWORD idInst,LPCWSTR psz,int iCodePage);
                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:245:75: error: expression list treated as compound expression in initializer [-fpermissive]
   HSZ WINAPI DdeCreateStringHandleW(DWORD idInst,LPCWSTR psz,int iCodePage);
                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:246:3: error: 'DWORD' does not name a type
   DWORD WINAPI DdeQueryStringA(DWORD idInst,HSZ hsz,LPSTR psz,DWORD cchMax,int iCodePage);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:247:3: error: 'DWORD' does not name a type
   DWORD WINAPI DdeQueryStringW(DWORD idInst,HSZ hsz,LPWSTR psz,DWORD cchMax,int iCodePage);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:248:38: error: 'DWORD' was not declared in this scope
   WINBOOL WINAPI DdeFreeStringHandle(DWORD idInst,HSZ hsz);
                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:248:55: error: expected primary-expression before 'hsz'
   WINBOOL WINAPI DdeFreeStringHandle(DWORD idInst,HSZ hsz);
                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:248:58: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBOOL WINAPI DdeFreeStringHandle(DWORD idInst,HSZ hsz);
                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:249:38: error: 'DWORD' was not declared in this scope
   WINBOOL WINAPI DdeKeepStringHandle(DWORD idInst,HSZ hsz);
                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:249:55: error: expected primary-expression before 'hsz'
   WINBOOL WINAPI DdeKeepStringHandle(DWORD idInst,HSZ hsz);
                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:249:58: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBOOL WINAPI DdeKeepStringHandle(DWORD idInst,HSZ hsz);
                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:259:5: error: 'DWORD' does not name a type
     DWORD cbData;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:260:5: error: 'DWORD' does not name a type
     DWORD Data[8];
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:266:5: error: 'DWORD' does not name a type
     DWORD dwTime;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:276:5: error: 'DWORD' does not name a type
     DWORD dwTime;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:278:5: error: 'DWORD' does not name a type
     DWORD dwRet;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:288:5: error: 'DWORD' does not name a type
     DWORD cbData;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:289:5: error: 'DWORD' does not name a type
     DWORD Data[8];
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:295:5: error: 'DWORD' does not name a type
     DWORD dwTime;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:304:5: error: 'DWORD' does not name a type
     DWORD dwTime;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:321:5: error: 'DWORD' does not name a type
     DWORD dwTime;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:327:5: error: 'DWORD' does not name a type
     DWORD dwTime;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ddeml.h:343:5: error: 'DWORD' does not name a type
     DWORD dwTime;
     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:85:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/lzexpand.h:29:3: error: 'LONG' does not name a type
   LONG WINAPI CopyLZFile(INT,INT);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/lzexpand.h:30:3: error: 'LONG' does not name a type
   LONG WINAPI LZCopy(INT,INT);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/lzexpand.h:36:3: error: 'LONG' does not name a type
   LONG WINAPI LZSeek(INT,LONG,INT);
   ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:86:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:41:7: error: 'DWORD' does not name a type
       DWORD ms;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:42:7: error: 'DWORD' does not name a type
       DWORD sample;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:43:7: error: 'DWORD' does not name a type
       DWORD cb;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:44:7: error: 'DWORD' does not name a type
       DWORD ticks;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:55:2: error: 'DWORD' does not name a type
  DWORD songptrpos;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:170:5: error: 'DWORD' does not name a type
     DWORD dwDCISize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:173:5: error: 'DWORD' does not name a type
     DWORD dnDevNode;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:193:5: error: 'DWORD' does not name a type
     DWORD dwDCISize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:269:67: error: 'DWORD' has not been declared
   WINMMAPI WINBOOL WINAPI PlaySoundA(LPCSTR pszSound,HMODULE hmod,DWORD fdwSound);
                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:270:68: error: 'DWORD' has not been declared
   WINMMAPI WINBOOL WINAPI PlaySoundW(LPCWSTR pszSound,HMODULE hmod,DWORD fdwSound);
                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:308:5: error: 'DWORD' does not name a type
     DWORD dwBufferLength;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:309:5: error: 'DWORD' does not name a type
     DWORD dwBytesRecorded;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:311:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:312:5: error: 'DWORD' does not name a type
     DWORD dwLoops;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:328:5: error: 'DWORD' does not name a type
     DWORD dwFormats;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:331:5: error: 'DWORD' does not name a type
     DWORD dwSupport;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:339:5: error: 'DWORD' does not name a type
     DWORD dwFormats;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:342:5: error: 'DWORD' does not name a type
     DWORD dwSupport;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:355:5: error: 'DWORD' does not name a type
     DWORD dwFormats;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:358:5: error: 'DWORD' does not name a type
     DWORD dwSupport;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:369:5: error: 'DWORD' does not name a type
     DWORD dwFormats;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:372:5: error: 'DWORD' does not name a type
     DWORD dwSupport;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:395:5: error: 'DWORD' does not name a type
     DWORD dwFormats;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:405:5: error: 'DWORD' does not name a type
     DWORD dwFormats;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:420:5: error: 'DWORD' does not name a type
     DWORD dwFormats;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:433:5: error: 'DWORD' does not name a type
     DWORD dwFormats;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:477:5: error: 'DWORD' does not name a type
     DWORD nSamplesPerSec;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:478:5: error: 'DWORD' does not name a type
     DWORD nAvgBytesPerSec;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:496:5: error: 'DWORD' does not name a type
     DWORD nSamplesPerSec;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:497:5: error: 'DWORD' does not name a type
     DWORD nAvgBytesPerSec;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:511:58: error: 'LPDWORD' has not been declared
   WINMMAPI MMRESULT WINAPI waveOutGetVolume(HWAVEOUT hwo,LPDWORD pdwVolume);
                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:512:58: error: 'DWORD' has not been declared
   WINMMAPI MMRESULT WINAPI waveOutSetVolume(HWAVEOUT hwo,DWORD dwVolume);
                                                          ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:86:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:518:134: error: 'DWORD' has not been declared
   WINMMAPI MMRESULT WINAPI waveOutOpen(LPHWAVEOUT phwo,UINT uDeviceID,LPCWAVEFORMATEX pwfx,DWORD_PTR dwCallback,DWORD_PTR dwInstance,DWORD fdwOpen);
                                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:528:57: error: 'LPDWORD' has not been declared
   WINMMAPI MMRESULT WINAPI waveOutGetPitch(HWAVEOUT hwo,LPDWORD pdwPitch);
                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:529:57: error: 'DWORD' has not been declared
   WINMMAPI MMRESULT WINAPI waveOutSetPitch(HWAVEOUT hwo,DWORD dwPitch);
                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:530:64: error: 'LPDWORD' has not been declared
   WINMMAPI MMRESULT WINAPI waveOutGetPlaybackRate(HWAVEOUT hwo,LPDWORD pdwRate);
                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:531:64: error: 'DWORD' has not been declared
   WINMMAPI MMRESULT WINAPI waveOutSetPlaybackRate(HWAVEOUT hwo,DWORD dwRate);
                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:545:132: error: 'DWORD' has not been declared
   WINMMAPI MMRESULT WINAPI waveInOpen(LPHWAVEIN phwi,UINT uDeviceID,LPCWAVEFORMATEX pwfx,DWORD_PTR dwCallback,DWORD_PTR dwInstance,DWORD fdwOpen);
                                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:618:5: error: 'DWORD' does not name a type
     DWORD dwSupport;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:630:5: error: 'DWORD' does not name a type
     DWORD dwSupport;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:647:5: error: 'DWORD' does not name a type
     DWORD dwSupport;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:662:5: error: 'DWORD' does not name a type
     DWORD dwSupport;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:691:5: error: 'DWORD' does not name a type
     DWORD dwSupport;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:699:5: error: 'DWORD' does not name a type
     DWORD dwSupport;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:712:5: error: 'DWORD' does not name a type
     DWORD dwSupport;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:723:5: error: 'DWORD' does not name a type
     DWORD dwSupport;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:736:5: error: 'DWORD' does not name a type
     DWORD dwBufferLength;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:737:5: error: 'DWORD' does not name a type
     DWORD dwBytesRecorded;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:739:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:742:5: error: 'DWORD' does not name a type
     DWORD dwOffset;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:747:5: error: 'DWORD' does not name a type
     DWORD dwDeltaTime;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:748:5: error: 'DWORD' does not name a type
     DWORD dwStreamID;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:749:5: error: 'DWORD' does not name a type
     DWORD dwEvent;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:750:5: error: 'DWORD' does not name a type
     DWORD dwParms[1];
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:754:5: error: 'DWORD' does not name a type
     DWORD dwVersion;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:755:5: error: 'DWORD' does not name a type
     DWORD dwMid;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:756:5: error: 'DWORD' does not name a type
     DWORD dwOEMVersion;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:788:5: error: 'DWORD' does not name a type
     DWORD cbStruct;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:789:5: error: 'DWORD' does not name a type
     DWORD dwTimeDiv;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:793:5: error: 'DWORD' does not name a type
     DWORD cbStruct;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:794:5: error: 'DWORD' does not name a type
     DWORD dwTempo;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:798:78: error: 'DWORD' has not been declared
   WINMMAPI MMRESULT WINAPI midiStreamOpen(LPHMIDISTRM phms,LPUINT puDeviceID,DWORD cMidi,DWORD_PTR dwCallback,DWORD_PTR dwInstance,DWORD fdwOpen);
                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:798:132: error: 'DWORD' has not been declared
   WINMMAPI MMRESULT WINAPI midiStreamOpen(LPHMIDISTRM phms,LPUINT puDeviceID,DWORD cMidi,DWORD_PTR dwCallback,DWORD_PTR dwInstance,DWORD fdwOpen);
                                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:800:79: error: 'DWORD' has not been declared
   WINMMAPI MMRESULT WINAPI midiStreamProperty(HMIDISTRM hms,LPBYTE lppropdata,DWORD dwProperty);
                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:813:58: error: 'LPDWORD' has not been declared
   WINMMAPI MMRESULT WINAPI midiOutGetVolume(HMIDIOUT hmo,LPDWORD pdwVolume);
                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:814:58: error: 'DWORD' has not been declared
   WINMMAPI MMRESULT WINAPI midiOutSetVolume(HMIDIOUT hmo,DWORD dwVolume);
                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:820:113: error: 'DWORD' has not been declared
   WINMMAPI MMRESULT WINAPI midiOutOpen(LPHMIDIOUT phmo,UINT uDeviceID,DWORD_PTR dwCallback,DWORD_PTR dwInstance,DWORD fdwOpen);
                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:824:57: error: 'DWORD' has not been declared
   WINMMAPI MMRESULT WINAPI midiOutShortMsg(HMIDIOUT hmo,DWORD dwMsg);
                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:842:111: error: 'DWORD' has not been declared
   WINMMAPI MMRESULT WINAPI midiInOpen(LPHMIDIIN phmi,UINT uDeviceID,DWORD_PTR dwCallback,DWORD_PTR dwInstance,DWORD fdwOpen);
                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:865:5: error: 'DWORD' does not name a type
     DWORD dwSupport;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:875:5: error: 'DWORD' does not name a type
     DWORD dwSupport;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:890:5: error: 'DWORD' does not name a type
     DWORD dwSupport;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:903:5: error: 'DWORD' does not name a type
     DWORD dwSupport;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:926:56: error: 'DWORD' has not been declared
   WINMMAPI MMRESULT WINAPI auxSetVolume(UINT uDeviceID,DWORD dwVolume);
                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:927:56: error: 'LPDWORD' has not been declared
   WINMMAPI MMRESULT WINAPI auxGetVolume(UINT uDeviceID,LPDWORD pdwVolume);
                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:967:5: error: 'DWORD' does not name a type
     DWORD fdwSupport;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:968:5: error: 'DWORD' does not name a type
     DWORD cDestinations;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:976:5: error: 'DWORD' does not name a type
     DWORD fdwSupport;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:977:5: error: 'DWORD' does not name a type
     DWORD cDestinations;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:989:5: error: 'DWORD' does not name a type
     DWORD fdwSupport;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:990:5: error: 'DWORD' does not name a type
     DWORD cDestinations;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1001:5: error: 'DWORD' does not name a type
     DWORD fdwSupport;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1002:5: error: 'DWORD' does not name a type
     DWORD cDestinations;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1017:105: error: 'DWORD' has not been declared
   WINMMAPI MMRESULT WINAPI mixerOpen(LPHMIXER phmx,UINT uMxId,DWORD_PTR dwCallback,DWORD_PTR dwInstance,DWORD fdwOpen);
                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1019:12: error: 'DWORD' does not name a type
   WINMMAPI DWORD WINAPI mixerMessage(HMIXER hmx,UINT uMsg,DWORD_PTR dwParam1,DWORD_PTR dwParam2);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1022:5: error: 'DWORD' does not name a type
     DWORD cbStruct;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1023:5: error: 'DWORD' does not name a type
     DWORD dwDestination;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1024:5: error: 'DWORD' does not name a type
     DWORD dwSource;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1025:5: error: 'DWORD' does not name a type
     DWORD dwLineID;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1026:5: error: 'DWORD' does not name a type
     DWORD fdwLine;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1028:5: error: 'DWORD' does not name a type
     DWORD dwComponentType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1029:5: error: 'DWORD' does not name a type
     DWORD cChannels;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1030:5: error: 'DWORD' does not name a type
     DWORD cConnections;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1031:5: error: 'DWORD' does not name a type
     DWORD cControls;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1035:7: error: 'DWORD' does not name a type
       DWORD dwType;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1036:7: error: 'DWORD' does not name a type
       DWORD dwDeviceID;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1045:5: error: 'DWORD' does not name a type
     DWORD cbStruct;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1046:5: error: 'DWORD' does not name a type
     DWORD dwDestination;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1047:5: error: 'DWORD' does not name a type
     DWORD dwSource;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1048:5: error: 'DWORD' does not name a type
     DWORD dwLineID;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1049:5: error: 'DWORD' does not name a type
     DWORD fdwLine;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1051:5: error: 'DWORD' does not name a type
     DWORD dwComponentType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1052:5: error: 'DWORD' does not name a type
     DWORD cChannels;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1053:5: error: 'DWORD' does not name a type
     DWORD cConnections;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1054:5: error: 'DWORD' does not name a type
     DWORD cControls;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1058:7: error: 'DWORD' does not name a type
       DWORD dwType;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1059:7: error: 'DWORD' does not name a type
       DWORD dwDeviceID;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1107:81: error: 'DWORD' has not been declared
   WINMMAPI MMRESULT WINAPI mixerGetLineInfoA(HMIXEROBJ hmxobj,LPMIXERLINEA pmxl,DWORD fdwInfo);
                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1108:81: error: 'DWORD' has not been declared
   WINMMAPI MMRESULT WINAPI mixerGetLineInfoW(HMIXEROBJ hmxobj,LPMIXERLINEW pmxl,DWORD fdwInfo);
                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1120:69: error: 'DWORD' has not been declared
   WINMMAPI MMRESULT WINAPI mixerGetID(HMIXEROBJ hmxobj,UINT *puMxId,DWORD fdwId);
                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1123:5: error: 'DWORD' does not name a type
     DWORD cbStruct;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1124:5: error: 'DWORD' does not name a type
     DWORD dwControlID;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1125:5: error: 'DWORD' does not name a type
     DWORD dwControlType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1126:5: error: 'DWORD' does not name a type
     DWORD fdwControl;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1127:5: error: 'DWORD' does not name a type
     DWORD cMultipleItems;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1132:2: error: 'LONG' does not name a type
  LONG lMinimum;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1133:2: error: 'LONG' does not name a type
  LONG lMaximum;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1136:2: error: 'DWORD' does not name a type
  DWORD dwMinimum;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1137:2: error: 'DWORD' does not name a type
  DWORD dwMaximum;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1139:7: error: 'DWORD' does not name a type
       DWORD dwReserved[6];
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1142:7: error: 'DWORD' does not name a type
       DWORD cSteps;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1143:7: error: 'DWORD' does not name a type
       DWORD cbCustomData;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1144:7: error: 'DWORD' does not name a type
       DWORD dwReserved[6];
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1149:5: error: 'DWORD' does not name a type
     DWORD cbStruct;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1150:5: error: 'DWORD' does not name a type
     DWORD dwControlID;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1151:5: error: 'DWORD' does not name a type
     DWORD dwControlType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1152:5: error: 'DWORD' does not name a type
     DWORD fdwControl;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1153:5: error: 'DWORD' does not name a type
     DWORD cMultipleItems;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1158:2: error: 'LONG' does not name a type
  LONG lMinimum;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1159:2: error: 'LONG' does not name a type
  LONG lMaximum;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1162:2: error: 'DWORD' does not name a type
  DWORD dwMinimum;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1163:2: error: 'DWORD' does not name a type
  DWORD dwMaximum;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1165:7: error: 'DWORD' does not name a type
       DWORD dwReserved[6];
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1168:7: error: 'DWORD' does not name a type
       DWORD cSteps;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1169:7: error: 'DWORD' does not name a type
       DWORD cbCustomData;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1170:7: error: 'DWORD' does not name a type
       DWORD dwReserved[6];
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1246:5: error: 'DWORD' does not name a type
     DWORD cbStruct;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1247:5: error: 'DWORD' does not name a type
     DWORD dwLineID;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1249:7: error: 'DWORD' does not name a type
       DWORD dwControlID;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1250:7: error: 'DWORD' does not name a type
       DWORD dwControlType;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1252:5: error: 'DWORD' does not name a type
     DWORD cControls;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1253:5: error: 'DWORD' does not name a type
     DWORD cbmxctrl;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1258:5: error: 'DWORD' does not name a type
     DWORD cbStruct;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1259:5: error: 'DWORD' does not name a type
     DWORD dwLineID;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1261:7: error: 'DWORD' does not name a type
       DWORD dwControlID;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1262:7: error: 'DWORD' does not name a type
       DWORD dwControlType;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1264:5: error: 'DWORD' does not name a type
     DWORD cControls;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1265:5: error: 'DWORD' does not name a type
     DWORD cbmxctrl;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1273:94: error: 'DWORD' has not been declared
   WINMMAPI MMRESULT WINAPI mixerGetLineControlsA(HMIXEROBJ hmxobj,LPMIXERLINECONTROLSA pmxlc,DWORD fdwControls);
                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1274:94: error: 'DWORD' has not been declared
   WINMMAPI MMRESULT WINAPI mixerGetLineControlsW(HMIXEROBJ hmxobj,LPMIXERLINECONTROLSW pmxlc,DWORD fdwControls);
                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1285:5: error: 'DWORD' does not name a type
     DWORD cbStruct;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1286:5: error: 'DWORD' does not name a type
     DWORD dwControlID;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1287:5: error: 'DWORD' does not name a type
     DWORD cChannels;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1290:7: error: 'DWORD' does not name a type
       DWORD cMultipleItems;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1292:5: error: 'DWORD' does not name a type
     DWORD cbDetails;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1297:5: error: 'DWORD' does not name a type
     DWORD dwParam1;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1298:5: error: 'DWORD' does not name a type
     DWORD dwParam2;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1302:5: error: 'DWORD' does not name a type
     DWORD dwParam1;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1303:5: error: 'DWORD' does not name a type
     DWORD dwParam2;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1312:5: error: 'LONG' does not name a type
     LONG fValue;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1316:5: error: 'LONG' does not name a type
     LONG lValue;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1320:5: error: 'DWORD' does not name a type
     DWORD dwValue;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1323:97: error: 'DWORD' has not been declared
   WINMMAPI MMRESULT WINAPI mixerGetControlDetailsA(HMIXEROBJ hmxobj,LPMIXERCONTROLDETAILS pmxcd,DWORD fdwDetails);
                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1324:97: error: 'DWORD' has not been declared
   WINMMAPI MMRESULT WINAPI mixerGetControlDetailsW(HMIXEROBJ hmxobj,LPMIXERCONTROLDETAILS pmxcd,DWORD fdwDetails);
                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1333:96: error: 'DWORD' has not been declared
   WINMMAPI MMRESULT WINAPI mixerSetControlDetails(HMIXEROBJ hmxobj,LPMIXERCONTROLDETAILS pmxcd,DWORD fdwDetails);
                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1364:12: error: 'DWORD' does not name a type
   WINMMAPI DWORD WINAPI timeGetTime(void);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1592:5: error: 'DWORD' does not name a type
     DWORD dwSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1593:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1594:5: error: 'DWORD' does not name a type
     DWORD dwXpos;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1595:5: error: 'DWORD' does not name a type
     DWORD dwYpos;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1596:5: error: 'DWORD' does not name a type
     DWORD dwZpos;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1597:5: error: 'DWORD' does not name a type
     DWORD dwRpos;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1598:5: error: 'DWORD' does not name a type
     DWORD dwUpos;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1599:5: error: 'DWORD' does not name a type
     DWORD dwVpos;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1600:5: error: 'DWORD' does not name a type
     DWORD dwButtons;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1601:5: error: 'DWORD' does not name a type
     DWORD dwButtonNumber;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1602:5: error: 'DWORD' does not name a type
     DWORD dwPOV;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1603:5: error: 'DWORD' does not name a type
     DWORD dwReserved1;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1604:5: error: 'DWORD' does not name a type
     DWORD dwReserved2;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1643:11: error: 'DWORD' does not name a type
   typedef DWORD FOURCC;
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1650:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1651:5: error: 'FOURCC' does not name a type
     FOURCC fccIOProc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1655:5: error: 'LONG' does not name a type
     LONG cchBuffer;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1660:5: error: 'LONG' does not name a type
     LONG lBufOffset;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1661:5: error: 'LONG' does not name a type
     LONG lDiskOffset;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1662:5: error: 'DWORD' does not name a type
     DWORD adwInfo[3];
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1663:5: error: 'DWORD' does not name a type
     DWORD dwReserved1;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1664:5: error: 'DWORD' does not name a type
     DWORD dwReserved2;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1671:5: error: 'FOURCC' does not name a type
     FOURCC ckid;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1672:5: error: 'DWORD' does not name a type
     DWORD cksize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1673:5: error: 'FOURCC' does not name a type
     FOURCC fccType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1674:5: error: 'DWORD' does not name a type
     DWORD dwDataOffset;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1675:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1742:12: error: 'FOURCC' does not name a type
   WINMMAPI FOURCC WINAPI mmioStringToFOURCCA(LPCSTR sz,UINT uFlags);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1743:12: error: 'FOURCC' does not name a type
   WINMMAPI FOURCC WINAPI mmioStringToFOURCCW(LPCWSTR sz,UINT uFlags);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1747:49: error: definition of 'LRESULT (* mmioInstallIOProcA)(LPSTR, UINT, LPARAM, LPARAM)' is marked 'dllimport'
   WINMMAPI LPMMIOPROC WINAPI mmioInstallIOProcA(FOURCC fccIOProc,LPMMIOPROC pIOProc,DWORD dwFlags);
                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1747:49: error: 'FOURCC' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1747:77: error: expected primary-expression before 'pIOProc'
   WINMMAPI LPMMIOPROC WINAPI mmioInstallIOProcA(FOURCC fccIOProc,LPMMIOPROC pIOProc,DWORD dwFlags);
                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1747:85: error: 'DWORD' was not declared in this scope
   WINMMAPI LPMMIOPROC WINAPI mmioInstallIOProcA(FOURCC fccIOProc,LPMMIOPROC pIOProc,DWORD dwFlags);
                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1747:98: error: expression list treated as compound expression in initializer [-fpermissive]
   WINMMAPI LPMMIOPROC WINAPI mmioInstallIOProcA(FOURCC fccIOProc,LPMMIOPROC pIOProc,DWORD dwFlags);
                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1748:49: error: definition of 'LRESULT (* mmioInstallIOProcW)(LPSTR, UINT, LPARAM, LPARAM)' is marked 'dllimport'
   WINMMAPI LPMMIOPROC WINAPI mmioInstallIOProcW(FOURCC fccIOProc,LPMMIOPROC pIOProc,DWORD dwFlags);
                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1748:49: error: 'FOURCC' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1748:77: error: expected primary-expression before 'pIOProc'
   WINMMAPI LPMMIOPROC WINAPI mmioInstallIOProcW(FOURCC fccIOProc,LPMMIOPROC pIOProc,DWORD dwFlags);
                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1748:85: error: 'DWORD' was not declared in this scope
   WINMMAPI LPMMIOPROC WINAPI mmioInstallIOProcW(FOURCC fccIOProc,LPMMIOPROC pIOProc,DWORD dwFlags);
                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1748:98: error: expression list treated as compound expression in initializer [-fpermissive]
   WINMMAPI LPMMIOPROC WINAPI mmioInstallIOProcW(FOURCC fccIOProc,LPMMIOPROC pIOProc,DWORD dwFlags);
                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1752:74: error: 'DWORD' has not been declared
   WINMMAPI HMMIO WINAPI mmioOpenA(LPSTR pszFileName,LPMMIOINFO pmmioinfo,DWORD fdwOpen);
                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1753:75: error: 'DWORD' has not been declared
   WINMMAPI HMMIO WINAPI mmioOpenW(LPWSTR pszFileName,LPMMIOINFO pmmioinfo,DWORD fdwOpen);
                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1757:103: error: 'DWORD' has not been declared
   WINMMAPI MMRESULT WINAPI mmioRenameA(LPCSTR pszFileName,LPCSTR pszNewFileName,LPCMMIOINFO pmmioinfo,DWORD fdwRename);
                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1758:105: error: 'DWORD' has not been declared
   WINMMAPI MMRESULT WINAPI mmioRenameW(LPCWSTR pszFileName,LPCWSTR pszNewFileName,LPCMMIOINFO pmmioinfo,DWORD fdwRename);
                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1763:12: error: 'LONG' does not name a type
   WINMMAPI LONG WINAPI mmioRead(HMMIO hmmio,HPSTR pch,LONG cch);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1764:12: error: 'LONG' does not name a type
   WINMMAPI LONG WINAPI mmioWrite(HMMIO hmmio,const char _huge *pch,LONG cch);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1765:12: error: 'LONG' does not name a type
   WINMMAPI LONG WINAPI mmioSeek(HMMIO hmmio,LONG lOffset,int iOrigin);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1768:70: error: 'LONG' has not been declared
   WINMMAPI MMRESULT WINAPI mmioSetBuffer(HMMIO hmmio,LPSTR pchBuffer,LONG cchBuffer,UINT fuBuffer);
                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1781:11: error: 'DWORD' does not name a type
   typedef DWORD MCIERROR;
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1789:56: error: 'DWORD' has not been declared
   typedef UINT (CALLBACK *YIELDPROC)(MCIDEVICEID mciId,DWORD dwYieldData);
                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1791:12: error: 'MCIERROR' does not name a type
   WINMMAPI MCIERROR WINAPI mciSendCommandA(MCIDEVICEID mciId,UINT uMsg,DWORD_PTR dwParam1,DWORD_PTR dwParam2);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1792:12: error: 'MCIERROR' does not name a type
   WINMMAPI MCIERROR WINAPI mciSendCommandW(MCIDEVICEID mciId,UINT uMsg,DWORD_PTR dwParam1,DWORD_PTR dwParam2);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1796:12: error: 'MCIERROR' does not name a type
   WINMMAPI MCIERROR WINAPI mciSendStringA(LPCSTR lpstrCommand,LPSTR lpstrReturnString,UINT uReturnLength,HWND hwndCallback);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1797:12: error: 'MCIERROR' does not name a type
   WINMMAPI MCIERROR WINAPI mciSendStringW(LPCWSTR lpstrCommand,LPWSTR lpstrReturnString,UINT uReturnLength,HWND hwndCallback);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1806:60: error: definition of 'MCIDEVICEID mciGetDeviceIDFromElementIDA' is marked 'dllimport'
   WINMMAPI MCIDEVICEID WINAPI mciGetDeviceIDFromElementIDA(DWORD dwElementID,LPCSTR lpstrType);
                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1806:60: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1806:85: error: expected primary-expression before 'lpstrType'
   WINMMAPI MCIDEVICEID WINAPI mciGetDeviceIDFromElementIDA(DWORD dwElementID,LPCSTR lpstrType);
                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1806:94: error: expression list treated as compound expression in initializer [-fpermissive]
   WINMMAPI MCIDEVICEID WINAPI mciGetDeviceIDFromElementIDA(DWORD dwElementID,LPCSTR lpstrType);
                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1807:60: error: definition of 'MCIDEVICEID mciGetDeviceIDFromElementIDW' is marked 'dllimport'
   WINMMAPI MCIDEVICEID WINAPI mciGetDeviceIDFromElementIDW(DWORD dwElementID,LPCWSTR lpstrType);
                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1807:60: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1807:86: error: expected primary-expression before 'lpstrType'
   WINMMAPI MCIDEVICEID WINAPI mciGetDeviceIDFromElementIDW(DWORD dwElementID,LPCWSTR lpstrType);
                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1807:95: error: expression list treated as compound expression in initializer [-fpermissive]
   WINMMAPI MCIDEVICEID WINAPI mciGetDeviceIDFromElementIDW(DWORD dwElementID,LPCWSTR lpstrType);
                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1811:46: error: definition of 'WINBOOL mciGetErrorStringA' is marked 'dllimport'
   WINMMAPI WINBOOL WINAPI mciGetErrorStringA(MCIERROR mcierr,LPSTR pszText,UINT cchText);
                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1811:46: error: 'MCIERROR' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1811:68: error: expected primary-expression before 'pszText'
   WINMMAPI WINBOOL WINAPI mciGetErrorStringA(MCIERROR mcierr,LPSTR pszText,UINT cchText);
                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1811:81: error: expected primary-expression before 'cchText'
   WINMMAPI WINBOOL WINAPI mciGetErrorStringA(MCIERROR mcierr,LPSTR pszText,UINT cchText);
                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1811:88: error: expression list treated as compound expression in initializer [-fpermissive]
   WINMMAPI WINBOOL WINAPI mciGetErrorStringA(MCIERROR mcierr,LPSTR pszText,UINT cchText);
                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1812:46: error: definition of 'WINBOOL mciGetErrorStringW' is marked 'dllimport'
   WINMMAPI WINBOOL WINAPI mciGetErrorStringW(MCIERROR mcierr,LPWSTR pszText,UINT cchText);
                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1812:46: error: 'MCIERROR' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1812:69: error: expected primary-expression before 'pszText'
   WINMMAPI WINBOOL WINAPI mciGetErrorStringW(MCIERROR mcierr,LPWSTR pszText,UINT cchText);
                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1812:82: error: expected primary-expression before 'cchText'
   WINMMAPI WINBOOL WINAPI mciGetErrorStringW(MCIERROR mcierr,LPWSTR pszText,UINT cchText);
                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1812:89: error: expression list treated as compound expression in initializer [-fpermissive]
   WINMMAPI WINBOOL WINAPI mciGetErrorStringW(MCIERROR mcierr,LPWSTR pszText,UINT cchText);
                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1816:83: error: 'DWORD' has not been declared
   WINMMAPI WINBOOL WINAPI mciSetYieldProc(MCIDEVICEID mciId,YIELDPROC fpYieldProc,DWORD dwYieldData);
                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:1818:63: error: 'LPDWORD' has not been declared
   WINMMAPI YIELDPROC WINAPI mciGetYieldProc(MCIDEVICEID mciId,LPDWORD pdwYieldData);
                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:2098:5: error: 'DWORD' does not name a type
     DWORD dwFrom;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:2099:5: error: 'DWORD' does not name a type
     DWORD dwTo;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:2104:5: error: 'DWORD' does not name a type
     DWORD dwTo;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:2110:5: error: 'DWORD' does not name a type
     DWORD dwItem;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:2111:5: error: 'DWORD' does not name a type
     DWORD dwTrack;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:2117:5: error: 'DWORD' does not name a type
     DWORD dwRetSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:2122:5: error: 'DWORD' does not name a type
     DWORD dwRetSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:2130:5: error: 'DWORD' does not name a type
     DWORD dwReturn;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:2131:5: error: 'DWORD' does not name a type
     DWORD dwItem;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:2137:5: error: 'DWORD' does not name a type
     DWORD dwRetSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:2138:5: error: 'DWORD' does not name a type
     DWORD dwNumber;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:2145:5: error: 'DWORD' does not name a type
     DWORD dwRetSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:2146:5: error: 'DWORD' does not name a type
     DWORD dwNumber;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:2156:5: error: 'DWORD' does not name a type
     DWORD dwTimeFormat;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:2157:5: error: 'DWORD' does not name a type
     DWORD dwAudio;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:2196:5: error: 'DWORD' does not name a type
     DWORD dwFrom;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:2197:5: error: 'DWORD' does not name a type
     DWORD dwTo;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:2240:5: error: 'DWORD' does not name a type
     DWORD dwFrom;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:2241:5: error: 'DWORD' does not name a type
     DWORD dwTo;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:2242:5: error: 'DWORD' does not name a type
     DWORD dwSpeed;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:2247:5: error: 'DWORD' does not name a type
     DWORD dwFrames;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:2303:5: error: 'DWORD' does not name a type
     DWORD dwBufferSeconds;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:2312:5: error: 'DWORD' does not name a type
     DWORD dwBufferSeconds;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:2321:5: error: 'DWORD' does not name a type
     DWORD dwFrom;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:2322:5: error: 'DWORD' does not name a type
     DWORD dwTo;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:2327:5: error: 'DWORD' does not name a type
     DWORD dwTimeFormat;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:2328:5: error: 'DWORD' does not name a type
     DWORD dwAudio;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:2335:5: error: 'DWORD' does not name a type
     DWORD nSamplesPerSec;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:2336:5: error: 'DWORD' does not name a type
     DWORD nAvgBytesPerSec;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:2373:5: error: 'DWORD' does not name a type
     DWORD dwTimeFormat;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:2374:5: error: 'DWORD' does not name a type
     DWORD dwAudio;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:2375:5: error: 'DWORD' does not name a type
     DWORD dwTempo;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:2376:5: error: 'DWORD' does not name a type
     DWORD dwPort;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:2377:5: error: 'DWORD' does not name a type
     DWORD dwSlave;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:2378:5: error: 'DWORD' does not name a type
     DWORD dwMaster;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:2379:5: error: 'DWORD' does not name a type
     DWORD dwOffset;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:2437:5: error: 'DWORD' does not name a type
     DWORD dwStyle;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:2447:5: error: 'DWORD' does not name a type
     DWORD dwStyle;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:2457:5: error: 'DWORD' does not name a type
     DWORD dwFrom;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:2458:5: error: 'DWORD' does not name a type
     DWORD dwTo;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:2459:5: error: 'DWORD' does not name a type
     DWORD dwSpeed;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:2464:5: error: 'DWORD' does not name a type
     DWORD dwFrames;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:2541:5: error: 'DWORD' does not name a type
     DWORD dwStyle;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mmsystem.h:2551:5: error: 'DWORD' does not name a type
     DWORD dwStyle;
     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:87:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/nb30.h:50:5: error: 'DWORD' does not name a type
     DWORD xmit_success;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/nb30.h:51:5: error: 'DWORD' does not name a type
     DWORD recv_success;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/nb30.h:56:5: error: 'DWORD' does not name a type
     DWORD reserved1;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/nb30.h:130:5: error: 'ULONG' does not name a type
     ULONG transport_id;
     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:88:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpc.h:49:11: error: '__LONG32' does not name a type
   typedef __LONG32 RPC_STATUS;
           ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpc.h:74:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:88,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:51:14: error: expected ';' at end of member declaration
     unsigned __LONG32 Count;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:51:23: error: 'Count' does not name a type
     unsigned __LONG32 Count;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:59:14: error: expected ';' at end of member declaration
     unsigned __LONG32 Count;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:59:23: error: 'Count' does not name a type
     unsigned __LONG32 Count;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:138:14: error: expected ';' at end of member declaration
     unsigned __LONG32 EndpointFlags;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:138:23: error: 'EndpointFlags' does not name a type
     unsigned __LONG32 EndpointFlags;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:139:14: error: expected ';' at end of member declaration
     unsigned __LONG32 NICFlags;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:139:14: error: redeclaration of 'unsigned int _RPC_POLICY::__LONG32'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:138:14: note: previous declaration 'unsigned int _RPC_POLICY::__LONG32'
     unsigned __LONG32 EndpointFlags;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:139:23: error: 'NICFlags' does not name a type
     unsigned __LONG32 NICFlags;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:142:76: error: 'RPC_STATUS' has not been declared
   typedef void __RPC_API RPC_OBJECT_INQ_FN(UUID *ObjectUuid,UUID *TypeUuid,RPC_STATUS *Status);
                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:143:11: error: 'RPC_STATUS' does not name a type
   typedef RPC_STATUS RPC_ENTRY RPC_IF_CALLBACK_FN(RPC_IF_HANDLE InterfaceUuid,void *Context);
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:150:14: error: expected ';' at end of member declaration
     unsigned __LONG32 Stats[1];
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:150:23: error: 'Stats' does not name a type
     unsigned __LONG32 Stats[1];
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:159:14: error: expected ';' at end of member declaration
     unsigned __LONG32 Count;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:159:23: error: 'Count' does not name a type
     unsigned __LONG32 Count;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:181:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcBindingCopy(RPC_BINDING_HANDLE SourceBinding,RPC_BINDING_HANDLE *DestinationBinding);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:182:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcBindingFree(RPC_BINDING_HANDLE *Binding);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:183:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcBindingSetOption(RPC_BINDING_HANDLE hBinding,unsigned __LONG32 option,ULONG_PTR optionValue);
            ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpc.h:74:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:88,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:184:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcBindingInqOption(RPC_BINDING_HANDLE hBinding,unsigned __LONG32 option,ULONG_PTR *pOptionValue);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:185:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcBindingFromStringBindingA(RPC_CSTR StringBinding,RPC_BINDING_HANDLE *Binding);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:186:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcBindingFromStringBindingW(RPC_WSTR StringBinding,RPC_BINDING_HANDLE *Binding);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:187:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcSsGetContextBinding(void *ContextHandle,RPC_BINDING_HANDLE *Binding);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:188:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcBindingInqObject(RPC_BINDING_HANDLE Binding,UUID *ObjectUuid);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:189:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcBindingReset(RPC_BINDING_HANDLE Binding);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:190:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcBindingSetObject(RPC_BINDING_HANDLE Binding,UUID *ObjectUuid);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:191:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcMgmtInqDefaultProtectLevel(unsigned __LONG32 AuthnSvc,unsigned __LONG32 *AuthnLevel);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:192:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcBindingToStringBindingA(RPC_BINDING_HANDLE Binding,RPC_CSTR *StringBinding);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:193:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcBindingToStringBindingW(RPC_BINDING_HANDLE Binding,RPC_WSTR *StringBinding);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:194:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcBindingVectorFree(RPC_BINDING_VECTOR **BindingVector);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:195:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcStringBindingComposeA(RPC_CSTR ObjUuid,RPC_CSTR Protseq,RPC_CSTR NetworkAddr,RPC_CSTR Endpoint,RPC_CSTR Options,RPC_CSTR *StringBinding);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:196:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcStringBindingComposeW(RPC_WSTR ObjUuid,RPC_WSTR Protseq,RPC_WSTR NetworkAddr,RPC_WSTR Endpoint,RPC_WSTR Options,RPC_WSTR *StringBinding);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:197:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcStringBindingParseA(RPC_CSTR StringBinding,RPC_CSTR *ObjUuid,RPC_CSTR *Protseq,RPC_CSTR *NetworkAddr,RPC_CSTR *Endpoint,RPC_CSTR *NetworkOptions);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:198:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcStringBindingParseW(RPC_WSTR StringBinding,RPC_WSTR *ObjUuid,RPC_WSTR *Protseq,RPC_WSTR *NetworkAddr,RPC_WSTR *Endpoint,RPC_WSTR *NetworkOptions);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:199:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcStringFreeA(RPC_CSTR *String);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:200:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcStringFreeW(RPC_WSTR *String);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:201:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcIfInqId(RPC_IF_HANDLE RpcIfHandle,RPC_IF_ID *RpcIfId);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:202:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcNetworkIsProtseqValidA(RPC_CSTR Protseq);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:203:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcNetworkIsProtseqValidW(RPC_WSTR Protseq);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:204:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcMgmtInqComTimeout(RPC_BINDING_HANDLE Binding,unsigned int *Timeout);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:205:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcMgmtSetComTimeout(RPC_BINDING_HANDLE Binding,unsigned int Timeout);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:206:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcMgmtSetCancelTimeout(__LONG32 Timeout);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:207:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcNetworkInqProtseqsA (RPC_PROTSEQ_VECTORA **ProtseqVector);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:208:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcNetworkInqProtseqsW (RPC_PROTSEQ_VECTORW **ProtseqVector);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:209:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcObjectInqType(UUID *ObjUuid,UUID *TypeUuid);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:210:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcObjectSetInqFn(RPC_OBJECT_INQ_FN *InquiryFn);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:211:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcObjectSetType(UUID *ObjUuid,UUID *TypeUuid);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:212:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcProtseqVectorFreeA(RPC_PROTSEQ_VECTORA **ProtseqVector);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:213:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcProtseqVectorFreeW(RPC_PROTSEQ_VECTORW **ProtseqVector);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:214:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcServerInqBindings (RPC_BINDING_VECTOR **BindingVector);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:215:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcServerInqIf(RPC_IF_HANDLE IfSpec,UUID *MgrTypeUuid,RPC_MGR_EPV **MgrEpv);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:216:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcServerListen(unsigned int MinimumCallThreads,unsigned int MaxCalls,unsigned int DontWait);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:217:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcServerRegisterIf(RPC_IF_HANDLE IfSpec,UUID *MgrTypeUuid,RPC_MGR_EPV *MgrEpv);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:218:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcServerRegisterIfEx(RPC_IF_HANDLE IfSpec,UUID *MgrTypeUuid,RPC_MGR_EPV *MgrEpv,unsigned int Flags,unsigned int MaxCalls,RPC_IF_CALLBACK_FN *IfCallback);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:219:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcServerRegisterIf2(RPC_IF_HANDLE IfSpec,UUID *MgrTypeUuid,RPC_MGR_EPV *MgrEpv,unsigned int Flags,unsigned int MaxCalls,unsigned int MaxRpcSize,RPC_IF_CALLBACK_FN *IfCallbackFn);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:220:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcServerUnregisterIf(RPC_IF_HANDLE IfSpec,UUID *MgrTypeUuid,unsigned int WaitForCallsToComplete);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:221:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcServerUnregisterIfEx(RPC_IF_HANDLE IfSpec,UUID *MgrTypeUuid,int RundownContextHandles);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:222:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcServerUseAllProtseqs(unsigned int MaxCalls,void *SecurityDescriptor);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:223:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcServerUseAllProtseqsEx(unsigned int MaxCalls,void *SecurityDescriptor,PRPC_POLICY Policy);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:224:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcServerUseAllProtseqsIf(unsigned int MaxCalls,RPC_IF_HANDLE IfSpec,void *SecurityDescriptor);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:225:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcServerUseAllProtseqsIfEx(unsigned int MaxCalls,RPC_IF_HANDLE IfSpec,void *SecurityDescriptor,PRPC_POLICY Policy);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:226:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcServerUseProtseqA(RPC_CSTR Protseq,unsigned int MaxCalls,void *SecurityDescriptor);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:227:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcServerUseProtseqExA(RPC_CSTR Protseq,unsigned int MaxCalls,void *SecurityDescriptor,PRPC_POLICY Policy);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:228:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcServerUseProtseqW(RPC_WSTR Protseq,unsigned int MaxCalls,void *SecurityDescriptor);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:229:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcServerUseProtseqExW(RPC_WSTR Protseq,unsigned int MaxCalls,void *SecurityDescriptor,PRPC_POLICY Policy);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:230:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcServerUseProtseqEpA(RPC_CSTR Protseq,unsigned int MaxCalls,RPC_CSTR Endpoint,void *SecurityDescriptor);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:231:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcServerUseProtseqEpExA(RPC_CSTR Protseq,unsigned int MaxCalls,RPC_CSTR Endpoint,void *SecurityDescriptor,PRPC_POLICY Policy);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:232:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcServerUseProtseqEpW(RPC_WSTR Protseq,unsigned int MaxCalls,RPC_WSTR Endpoint,void *SecurityDescriptor);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:233:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcServerUseProtseqEpExW(RPC_WSTR Protseq,unsigned int MaxCalls,RPC_WSTR Endpoint,void *SecurityDescriptor,PRPC_POLICY Policy);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:234:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcServerUseProtseqIfA(RPC_CSTR Protseq,unsigned int MaxCalls,RPC_IF_HANDLE IfSpec,void *SecurityDescriptor);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:235:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcServerUseProtseqIfExA(RPC_CSTR Protseq,unsigned int MaxCalls,RPC_IF_HANDLE IfSpec,void *SecurityDescriptor,PRPC_POLICY Policy);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:236:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcServerUseProtseqIfW(RPC_WSTR Protseq,unsigned int MaxCalls,RPC_IF_HANDLE IfSpec,void *SecurityDescriptor);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:237:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcServerUseProtseqIfExW(RPC_WSTR Protseq,unsigned int MaxCalls,RPC_IF_HANDLE IfSpec,void *SecurityDescriptor,PRPC_POLICY Policy);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:239:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcMgmtStatsVectorFree(RPC_STATS_VECTOR **StatsVector);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:240:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcMgmtInqStats(RPC_BINDING_HANDLE Binding,RPC_STATS_VECTOR **Statistics);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:241:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcMgmtIsServerListening(RPC_BINDING_HANDLE Binding);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:242:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcMgmtStopServerListening(RPC_BINDING_HANDLE Binding);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:243:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcMgmtWaitServerListen(void);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:244:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcMgmtSetServerStackSize(unsigned __LONG32 ThreadStackSize);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:246:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcMgmtEnableIdleCleanup(void);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:247:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcMgmtInqIfIds(RPC_BINDING_HANDLE Binding,RPC_IF_ID_VECTOR **IfIdVector);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:248:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcIfIdVectorFree(RPC_IF_ID_VECTOR **IfIdVector);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:249:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcMgmtInqServerPrincNameA(RPC_BINDING_HANDLE Binding,unsigned __LONG32 AuthnSvc,RPC_CSTR *ServerPrincName);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:250:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcMgmtInqServerPrincNameW(RPC_BINDING_HANDLE Binding,unsigned __LONG32 AuthnSvc,RPC_WSTR *ServerPrincName);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:251:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcServerInqDefaultPrincNameA(unsigned __LONG32 AuthnSvc,RPC_CSTR *PrincName);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:252:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcServerInqDefaultPrincNameW(unsigned __LONG32 AuthnSvc,RPC_WSTR *PrincName);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:253:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcEpResolveBinding(RPC_BINDING_HANDLE Binding,RPC_IF_HANDLE IfSpec);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:254:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcNsBindingInqEntryNameA(RPC_BINDING_HANDLE Binding,unsigned __LONG32 EntryNameSyntax,RPC_CSTR *EntryName);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:255:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcNsBindingInqEntryNameW(RPC_BINDING_HANDLE Binding,unsigned __LONG32 EntryNameSyntax,RPC_WSTR *EntryName);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:312:14: error: expected ';' at end of member declaration
     unsigned __LONG32 Version;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:312:23: error: 'Version' does not name a type
     unsigned __LONG32 Version;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:313:14: error: expected ';' at end of member declaration
     unsigned __LONG32 Capabilities;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:313:14: error: redeclaration of 'unsigned int _RPC_SECURITY_QOS::__LONG32'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:312:14: note: previous declaration 'unsigned int _RPC_SECURITY_QOS::__LONG32'
     unsigned __LONG32 Version;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:313:23: error: 'Capabilities' does not name a type
     unsigned __LONG32 Capabilities;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:314:14: error: expected ';' at end of member declaration
     unsigned __LONG32 IdentityTracking;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:314:14: error: redeclaration of 'unsigned int _RPC_SECURITY_QOS::__LONG32'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:312:14: note: previous declaration 'unsigned int _RPC_SECURITY_QOS::__LONG32'
     unsigned __LONG32 Version;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:314:23: error: 'IdentityTracking' does not name a type
     unsigned __LONG32 IdentityTracking;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:315:14: error: expected ';' at end of member declaration
     unsigned __LONG32 ImpersonationType;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:315:14: error: redeclaration of 'unsigned int _RPC_SECURITY_QOS::__LONG32'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:312:14: note: previous declaration 'unsigned int _RPC_SECURITY_QOS::__LONG32'
     unsigned __LONG32 Version;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:315:23: error: 'ImpersonationType' does not name a type
     unsigned __LONG32 ImpersonationType;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:326:14: error: expected ';' at end of member declaration
     unsigned __LONG32 UserLength;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:326:23: error: 'UserLength' does not name a type
     unsigned __LONG32 UserLength;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:328:14: error: expected ';' at end of member declaration
     unsigned __LONG32 DomainLength;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:328:14: error: redeclaration of 'unsigned int _SEC_WINNT_AUTH_IDENTITY_W::__LONG32'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:326:14: note: previous declaration 'unsigned int _SEC_WINNT_AUTH_IDENTITY_W::__LONG32'
     unsigned __LONG32 UserLength;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:328:23: error: 'DomainLength' does not name a type
     unsigned __LONG32 DomainLength;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:330:14: error: expected ';' at end of member declaration
     unsigned __LONG32 PasswordLength;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:330:14: error: redeclaration of 'unsigned int _SEC_WINNT_AUTH_IDENTITY_W::__LONG32'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:326:14: note: previous declaration 'unsigned int _SEC_WINNT_AUTH_IDENTITY_W::__LONG32'
     unsigned __LONG32 UserLength;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:330:23: error: 'PasswordLength' does not name a type
     unsigned __LONG32 PasswordLength;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:331:14: error: expected ';' at end of member declaration
     unsigned __LONG32 Flags;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:331:14: error: redeclaration of 'unsigned int _SEC_WINNT_AUTH_IDENTITY_W::__LONG32'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:326:14: note: previous declaration 'unsigned int _SEC_WINNT_AUTH_IDENTITY_W::__LONG32'
     unsigned __LONG32 UserLength;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:331:23: error: 'Flags' does not name a type
     unsigned __LONG32 Flags;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:336:14: error: expected ';' at end of member declaration
     unsigned __LONG32 UserLength;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:336:23: error: 'UserLength' does not name a type
     unsigned __LONG32 UserLength;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:338:14: error: expected ';' at end of member declaration
     unsigned __LONG32 DomainLength;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:338:14: error: redeclaration of 'unsigned int _SEC_WINNT_AUTH_IDENTITY_A::__LONG32'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:336:14: note: previous declaration 'unsigned int _SEC_WINNT_AUTH_IDENTITY_A::__LONG32'
     unsigned __LONG32 UserLength;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:338:23: error: 'DomainLength' does not name a type
     unsigned __LONG32 DomainLength;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:340:14: error: expected ';' at end of member declaration
     unsigned __LONG32 PasswordLength;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:340:14: error: redeclaration of 'unsigned int _SEC_WINNT_AUTH_IDENTITY_A::__LONG32'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:336:14: note: previous declaration 'unsigned int _SEC_WINNT_AUTH_IDENTITY_A::__LONG32'
     unsigned __LONG32 UserLength;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:340:23: error: 'PasswordLength' does not name a type
     unsigned __LONG32 PasswordLength;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:341:14: error: expected ';' at end of member declaration
     unsigned __LONG32 Flags;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:341:14: error: redeclaration of 'unsigned int _SEC_WINNT_AUTH_IDENTITY_A::__LONG32'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:336:14: note: previous declaration 'unsigned int _SEC_WINNT_AUTH_IDENTITY_A::__LONG32'
     unsigned __LONG32 UserLength;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:341:23: error: 'Flags' does not name a type
     unsigned __LONG32 Flags;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:368:14: error: expected ';' at end of member declaration
     unsigned __LONG32 Flags;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:368:23: error: 'Flags' does not name a type
     unsigned __LONG32 Flags;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:369:14: error: expected ';' at end of member declaration
     unsigned __LONG32 AuthenticationTarget;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:369:14: error: redeclaration of 'unsigned int _RPC_HTTP_TRANSPORT_CREDENTIALS_W::__LONG32'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:368:14: note: previous declaration 'unsigned int _RPC_HTTP_TRANSPORT_CREDENTIALS_W::__LONG32'
     unsigned __LONG32 Flags;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:369:23: error: 'AuthenticationTarget' does not name a type
     unsigned __LONG32 AuthenticationTarget;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:370:14: error: expected ';' at end of member declaration
     unsigned __LONG32 NumberOfAuthnSchemes;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:370:14: error: redeclaration of 'unsigned int _RPC_HTTP_TRANSPORT_CREDENTIALS_W::__LONG32'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:368:14: note: previous declaration 'unsigned int _RPC_HTTP_TRANSPORT_CREDENTIALS_W::__LONG32'
     unsigned __LONG32 Flags;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:370:23: error: 'NumberOfAuthnSchemes' does not name a type
     unsigned __LONG32 NumberOfAuthnSchemes;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:371:14: error: expected ';' at end of member declaration
     unsigned __LONG32 *AuthnSchemes;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:371:14: error: redeclaration of 'unsigned int _RPC_HTTP_TRANSPORT_CREDENTIALS_W::__LONG32'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:368:14: note: previous declaration 'unsigned int _RPC_HTTP_TRANSPORT_CREDENTIALS_W::__LONG32'
     unsigned __LONG32 Flags;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:377:14: error: expected ';' at end of member declaration
     unsigned __LONG32 Flags;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:377:23: error: 'Flags' does not name a type
     unsigned __LONG32 Flags;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:378:14: error: expected ';' at end of member declaration
     unsigned __LONG32 AuthenticationTarget;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:378:14: error: redeclaration of 'unsigned int _RPC_HTTP_TRANSPORT_CREDENTIALS_A::__LONG32'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:377:14: note: previous declaration 'unsigned int _RPC_HTTP_TRANSPORT_CREDENTIALS_A::__LONG32'
     unsigned __LONG32 Flags;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:378:23: error: 'AuthenticationTarget' does not name a type
     unsigned __LONG32 AuthenticationTarget;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:379:14: error: expected ';' at end of member declaration
     unsigned __LONG32 NumberOfAuthnSchemes;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:379:14: error: redeclaration of 'unsigned int _RPC_HTTP_TRANSPORT_CREDENTIALS_A::__LONG32'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:377:14: note: previous declaration 'unsigned int _RPC_HTTP_TRANSPORT_CREDENTIALS_A::__LONG32'
     unsigned __LONG32 Flags;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:379:23: error: 'NumberOfAuthnSchemes' does not name a type
     unsigned __LONG32 NumberOfAuthnSchemes;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:380:14: error: expected ';' at end of member declaration
     unsigned __LONG32 *AuthnSchemes;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:380:14: error: redeclaration of 'unsigned int _RPC_HTTP_TRANSPORT_CREDENTIALS_A::__LONG32'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:377:14: note: previous declaration 'unsigned int _RPC_HTTP_TRANSPORT_CREDENTIALS_A::__LONG32'
     unsigned __LONG32 Flags;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:385:14: error: expected ';' at end of member declaration
     unsigned __LONG32 Version;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:385:23: error: 'Version' does not name a type
     unsigned __LONG32 Version;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:386:14: error: expected ';' at end of member declaration
     unsigned __LONG32 Capabilities;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:386:14: error: redeclaration of 'unsigned int _RPC_SECURITY_QOS_V2_W::__LONG32'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:385:14: note: previous declaration 'unsigned int _RPC_SECURITY_QOS_V2_W::__LONG32'
     unsigned __LONG32 Version;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:386:23: error: 'Capabilities' does not name a type
     unsigned __LONG32 Capabilities;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:387:14: error: expected ';' at end of member declaration
     unsigned __LONG32 IdentityTracking;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:387:14: error: redeclaration of 'unsigned int _RPC_SECURITY_QOS_V2_W::__LONG32'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:385:14: note: previous declaration 'unsigned int _RPC_SECURITY_QOS_V2_W::__LONG32'
     unsigned __LONG32 Version;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:387:23: error: 'IdentityTracking' does not name a type
     unsigned __LONG32 IdentityTracking;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:388:14: error: expected ';' at end of member declaration
     unsigned __LONG32 ImpersonationType;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:388:14: error: redeclaration of 'unsigned int _RPC_SECURITY_QOS_V2_W::__LONG32'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:385:14: note: previous declaration 'unsigned int _RPC_SECURITY_QOS_V2_W::__LONG32'
     unsigned __LONG32 Version;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:388:23: error: 'ImpersonationType' does not name a type
     unsigned __LONG32 ImpersonationType;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:389:14: error: expected ';' at end of member declaration
     unsigned __LONG32 AdditionalSecurityInfoType;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:389:14: error: redeclaration of 'unsigned int _RPC_SECURITY_QOS_V2_W::__LONG32'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:385:14: note: previous declaration 'unsigned int _RPC_SECURITY_QOS_V2_W::__LONG32'
     unsigned __LONG32 Version;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:389:23: error: 'AdditionalSecurityInfoType' does not name a type
     unsigned __LONG32 AdditionalSecurityInfoType;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:396:14: error: expected ';' at end of member declaration
     unsigned __LONG32 Version;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:396:23: error: 'Version' does not name a type
     unsigned __LONG32 Version;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:397:14: error: expected ';' at end of member declaration
     unsigned __LONG32 Capabilities;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:397:14: error: redeclaration of 'unsigned int _RPC_SECURITY_QOS_V2_A::__LONG32'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:396:14: note: previous declaration 'unsigned int _RPC_SECURITY_QOS_V2_A::__LONG32'
     unsigned __LONG32 Version;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:397:23: error: 'Capabilities' does not name a type
     unsigned __LONG32 Capabilities;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:398:14: error: expected ';' at end of member declaration
     unsigned __LONG32 IdentityTracking;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:398:14: error: redeclaration of 'unsigned int _RPC_SECURITY_QOS_V2_A::__LONG32'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:396:14: note: previous declaration 'unsigned int _RPC_SECURITY_QOS_V2_A::__LONG32'
     unsigned __LONG32 Version;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:398:23: error: 'IdentityTracking' does not name a type
     unsigned __LONG32 IdentityTracking;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:399:14: error: expected ';' at end of member declaration
     unsigned __LONG32 ImpersonationType;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:399:14: error: redeclaration of 'unsigned int _RPC_SECURITY_QOS_V2_A::__LONG32'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:396:14: note: previous declaration 'unsigned int _RPC_SECURITY_QOS_V2_A::__LONG32'
     unsigned __LONG32 Version;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:399:23: error: 'ImpersonationType' does not name a type
     unsigned __LONG32 ImpersonationType;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:400:14: error: expected ';' at end of member declaration
     unsigned __LONG32 AdditionalSecurityInfoType;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:400:14: error: redeclaration of 'unsigned int _RPC_SECURITY_QOS_V2_A::__LONG32'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:396:14: note: previous declaration 'unsigned int _RPC_SECURITY_QOS_V2_A::__LONG32'
     unsigned __LONG32 Version;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:400:23: error: 'AdditionalSecurityInfoType' does not name a type
     unsigned __LONG32 AdditionalSecurityInfoType;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:409:14: error: expected ';' at end of member declaration
     unsigned __LONG32 Version;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:409:23: error: 'Version' does not name a type
     unsigned __LONG32 Version;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:410:14: error: expected ';' at end of member declaration
     unsigned __LONG32 Capabilities;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:410:14: error: redeclaration of 'unsigned int _RPC_SECURITY_QOS_V3_W::__LONG32'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:409:14: note: previous declaration 'unsigned int _RPC_SECURITY_QOS_V3_W::__LONG32'
     unsigned __LONG32 Version;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:410:23: error: 'Capabilities' does not name a type
     unsigned __LONG32 Capabilities;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:411:14: error: expected ';' at end of member declaration
     unsigned __LONG32 IdentityTracking;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:411:14: error: redeclaration of 'unsigned int _RPC_SECURITY_QOS_V3_W::__LONG32'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:409:14: note: previous declaration 'unsigned int _RPC_SECURITY_QOS_V3_W::__LONG32'
     unsigned __LONG32 Version;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:411:23: error: 'IdentityTracking' does not name a type
     unsigned __LONG32 IdentityTracking;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:412:14: error: expected ';' at end of member declaration
     unsigned __LONG32 ImpersonationType;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:412:14: error: redeclaration of 'unsigned int _RPC_SECURITY_QOS_V3_W::__LONG32'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:409:14: note: previous declaration 'unsigned int _RPC_SECURITY_QOS_V3_W::__LONG32'
     unsigned __LONG32 Version;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:412:23: error: 'ImpersonationType' does not name a type
     unsigned __LONG32 ImpersonationType;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:413:14: error: expected ';' at end of member declaration
     unsigned __LONG32 AdditionalSecurityInfoType;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:413:14: error: redeclaration of 'unsigned int _RPC_SECURITY_QOS_V3_W::__LONG32'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:409:14: note: previous declaration 'unsigned int _RPC_SECURITY_QOS_V3_W::__LONG32'
     unsigned __LONG32 Version;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:413:23: error: 'AdditionalSecurityInfoType' does not name a type
     unsigned __LONG32 AdditionalSecurityInfoType;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:421:14: error: expected ';' at end of member declaration
     unsigned __LONG32 Version;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:421:23: error: 'Version' does not name a type
     unsigned __LONG32 Version;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:422:14: error: expected ';' at end of member declaration
     unsigned __LONG32 Capabilities;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:422:14: error: redeclaration of 'unsigned int _RPC_SECURITY_QOS_V3_A::__LONG32'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:421:14: note: previous declaration 'unsigned int _RPC_SECURITY_QOS_V3_A::__LONG32'
     unsigned __LONG32 Version;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:422:23: error: 'Capabilities' does not name a type
     unsigned __LONG32 Capabilities;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:423:14: error: expected ';' at end of member declaration
     unsigned __LONG32 IdentityTracking;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:423:14: error: redeclaration of 'unsigned int _RPC_SECURITY_QOS_V3_A::__LONG32'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:421:14: note: previous declaration 'unsigned int _RPC_SECURITY_QOS_V3_A::__LONG32'
     unsigned __LONG32 Version;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:423:23: error: 'IdentityTracking' does not name a type
     unsigned __LONG32 IdentityTracking;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:424:14: error: expected ';' at end of member declaration
     unsigned __LONG32 ImpersonationType;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:424:14: error: redeclaration of 'unsigned int _RPC_SECURITY_QOS_V3_A::__LONG32'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:421:14: note: previous declaration 'unsigned int _RPC_SECURITY_QOS_V3_A::__LONG32'
     unsigned __LONG32 Version;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:424:23: error: 'ImpersonationType' does not name a type
     unsigned __LONG32 ImpersonationType;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:425:14: error: expected ';' at end of member declaration
     unsigned __LONG32 AdditionalSecurityInfoType;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:425:14: error: redeclaration of 'unsigned int _RPC_SECURITY_QOS_V3_A::__LONG32'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:421:14: note: previous declaration 'unsigned int _RPC_SECURITY_QOS_V3_A::__LONG32'
     unsigned __LONG32 Version;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:425:23: error: 'AdditionalSecurityInfoType' does not name a type
     unsigned __LONG32 AdditionalSecurityInfoType;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:447:22: error: typedef 'RPC_STATUS' is initialized (use decltype instead)
   typedef RPC_STATUS (__RPC_API *RPC_NEW_HTTP_PROXY_CHANNEL)(RPC_HTTP_REDIRECTOR_STAGE RedirectorStage,unsigned short *ServerName,unsigned short *ServerPort,unsigned short *RemoteUser,unsigned short *AuthType,void *ResourceUuid,void *Metadata,void *SessionId,void *Interface,void *Reserved,unsigned __LONG32 Flags,unsigned short **NewServerName,unsigned short **NewServerPort);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:447:34: error: 'RPC_NEW_HTTP_PROXY_CHANNEL' was not declared in this scope
   typedef RPC_STATUS (__RPC_API *RPC_NEW_HTTP_PROXY_CHANNEL)(RPC_HTTP_REDIRECTOR_STAGE RedirectorStage,unsigned short *ServerName,unsigned short *ServerPort,unsigned short *RemoteUser,unsigned short *AuthType,void *ResourceUuid,void *Metadata,void *SessionId,void *Interface,void *Reserved,unsigned __LONG32 Flags,unsigned short **NewServerName,unsigned short **NewServerPort);
                                  ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpc.h:74:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:88,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:455:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcImpersonateClient(RPC_BINDING_HANDLE BindingHandle);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:456:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcRevertToSelfEx(RPC_BINDING_HANDLE BindingHandle);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:457:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcRevertToSelf();
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:458:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcBindingInqAuthClientA(RPC_BINDING_HANDLE ClientBinding,RPC_AUTHZ_HANDLE *Privs,RPC_CSTR *ServerPrincName,unsigned __LONG32 *AuthnLevel,unsigned __LONG32 *AuthnSvc,unsigned __LONG32 *AuthzSvc);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:459:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcBindingInqAuthClientW(RPC_BINDING_HANDLE ClientBinding,RPC_AUTHZ_HANDLE *Privs,RPC_WSTR *ServerPrincName,unsigned __LONG32 *AuthnLevel,unsigned __LONG32 *AuthnSvc,unsigned __LONG32 *AuthzSvc);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:460:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcBindingInqAuthClientExA(RPC_BINDING_HANDLE ClientBinding,RPC_AUTHZ_HANDLE *Privs,RPC_CSTR *ServerPrincName,unsigned __LONG32 *AuthnLevel,unsigned __LONG32 *AuthnSvc,unsigned __LONG32 *AuthzSvc,unsigned __LONG32 Flags);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:461:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcBindingInqAuthClientExW(RPC_BINDING_HANDLE ClientBinding,RPC_AUTHZ_HANDLE *Privs,RPC_WSTR *ServerPrincName,unsigned __LONG32 *AuthnLevel,unsigned __LONG32 *AuthnSvc,unsigned __LONG32 *AuthzSvc,unsigned __LONG32 Flags);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:462:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcBindingInqAuthInfoA(RPC_BINDING_HANDLE Binding,RPC_CSTR *ServerPrincName,unsigned __LONG32 *AuthnLevel,unsigned __LONG32 *AuthnSvc,RPC_AUTH_IDENTITY_HANDLE *AuthIdentity,unsigned __LONG32 *AuthzSvc);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:463:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcBindingInqAuthInfoW(RPC_BINDING_HANDLE Binding,RPC_WSTR *ServerPrincName,unsigned __LONG32 *AuthnLevel,unsigned __LONG32 *AuthnSvc,RPC_AUTH_IDENTITY_HANDLE *AuthIdentity,unsigned __LONG32 *AuthzSvc);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:464:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcBindingSetAuthInfoA(RPC_BINDING_HANDLE Binding,RPC_CSTR ServerPrincName,unsigned __LONG32 AuthnLevel,unsigned __LONG32 AuthnSvc,RPC_AUTH_IDENTITY_HANDLE AuthIdentity,unsigned __LONG32 AuthzSvc);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:465:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcBindingSetAuthInfoExA(RPC_BINDING_HANDLE Binding,RPC_CSTR ServerPrincName,unsigned __LONG32 AuthnLevel,unsigned __LONG32 AuthnSvc,RPC_AUTH_IDENTITY_HANDLE AuthIdentity,unsigned __LONG32 AuthzSvc,RPC_SECURITY_QOS *SecurityQos);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:466:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcBindingSetAuthInfoW(RPC_BINDING_HANDLE Binding,RPC_WSTR ServerPrincName,unsigned __LONG32 AuthnLevel,unsigned __LONG32 AuthnSvc,RPC_AUTH_IDENTITY_HANDLE AuthIdentity,unsigned __LONG32 AuthzSvc);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:467:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcBindingSetAuthInfoExW(RPC_BINDING_HANDLE Binding,RPC_WSTR ServerPrincName,unsigned __LONG32 AuthnLevel,unsigned __LONG32 AuthnSvc,RPC_AUTH_IDENTITY_HANDLE AuthIdentity,unsigned __LONG32 AuthzSvc,RPC_SECURITY_QOS *SecurityQOS);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:468:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcBindingInqAuthInfoExA(RPC_BINDING_HANDLE Binding,RPC_CSTR *ServerPrincName,unsigned __LONG32 *AuthnLevel,unsigned __LONG32 *AuthnSvc,RPC_AUTH_IDENTITY_HANDLE *AuthIdentity,unsigned __LONG32 *AuthzSvc,unsigned __LONG32 RpcQosVersion,RPC_SECURITY_QOS *SecurityQOS);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:469:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcBindingInqAuthInfoExW(RPC_BINDING_HANDLE Binding,RPC_WSTR *ServerPrincName,unsigned __LONG32 *AuthnLevel,unsigned __LONG32 *AuthnSvc,RPC_AUTH_IDENTITY_HANDLE *AuthIdentity,unsigned __LONG32 *AuthzSvc,unsigned __LONG32 RpcQosVersion,RPC_SECURITY_QOS *SecurityQOS);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:471:115: error: expected ',' or '...' before 'KeyVer'
   typedef void (__RPC_API *RPC_AUTH_KEY_RETRIEVAL_FN)(void *Arg,unsigned short *ServerPrincName,unsigned __LONG32 KeyVer,void **Key,RPC_STATUS *Status);
                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:473:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcServerRegisterAuthInfoA(RPC_CSTR ServerPrincName,unsigned __LONG32 AuthnSvc,RPC_AUTH_KEY_RETRIEVAL_FN GetKeyFn,void *Arg);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:474:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcServerRegisterAuthInfoW(RPC_WSTR ServerPrincName,unsigned __LONG32 AuthnSvc,RPC_AUTH_KEY_RETRIEVAL_FN GetKeyFn,void *Arg);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:489:14: error: expected ';' at end of member declaration
     unsigned __LONG32 AuthFlags;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:489:23: error: 'AuthFlags' does not name a type
     unsigned __LONG32 AuthFlags;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:501:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcBindingServerFromClient(RPC_BINDING_HANDLE ClientBinding,RPC_BINDING_HANDLE *ServerBinding);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:502:63: error: variable or field 'RpcRaiseException' declared void
   RPCRTAPI DECLSPEC_NORETURN void RPC_ENTRY RpcRaiseException(RPC_STATUS exception);
                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:502:63: error: 'RPC_STATUS' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:503:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcTestCancel();
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:504:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcServerTestCancel(RPC_BINDING_HANDLE BindingHandle);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:505:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcCancelThread(void *Thread);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:506:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcCancelThreadEx(void *Thread,__LONG32 Timeout);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:507:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY UuidCreate(UUID *Uuid);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:508:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY UuidCreateSequential(UUID *Uuid);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:509:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY UuidToStringA(UUID *Uuid,RPC_CSTR *StringUuid);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:510:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY UuidFromStringA(RPC_CSTR StringUuid,UUID *Uuid);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:511:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY UuidToStringW(UUID *Uuid,RPC_WSTR *StringUuid);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:512:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY UuidFromStringW(RPC_WSTR StringUuid,UUID *Uuid);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:513:69: error: 'RPC_STATUS' has not been declared
   RPCRTAPI signed int RPC_ENTRY UuidCompare(UUID *Uuid1,UUID *Uuid2,RPC_STATUS *Status);
                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:514:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY UuidCreateNil(UUID *NilUuid);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:515:60: error: 'RPC_STATUS' has not been declared
   RPCRTAPI int RPC_ENTRY UuidEqual(UUID *Uuid1,UUID *Uuid2,RPC_STATUS *Status);
                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:516:57: error: 'RPC_STATUS' has not been declared
   RPCRTAPI unsigned short RPC_ENTRY UuidHash(UUID *Uuid,RPC_STATUS *Status);
                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:517:47: error: 'RPC_STATUS' has not been declared
   RPCRTAPI int RPC_ENTRY UuidIsNil(UUID *Uuid,RPC_STATUS *Status);
                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:518:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcEpRegisterNoReplaceA(RPC_IF_HANDLE IfSpec,RPC_BINDING_VECTOR *BindingVector,UUID_VECTOR *UuidVector,RPC_CSTR Annotation);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:519:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcEpRegisterNoReplaceW(RPC_IF_HANDLE IfSpec,RPC_BINDING_VECTOR *BindingVector,UUID_VECTOR *UuidVector,RPC_WSTR Annotation);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:520:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcEpRegisterA(RPC_IF_HANDLE IfSpec,RPC_BINDING_VECTOR *BindingVector,UUID_VECTOR *UuidVector,RPC_CSTR Annotation);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:521:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcEpRegisterW(RPC_IF_HANDLE IfSpec,RPC_BINDING_VECTOR *BindingVector,UUID_VECTOR *UuidVector,RPC_WSTR Annotation);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:522:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcEpUnregister(RPC_IF_HANDLE IfSpec,RPC_BINDING_VECTOR *BindingVector,UUID_VECTOR *UuidVector);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:523:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY DceErrorInqTextA(RPC_STATUS RpcStatus,RPC_CSTR ErrorText);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:524:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY DceErrorInqTextW(RPC_STATUS RpcStatus,RPC_WSTR ErrorText);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:541:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcMgmtEpEltInqBegin(RPC_BINDING_HANDLE EpBinding,unsigned __LONG32 InquiryType,RPC_IF_ID *IfId,unsigned __LONG32 VersOption,UUID *ObjectUuid,RPC_EP_INQ_HANDLE *InquiryContext);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:542:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcMgmtEpEltInqDone(RPC_EP_INQ_HANDLE *InquiryContext);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:543:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcMgmtEpEltInqNextA(RPC_EP_INQ_HANDLE InquiryContext,RPC_IF_ID *IfId,RPC_BINDING_HANDLE *Binding,UUID *ObjectUuid,RPC_CSTR *Annotation);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:544:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcMgmtEpEltInqNextW(RPC_EP_INQ_HANDLE InquiryContext,RPC_IF_ID *IfId,RPC_BINDING_HANDLE *Binding,UUID *ObjectUuid,RPC_WSTR *Annotation);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:545:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcMgmtEpUnregister(RPC_BINDING_HANDLE EpBinding,RPC_IF_ID *IfId,RPC_BINDING_HANDLE Binding,UUID *ObjectUuid);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:547:105: error: expected ',' or '...' before 'RequestedMgmtOperation'
   typedef int (__RPC_API *RPC_MGMT_AUTHORIZATION_FN)(RPC_BINDING_HANDLE ClientBinding,unsigned __LONG32 RequestedMgmtOperation,RPC_STATUS *Status);
                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:555:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcMgmtSetAuthorizationFn(RPC_MGMT_AUTHORIZATION_FN AuthorizationFn);
            ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:623:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpc.h:74,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:88,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:27:14: error: expected ';' at end of member declaration
     unsigned __LONG32 DataRepresentation;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:27:23: error: 'DataRepresentation' does not name a type
     unsigned __LONG32 DataRepresentation;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:36:14: error: expected ';' at end of member declaration
     unsigned __LONG32 RpcFlags;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:36:14: error: redeclaration of 'unsigned int _RPC_MESSAGE::__LONG32'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:27:14: note: previous declaration 'unsigned int _RPC_MESSAGE::__LONG32'
     unsigned __LONG32 DataRepresentation;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:36:23: error: 'RpcFlags' does not name a type
     unsigned __LONG32 RpcFlags;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:39:11: error: 'RPC_STATUS' does not name a type
   typedef RPC_STATUS RPC_ENTRY RPC_FORWARD_FUNCTION(UUID *InterfaceId,RPC_VERSION *InterfaceVersion,UUID *ObjectId,unsigned char *Rpcpro,void **ppDestEndpoint);
           ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:623:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpc.h:74,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:88,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:117:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY I_RpcNegotiateTransferSyntax(RPC_MESSAGE *Message);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:118:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY I_RpcGetBuffer(RPC_MESSAGE *Message);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:119:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY I_RpcGetBufferWithObject(RPC_MESSAGE *Message,UUID *ObjectUuid);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:120:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY I_RpcSendReceive(RPC_MESSAGE *Message);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:121:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY I_RpcFreeBuffer(RPC_MESSAGE *Message);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:122:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY I_RpcSend(PRPC_MESSAGE Message);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:123:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY I_RpcReceive(PRPC_MESSAGE Message,unsigned int Size);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:124:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY I_RpcFreePipeBuffer(RPC_MESSAGE *Message);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:125:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY I_RpcReallocPipeBuffer(PRPC_MESSAGE Message,unsigned int NewSize);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:139:65: error: expected ',' or '...' before 'Milliseconds'
   RPCRTAPI void RPC_ENTRY I_RpcPauseExecution(unsigned __LONG32 Milliseconds);
                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:140:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY I_RpcGetExtendedError();
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:144:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY I_RpcMonitorAssociation(RPC_BINDING_HANDLE Handle,PRPC_RUNDOWN RundownRoutine,void *Context);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:145:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY I_RpcStopMonitorAssociation(RPC_BINDING_HANDLE Handle);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:147:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY I_RpcGetAssociationContext(RPC_BINDING_HANDLE BindingHandle,void **AssociationContext);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:150:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY I_RpcNsInterfaceExported(unsigned __LONG32 EntryNameSyntax,unsigned short *EntryName,RPC_SERVER_INTERFACE *RpcInterfaceInformation);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:151:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY I_RpcNsInterfaceUnexported(unsigned __LONG32 EntryNameSyntax,unsigned short *EntryName,RPC_SERVER_INTERFACE *RpcInterfaceInformation);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:152:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY I_RpcBindingToStaticStringBindingW(RPC_BINDING_HANDLE Binding,unsigned short **StringBinding);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:153:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY I_RpcBindingInqSecurityContext(RPC_BINDING_HANDLE Binding,void **SecurityContextHandle);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:154:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY I_RpcBindingInqWireIdForSnego(RPC_BINDING_HANDLE Binding,RPC_CSTR WireId);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:155:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY I_RpcBindingInqMarshalledTargetInfo (RPC_BINDING_HANDLE Binding,unsigned __LONG32 *MarshalledTargetInfoLength,RPC_CSTR *MarshalledTargetInfo);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:156:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY I_RpcBindingInqLocalClientPID(RPC_BINDING_HANDLE Binding,unsigned __LONG32 *Pid);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:157:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY I_RpcBindingHandleToAsyncHandle(RPC_BINDING_HANDLE Binding,void **AsyncHandle);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:158:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY I_RpcNsBindingSetEntryNameW(RPC_BINDING_HANDLE Binding,unsigned __LONG32 EntryNameSyntax,RPC_WSTR EntryName);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:159:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY I_RpcNsBindingSetEntryNameA(RPC_BINDING_HANDLE Binding,unsigned __LONG32 EntryNameSyntax,RPC_CSTR EntryName);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:160:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY I_RpcServerUseProtseqEp2A(RPC_CSTR NetworkAddress,RPC_CSTR Protseq,unsigned int MaxCalls,RPC_CSTR Endpoint,void *SecurityDescriptor,void *Policy);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:161:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY I_RpcServerUseProtseqEp2W(RPC_WSTR NetworkAddress,RPC_WSTR Protseq,unsigned int MaxCalls,RPC_WSTR Endpoint,void *SecurityDescriptor,void *Policy);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:162:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY I_RpcServerUseProtseq2W(RPC_WSTR NetworkAddress,RPC_WSTR Protseq,unsigned int MaxCalls,void *SecurityDescriptor,void *Policy);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:163:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY I_RpcServerUseProtseq2A(RPC_CSTR NetworkAddress,RPC_CSTR Protseq,unsigned int MaxCalls,void *SecurityDescriptor,void *Policy);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:164:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY I_RpcBindingInqDynamicEndpointW(RPC_BINDING_HANDLE Binding,RPC_WSTR *DynamicEndpoint);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:165:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY I_RpcBindingInqDynamicEndpointA(RPC_BINDING_HANDLE Binding,RPC_CSTR *DynamicEndpoint);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:166:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY I_RpcServerCheckClientRestriction(RPC_BINDING_HANDLE Context);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:173:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY I_RpcBindingInqTransportType(RPC_BINDING_HANDLE Binding,unsigned int *Type);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:181:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY I_RpcIfInqTransferSyntaxes(RPC_IF_HANDLE RpcIfHandle,RPC_TRANSFER_SYNTAX *TransferSyntaxes,unsigned int TransferSyntaxSize,unsigned int *TransferSyntaxCount);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:182:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY I_UuidCreate(UUID *Uuid);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:183:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY I_RpcBindingCopy(RPC_BINDING_HANDLE SourceBinding,RPC_BINDING_HANDLE *DestinationBinding);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:184:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY I_RpcBindingIsClientLocal(RPC_BINDING_HANDLE BindingHandle,unsigned int *ClientLocalFlag);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:185:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY I_RpcBindingInqConnId(RPC_BINDING_HANDLE Binding,void **ConnId,int *pfFirstCall);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:187:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY I_RpcLaunchDatagramReceiveThread(void *pAddress);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:188:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY I_RpcServerRegisterForwardFunction(RPC_FORWARD_FUNCTION *pForwardFunction);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:190:3: error: 'RPC_STATUS' does not name a type
   RPC_STATUS RPC_ENTRY I_RpcServerSetAddressChangeFn(RPC_ADDRESS_CHANGE_FN *pAddressChangeFn);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:195:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY I_RpcServerInqLocalConnAddress(RPC_BINDING_HANDLE Binding,void *Buffer,unsigned __LONG32 *BufferSize,unsigned __LONG32 *AddressFormat);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:197:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY I_RpcTurnOnEEInfoPropagation(void);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:198:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY I_RpcConnectionInqSockBuffSize(unsigned __LONG32 *RecvBuffSize,unsigned __LONG32 *SendBuffSize);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:199:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY I_RpcConnectionSetSockBuffSize(unsigned __LONG32 RecvBuffSize,unsigned __LONG32 SendBuffSize);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:219:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY I_RpcServerInqTransportType(unsigned int *Type);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:220:12: error: '__LONG32' does not name a type
   RPCRTAPI __LONG32 RPC_ENTRY I_RpcMapWin32Status(RPC_STATUS Status);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:223:14: error: expected ';' at end of member declaration
     unsigned __LONG32 BufferSize;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:223:23: error: 'BufferSize' does not name a type
     unsigned __LONG32 BufferSize;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:228:5: error: 'RPC_STATUS' does not name a type
     RPC_STATUS LastError;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:246:22: error: typedef 'RPC_STATUS' is initialized (use decltype instead)
   typedef RPC_STATUS (RPC_ENTRY *I_RpcProxyIsValidMachineFn)(char *pszMachine,char *pszDotMachine,unsigned __LONG32 dwPortNumber);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:246:34: error: 'I_RpcProxyIsValidMachineFn' was not declared in this scope
   typedef RPC_STATUS (RPC_ENTRY *I_RpcProxyIsValidMachineFn)(char *pszMachine,char *pszDotMachine,unsigned __LONG32 dwPortNumber);
                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:247:22: error: typedef 'RPC_STATUS' is initialized (use decltype instead)
   typedef RPC_STATUS (RPC_ENTRY *I_RpcProxyGetClientAddressFn)(void *Context,char *Buffer,unsigned __LONG32 *BufferLength);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:247:34: error: 'I_RpcProxyGetClientAddressFn' was not declared in this scope
   typedef RPC_STATUS (RPC_ENTRY *I_RpcProxyGetClientAddressFn)(void *Context,char *Buffer,unsigned __LONG32 *BufferLength);
                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:248:22: error: typedef 'RPC_STATUS' is initialized (use decltype instead)
   typedef RPC_STATUS (RPC_ENTRY *I_RpcProxyGetConnectionTimeoutFn)(unsigned __LONG32 *ConnectionTimeout);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:248:34: error: 'I_RpcProxyGetConnectionTimeoutFn' was not declared in this scope
   typedef RPC_STATUS (RPC_ENTRY *I_RpcProxyGetConnectionTimeoutFn)(unsigned __LONG32 *ConnectionTimeout);
                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:249:22: error: typedef 'RPC_STATUS' is initialized (use decltype instead)
   typedef RPC_STATUS (RPC_ENTRY *I_RpcPerformCalloutFn)(void *Context,RDR_CALLOUT_STATE *CallOutState,RPC_HTTP_REDIRECTOR_STAGE Stage);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:249:34: error: 'I_RpcPerformCalloutFn' was not declared in this scope
   typedef RPC_STATUS (RPC_ENTRY *I_RpcPerformCalloutFn)(void *Context,RDR_CALLOUT_STATE *CallOutState,RPC_HTTP_REDIRECTOR_STAGE Stage);
                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:253:5: error: 'I_RpcProxyIsValidMachineFn' does not name a type
     I_RpcProxyIsValidMachineFn IsValidMachineFn;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:254:5: error: 'I_RpcProxyGetClientAddressFn' does not name a type
     I_RpcProxyGetClientAddressFn GetClientAddressFn;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:255:5: error: 'I_RpcProxyGetConnectionTimeoutFn' does not name a type
     I_RpcProxyGetConnectionTimeoutFn GetConnectionTimeoutFn;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:256:5: error: 'I_RpcPerformCalloutFn' does not name a type
     I_RpcPerformCalloutFn PerformCalloutFn;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:263:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY I_RpcProxyNewConnection(unsigned __LONG32 ConnectionType,unsigned short *ServerAddress,unsigned short *ServerPort,unsigned short *MinConnTimeout,void *ConnectionParameter,RDR_CALLOUT_STATE *CallOutState,I_RpcProxyCallbackInterface *ProxyCallbackInterface);
            ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdce.h:623:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpc.h:74,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:88,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:264:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY I_RpcReplyToClientWithStatus(void *ConnectionParameter,RPC_STATUS RpcStatus);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:265:53: error: variable or field 'I_RpcRecordCalloutFailure' declared void
   RPCRTAPI void RPC_ENTRY I_RpcRecordCalloutFailure(RPC_STATUS RpcStatus,RDR_CALLOUT_STATE *CallOutState,unsigned short *DllName);
                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:265:53: error: 'RPC_STATUS' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:265:92: error: expected primary-expression before '*' token
   RPCRTAPI void RPC_ENTRY I_RpcRecordCalloutFailure(RPC_STATUS RpcStatus,RDR_CALLOUT_STATE *CallOutState,unsigned short *DllName);
                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:265:93: error: 'CallOutState' was not declared in this scope
   RPCRTAPI void RPC_ENTRY I_RpcRecordCalloutFailure(RPC_STATUS RpcStatus,RDR_CALLOUT_STATE *CallOutState,unsigned short *DllName);
                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcdcep.h:265:106: error: expected primary-expression before 'unsigned'
   RPCRTAPI void RPC_ENTRY I_RpcRecordCalloutFailure(RPC_STATUS RpcStatus,RDR_CALLOUT_STATE *CallOutState,unsigned short *DllName);
                                                                                                          ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpc.h:76:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:88,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsi.h:25:10: error: 'RPC_STATUS' does not name a type
 RPCNSAPI RPC_STATUS RPC_ENTRY RpcNsBindingExportA(unsigned __LONG32 EntryNameSyntax,RPC_CSTR EntryName,RPC_IF_HANDLE IfSpec,RPC_BINDING_VECTOR *BindingVec,UUID_VECTOR *ObjectUuidVec);
          ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpc.h:76:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:88,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsi.h:26:10: error: 'RPC_STATUS' does not name a type
 RPCNSAPI RPC_STATUS RPC_ENTRY RpcNsBindingUnexportA(unsigned __LONG32 EntryNameSyntax,RPC_CSTR EntryName,RPC_IF_HANDLE IfSpec,UUID_VECTOR *ObjectUuidVec);
          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsi.h:27:10: error: 'RPC_STATUS' does not name a type
 RPCNSAPI RPC_STATUS RPC_ENTRY RpcNsBindingExportW(unsigned __LONG32 EntryNameSyntax,RPC_WSTR EntryName,RPC_IF_HANDLE IfSpec,RPC_BINDING_VECTOR *BindingVec,UUID_VECTOR *ObjectUuidVec);
          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsi.h:28:10: error: 'RPC_STATUS' does not name a type
 RPCNSAPI RPC_STATUS RPC_ENTRY RpcNsBindingUnexportW(unsigned __LONG32 EntryNameSyntax,RPC_WSTR EntryName,RPC_IF_HANDLE IfSpec,UUID_VECTOR *ObjectUuidVec);
          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsi.h:29:1: error: 'RPC_STATUS' does not name a type
 RPC_STATUS RPC_ENTRY RpcNsBindingExportPnPA(unsigned __LONG32 EntryNameSyntax,RPC_CSTR EntryName,RPC_IF_HANDLE IfSpec,UUID_VECTOR *ObjectVector);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsi.h:30:1: error: 'RPC_STATUS' does not name a type
 RPC_STATUS RPC_ENTRY RpcNsBindingUnexportPnPA(unsigned __LONG32 EntryNameSyntax,RPC_CSTR EntryName,RPC_IF_HANDLE IfSpec,UUID_VECTOR *ObjectVector);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsi.h:31:1: error: 'RPC_STATUS' does not name a type
 RPC_STATUS RPC_ENTRY RpcNsBindingExportPnPW(unsigned __LONG32 EntryNameSyntax,RPC_WSTR EntryName,RPC_IF_HANDLE IfSpec,UUID_VECTOR *ObjectVector);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsi.h:32:1: error: 'RPC_STATUS' does not name a type
 RPC_STATUS RPC_ENTRY RpcNsBindingUnexportPnPW(unsigned __LONG32 EntryNameSyntax,RPC_WSTR EntryName,RPC_IF_HANDLE IfSpec,UUID_VECTOR *ObjectVector);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsi.h:33:10: error: 'RPC_STATUS' does not name a type
 RPCNSAPI RPC_STATUS RPC_ENTRY RpcNsBindingLookupBeginA(unsigned __LONG32 EntryNameSyntax,RPC_CSTR EntryName,RPC_IF_HANDLE IfSpec,UUID *ObjUuid,unsigned __LONG32 BindingMaxCount,RPC_NS_HANDLE *LookupContext);
          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsi.h:34:10: error: 'RPC_STATUS' does not name a type
 RPCNSAPI RPC_STATUS RPC_ENTRY RpcNsBindingLookupBeginW(unsigned __LONG32 EntryNameSyntax,RPC_WSTR EntryName,RPC_IF_HANDLE IfSpec,UUID *ObjUuid,unsigned __LONG32 BindingMaxCount,RPC_NS_HANDLE *LookupContext);
          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsi.h:35:10: error: 'RPC_STATUS' does not name a type
 RPCNSAPI RPC_STATUS RPC_ENTRY RpcNsBindingLookupNext(RPC_NS_HANDLE LookupContext,RPC_BINDING_VECTOR **BindingVec);
          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsi.h:36:10: error: 'RPC_STATUS' does not name a type
 RPCNSAPI RPC_STATUS RPC_ENTRY RpcNsBindingLookupDone(RPC_NS_HANDLE *LookupContext);
          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsi.h:37:10: error: 'RPC_STATUS' does not name a type
 RPCNSAPI RPC_STATUS RPC_ENTRY RpcNsGroupDeleteA(unsigned __LONG32 GroupNameSyntax,RPC_CSTR GroupName);
          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsi.h:38:10: error: 'RPC_STATUS' does not name a type
 RPCNSAPI RPC_STATUS RPC_ENTRY RpcNsGroupMbrAddA(unsigned __LONG32 GroupNameSyntax,RPC_CSTR GroupName,unsigned __LONG32 MemberNameSyntax,RPC_CSTR MemberName);
          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsi.h:39:10: error: 'RPC_STATUS' does not name a type
 RPCNSAPI RPC_STATUS RPC_ENTRY RpcNsGroupMbrRemoveA(unsigned __LONG32 GroupNameSyntax,RPC_CSTR GroupName,unsigned __LONG32 MemberNameSyntax,RPC_CSTR MemberName);
          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsi.h:40:10: error: 'RPC_STATUS' does not name a type
 RPCNSAPI RPC_STATUS RPC_ENTRY RpcNsGroupMbrInqBeginA(unsigned __LONG32 GroupNameSyntax,RPC_CSTR GroupName,unsigned __LONG32 MemberNameSyntax,RPC_NS_HANDLE *InquiryContext);
          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsi.h:41:10: error: 'RPC_STATUS' does not name a type
 RPCNSAPI RPC_STATUS RPC_ENTRY RpcNsGroupMbrInqNextA(RPC_NS_HANDLE InquiryContext,RPC_CSTR *MemberName);
          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsi.h:42:10: error: 'RPC_STATUS' does not name a type
 RPCNSAPI RPC_STATUS RPC_ENTRY RpcNsGroupDeleteW(unsigned __LONG32 GroupNameSyntax,RPC_WSTR GroupName);
          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsi.h:43:10: error: 'RPC_STATUS' does not name a type
 RPCNSAPI RPC_STATUS RPC_ENTRY RpcNsGroupMbrAddW(unsigned __LONG32 GroupNameSyntax,RPC_WSTR GroupName,unsigned __LONG32 MemberNameSyntax,RPC_WSTR MemberName);
          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsi.h:44:10: error: 'RPC_STATUS' does not name a type
 RPCNSAPI RPC_STATUS RPC_ENTRY RpcNsGroupMbrRemoveW(unsigned __LONG32 GroupNameSyntax,RPC_WSTR GroupName,unsigned __LONG32 MemberNameSyntax,RPC_WSTR MemberName);
          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsi.h:45:10: error: 'RPC_STATUS' does not name a type
 RPCNSAPI RPC_STATUS RPC_ENTRY RpcNsGroupMbrInqBeginW(unsigned __LONG32 GroupNameSyntax,RPC_WSTR GroupName,unsigned __LONG32 MemberNameSyntax,RPC_NS_HANDLE *InquiryContext);
          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsi.h:46:10: error: 'RPC_STATUS' does not name a type
 RPCNSAPI RPC_STATUS RPC_ENTRY RpcNsGroupMbrInqNextW(RPC_NS_HANDLE InquiryContext,RPC_WSTR *MemberName);
          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsi.h:47:10: error: 'RPC_STATUS' does not name a type
 RPCNSAPI RPC_STATUS RPC_ENTRY RpcNsGroupMbrInqDone(RPC_NS_HANDLE *InquiryContext);
          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsi.h:48:10: error: 'RPC_STATUS' does not name a type
 RPCNSAPI RPC_STATUS RPC_ENTRY RpcNsProfileDeleteA(unsigned __LONG32 ProfileNameSyntax,RPC_CSTR ProfileName);
          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsi.h:49:10: error: 'RPC_STATUS' does not name a type
 RPCNSAPI RPC_STATUS RPC_ENTRY RpcNsProfileEltAddA(unsigned __LONG32 ProfileNameSyntax,RPC_CSTR ProfileName,RPC_IF_ID *IfId,unsigned __LONG32 MemberNameSyntax,RPC_CSTR MemberName,unsigned __LONG32 Priority,RPC_CSTR Annotation);
          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsi.h:50:10: error: 'RPC_STATUS' does not name a type
 RPCNSAPI RPC_STATUS RPC_ENTRY RpcNsProfileEltRemoveA(unsigned __LONG32 ProfileNameSyntax,RPC_CSTR ProfileName,RPC_IF_ID *IfId,unsigned __LONG32 MemberNameSyntax,RPC_CSTR MemberName);
          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsi.h:51:10: error: 'RPC_STATUS' does not name a type
 RPCNSAPI RPC_STATUS RPC_ENTRY RpcNsProfileEltInqBeginA(unsigned __LONG32 ProfileNameSyntax,RPC_CSTR ProfileName,unsigned __LONG32 InquiryType,RPC_IF_ID *IfId,unsigned __LONG32 VersOption,unsigned __LONG32 MemberNameSyntax,RPC_CSTR MemberName,RPC_NS_HANDLE *InquiryContext);
          ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpc.h:76:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:88,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsi.h:52:10: error: 'RPC_STATUS' does not name a type
 RPCNSAPI RPC_STATUS RPC_ENTRY RpcNsProfileEltInqNextA(RPC_NS_HANDLE InquiryContext,RPC_IF_ID *IfId,RPC_CSTR *MemberName,unsigned __LONG32 *Priority,RPC_CSTR *Annotation);
          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsi.h:53:10: error: 'RPC_STATUS' does not name a type
 RPCNSAPI RPC_STATUS RPC_ENTRY RpcNsProfileDeleteW(unsigned __LONG32 ProfileNameSyntax,RPC_WSTR ProfileName);
          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsi.h:54:10: error: 'RPC_STATUS' does not name a type
 RPCNSAPI RPC_STATUS RPC_ENTRY RpcNsProfileEltAddW(unsigned __LONG32 ProfileNameSyntax,RPC_WSTR ProfileName,RPC_IF_ID *IfId,unsigned __LONG32 MemberNameSyntax,RPC_WSTR MemberName,unsigned __LONG32 Priority,RPC_WSTR Annotation);
          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsi.h:55:10: error: 'RPC_STATUS' does not name a type
 RPCNSAPI RPC_STATUS RPC_ENTRY RpcNsProfileEltRemoveW(unsigned __LONG32 ProfileNameSyntax,RPC_WSTR ProfileName,RPC_IF_ID *IfId,unsigned __LONG32 MemberNameSyntax,RPC_WSTR MemberName);
          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsi.h:56:10: error: 'RPC_STATUS' does not name a type
 RPCNSAPI RPC_STATUS RPC_ENTRY RpcNsProfileEltInqBeginW(unsigned __LONG32 ProfileNameSyntax,RPC_WSTR ProfileName,unsigned __LONG32 InquiryType,RPC_IF_ID *IfId,unsigned __LONG32 VersOption,unsigned __LONG32 MemberNameSyntax,RPC_WSTR MemberName,RPC_NS_HANDLE *InquiryContext);
          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsi.h:57:10: error: 'RPC_STATUS' does not name a type
 RPCNSAPI RPC_STATUS RPC_ENTRY RpcNsProfileEltInqNextW(RPC_NS_HANDLE InquiryContext,RPC_IF_ID *IfId,RPC_WSTR *MemberName,unsigned __LONG32 *Priority,RPC_WSTR *Annotation);
          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsi.h:58:10: error: 'RPC_STATUS' does not name a type
 RPCNSAPI RPC_STATUS RPC_ENTRY RpcNsProfileEltInqDone(RPC_NS_HANDLE *InquiryContext);
          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsi.h:59:10: error: 'RPC_STATUS' does not name a type
 RPCNSAPI RPC_STATUS RPC_ENTRY RpcNsEntryObjectInqBeginA(unsigned __LONG32 EntryNameSyntax,RPC_CSTR EntryName,RPC_NS_HANDLE *InquiryContext);
          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsi.h:60:10: error: 'RPC_STATUS' does not name a type
 RPCNSAPI RPC_STATUS RPC_ENTRY RpcNsEntryObjectInqBeginW(unsigned __LONG32 EntryNameSyntax,RPC_WSTR EntryName,RPC_NS_HANDLE *InquiryContext);
          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsi.h:61:10: error: 'RPC_STATUS' does not name a type
 RPCNSAPI RPC_STATUS RPC_ENTRY RpcNsEntryObjectInqNext(RPC_NS_HANDLE InquiryContext,UUID *ObjUuid);
          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsi.h:62:10: error: 'RPC_STATUS' does not name a type
 RPCNSAPI RPC_STATUS RPC_ENTRY RpcNsEntryObjectInqDone(RPC_NS_HANDLE *InquiryContext);
          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsi.h:63:10: error: 'RPC_STATUS' does not name a type
 RPCNSAPI RPC_STATUS RPC_ENTRY RpcNsEntryExpandNameA(unsigned __LONG32 EntryNameSyntax,RPC_CSTR EntryName,RPC_CSTR *ExpandedName);
          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsi.h:64:10: error: 'RPC_STATUS' does not name a type
 RPCNSAPI RPC_STATUS RPC_ENTRY RpcNsMgmtBindingUnexportA(unsigned __LONG32 EntryNameSyntax,RPC_CSTR EntryName,RPC_IF_ID *IfId,unsigned __LONG32 VersOption,UUID_VECTOR *ObjectUuidVec);
          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsi.h:65:10: error: 'RPC_STATUS' does not name a type
 RPCNSAPI RPC_STATUS RPC_ENTRY RpcNsMgmtEntryCreateA(unsigned __LONG32 EntryNameSyntax,RPC_CSTR EntryName);
          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsi.h:66:10: error: 'RPC_STATUS' does not name a type
 RPCNSAPI RPC_STATUS RPC_ENTRY RpcNsMgmtEntryDeleteA(unsigned __LONG32 EntryNameSyntax,RPC_CSTR EntryName);
          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsi.h:67:10: error: 'RPC_STATUS' does not name a type
 RPCNSAPI RPC_STATUS RPC_ENTRY RpcNsMgmtEntryInqIfIdsA(unsigned __LONG32 EntryNameSyntax,RPC_CSTR EntryName,RPC_IF_ID_VECTOR **IfIdVec);
          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsi.h:68:10: error: 'RPC_STATUS' does not name a type
 RPCNSAPI RPC_STATUS RPC_ENTRY RpcNsMgmtHandleSetExpAge(RPC_NS_HANDLE NsHandle,unsigned __LONG32 ExpirationAge);
          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsi.h:69:10: error: 'RPC_STATUS' does not name a type
 RPCNSAPI RPC_STATUS RPC_ENTRY RpcNsMgmtInqExpAge(unsigned __LONG32 *ExpirationAge);
          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsi.h:70:10: error: 'RPC_STATUS' does not name a type
 RPCNSAPI RPC_STATUS RPC_ENTRY RpcNsMgmtSetExpAge(unsigned __LONG32 ExpirationAge);
          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsi.h:71:10: error: 'RPC_STATUS' does not name a type
 RPCNSAPI RPC_STATUS RPC_ENTRY RpcNsEntryExpandNameW(unsigned __LONG32 EntryNameSyntax,RPC_WSTR EntryName,RPC_WSTR *ExpandedName);
          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsi.h:72:10: error: 'RPC_STATUS' does not name a type
 RPCNSAPI RPC_STATUS RPC_ENTRY RpcNsMgmtBindingUnexportW(unsigned __LONG32 EntryNameSyntax,RPC_WSTR EntryName,RPC_IF_ID *IfId,unsigned __LONG32 VersOption,UUID_VECTOR *ObjectUuidVec);
          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsi.h:73:10: error: 'RPC_STATUS' does not name a type
 RPCNSAPI RPC_STATUS RPC_ENTRY RpcNsMgmtEntryCreateW(unsigned __LONG32 EntryNameSyntax,RPC_WSTR EntryName);
          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsi.h:74:10: error: 'RPC_STATUS' does not name a type
 RPCNSAPI RPC_STATUS RPC_ENTRY RpcNsMgmtEntryDeleteW(unsigned __LONG32 EntryNameSyntax,RPC_WSTR EntryName);
          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsi.h:75:10: error: 'RPC_STATUS' does not name a type
 RPCNSAPI RPC_STATUS RPC_ENTRY RpcNsMgmtEntryInqIfIdsW(unsigned __LONG32 EntryNameSyntax,RPC_WSTR EntryName,RPC_IF_ID_VECTOR **IfIdVec);
          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsi.h:76:10: error: 'RPC_STATUS' does not name a type
 RPCNSAPI RPC_STATUS RPC_ENTRY RpcNsBindingImportBeginA(unsigned __LONG32 EntryNameSyntax,RPC_CSTR EntryName,RPC_IF_HANDLE IfSpec,UUID *ObjUuid,RPC_NS_HANDLE *ImportContext);
          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsi.h:77:10: error: 'RPC_STATUS' does not name a type
 RPCNSAPI RPC_STATUS RPC_ENTRY RpcNsBindingImportBeginW(unsigned __LONG32 EntryNameSyntax,RPC_WSTR EntryName,RPC_IF_HANDLE IfSpec,UUID *ObjUuid,RPC_NS_HANDLE *ImportContext);
          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsi.h:78:10: error: 'RPC_STATUS' does not name a type
 RPCNSAPI RPC_STATUS RPC_ENTRY RpcNsBindingImportNext(RPC_NS_HANDLE ImportContext,RPC_BINDING_HANDLE *Binding);
          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsi.h:79:10: error: 'RPC_STATUS' does not name a type
 RPCNSAPI RPC_STATUS RPC_ENTRY RpcNsBindingImportDone(RPC_NS_HANDLE *ImportContext);
          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsi.h:80:10: error: 'RPC_STATUS' does not name a type
 RPCNSAPI RPC_STATUS RPC_ENTRY RpcNsBindingSelect(RPC_BINDING_VECTOR *BindingVec,RPC_BINDING_HANDLE *Binding);
          ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpc.h:96:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:88,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:36:14: error: expected ';' at end of member declaration
     unsigned __LONG32 Signature;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:36:23: error: 'Signature' does not name a type
     unsigned __LONG32 Signature;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:37:5: error: '__LONG32' does not name a type
     __LONG32 Lock;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:38:14: error: expected ';' at end of member declaration
     unsigned __LONG32 Flags;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:38:14: error: redeclaration of 'unsigned int _RPC_ASYNC_STATE::__LONG32'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:36:14: note: previous declaration 'unsigned int _RPC_ASYNC_STATE::__LONG32'
     unsigned __LONG32 Signature;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:38:23: error: 'Flags' does not name a type
     unsigned __LONG32 Flags;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:51:2: error: 'DWORD' does not name a type
  DWORD dwNumberOfBytesTransferred;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:70:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcAsyncInitializeHandle(PRPC_ASYNC_STATE pAsync,unsigned int Size);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:71:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcAsyncRegisterInfo(PRPC_ASYNC_STATE pAsync);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:72:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcAsyncGetCallStatus(PRPC_ASYNC_STATE pAsync);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:73:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcAsyncCompleteCall(PRPC_ASYNC_STATE pAsync,void *Reply);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:74:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcAsyncAbortCall(PRPC_ASYNC_STATE pAsync,unsigned __LONG32 ExceptionCode);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:75:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcAsyncCancelCall(PRPC_ASYNC_STATE pAsync,WINBOOL fAbort);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:76:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcAsyncCleanupThread(DWORD dwTimeout);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:95:7: error: '__LONG32' does not name a type
       __LONG32 LVal;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:110:5: error: 'ULONG' does not name a type
     ULONG Version;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:112:5: error: 'ULONG' does not name a type
     ULONG ProcessID;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:117:5: error: 'ULONG' does not name a type
     ULONG GeneratingComponent;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:118:5: error: 'ULONG' does not name a type
     ULONG Status;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:126:5: error: 'ULONG' does not name a type
     ULONG Signature;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:131:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcErrorStartEnumeration(RPC_ERROR_ENUM_HANDLE *EnumHandle);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:132:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcErrorGetNextRecord(RPC_ERROR_ENUM_HANDLE *EnumHandle,WINBOOL CopyStrings,RPC_EXTENDED_ERROR_INFO *ErrorInfo);
            ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpc.h:96:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:88,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:133:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcErrorEndEnumeration(RPC_ERROR_ENUM_HANDLE *EnumHandle);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:134:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcErrorResetEnumeration(RPC_ERROR_ENUM_HANDLE *EnumHandle);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:135:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcErrorGetNumberOfRecords(RPC_ERROR_ENUM_HANDLE *EnumHandle,int *Records);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:136:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcErrorSaveErrorInfo(RPC_ERROR_ENUM_HANDLE *EnumHandle,PVOID *ErrorBlob,size_t *BlobSize);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:137:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcErrorLoadErrorInfo(PVOID ErrorBlob,size_t BlobSize,RPC_ERROR_ENUM_HANDLE *EnumHandle);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:138:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcErrorAddRecord(RPC_EXTENDED_ERROR_INFO *ErrorInfo);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:140:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcGetAuthorizationContextForClient(RPC_BINDING_HANDLE ClientBinding,WINBOOL ImpersonateOnReturn,PVOID Reserved1,PLARGE_INTEGER pExpirationTime,LUID Reserved2,DWORD Reserved3,PVOID Reserved4,PVOID *pAuthzClientContext);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:141:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcFreeAuthorizationContext(PVOID *pAuthzClientContext);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:142:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcSsContextLockExclusive(RPC_BINDING_HANDLE ServerBindingHandle,PVOID UserContext);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:143:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcSsContextLockShared(RPC_BINDING_HANDLE ServerBindingHandle,PVOID UserContext);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:151:14: error: expected ';' at end of member declaration
     unsigned __LONG32 Flags;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:151:23: error: 'Flags' does not name a type
     unsigned __LONG32 Flags;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:152:14: error: expected ';' at end of member declaration
     unsigned __LONG32 ServerPrincipalNameBufferLength;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:152:14: error: redeclaration of 'unsigned int tagRPC_CALL_ATTRIBUTES_V1_W::__LONG32'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:151:14: note: previous declaration 'unsigned int tagRPC_CALL_ATTRIBUTES_V1_W::__LONG32'
     unsigned __LONG32 Flags;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:152:23: error: 'ServerPrincipalNameBufferLength' does not name a type
     unsigned __LONG32 ServerPrincipalNameBufferLength;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:154:14: error: expected ';' at end of member declaration
     unsigned __LONG32 ClientPrincipalNameBufferLength;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:154:14: error: redeclaration of 'unsigned int tagRPC_CALL_ATTRIBUTES_V1_W::__LONG32'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:151:14: note: previous declaration 'unsigned int tagRPC_CALL_ATTRIBUTES_V1_W::__LONG32'
     unsigned __LONG32 Flags;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:154:23: error: 'ClientPrincipalNameBufferLength' does not name a type
     unsigned __LONG32 ClientPrincipalNameBufferLength;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:156:14: error: expected ';' at end of member declaration
     unsigned __LONG32 AuthenticationLevel;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:156:14: error: redeclaration of 'unsigned int tagRPC_CALL_ATTRIBUTES_V1_W::__LONG32'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:151:14: note: previous declaration 'unsigned int tagRPC_CALL_ATTRIBUTES_V1_W::__LONG32'
     unsigned __LONG32 Flags;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:156:23: error: 'AuthenticationLevel' does not name a type
     unsigned __LONG32 AuthenticationLevel;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:157:14: error: expected ';' at end of member declaration
     unsigned __LONG32 AuthenticationService;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:157:14: error: redeclaration of 'unsigned int tagRPC_CALL_ATTRIBUTES_V1_W::__LONG32'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:151:14: note: previous declaration 'unsigned int tagRPC_CALL_ATTRIBUTES_V1_W::__LONG32'
     unsigned __LONG32 Flags;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:157:23: error: 'AuthenticationService' does not name a type
     unsigned __LONG32 AuthenticationService;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:163:14: error: expected ';' at end of member declaration
     unsigned __LONG32 Flags;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:163:23: error: 'Flags' does not name a type
     unsigned __LONG32 Flags;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:164:14: error: expected ';' at end of member declaration
     unsigned __LONG32 ServerPrincipalNameBufferLength;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:164:14: error: redeclaration of 'unsigned int tagRPC_CALL_ATTRIBUTES_V1_A::__LONG32'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:163:14: note: previous declaration 'unsigned int tagRPC_CALL_ATTRIBUTES_V1_A::__LONG32'
     unsigned __LONG32 Flags;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:164:23: error: 'ServerPrincipalNameBufferLength' does not name a type
     unsigned __LONG32 ServerPrincipalNameBufferLength;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:166:14: error: expected ';' at end of member declaration
     unsigned __LONG32 ClientPrincipalNameBufferLength;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:166:14: error: redeclaration of 'unsigned int tagRPC_CALL_ATTRIBUTES_V1_A::__LONG32'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:163:14: note: previous declaration 'unsigned int tagRPC_CALL_ATTRIBUTES_V1_A::__LONG32'
     unsigned __LONG32 Flags;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:166:23: error: 'ClientPrincipalNameBufferLength' does not name a type
     unsigned __LONG32 ClientPrincipalNameBufferLength;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:168:14: error: expected ';' at end of member declaration
     unsigned __LONG32 AuthenticationLevel;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:168:14: error: redeclaration of 'unsigned int tagRPC_CALL_ATTRIBUTES_V1_A::__LONG32'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:163:14: note: previous declaration 'unsigned int tagRPC_CALL_ATTRIBUTES_V1_A::__LONG32'
     unsigned __LONG32 Flags;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:168:23: error: 'AuthenticationLevel' does not name a type
     unsigned __LONG32 AuthenticationLevel;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:169:14: error: expected ';' at end of member declaration
     unsigned __LONG32 AuthenticationService;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:169:14: error: redeclaration of 'unsigned int tagRPC_CALL_ATTRIBUTES_V1_A::__LONG32'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:163:14: note: previous declaration 'unsigned int tagRPC_CALL_ATTRIBUTES_V1_A::__LONG32'
     unsigned __LONG32 Flags;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:169:23: error: 'AuthenticationService' does not name a type
     unsigned __LONG32 AuthenticationService;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:176:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcServerInqCallAttributesW(RPC_BINDING_HANDLE ClientBinding,void *RpcCallAttributes);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:177:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcServerInqCallAttributesA(RPC_BINDING_HANDLE ClientBinding,void *RpcCallAttributes);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:181:3: error: 'RPC_STATUS' does not name a type
   RPC_STATUS RPC_ENTRY I_RpcAsyncSetHandle(PRPC_MESSAGE Message,PRPC_ASYNC_STATE pAsync);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:182:3: error: 'RPC_STATUS' does not name a type
   RPC_STATUS RPC_ENTRY I_RpcAsyncAbortCall(PRPC_ASYNC_STATE pAsync,unsigned __LONG32 ExceptionCode);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:183:56: error: expected ',' or '...' before 'ExceptionCode'
   int RPC_ENTRY I_RpcExceptionFilter(unsigned __LONG32 ExceptionCode);
                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:192:5: error: 'DWORD' does not name a type
     DWORD        dwNumberOfBytesTransferred;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:204:1: error: 'RPC_STATUS' does not name a type
 RPC_STATUS RPC_ENTRY RpcBindingBind(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:210:1: error: 'RPC_STATUS' does not name a type
 RPC_STATUS RPC_ENTRY RpcBindingUnbind(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:240:1: error: 'RPC_STATUS' does not name a type
 RPC_STATUS RPC_ENTRY RpcServerSubscribeForNotification(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcasync.h:247:1: error: 'RPC_STATUS' does not name a type
 RPC_STATUS RPC_ENTRY RpcServerUnsubscribeForNotification(
 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:89:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/shellapi.h:95:5: error: 'DWORD' does not name a type
     DWORD grfKeyState;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/shellapi.h:103:5: error: 'DWORD' does not name a type
     DWORD grfKeyState;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/shellapi.h:140:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/shellapi.h:148:40: error: definition of 'UINT_PTR SHAppBarMessage' is marked 'dllimport'
   SHSTDAPI_(UINT_PTR) SHAppBarMessage (DWORD dwMessage, PAPPBARDATA pData);
                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/shellapi.h:148:40: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/shellapi.h:148:69: error: expected primary-expression before 'pData'
   SHSTDAPI_(UINT_PTR) SHAppBarMessage (DWORD dwMessage, PAPPBARDATA pData);
                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/shellapi.h:148:74: error: expression list treated as compound expression in initializer [-fpermissive]
   SHSTDAPI_(UINT_PTR) SHAppBarMessage (DWORD dwMessage, PAPPBARDATA pData);
                                                                          ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:89:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/shellapi.h:149:3: error: 'DWORD' does not name a type
   SHSTDAPI_(DWORD) DoEnvironmentSubstA (LPSTR pszSrc, UINT cchSrc);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/shellapi.h:150:3: error: 'DWORD' does not name a type
   SHSTDAPI_(DWORD) DoEnvironmentSubstW (LPWSTR pszSrc, UINT cchSrc);
   ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:89:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/shellapi.h:301:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/shellapi.h:302:5: error: 'ULONG' does not name a type
     ULONG fMask;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/shellapi.h:313:5: error: 'DWORD' does not name a type
     DWORD dwHotKey;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/shellapi.h:322:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/shellapi.h:323:5: error: 'ULONG' does not name a type
     ULONG fMask;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/shellapi.h:334:5: error: 'DWORD' does not name a type
     DWORD dwHotKey;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/shellapi.h:351:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/shellapi.h:352:5: error: 'ULONG' does not name a type
     ULONG fMask;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/shellapi.h:361:5: error: 'DWORD' does not name a type
     DWORD dwCreationFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/shellapi.h:398:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:89:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/shellapi.h:407:3: error: 'HRESULT' does not name a type
   SHSTDAPI SHQueryRecycleBinA (LPCSTR pszRootPath, LPSHQUERYRBINFO pSHQueryRBInfo);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/shellapi.h:408:3: error: 'HRESULT' does not name a type
   SHSTDAPI SHQueryRecycleBinW (LPCWSTR pszRootPath, LPSHQUERYRBINFO pSHQueryRBInfo);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/shellapi.h:412:3: error: 'HRESULT' does not name a type
   SHSTDAPI SHEmptyRecycleBinA (HWND hwnd, LPCSTR pszRootPath, DWORD dwFlags);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/shellapi.h:413:3: error: 'HRESULT' does not name a type
   SHSTDAPI SHEmptyRecycleBinW (HWND hwnd, LPCWSTR pszRootPath, DWORD dwFlags);
   ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:89:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/shellapi.h:440:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/shellapi.h:447:5: error: 'DWORD' does not name a type
     DWORD dwState;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/shellapi.h:448:5: error: 'DWORD' does not name a type
     DWORD dwStateMask;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/shellapi.h:455:5: error: 'DWORD' does not name a type
     DWORD dwInfoFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/shellapi.h:463:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/shellapi.h:470:5: error: 'DWORD' does not name a type
     DWORD dwState;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/shellapi.h:471:5: error: 'DWORD' does not name a type
     DWORD dwStateMask;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/shellapi.h:478:5: error: 'DWORD' does not name a type
     DWORD dwInfoFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/shellapi.h:554:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/shellapi.h:560:41: error: definition of 'WINBOOL Shell_NotifyIconA' is marked 'dllimport'
   SHSTDAPI_(WINBOOL) Shell_NotifyIconA (DWORD dwMessage, PNOTIFYICONDATAA lpData);
                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/shellapi.h:560:41: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/shellapi.h:560:75: error: expected primary-expression before 'lpData'
   SHSTDAPI_(WINBOOL) Shell_NotifyIconA (DWORD dwMessage, PNOTIFYICONDATAA lpData);
                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/shellapi.h:560:81: error: expression list treated as compound expression in initializer [-fpermissive]
   SHSTDAPI_(WINBOOL) Shell_NotifyIconA (DWORD dwMessage, PNOTIFYICONDATAA lpData);
                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/shellapi.h:561:41: error: definition of 'WINBOOL Shell_NotifyIconW' is marked 'dllimport'
   SHSTDAPI_(WINBOOL) Shell_NotifyIconW (DWORD dwMessage, PNOTIFYICONDATAW lpData);
                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/shellapi.h:561:41: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/shellapi.h:561:75: error: expected primary-expression before 'lpData'
   SHSTDAPI_(WINBOOL) Shell_NotifyIconW (DWORD dwMessage, PNOTIFYICONDATAW lpData);
                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/shellapi.h:561:81: error: expression list treated as compound expression in initializer [-fpermissive]
   SHSTDAPI_(WINBOOL) Shell_NotifyIconW (DWORD dwMessage, PNOTIFYICONDATAW lpData);
                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/shellapi.h:575:5: error: 'DWORD' does not name a type
     DWORD dwAttributes;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/shellapi.h:583:5: error: 'DWORD' does not name a type
     DWORD dwAttributes;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/shellapi.h:612:56: error: 'DWORD' has not been declared
   SHSTDAPI_(DWORD_PTR) SHGetFileInfoA (LPCSTR pszPath, DWORD dwFileAttributes, SHFILEINFOA *psfi, UINT cbFileInfo, UINT uFlags);
                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/shellapi.h:613:57: error: 'DWORD' has not been declared
   SHSTDAPI_(DWORD_PTR) SHGetFileInfoW (LPCWSTR pszPath, DWORD dwFileAttributes, SHFILEINFOW *psfi, UINT cbFileInfo, UINT uFlags);
                                                         ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:89:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/shellapi.h:796:3: error: 'HRESULT' does not name a type
   SHSTDAPI SHLoadNonloadedIconOverlayIdentifiers (void);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/shellapi.h:797:3: error: 'HRESULT' does not name a type
   SHSTDAPI SHIsFileAvailableOffline (PCWSTR pwszPath, DWORD *pdwStatus);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/shellapi.h:803:3: error: 'HRESULT' does not name a type
   SHSTDAPI SHSetLocalizedName (PCWSTR pszPath, PCWSTR pszResModule, int idsRes);
   ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/shellapi.h:827:3: error: 'HRESULT' does not name a type
   STDAPI SHEnumerateUnreadMailAccountsA (HKEY hKeyUser, DWORD dwIndex, LPSTR pszMailAddress, int cchMailAddress);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/shellapi.h:828:3: error: 'HRESULT' does not name a type
   STDAPI SHEnumerateUnreadMailAccountsW (HKEY hKeyUser, DWORD dwIndex, LPWSTR pszMailAddress, int cchMailAddress);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/shellapi.h:829:3: error: 'HRESULT' does not name a type
   STDAPI SHGetUnreadMailCountA (HKEY hKeyUser, LPCSTR pszMailAddress, DWORD *pdwCount, FILETIME *pFileTime, LPSTR pszShellExecuteCommand, int cchShellExecuteCommand);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/shellapi.h:830:3: error: 'HRESULT' does not name a type
   STDAPI SHGetUnreadMailCountW (HKEY hKeyUser, LPCWSTR pszMailAddress, DWORD *pdwCount, FILETIME *pFileTime, LPWSTR pszShellExecuteCommand, int cchShellExecuteCommand);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/shellapi.h:831:3: error: 'HRESULT' does not name a type
   STDAPI SHSetUnreadMailCountA (LPCSTR pszMailAddress, DWORD dwCount, LPCSTR pszShellExecuteCommand);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/shellapi.h:832:3: error: 'HRESULT' does not name a type
   STDAPI SHSetUnreadMailCountW (LPCWSTR pszMailAddress, DWORD dwCount, LPCWSTR pszShellExecuteCommand);
   ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:89:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/shellapi.h:840:59: error: 'ULONG' has not been declared
   STDAPI_ (WINBOOL) SHTestTokenMembership (HANDLE hToken, ULONG ulRID);
                                                           ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:89:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/shellapi.h:844:3: error: 'HRESULT' does not name a type
   SHSTDAPI SHGetImageList (int iImageList, REFIID riid, void **ppvObj);
   ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:89:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/shellapi.h:857:19: error: typedef 'HRESULT' is initialized (use decltype instead)
   typedef HRESULT (STDMETHODCALLTYPE *PFNCANSHAREFOLDERW) (PCWSTR pszPath);
                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/shellapi.h:857:39: error: 'PFNCANSHAREFOLDERW' was not declared in this scope
   typedef HRESULT (STDMETHODCALLTYPE *PFNCANSHAREFOLDERW) (PCWSTR pszPath);
                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/shellapi.h:858:19: error: typedef 'HRESULT' is initialized (use decltype instead)
   typedef HRESULT (STDMETHODCALLTYPE *PFNSHOWSHAREFOLDERUIW) (HWND hwndParent, PCWSTR pszPath);
                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/shellapi.h:858:39: error: 'PFNSHOWSHAREFOLDERUIW' was not declared in this scope
   typedef HRESULT (STDMETHODCALLTYPE *PFNSHOWSHAREFOLDERUIW) (HWND hwndParent, PCWSTR pszPath);
                                       ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:90:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winperf.h:16:3: error: 'DWORD' does not name a type
   DWORD LittleEndian;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winperf.h:17:3: error: 'DWORD' does not name a type
   DWORD Version;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winperf.h:18:3: error: 'DWORD' does not name a type
   DWORD Revision;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winperf.h:19:3: error: 'DWORD' does not name a type
   DWORD TotalByteLength;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winperf.h:20:3: error: 'DWORD' does not name a type
   DWORD HeaderLength;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winperf.h:21:3: error: 'DWORD' does not name a type
   DWORD NumObjectTypes;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winperf.h:22:3: error: 'LONG' does not name a type
   LONG DefaultObject;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winperf.h:27:3: error: 'DWORD' does not name a type
   DWORD SystemNameLength;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winperf.h:28:3: error: 'DWORD' does not name a type
   DWORD SystemNameOffset;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winperf.h:32:3: error: 'DWORD' does not name a type
   DWORD TotalByteLength;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winperf.h:33:3: error: 'DWORD' does not name a type
   DWORD DefinitionLength;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winperf.h:34:3: error: 'DWORD' does not name a type
   DWORD HeaderLength;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winperf.h:35:3: error: 'DWORD' does not name a type
   DWORD ObjectNameTitleIndex;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winperf.h:37:3: error: 'DWORD' does not name a type
   DWORD ObjectNameTitle;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winperf.h:41:3: error: 'DWORD' does not name a type
   DWORD ObjectHelpTitleIndex;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winperf.h:43:3: error: 'DWORD' does not name a type
   DWORD ObjectHelpTitle;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winperf.h:47:3: error: 'DWORD' does not name a type
   DWORD DetailLevel;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winperf.h:48:3: error: 'DWORD' does not name a type
   DWORD NumCounters;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winperf.h:49:3: error: 'LONG' does not name a type
   LONG DefaultCounter;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winperf.h:50:3: error: 'LONG' does not name a type
   LONG NumInstances;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winperf.h:51:3: error: 'DWORD' does not name a type
   DWORD CodePage;
   ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:90:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winperf.h:140:3: error: 'DWORD' does not name a type
   DWORD ByteLength;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winperf.h:141:3: error: 'DWORD' does not name a type
   DWORD CounterNameTitleIndex;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winperf.h:143:3: error: 'DWORD' does not name a type
   DWORD CounterNameTitle;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winperf.h:147:3: error: 'DWORD' does not name a type
   DWORD CounterHelpTitleIndex;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winperf.h:149:3: error: 'DWORD' does not name a type
   DWORD CounterHelpTitle;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winperf.h:153:3: error: 'LONG' does not name a type
   LONG DefaultScale;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winperf.h:154:3: error: 'DWORD' does not name a type
   DWORD DetailLevel;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winperf.h:155:3: error: 'DWORD' does not name a type
   DWORD CounterType;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winperf.h:156:3: error: 'DWORD' does not name a type
   DWORD CounterSize;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winperf.h:157:3: error: 'DWORD' does not name a type
   DWORD CounterOffset;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winperf.h:163:3: error: 'DWORD' does not name a type
   DWORD ByteLength;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winperf.h:164:3: error: 'DWORD' does not name a type
   DWORD ParentObjectTitleIndex;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winperf.h:165:3: error: 'DWORD' does not name a type
   DWORD ParentObjectInstance;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winperf.h:166:3: error: 'LONG' does not name a type
   LONG UniqueID;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winperf.h:167:3: error: 'DWORD' does not name a type
   DWORD NameOffset;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winperf.h:168:3: error: 'DWORD' does not name a type
   DWORD NameLength;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winperf.h:172:3: error: 'DWORD' does not name a type
   DWORD ByteLength;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winperf.h:180:35: error: typedef 'DWORD' is initialized (use decltype instead)
 typedef DWORD (WINAPI PM_OPEN_PROC)(LPWSTR);
                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winperf.h:180:23: error: 'PM_OPEN_PROC' was not declared in this scope
 typedef DWORD (WINAPI PM_OPEN_PROC)(LPWSTR);
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winperf.h:181:38: error: typedef 'DWORD' is initialized (use decltype instead)
 typedef DWORD (WINAPI PM_COLLECT_PROC)(LPWSTR,LPVOID *,LPDWORD,LPDWORD);
                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winperf.h:181:23: error: 'PM_COLLECT_PROC' was not declared in this scope
 typedef DWORD (WINAPI PM_COLLECT_PROC)(LPWSTR,LPVOID *,LPDWORD,LPDWORD);
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winperf.h:182:36: error: typedef 'DWORD' is initialized (use decltype instead)
 typedef DWORD (WINAPI PM_CLOSE_PROC)(void);
                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winperf.h:182:23: error: 'PM_CLOSE_PROC' was not declared in this scope
 typedef DWORD (WINAPI PM_CLOSE_PROC)(void);
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winperf.h:183:36: error: typedef 'DWORD' is initialized (use decltype instead)
 typedef DWORD (WINAPI PM_QUERY_PROC)(LPDWORD,LPVOID *,LPDWORD,LPDWORD);
                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winperf.h:183:23: error: 'PM_QUERY_PROC' was not declared in this scope
 typedef DWORD (WINAPI PM_QUERY_PROC)(LPDWORD,LPVOID *,LPDWORD,LPDWORD);
                       ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsock.h:40:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:92,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/_xmitfile.h:12:2: error: 'DWORD' does not name a type
  DWORD HeadLength;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/psdk_inc/_xmitfile.h:14:2: error: 'DWORD' does not name a type
  DWORD TailLength;
  ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:92:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsock.h:281:55: error: '__LONG32' has not been declared
   WINSOCK_API_LINKAGE int WSAAPI ioctlsocket(SOCKET s,__LONG32 cmd,u_long *argp);
                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsock.h:289:48: error: expected initializer before 'inet_addr'
   WINSOCK_API_LINKAGE unsigned __LONG32 WSAAPI inet_addr(const char *cp);
                                                ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:92:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsock.h:330:79: error: '__LONG32' has not been declared
   WINSOCK_API_LINKAGE int WSAAPI WSAAsyncSelect(SOCKET s,HWND hWnd,u_int wMsg,__LONG32 lEvent);
                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsock.h:340:59: error: 'DWORD' has not been declared
   WINBOOL WINAPI TransmitFile(SOCKET hSocket,HANDLE hFile,DWORD nNumberOfBytesToWrite,DWORD nNumberOfBytesPerSend,LPOVERLAPPED lpOverlapped,LPTRANSMIT_FILE_BUFFERS lpTransmitBuffers,DWORD dwReserved);
                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsock.h:340:87: error: 'DWORD' has not been declared
   WINBOOL WINAPI TransmitFile(SOCKET hSocket,HANDLE hFile,DWORD nNumberOfBytesToWrite,DWORD nNumberOfBytesPerSend,LPOVERLAPPED lpOverlapped,LPTRANSMIT_FILE_BUFFERS lpTransmitBuffers,DWORD dwReserved);
                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsock.h:340:183: error: 'DWORD' has not been declared
   WINBOOL WINAPI TransmitFile(SOCKET hSocket,HANDLE hFile,DWORD nNumberOfBytesToWrite,DWORD nNumberOfBytesPerSend,LPOVERLAPPED lpOverlapped,LPTRANSMIT_FILE_BUFFERS lpTransmitBuffers,DWORD dwReserved);
                                                                                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsock.h:341:90: error: 'DWORD' has not been declared
   WINBOOL WINAPI AcceptEx(SOCKET sListenSocket,SOCKET sAcceptSocket,PVOID lpOutputBuffer,DWORD dwReceiveDataLength,DWORD dwLocalAddressLength,DWORD dwRemoteAddressLength,LPDWORD lpdwBytesReceived,LPOVERLAPPED lpOverlapped);
                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsock.h:341:116: error: 'DWORD' has not been declared
   WINBOOL WINAPI AcceptEx(SOCKET sListenSocket,SOCKET sAcceptSocket,PVOID lpOutputBuffer,DWORD dwReceiveDataLength,DWORD dwLocalAddressLength,DWORD dwRemoteAddressLength,LPDWORD lpdwBytesReceived,LPOVERLAPPED lpOverlapped);
                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsock.h:341:143: error: 'DWORD' has not been declared
   WINBOOL WINAPI AcceptEx(SOCKET sListenSocket,SOCKET sAcceptSocket,PVOID lpOutputBuffer,DWORD dwReceiveDataLength,DWORD dwLocalAddressLength,DWORD dwRemoteAddressLength,LPDWORD lpdwBytesReceived,LPOVERLAPPED lpOverlapped);
                                                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsock.h:341:171: error: 'LPDWORD' has not been declared
   WINBOOL WINAPI AcceptEx(SOCKET sListenSocket,SOCKET sAcceptSocket,PVOID lpOutputBuffer,DWORD dwReceiveDataLength,DWORD dwLocalAddressLength,DWORD dwRemoteAddressLength,LPDWORD lpdwBytesReceived,LPOVERLAPPED lpOverlapped);
                                                                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsock.h:342:57: error: 'DWORD' has not been declared
   VOID WINAPI GetAcceptExSockaddrs(PVOID lpOutputBuffer,DWORD dwReceiveDataLength,DWORD dwLocalAddressLength,DWORD dwRemoteAddressLength,struct sockaddr **LocalSockaddr,LPINT LocalSockaddrLength,struct sockaddr **RemoteSockaddr,LPINT RemoteSockaddrLength);
                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsock.h:342:83: error: 'DWORD' has not been declared
   VOID WINAPI GetAcceptExSockaddrs(PVOID lpOutputBuffer,DWORD dwReceiveDataLength,DWORD dwLocalAddressLength,DWORD dwRemoteAddressLength,struct sockaddr **LocalSockaddr,LPINT LocalSockaddrLength,struct sockaddr **RemoteSockaddr,LPINT RemoteSockaddrLength);
                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsock.h:342:110: error: 'DWORD' has not been declared
   VOID WINAPI GetAcceptExSockaddrs(PVOID lpOutputBuffer,DWORD dwReceiveDataLength,DWORD dwLocalAddressLength,DWORD dwRemoteAddressLength,struct sockaddr **LocalSockaddr,LPINT LocalSockaddrLength,struct sockaddr **RemoteSockaddr,LPINT RemoteSockaddrLength);
                                                                                                              ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:12:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:95,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:23:11: error: 'LONG' does not name a type
   typedef LONG NTSTATUS,*PNTSTATUS;
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:140:5: error: 'ULONG' does not name a type
     ULONG dwMinLength;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:141:5: error: 'ULONG' does not name a type
     ULONG dwMaxLength;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:142:5: error: 'ULONG' does not name a type
     ULONG dwIncrement;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:148:5: error: 'ULONG' does not name a type
     ULONG cbOID;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:153:5: error: 'ULONG' does not name a type
     ULONG dwOIDCount;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:163:5: error: 'ULONG' does not name a type
     ULONG cbSalt;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:169:5: error: 'ULONG' does not name a type
     ULONG cbLabel;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:173:5: error: 'ULONG' does not name a type
     ULONG cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:174:5: error: 'ULONG' does not name a type
     ULONG dwInfoVersion;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:176:5: error: 'ULONG' does not name a type
     ULONG cbNonce;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:178:5: error: 'ULONG' does not name a type
     ULONG cbAuthData;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:180:5: error: 'ULONG' does not name a type
     ULONG cbTag;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:182:5: error: 'ULONG' does not name a type
     ULONG cbMacContext;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:183:5: error: 'ULONG' does not name a type
     ULONG cbAAD;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:185:5: error: 'ULONG' does not name a type
     ULONG dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:191:5: error: 'ULONG' does not name a type
     ULONG cbBuffer;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:192:5: error: 'ULONG' does not name a type
     ULONG BufferType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:197:5: error: 'ULONG' does not name a type
     ULONG ulVersion;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:198:5: error: 'ULONG' does not name a type
     ULONG cBuffers;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:378:5: error: 'ULONG' does not name a type
     ULONG Magic;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:382:5: error: 'ULONG' does not name a type
     ULONG Magic;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:383:5: error: 'ULONG' does not name a type
     ULONG BitLength;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:384:5: error: 'ULONG' does not name a type
     ULONG cbPublicExp;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:385:5: error: 'ULONG' does not name a type
     ULONG cbModulus;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:386:5: error: 'ULONG' does not name a type
     ULONG cbPrime1;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:387:5: error: 'ULONG' does not name a type
     ULONG cbPrime2;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:391:5: error: 'ULONG' does not name a type
     ULONG dwMagic;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:392:5: error: 'ULONG' does not name a type
     ULONG cbKey;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:396:5: error: 'ULONG' does not name a type
     ULONG dwMagic;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:397:5: error: 'ULONG' does not name a type
     ULONG cbKey;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:401:5: error: 'ULONG' does not name a type
     ULONG cbLength;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:402:5: error: 'ULONG' does not name a type
     ULONG dwMagic;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:403:5: error: 'ULONG' does not name a type
     ULONG cbKeyLength;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:407:5: error: 'ULONG' does not name a type
     ULONG dwMagic;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:408:5: error: 'ULONG' does not name a type
     ULONG cbKey;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:425:5: error: 'ULONG' does not name a type
     ULONG dwMagic;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:426:5: error: 'ULONG' does not name a type
     ULONG cbKey;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:429:5: error: 'ULONG' does not name a type
     ULONG cbSeedLength;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:430:5: error: 'ULONG' does not name a type
     ULONG cbGroupSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:435:5: error: 'ULONG' does not name a type
     ULONG dwMagic;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:436:5: error: 'ULONG' does not name a type
     ULONG dwVersion;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:437:5: error: 'ULONG' does not name a type
     ULONG cbKeyData;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:441:5: error: 'ULONG' does not name a type
     ULONG cbLength;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:442:5: error: 'ULONG' does not name a type
     ULONG dwMagic;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:443:5: error: 'ULONG' does not name a type
     ULONG cbKeyLength;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:450:5: error: 'ULONG' does not name a type
     ULONG cbLength;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:451:5: error: 'ULONG' does not name a type
     ULONG dwMagic;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:452:5: error: 'ULONG' does not name a type
     ULONG cbKeyLength;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:455:5: error: 'ULONG' does not name a type
     ULONG cbSeedLength;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:456:5: error: 'ULONG' does not name a type
     ULONG cbGroupSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:462:5: error: 'ULONG' does not name a type
     ULONG dwClass;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:463:5: error: 'ULONG' does not name a type
     ULONG dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:476:5: error: 'ULONG' does not name a type
     ULONG dwInterface;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:477:5: error: 'ULONG' does not name a type
     ULONG dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:478:5: error: 'ULONG' does not name a type
     ULONG cFunctions;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:484:5: error: 'ULONG' does not name a type
     ULONG cInterfaces;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:489:5: error: 'ULONG' does not name a type
     ULONG cAliases;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:496:5: error: 'ULONG' does not name a type
     ULONG cProviders;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:501:5: error: 'ULONG' does not name a type
     ULONG dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:502:5: error: 'ULONG' does not name a type
     ULONG dwReserved;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:506:5: error: 'ULONG' does not name a type
     ULONG dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:507:5: error: 'ULONG' does not name a type
     ULONG dwReserved;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:511:5: error: 'ULONG' does not name a type
     ULONG cContexts;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:516:5: error: 'ULONG' does not name a type
     ULONG cFunctions;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:521:5: error: 'ULONG' does not name a type
     ULONG cProviders;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:527:5: error: 'ULONG' does not name a type
     ULONG cbValue;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:533:5: error: 'ULONG' does not name a type
     ULONG dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:537:5: error: 'ULONG' does not name a type
     ULONG dwInterface;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:540:5: error: 'ULONG' does not name a type
     ULONG cProperties;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:547:5: error: 'ULONG' does not name a type
     ULONG cProviders;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:551:3: error: 'NTSTATUS' does not name a type
   NTSTATUS WINAPI BCryptOpenAlgorithmProvider (BCRYPT_ALG_HANDLE *phAlgorithm, LPCWSTR pszAlgId, LPCWSTR pszImplementation, ULONG dwFlags);
   ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:12:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:95,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:552:3: error: 'NTSTATUS' does not name a type
   NTSTATUS WINAPI BCryptEnumAlgorithms (ULONG dwAlgOperations, ULONG *pAlgCount, BCRYPT_ALGORITHM_IDENTIFIER **ppAlgList, ULONG dwFlags);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:553:3: error: 'NTSTATUS' does not name a type
   NTSTATUS WINAPI BCryptEnumProviders (LPCWSTR pszAlgId, ULONG *pImplCount, BCRYPT_PROVIDER_NAME **ppImplList, ULONG dwFlags);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:554:3: error: 'NTSTATUS' does not name a type
   NTSTATUS WINAPI BCryptGetProperty (BCRYPT_HANDLE hObject, LPCWSTR pszProperty, PUCHAR pbOutput, ULONG cbOutput, ULONG *pcbResult, ULONG dwFlags);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:555:3: error: 'NTSTATUS' does not name a type
   NTSTATUS WINAPI BCryptSetProperty (BCRYPT_HANDLE hObject, LPCWSTR pszProperty, PUCHAR pbInput, ULONG cbInput, ULONG dwFlags);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:556:3: error: 'NTSTATUS' does not name a type
   NTSTATUS WINAPI BCryptCloseAlgorithmProvider (BCRYPT_ALG_HANDLE hAlgorithm, ULONG dwFlags);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:558:3: error: 'NTSTATUS' does not name a type
   NTSTATUS WINAPI BCryptGenerateSymmetricKey (BCRYPT_ALG_HANDLE hAlgorithm, BCRYPT_KEY_HANDLE *phKey, PUCHAR pbKeyObject, ULONG cbKeyObject, PUCHAR pbSecret, ULONG cbSecret, ULONG dwFlags);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:559:3: error: 'NTSTATUS' does not name a type
   NTSTATUS WINAPI BCryptGenerateKeyPair (BCRYPT_ALG_HANDLE hAlgorithm, BCRYPT_KEY_HANDLE *phKey, ULONG dwLength, ULONG dwFlags);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:560:3: error: 'NTSTATUS' does not name a type
   NTSTATUS WINAPI BCryptEncrypt (BCRYPT_KEY_HANDLE hKey, PUCHAR pbInput, ULONG cbInput, VOID *pPaddingInfo, PUCHAR pbIV, ULONG cbIV, PUCHAR pbOutput, ULONG cbOutput, ULONG *pcbResult, ULONG dwFlags);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:561:3: error: 'NTSTATUS' does not name a type
   NTSTATUS WINAPI BCryptDecrypt (BCRYPT_KEY_HANDLE hKey, PUCHAR pbInput, ULONG cbInput, VOID *pPaddingInfo, PUCHAR pbIV, ULONG cbIV, PUCHAR pbOutput, ULONG cbOutput, ULONG *pcbResult, ULONG dwFlags);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:562:3: error: 'NTSTATUS' does not name a type
   NTSTATUS WINAPI BCryptExportKey (BCRYPT_KEY_HANDLE hKey, BCRYPT_KEY_HANDLE hExportKey, LPCWSTR pszBlobType, PUCHAR pbOutput, ULONG cbOutput, ULONG *pcbResult, ULONG dwFlags);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:563:3: error: 'NTSTATUS' does not name a type
   NTSTATUS WINAPI BCryptImportKey (BCRYPT_ALG_HANDLE hAlgorithm, BCRYPT_KEY_HANDLE hImportKey, LPCWSTR pszBlobType, BCRYPT_KEY_HANDLE *phKey, PUCHAR pbKeyObject, ULONG cbKeyObject, PUCHAR pbInput, ULONG cbInput, ULONG dwFlags);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:564:3: error: 'NTSTATUS' does not name a type
   NTSTATUS WINAPI BCryptImportKeyPair (BCRYPT_ALG_HANDLE hAlgorithm, BCRYPT_KEY_HANDLE hImportKey, LPCWSTR pszBlobType, BCRYPT_KEY_HANDLE *phKey, PUCHAR pbInput, ULONG cbInput, ULONG dwFlags);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:565:3: error: 'NTSTATUS' does not name a type
   NTSTATUS WINAPI BCryptDuplicateKey (BCRYPT_KEY_HANDLE hKey, BCRYPT_KEY_HANDLE *phNewKey, PUCHAR pbKeyObject, ULONG cbKeyObject, ULONG dwFlags);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:566:3: error: 'NTSTATUS' does not name a type
   NTSTATUS WINAPI BCryptFinalizeKeyPair (BCRYPT_KEY_HANDLE hKey, ULONG dwFlags);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:567:3: error: 'NTSTATUS' does not name a type
   NTSTATUS WINAPI BCryptDestroyKey (BCRYPT_KEY_HANDLE hKey);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:568:3: error: 'NTSTATUS' does not name a type
   NTSTATUS WINAPI BCryptDestroySecret (BCRYPT_SECRET_HANDLE hSecret);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:569:3: error: 'NTSTATUS' does not name a type
   NTSTATUS WINAPI BCryptSignHash (BCRYPT_KEY_HANDLE hKey, VOID *pPaddingInfo, PUCHAR pbInput, ULONG cbInput, PUCHAR pbOutput, ULONG cbOutput, ULONG *pcbResult, ULONG dwFlags);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:570:3: error: 'NTSTATUS' does not name a type
   NTSTATUS WINAPI BCryptVerifySignature (BCRYPT_KEY_HANDLE hKey, VOID *pPaddingInfo, PUCHAR pbHash, ULONG cbHash, PUCHAR pbSignature, ULONG cbSignature, ULONG dwFlags);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:571:3: error: 'NTSTATUS' does not name a type
   NTSTATUS WINAPI BCryptSecretAgreement (BCRYPT_KEY_HANDLE hPrivKey, BCRYPT_KEY_HANDLE hPubKey, BCRYPT_SECRET_HANDLE *phAgreedSecret, ULONG dwFlags);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:572:3: error: 'NTSTATUS' does not name a type
   NTSTATUS WINAPI BCryptDeriveKey (BCRYPT_SECRET_HANDLE hSharedSecret, LPCWSTR pwszKDF, BCryptBufferDesc *pParameterList, PUCHAR pbDerivedKey, ULONG cbDerivedKey, ULONG *pcbResult, ULONG dwFlags);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:573:3: error: 'NTSTATUS' does not name a type
   NTSTATUS WINAPI BCryptKeyDerivation (BCRYPT_KEY_HANDLE hKey, BCryptBufferDesc *pParameterList, PUCHAR pbDerivedKey, ULONG cbDerivedKey, ULONG *pcbResult, ULONG dwFlags);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:574:3: error: 'NTSTATUS' does not name a type
   NTSTATUS WINAPI BCryptCreateHash (BCRYPT_ALG_HANDLE hAlgorithm, BCRYPT_HASH_HANDLE *phHash, PUCHAR pbHashObject, ULONG cbHashObject, PUCHAR pbSecret, ULONG cbSecret, ULONG dwFlags);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:575:3: error: 'NTSTATUS' does not name a type
   NTSTATUS WINAPI BCryptHashData (BCRYPT_HASH_HANDLE hHash, PUCHAR pbInput, ULONG cbInput, ULONG dwFlags);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:576:3: error: 'NTSTATUS' does not name a type
   NTSTATUS WINAPI BCryptFinishHash (BCRYPT_HASH_HANDLE hHash, PUCHAR pbOutput, ULONG cbOutput, ULONG dwFlags);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:577:3: error: 'NTSTATUS' does not name a type
   NTSTATUS WINAPI BCryptDuplicateHash (BCRYPT_HASH_HANDLE hHash, BCRYPT_HASH_HANDLE *phNewHash, PUCHAR pbHashObject, ULONG cbHashObject, ULONG dwFlags);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:578:3: error: 'NTSTATUS' does not name a type
   NTSTATUS WINAPI BCryptDestroyHash (BCRYPT_HASH_HANDLE hHash);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:579:3: error: 'NTSTATUS' does not name a type
   NTSTATUS WINAPI BCryptGenRandom (BCRYPT_ALG_HANDLE hAlgorithm, PUCHAR pbBuffer, ULONG cbBuffer, ULONG dwFlags);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:580:3: error: 'NTSTATUS' does not name a type
   NTSTATUS WINAPI BCryptDeriveKeyCapi (BCRYPT_HASH_HANDLE hHash, BCRYPT_ALG_HANDLE hTargetAlg, PUCHAR pbDerivedKey, ULONG cbDerivedKey, ULONG dwFlags);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:581:3: error: 'NTSTATUS' does not name a type
   NTSTATUS WINAPI BCryptDeriveKeyPBKDF2 (BCRYPT_ALG_HANDLE hPrf, PUCHAR pbPassword, ULONG cbPassword, PUCHAR pbSalt, ULONG cbSalt, ULONGLONG cIterations, PUCHAR pbDerivedKey, ULONG cbDerivedKey, ULONG dwFlags);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:582:3: error: 'NTSTATUS' does not name a type
   NTSTATUS WINAPI BCryptResolveProviders (LPCWSTR pszContext, ULONG dwInterface, LPCWSTR pszFunction, LPCWSTR pszProvider, ULONG dwMode, ULONG dwFlags, ULONG *pcbBuffer, PCRYPT_PROVIDER_REFS *ppBuffer);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:583:3: error: 'NTSTATUS' does not name a type
   NTSTATUS WINAPI BCryptGetFipsAlgorithmMode (BOOLEAN *pfEnabled);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:585:3: error: 'NTSTATUS' does not name a type
   NTSTATUS WINAPI BCryptQueryProviderRegistration (LPCWSTR pszProvider, ULONG dwMode, ULONG dwInterface, ULONG *pcbBuffer, PCRYPT_PROVIDER_REG *ppBuffer);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:586:3: error: 'NTSTATUS' does not name a type
   NTSTATUS WINAPI BCryptEnumRegisteredProviders (ULONG *pcbBuffer, PCRYPT_PROVIDERS *ppBuffer);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:587:3: error: 'NTSTATUS' does not name a type
   NTSTATUS WINAPI BCryptCreateContext (ULONG dwTable, LPCWSTR pszContext, PCRYPT_CONTEXT_CONFIG pConfig);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:588:3: error: 'NTSTATUS' does not name a type
   NTSTATUS WINAPI BCryptDeleteContext (ULONG dwTable, LPCWSTR pszContext);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:589:3: error: 'NTSTATUS' does not name a type
   NTSTATUS WINAPI BCryptEnumContexts (ULONG dwTable, ULONG *pcbBuffer, PCRYPT_CONTEXTS *ppBuffer);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:590:3: error: 'NTSTATUS' does not name a type
   NTSTATUS WINAPI BCryptConfigureContext (ULONG dwTable, LPCWSTR pszContext, PCRYPT_CONTEXT_CONFIG pConfig);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:591:3: error: 'NTSTATUS' does not name a type
   NTSTATUS WINAPI BCryptQueryContextConfiguration (ULONG dwTable, LPCWSTR pszContext, ULONG *pcbBuffer, PCRYPT_CONTEXT_CONFIG *ppBuffer);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:592:3: error: 'NTSTATUS' does not name a type
   NTSTATUS WINAPI BCryptAddContextFunction (ULONG dwTable, LPCWSTR pszContext, ULONG dwInterface, LPCWSTR pszFunction, ULONG dwPosition);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:593:3: error: 'NTSTATUS' does not name a type
   NTSTATUS WINAPI BCryptRemoveContextFunction (ULONG dwTable, LPCWSTR pszContext, ULONG dwInterface, LPCWSTR pszFunction);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:594:3: error: 'NTSTATUS' does not name a type
   NTSTATUS WINAPI BCryptEnumContextFunctions (ULONG dwTable, LPCWSTR pszContext, ULONG dwInterface, ULONG *pcbBuffer, PCRYPT_CONTEXT_FUNCTIONS *ppBuffer);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:595:3: error: 'NTSTATUS' does not name a type
   NTSTATUS WINAPI BCryptConfigureContextFunction (ULONG dwTable, LPCWSTR pszContext, ULONG dwInterface, LPCWSTR pszFunction, PCRYPT_CONTEXT_FUNCTION_CONFIG pConfig);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:596:3: error: 'NTSTATUS' does not name a type
   NTSTATUS WINAPI BCryptQueryContextFunctionConfiguration (ULONG dwTable, LPCWSTR pszContext, ULONG dwInterface, LPCWSTR pszFunction, ULONG *pcbBuffer, PCRYPT_CONTEXT_FUNCTION_CONFIG *ppBuffer);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:597:3: error: 'NTSTATUS' does not name a type
   NTSTATUS WINAPI BCryptEnumContextFunctionProviders (ULONG dwTable, LPCWSTR pszContext, ULONG dwInterface, LPCWSTR pszFunction, ULONG *pcbBuffer, PCRYPT_CONTEXT_FUNCTION_PROVIDERS *ppBuffer);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:598:3: error: 'NTSTATUS' does not name a type
   NTSTATUS WINAPI BCryptSetContextFunctionProperty (ULONG dwTable, LPCWSTR pszContext, ULONG dwInterface, LPCWSTR pszFunction, LPCWSTR pszProperty, ULONG cbValue, PUCHAR pbValue);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:599:3: error: 'NTSTATUS' does not name a type
   NTSTATUS WINAPI BCryptQueryContextFunctionProperty (ULONG dwTable, LPCWSTR pszContext, ULONG dwInterface, LPCWSTR pszFunction, LPCWSTR pszProperty, ULONG *pcbValue, PUCHAR *ppbValue);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/bcrypt.h:600:3: error: 'NTSTATUS' does not name a type
   NTSTATUS WINAPI BCryptRegisterConfigChangeNotify (HANDLE *phEvent);
   ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:95:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:509:5: error: 'DWORD' does not name a type
     DWORD dwVersion;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:512:5: error: 'DWORD' does not name a type
     DWORD cbOID;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:518:5: error: 'DWORD' does not name a type
     DWORD cbInnerString;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:520:5: error: 'DWORD' does not name a type
     DWORD cbOuterString;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:524:5: error: 'DWORD' does not name a type
     DWORD dwUse;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:526:5: error: 'DWORD' does not name a type
     DWORD cBits;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:527:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:528:5: error: 'DWORD' does not name a type
     DWORD dwReserved;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:538:5: error: 'DWORD' does not name a type
     DWORD dwBitLen;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:539:5: error: 'DWORD' does not name a type
     DWORD dwNameLen;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:545:5: error: 'DWORD' does not name a type
     DWORD dwDefaultLen;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:546:5: error: 'DWORD' does not name a type
     DWORD dwMinLen;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:547:5: error: 'DWORD' does not name a type
     DWORD dwMaxLen;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:548:5: error: 'DWORD' does not name a type
     DWORD dwProtocols;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:549:5: error: 'DWORD' does not name a type
     DWORD dwNameLen;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:551:5: error: 'DWORD' does not name a type
     DWORD dwLongNameLen;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:563:5: error: 'DWORD' does not name a type
     DWORD magic;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:564:5: error: 'DWORD' does not name a type
     DWORD bitlen;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:565:5: error: 'DWORD' does not name a type
     DWORD pubexp;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:570:5: error: 'DWORD' does not name a type
     DWORD magic;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:571:5: error: 'DWORD' does not name a type
     DWORD bitlen;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:575:5: error: 'DWORD' does not name a type
     DWORD counter;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:580:5: error: 'DWORD' does not name a type
     DWORD magic;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:581:5: error: 'DWORD' does not name a type
     DWORD bitlenP;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:582:5: error: 'DWORD' does not name a type
     DWORD bitlenQ;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:583:5: error: 'DWORD' does not name a type
     DWORD bitlenJ;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:588:5: error: 'DWORD' does not name a type
     DWORD magic;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:589:5: error: 'DWORD' does not name a type
     DWORD bitlenP;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:590:5: error: 'DWORD' does not name a type
     DWORD bitlenQ;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:591:5: error: 'DWORD' does not name a type
     DWORD bitlenJ;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:592:5: error: 'DWORD' does not name a type
     DWORD bitlenX;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:597:5: error: 'DWORD' does not name a type
     DWORD dwKeySpec;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:628:5: error: 'DWORD' does not name a type
     DWORD cbData;
     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:95:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:633:5: error: 'DWORD' does not name a type
     DWORD dwVersion;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:646:103: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptAcquireContextA(HCRYPTPROV *phProv,LPCSTR szContainer,LPCSTR szProvider,DWORD dwProvType,DWORD dwFlags);
                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:646:120: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptAcquireContextA(HCRYPTPROV *phProv,LPCSTR szContainer,LPCSTR szProvider,DWORD dwProvType,DWORD dwFlags);
                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:647:105: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptAcquireContextW(HCRYPTPROV *phProv,LPCWSTR szContainer,LPCWSTR szProvider,DWORD dwProvType,DWORD dwFlags);
                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:647:122: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptAcquireContextW(HCRYPTPROV *phProv,LPCWSTR szContainer,LPCWSTR szProvider,DWORD dwProvType,DWORD dwFlags);
                                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:648:63: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptReleaseContext(HCRYPTPROV hProv,DWORD dwFlags);
                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:649:68: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptGenKey(HCRYPTPROV hProv,ALG_ID Algid,DWORD dwFlags,HCRYPTKEY *phKey);
                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:650:92: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptDeriveKey(HCRYPTPROV hProv,ALG_ID Algid,HCRYPTHASH hBaseData,DWORD dwFlags,HCRYPTKEY *phKey);
                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:652:58: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptSetKeyParam(HCRYPTKEY hKey,DWORD dwParam,CONST BYTE *pbData,DWORD dwFlags);
                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:652:91: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptSetKeyParam(HCRYPTKEY hKey,DWORD dwParam,CONST BYTE *pbData,DWORD dwFlags);
                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:653:58: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptGetKeyParam(HCRYPTKEY hKey,DWORD dwParam,BYTE *pbData,DWORD *pdwDataLen,DWORD dwFlags);
                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:653:85: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptGetKeyParam(HCRYPTKEY hKey,DWORD dwParam,BYTE *pbData,DWORD *pdwDataLen,DWORD dwFlags);
                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:653:103: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptGetKeyParam(HCRYPTKEY hKey,DWORD dwParam,BYTE *pbData,DWORD *pdwDataLen,DWORD dwFlags);
                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:654:61: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptSetHashParam(HCRYPTHASH hHash,DWORD dwParam,CONST BYTE *pbData,DWORD dwFlags);
                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:654:94: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptSetHashParam(HCRYPTHASH hHash,DWORD dwParam,CONST BYTE *pbData,DWORD dwFlags);
                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:655:61: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptGetHashParam(HCRYPTHASH hHash,DWORD dwParam,BYTE *pbData,DWORD *pdwDataLen,DWORD dwFlags);
                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:655:88: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptGetHashParam(HCRYPTHASH hHash,DWORD dwParam,BYTE *pbData,DWORD *pdwDataLen,DWORD dwFlags);
                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:655:106: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptGetHashParam(HCRYPTHASH hHash,DWORD dwParam,BYTE *pbData,DWORD *pdwDataLen,DWORD dwFlags);
                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:656:61: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptSetProvParam(HCRYPTPROV hProv,DWORD dwParam,CONST BYTE *pbData,DWORD dwFlags);
                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:656:94: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptSetProvParam(HCRYPTPROV hProv,DWORD dwParam,CONST BYTE *pbData,DWORD dwFlags);
                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:657:61: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptGetProvParam(HCRYPTPROV hProv,DWORD dwParam,BYTE *pbData,DWORD *pdwDataLen,DWORD dwFlags);
                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:657:88: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptGetProvParam(HCRYPTPROV hProv,DWORD dwParam,BYTE *pbData,DWORD *pdwDataLen,DWORD dwFlags);
                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:657:106: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptGetProvParam(HCRYPTPROV hProv,DWORD dwParam,BYTE *pbData,DWORD *pdwDataLen,DWORD dwFlags);
                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:658:58: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptGenRandom(HCRYPTPROV hProv,DWORD dwLen,BYTE *pbBuffer);
                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:659:59: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptGetUserKey(HCRYPTPROV hProv,DWORD dwKeySpec,HCRYPTKEY *phUserKey);
                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:660:74: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptExportKey(HCRYPTKEY hKey,HCRYPTKEY hExpKey,DWORD dwBlobType,DWORD dwFlags,BYTE *pbData,DWORD *pdwDataLen);
                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:660:91: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptExportKey(HCRYPTKEY hKey,HCRYPTKEY hExpKey,DWORD dwBlobType,DWORD dwFlags,BYTE *pbData,DWORD *pdwDataLen);
                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:660:118: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptExportKey(HCRYPTKEY hKey,HCRYPTKEY hExpKey,DWORD dwBlobType,DWORD dwFlags,BYTE *pbData,DWORD *pdwDataLen);
                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:661:77: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptImportKey(HCRYPTPROV hProv,CONST BYTE *pbData,DWORD dwDataLen,HCRYPTKEY hPubKey,DWORD dwFlags,HCRYPTKEY *phKey);
                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:661:111: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptImportKey(HCRYPTPROV hProv,CONST BYTE *pbData,DWORD dwDataLen,HCRYPTKEY hPubKey,DWORD dwFlags,HCRYPTKEY *phKey);
                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:662:85: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptEncrypt(HCRYPTKEY hKey,HCRYPTHASH hHash,WINBOOL Final,DWORD dwFlags,BYTE *pbData,DWORD *pdwDataLen,DWORD dwBufLen);
                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:662:112: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptEncrypt(HCRYPTKEY hKey,HCRYPTHASH hHash,WINBOOL Final,DWORD dwFlags,BYTE *pbData,DWORD *pdwDataLen,DWORD dwBufLen);
                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:662:130: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptEncrypt(HCRYPTKEY hKey,HCRYPTHASH hHash,WINBOOL Final,DWORD dwFlags,BYTE *pbData,DWORD *pdwDataLen,DWORD dwBufLen);
                                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:663:85: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptDecrypt(HCRYPTKEY hKey,HCRYPTHASH hHash,WINBOOL Final,DWORD dwFlags,BYTE *pbData,DWORD *pdwDataLen);
                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:663:112: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptDecrypt(HCRYPTKEY hKey,HCRYPTHASH hHash,WINBOOL Final,DWORD dwFlags,BYTE *pbData,DWORD *pdwDataLen);
                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:664:87: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptCreateHash(HCRYPTPROV hProv,ALG_ID Algid,HCRYPTKEY hKey,DWORD dwFlags,HCRYPTHASH *phHash);
                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:665:76: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptHashData(HCRYPTHASH hHash,CONST BYTE *pbData,DWORD dwDataLen,DWORD dwFlags);
                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:665:92: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptHashData(HCRYPTHASH hHash,CONST BYTE *pbData,DWORD dwDataLen,DWORD dwFlags);
                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:666:78: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptHashSessionKey(HCRYPTHASH hHash,HCRYPTKEY hKey,DWORD dwFlags);
                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:668:58: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptSignHashA(HCRYPTHASH hHash,DWORD dwKeySpec,LPCSTR szDescription,DWORD dwFlags,BYTE *pbSignature,DWORD *pdwSigLen);
                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:668:95: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptSignHashA(HCRYPTHASH hHash,DWORD dwKeySpec,LPCSTR szDescription,DWORD dwFlags,BYTE *pbSignature,DWORD *pdwSigLen);
                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:668:127: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptSignHashA(HCRYPTHASH hHash,DWORD dwKeySpec,LPCSTR szDescription,DWORD dwFlags,BYTE *pbSignature,DWORD *pdwSigLen);
                                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:669:58: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptSignHashW(HCRYPTHASH hHash,DWORD dwKeySpec,LPCWSTR szDescription,DWORD dwFlags,BYTE *pbSignature,DWORD *pdwSigLen);
                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:669:96: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptSignHashW(HCRYPTHASH hHash,DWORD dwKeySpec,LPCWSTR szDescription,DWORD dwFlags,BYTE *pbSignature,DWORD *pdwSigLen);
                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:669:128: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptSignHashW(HCRYPTHASH hHash,DWORD dwKeySpec,LPCWSTR szDescription,DWORD dwFlags,BYTE *pbSignature,DWORD *pdwSigLen);
                                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:670:89: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptVerifySignatureA(HCRYPTHASH hHash,CONST BYTE *pbSignature,DWORD dwSigLen,HCRYPTKEY hPubKey,LPCSTR szDescription,DWORD dwFlags);
                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:670:143: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptVerifySignatureA(HCRYPTHASH hHash,CONST BYTE *pbSignature,DWORD dwSigLen,HCRYPTKEY hPubKey,LPCSTR szDescription,DWORD dwFlags);
                                                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:671:89: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptVerifySignatureW(HCRYPTHASH hHash,CONST BYTE *pbSignature,DWORD dwSigLen,HCRYPTKEY hPubKey,LPCWSTR szDescription,DWORD dwFlags);
                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:671:144: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptVerifySignatureW(HCRYPTHASH hHash,CONST BYTE *pbSignature,DWORD dwSigLen,HCRYPTKEY hPubKey,LPCWSTR szDescription,DWORD dwFlags);
                                                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:672:63: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptSetProviderA(LPCSTR pszProvName,DWORD dwProvType);
                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:673:64: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptSetProviderW(LPCWSTR pszProvName,DWORD dwProvType);
                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:681:65: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptSetProviderExA(LPCSTR pszProvName,DWORD dwProvType,DWORD *pdwReserved,DWORD dwFlags);
                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:681:82: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptSetProviderExA(LPCSTR pszProvName,DWORD dwProvType,DWORD *pdwReserved,DWORD dwFlags);
                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:681:101: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptSetProviderExA(LPCSTR pszProvName,DWORD dwProvType,DWORD *pdwReserved,DWORD dwFlags);
                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:682:66: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptSetProviderExW(LPCWSTR pszProvName,DWORD dwProvType,DWORD *pdwReserved,DWORD dwFlags);
                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:682:83: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptSetProviderExW(LPCWSTR pszProvName,DWORD dwProvType,DWORD *pdwReserved,DWORD dwFlags);
                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:682:102: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptSetProviderExW(LPCWSTR pszProvName,DWORD dwProvType,DWORD *pdwReserved,DWORD dwFlags);
                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:683:51: error: definition of 'WINBOOL CryptGetDefaultProviderA' is marked 'dllimport'
   WINIMPM WINBOOL WINAPI CryptGetDefaultProviderA(DWORD dwProvType,DWORD *pdwReserved,DWORD dwFlags,LPSTR pszProvName,DWORD *pcbProvName);
                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:683:51: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:683:68: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptGetDefaultProviderA(DWORD dwProvType,DWORD *pdwReserved,DWORD dwFlags,LPSTR pszProvName,DWORD *pcbProvName);
                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:683:75: error: 'pdwReserved' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptGetDefaultProviderA(DWORD dwProvType,DWORD *pdwReserved,DWORD dwFlags,LPSTR pszProvName,DWORD *pcbProvName);
                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:683:87: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptGetDefaultProviderA(DWORD dwProvType,DWORD *pdwReserved,DWORD dwFlags,LPSTR pszProvName,DWORD *pcbProvName);
                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:683:107: error: expected primary-expression before 'pszProvName'
   WINIMPM WINBOOL WINAPI CryptGetDefaultProviderA(DWORD dwProvType,DWORD *pdwReserved,DWORD dwFlags,LPSTR pszProvName,DWORD *pcbProvName);
                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:683:119: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptGetDefaultProviderA(DWORD dwProvType,DWORD *pdwReserved,DWORD dwFlags,LPSTR pszProvName,DWORD *pcbProvName);
                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:683:126: error: 'pcbProvName' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptGetDefaultProviderA(DWORD dwProvType,DWORD *pdwReserved,DWORD dwFlags,LPSTR pszProvName,DWORD *pcbProvName);
                                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:683:137: error: expression list treated as compound expression in initializer [-fpermissive]
   WINIMPM WINBOOL WINAPI CryptGetDefaultProviderA(DWORD dwProvType,DWORD *pdwReserved,DWORD dwFlags,LPSTR pszProvName,DWORD *pcbProvName);
                                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:684:51: error: definition of 'WINBOOL CryptGetDefaultProviderW' is marked 'dllimport'
   WINIMPM WINBOOL WINAPI CryptGetDefaultProviderW(DWORD dwProvType,DWORD *pdwReserved,DWORD dwFlags,LPWSTR pszProvName,DWORD *pcbProvName);
                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:684:51: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:684:68: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptGetDefaultProviderW(DWORD dwProvType,DWORD *pdwReserved,DWORD dwFlags,LPWSTR pszProvName,DWORD *pcbProvName);
                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:684:75: error: 'pdwReserved' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptGetDefaultProviderW(DWORD dwProvType,DWORD *pdwReserved,DWORD dwFlags,LPWSTR pszProvName,DWORD *pcbProvName);
                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:684:87: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptGetDefaultProviderW(DWORD dwProvType,DWORD *pdwReserved,DWORD dwFlags,LPWSTR pszProvName,DWORD *pcbProvName);
                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:684:108: error: expected primary-expression before 'pszProvName'
   WINIMPM WINBOOL WINAPI CryptGetDefaultProviderW(DWORD dwProvType,DWORD *pdwReserved,DWORD dwFlags,LPWSTR pszProvName,DWORD *pcbProvName);
                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:684:120: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptGetDefaultProviderW(DWORD dwProvType,DWORD *pdwReserved,DWORD dwFlags,LPWSTR pszProvName,DWORD *pcbProvName);
                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:684:127: error: 'pcbProvName' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptGetDefaultProviderW(DWORD dwProvType,DWORD *pdwReserved,DWORD dwFlags,LPWSTR pszProvName,DWORD *pcbProvName);
                                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:684:138: error: expression list treated as compound expression in initializer [-fpermissive]
   WINIMPM WINBOOL WINAPI CryptGetDefaultProviderW(DWORD dwProvType,DWORD *pdwReserved,DWORD dwFlags,LPWSTR pszProvName,DWORD *pcbProvName);
                                                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:685:50: error: definition of 'WINBOOL CryptEnumProviderTypesA' is marked 'dllimport'
   WINIMPM WINBOOL WINAPI CryptEnumProviderTypesA(DWORD dwIndex,DWORD *pdwReserved,DWORD dwFlags,DWORD *pdwProvType,LPSTR szTypeName,DWORD *pcbTypeName);
                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:685:50: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:685:64: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptEnumProviderTypesA(DWORD dwIndex,DWORD *pdwReserved,DWORD dwFlags,DWORD *pdwProvType,LPSTR szTypeName,DWORD *pcbTypeName);
                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:685:71: error: 'pdwReserved' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptEnumProviderTypesA(DWORD dwIndex,DWORD *pdwReserved,DWORD dwFlags,DWORD *pdwProvType,LPSTR szTypeName,DWORD *pcbTypeName);
                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:685:83: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptEnumProviderTypesA(DWORD dwIndex,DWORD *pdwReserved,DWORD dwFlags,DWORD *pdwProvType,LPSTR szTypeName,DWORD *pcbTypeName);
                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:685:97: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptEnumProviderTypesA(DWORD dwIndex,DWORD *pdwReserved,DWORD dwFlags,DWORD *pdwProvType,LPSTR szTypeName,DWORD *pcbTypeName);
                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:685:104: error: 'pdwProvType' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptEnumProviderTypesA(DWORD dwIndex,DWORD *pdwReserved,DWORD dwFlags,DWORD *pdwProvType,LPSTR szTypeName,DWORD *pcbTypeName);
                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:685:122: error: expected primary-expression before 'szTypeName'
   WINIMPM WINBOOL WINAPI CryptEnumProviderTypesA(DWORD dwIndex,DWORD *pdwReserved,DWORD dwFlags,DWORD *pdwProvType,LPSTR szTypeName,DWORD *pcbTypeName);
                                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:685:133: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptEnumProviderTypesA(DWORD dwIndex,DWORD *pdwReserved,DWORD dwFlags,DWORD *pdwProvType,LPSTR szTypeName,DWORD *pcbTypeName);
                                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:685:140: error: 'pcbTypeName' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptEnumProviderTypesA(DWORD dwIndex,DWORD *pdwReserved,DWORD dwFlags,DWORD *pdwProvType,LPSTR szTypeName,DWORD *pcbTypeName);
                                                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:685:151: error: expression list treated as compound expression in initializer [-fpermissive]
   WINIMPM WINBOOL WINAPI CryptEnumProviderTypesA(DWORD dwIndex,DWORD *pdwReserved,DWORD dwFlags,DWORD *pdwProvType,LPSTR szTypeName,DWORD *pcbTypeName);
                                                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:686:50: error: definition of 'WINBOOL CryptEnumProviderTypesW' is marked 'dllimport'
   WINIMPM WINBOOL WINAPI CryptEnumProviderTypesW(DWORD dwIndex,DWORD *pdwReserved,DWORD dwFlags,DWORD *pdwProvType,LPWSTR szTypeName,DWORD *pcbTypeName);
                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:686:50: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:686:64: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptEnumProviderTypesW(DWORD dwIndex,DWORD *pdwReserved,DWORD dwFlags,DWORD *pdwProvType,LPWSTR szTypeName,DWORD *pcbTypeName);
                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:686:71: error: 'pdwReserved' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptEnumProviderTypesW(DWORD dwIndex,DWORD *pdwReserved,DWORD dwFlags,DWORD *pdwProvType,LPWSTR szTypeName,DWORD *pcbTypeName);
                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:686:83: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptEnumProviderTypesW(DWORD dwIndex,DWORD *pdwReserved,DWORD dwFlags,DWORD *pdwProvType,LPWSTR szTypeName,DWORD *pcbTypeName);
                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:686:97: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptEnumProviderTypesW(DWORD dwIndex,DWORD *pdwReserved,DWORD dwFlags,DWORD *pdwProvType,LPWSTR szTypeName,DWORD *pcbTypeName);
                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:686:104: error: 'pdwProvType' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptEnumProviderTypesW(DWORD dwIndex,DWORD *pdwReserved,DWORD dwFlags,DWORD *pdwProvType,LPWSTR szTypeName,DWORD *pcbTypeName);
                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:686:123: error: expected primary-expression before 'szTypeName'
   WINIMPM WINBOOL WINAPI CryptEnumProviderTypesW(DWORD dwIndex,DWORD *pdwReserved,DWORD dwFlags,DWORD *pdwProvType,LPWSTR szTypeName,DWORD *pcbTypeName);
                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:686:134: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptEnumProviderTypesW(DWORD dwIndex,DWORD *pdwReserved,DWORD dwFlags,DWORD *pdwProvType,LPWSTR szTypeName,DWORD *pcbTypeName);
                                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:686:141: error: 'pcbTypeName' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptEnumProviderTypesW(DWORD dwIndex,DWORD *pdwReserved,DWORD dwFlags,DWORD *pdwProvType,LPWSTR szTypeName,DWORD *pcbTypeName);
                                                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:686:152: error: expression list treated as compound expression in initializer [-fpermissive]
   WINIMPM WINBOOL WINAPI CryptEnumProviderTypesW(DWORD dwIndex,DWORD *pdwReserved,DWORD dwFlags,DWORD *pdwProvType,LPWSTR szTypeName,DWORD *pcbTypeName);
                                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:687:46: error: definition of 'WINBOOL CryptEnumProvidersA' is marked 'dllimport'
   WINIMPM WINBOOL WINAPI CryptEnumProvidersA(DWORD dwIndex,DWORD *pdwReserved,DWORD dwFlags,DWORD *pdwProvType,LPSTR szProvName,DWORD *pcbProvName);
                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:687:46: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:687:60: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptEnumProvidersA(DWORD dwIndex,DWORD *pdwReserved,DWORD dwFlags,DWORD *pdwProvType,LPSTR szProvName,DWORD *pcbProvName);
                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:687:67: error: 'pdwReserved' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptEnumProvidersA(DWORD dwIndex,DWORD *pdwReserved,DWORD dwFlags,DWORD *pdwProvType,LPSTR szProvName,DWORD *pcbProvName);
                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:687:79: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptEnumProvidersA(DWORD dwIndex,DWORD *pdwReserved,DWORD dwFlags,DWORD *pdwProvType,LPSTR szProvName,DWORD *pcbProvName);
                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:687:93: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptEnumProvidersA(DWORD dwIndex,DWORD *pdwReserved,DWORD dwFlags,DWORD *pdwProvType,LPSTR szProvName,DWORD *pcbProvName);
                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:687:100: error: 'pdwProvType' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptEnumProvidersA(DWORD dwIndex,DWORD *pdwReserved,DWORD dwFlags,DWORD *pdwProvType,LPSTR szProvName,DWORD *pcbProvName);
                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:687:118: error: expected primary-expression before 'szProvName'
   WINIMPM WINBOOL WINAPI CryptEnumProvidersA(DWORD dwIndex,DWORD *pdwReserved,DWORD dwFlags,DWORD *pdwProvType,LPSTR szProvName,DWORD *pcbProvName);
                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:687:129: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptEnumProvidersA(DWORD dwIndex,DWORD *pdwReserved,DWORD dwFlags,DWORD *pdwProvType,LPSTR szProvName,DWORD *pcbProvName);
                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:687:136: error: 'pcbProvName' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptEnumProvidersA(DWORD dwIndex,DWORD *pdwReserved,DWORD dwFlags,DWORD *pdwProvType,LPSTR szProvName,DWORD *pcbProvName);
                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:687:147: error: expression list treated as compound expression in initializer [-fpermissive]
   WINIMPM WINBOOL WINAPI CryptEnumProvidersA(DWORD dwIndex,DWORD *pdwReserved,DWORD dwFlags,DWORD *pdwProvType,LPSTR szProvName,DWORD *pcbProvName);
                                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:688:46: error: definition of 'WINBOOL CryptEnumProvidersW' is marked 'dllimport'
   WINIMPM WINBOOL WINAPI CryptEnumProvidersW(DWORD dwIndex,DWORD *pdwReserved,DWORD dwFlags,DWORD *pdwProvType,LPWSTR szProvName,DWORD *pcbProvName);
                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:688:46: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:688:60: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptEnumProvidersW(DWORD dwIndex,DWORD *pdwReserved,DWORD dwFlags,DWORD *pdwProvType,LPWSTR szProvName,DWORD *pcbProvName);
                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:688:67: error: 'pdwReserved' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptEnumProvidersW(DWORD dwIndex,DWORD *pdwReserved,DWORD dwFlags,DWORD *pdwProvType,LPWSTR szProvName,DWORD *pcbProvName);
                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:688:79: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptEnumProvidersW(DWORD dwIndex,DWORD *pdwReserved,DWORD dwFlags,DWORD *pdwProvType,LPWSTR szProvName,DWORD *pcbProvName);
                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:688:93: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptEnumProvidersW(DWORD dwIndex,DWORD *pdwReserved,DWORD dwFlags,DWORD *pdwProvType,LPWSTR szProvName,DWORD *pcbProvName);
                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:688:100: error: 'pdwProvType' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptEnumProvidersW(DWORD dwIndex,DWORD *pdwReserved,DWORD dwFlags,DWORD *pdwProvType,LPWSTR szProvName,DWORD *pcbProvName);
                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:688:119: error: expected primary-expression before 'szProvName'
   WINIMPM WINBOOL WINAPI CryptEnumProvidersW(DWORD dwIndex,DWORD *pdwReserved,DWORD dwFlags,DWORD *pdwProvType,LPWSTR szProvName,DWORD *pcbProvName);
                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:688:130: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptEnumProvidersW(DWORD dwIndex,DWORD *pdwReserved,DWORD dwFlags,DWORD *pdwProvType,LPWSTR szProvName,DWORD *pcbProvName);
                                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:688:137: error: 'pcbProvName' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptEnumProvidersW(DWORD dwIndex,DWORD *pdwReserved,DWORD dwFlags,DWORD *pdwProvType,LPWSTR szProvName,DWORD *pcbProvName);
                                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:688:148: error: expression list treated as compound expression in initializer [-fpermissive]
   WINIMPM WINBOOL WINAPI CryptEnumProvidersW(DWORD dwIndex,DWORD *pdwReserved,DWORD dwFlags,DWORD *pdwProvType,LPWSTR szProvName,DWORD *pcbProvName);
                                                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:689:62: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptContextAddRef(HCRYPTPROV hProv,DWORD *pdwReserved,DWORD dwFlags);
                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:689:81: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptContextAddRef(HCRYPTPROV hProv,DWORD *pdwReserved,DWORD dwFlags);
                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:690:59: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptDuplicateKey(HCRYPTKEY hKey,DWORD *pdwReserved,DWORD dwFlags,HCRYPTKEY *phKey);
                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:690:78: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptDuplicateKey(HCRYPTKEY hKey,DWORD *pdwReserved,DWORD dwFlags,HCRYPTKEY *phKey);
                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:691:62: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptDuplicateHash(HCRYPTHASH hHash,DWORD *pdwReserved,DWORD dwFlags,HCRYPTHASH *phHash);
                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:691:81: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptDuplicateHash(HCRYPTHASH hHash,DWORD *pdwReserved,DWORD dwFlags,HCRYPTHASH *phHash);
                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:692:47: error: 'DWORD' has not been declared
   WINBOOL __cdecl GetEncSChannel(BYTE **pData,DWORD *dwDecSize);
                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:697:5: error: 'DWORD' does not name a type
     DWORD cbData;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:699:5: error: 'DWORD' does not name a type
     DWORD cUnusedBits;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:841:5: error: 'DWORD' does not name a type
     DWORD dwAlgId;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:863:5: error: 'DWORD' does not name a type
     DWORD cValue;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:868:5: error: 'DWORD' does not name a type
     DWORD cAttr;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:874:5: error: 'DWORD' does not name a type
     DWORD dwValueType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:955:5: error: 'DWORD' does not name a type
     DWORD cRDNAttr;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:960:5: error: 'DWORD' does not name a type
     DWORD cRDN;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:965:5: error: 'DWORD' does not name a type
     DWORD dwValueType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:979:5: error: 'DWORD' does not name a type
     DWORD Version;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:990:157: error: 'DWORD' has not been declared
   typedef WINBOOL (CALLBACK *PCRYPT_DECRYPT_PRIVATE_KEY_FUNC)(CRYPT_ALGORITHM_IDENTIFIER Algorithm,CRYPT_DATA_BLOB EncryptedPrivateKey,BYTE *pbClearTextKey,DWORD *pcbClearTextKey,LPVOID pVoidDecryptFunc);
                                                                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:991:161: error: 'DWORD' has not been declared
   typedef WINBOOL (CALLBACK *PCRYPT_ENCRYPT_PRIVATE_KEY_FUNC)(CRYPT_ALGORITHM_IDENTIFIER *pAlgorithm,CRYPT_DATA_BLOB *pClearTextPrivateKey,BYTE *pbEncryptedKey,DWORD *pcbEncryptedKey,LPVOID pVoidEncryptFunc);
                                                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1004:5: error: 'DWORD' does not name a type
     DWORD dwKeySpec;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1011:5: error: 'DWORD' does not name a type
     DWORD dwVersion;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1021:5: error: 'DWORD' does not name a type
     DWORD cExtension;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1044:5: error: 'DWORD' does not name a type
     DWORD cExtension;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1049:5: error: 'DWORD' does not name a type
     DWORD dwVersion;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1054:5: error: 'DWORD' does not name a type
     DWORD cCRLEntry;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1056:5: error: 'DWORD' does not name a type
     DWORD cExtension;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1064:5: error: 'DWORD' does not name a type
     DWORD dwVersion;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1067:5: error: 'DWORD' does not name a type
     DWORD cAttribute;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1074:5: error: 'DWORD' does not name a type
     DWORD dwVersion;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1088:5: error: 'DWORD' does not name a type
     DWORD cUsageIdentifier;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1094:5: error: 'DWORD' does not name a type
     DWORD cAttribute;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1099:5: error: 'DWORD' does not name a type
     DWORD dwVersion;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1106:5: error: 'DWORD' does not name a type
     DWORD cCTLEntry;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1108:5: error: 'DWORD' does not name a type
     DWORD cExtension;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1118:5: error: 'DWORD' does not name a type
     DWORD cAttribute;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1128:5: error: 'DWORD' does not name a type
     DWORD dwKeySpec;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1145:44: error: definition of 'WINBOOL CryptFormatObject' is marked 'dllimport'
   WINIMPM WINBOOL WINAPI CryptFormatObject(DWORD dwCertEncodingType,DWORD dwFormatType,DWORD dwFormatStrType,void *pFormatStruct,LPCSTR lpszStructType,const BYTE *pbEncoded,DWORD cbEncoded,void *pbFormat,DWORD *pcbFormat);
                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1145:44: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1145:69: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptFormatObject(DWORD dwCertEncodingType,DWORD dwFormatType,DWORD dwFormatStrType,void *pFormatStruct,LPCSTR lpszStructType,const BYTE *pbEncoded,DWORD cbEncoded,void *pbFormat,DWORD *pcbFormat);
                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1145:88: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptFormatObject(DWORD dwCertEncodingType,DWORD dwFormatType,DWORD dwFormatStrType,void *pFormatStruct,LPCSTR lpszStructType,const BYTE *pbEncoded,DWORD cbEncoded,void *pbFormat,DWORD *pcbFormat);
                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1145:110: error: expected primary-expression before 'void'
   WINIMPM WINBOOL WINAPI CryptFormatObject(DWORD dwCertEncodingType,DWORD dwFormatType,DWORD dwFormatStrType,void *pFormatStruct,LPCSTR lpszStructType,const BYTE *pbEncoded,DWORD cbEncoded,void *pbFormat,DWORD *pcbFormat);
                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1145:137: error: expected primary-expression before 'lpszStructType'
   WINIMPM WINBOOL WINAPI CryptFormatObject(DWORD dwCertEncodingType,DWORD dwFormatType,DWORD dwFormatStrType,void *pFormatStruct,LPCSTR lpszStructType,const BYTE *pbEncoded,DWORD cbEncoded,void *pbFormat,DWORD *pcbFormat);
                                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1145:152: error: expected primary-expression before 'const'
   WINIMPM WINBOOL WINAPI CryptFormatObject(DWORD dwCertEncodingType,DWORD dwFormatType,DWORD dwFormatStrType,void *pFormatStruct,LPCSTR lpszStructType,const BYTE *pbEncoded,DWORD cbEncoded,void *pbFormat,DWORD *pcbFormat);
                                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1145:174: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptFormatObject(DWORD dwCertEncodingType,DWORD dwFormatType,DWORD dwFormatStrType,void *pFormatStruct,LPCSTR lpszStructType,const BYTE *pbEncoded,DWORD cbEncoded,void *pbFormat,DWORD *pcbFormat);
                                                                                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1145:190: error: expected primary-expression before 'void'
   WINIMPM WINBOOL WINAPI CryptFormatObject(DWORD dwCertEncodingType,DWORD dwFormatType,DWORD dwFormatStrType,void *pFormatStruct,LPCSTR lpszStructType,const BYTE *pbEncoded,DWORD cbEncoded,void *pbFormat,DWORD *pcbFormat);
                                                                                                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1145:205: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptFormatObject(DWORD dwCertEncodingType,DWORD dwFormatType,DWORD dwFormatStrType,void *pFormatStruct,LPCSTR lpszStructType,const BYTE *pbEncoded,DWORD cbEncoded,void *pbFormat,DWORD *pcbFormat);
                                                                                                                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1145:212: error: 'pcbFormat' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptFormatObject(DWORD dwCertEncodingType,DWORD dwFormatType,DWORD dwFormatStrType,void *pFormatStruct,LPCSTR lpszStructType,const BYTE *pbEncoded,DWORD cbEncoded,void *pbFormat,DWORD *pcbFormat);
                                                                                                                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1145:221: error: expression list treated as compound expression in initializer [-fpermissive]
   WINIMPM WINBOOL WINAPI CryptFormatObject(DWORD dwCertEncodingType,DWORD dwFormatType,DWORD dwFormatStrType,void *pFormatStruct,LPCSTR lpszStructType,const BYTE *pbEncoded,DWORD cbEncoded,void *pbFormat,DWORD *pcbFormat);
                                                                                                                                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1164:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1169:46: error: definition of 'WINBOOL CryptEncodeObjectEx' is marked 'dllimport'
   WINIMPM WINBOOL WINAPI CryptEncodeObjectEx(DWORD dwCertEncodingType,LPCSTR lpszStructType,const void *pvStructInfo,DWORD dwFlags,PCRYPT_ENCODE_PARA pEncodePara,void *pvEncoded,DWORD *pcbEncoded);
                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1169:46: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1169:78: error: expected primary-expression before 'lpszStructType'
   WINIMPM WINBOOL WINAPI CryptEncodeObjectEx(DWORD dwCertEncodingType,LPCSTR lpszStructType,const void *pvStructInfo,DWORD dwFlags,PCRYPT_ENCODE_PARA pEncodePara,void *pvEncoded,DWORD *pcbEncoded);
                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1169:93: error: expected primary-expression before 'const'
   WINIMPM WINBOOL WINAPI CryptEncodeObjectEx(DWORD dwCertEncodingType,LPCSTR lpszStructType,const void *pvStructInfo,DWORD dwFlags,PCRYPT_ENCODE_PARA pEncodePara,void *pvEncoded,DWORD *pcbEncoded);
                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1169:118: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptEncodeObjectEx(DWORD dwCertEncodingType,LPCSTR lpszStructType,const void *pvStructInfo,DWORD dwFlags,PCRYPT_ENCODE_PARA pEncodePara,void *pvEncoded,DWORD *pcbEncoded);
                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1169:151: error: expected primary-expression before 'pEncodePara'
   WINIMPM WINBOOL WINAPI CryptEncodeObjectEx(DWORD dwCertEncodingType,LPCSTR lpszStructType,const void *pvStructInfo,DWORD dwFlags,PCRYPT_ENCODE_PARA pEncodePara,void *pvEncoded,DWORD *pcbEncoded);
                                                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1169:163: error: expected primary-expression before 'void'
   WINIMPM WINBOOL WINAPI CryptEncodeObjectEx(DWORD dwCertEncodingType,LPCSTR lpszStructType,const void *pvStructInfo,DWORD dwFlags,PCRYPT_ENCODE_PARA pEncodePara,void *pvEncoded,DWORD *pcbEncoded);
                                                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1169:179: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptEncodeObjectEx(DWORD dwCertEncodingType,LPCSTR lpszStructType,const void *pvStructInfo,DWORD dwFlags,PCRYPT_ENCODE_PARA pEncodePara,void *pvEncoded,DWORD *pcbEncoded);
                                                                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1169:186: error: 'pcbEncoded' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptEncodeObjectEx(DWORD dwCertEncodingType,LPCSTR lpszStructType,const void *pvStructInfo,DWORD dwFlags,PCRYPT_ENCODE_PARA pEncodePara,void *pvEncoded,DWORD *pcbEncoded);
                                                                                                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1169:196: error: expression list treated as compound expression in initializer [-fpermissive]
   WINIMPM WINBOOL WINAPI CryptEncodeObjectEx(DWORD dwCertEncodingType,LPCSTR lpszStructType,const void *pvStructInfo,DWORD dwFlags,PCRYPT_ENCODE_PARA pEncodePara,void *pvEncoded,DWORD *pcbEncoded);
                                                                                                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1170:44: error: definition of 'WINBOOL CryptEncodeObject' is marked 'dllimport'
   WINIMPM WINBOOL WINAPI CryptEncodeObject(DWORD dwCertEncodingType,LPCSTR lpszStructType,const void *pvStructInfo,BYTE *pbEncoded,DWORD *pcbEncoded);
                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1170:44: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1170:76: error: expected primary-expression before 'lpszStructType'
   WINIMPM WINBOOL WINAPI CryptEncodeObject(DWORD dwCertEncodingType,LPCSTR lpszStructType,const void *pvStructInfo,BYTE *pbEncoded,DWORD *pcbEncoded);
                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1170:91: error: expected primary-expression before 'const'
   WINIMPM WINBOOL WINAPI CryptEncodeObject(DWORD dwCertEncodingType,LPCSTR lpszStructType,const void *pvStructInfo,BYTE *pbEncoded,DWORD *pcbEncoded);
                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1170:121: error: expected primary-expression before '*' token
   WINIMPM WINBOOL WINAPI CryptEncodeObject(DWORD dwCertEncodingType,LPCSTR lpszStructType,const void *pvStructInfo,BYTE *pbEncoded,DWORD *pcbEncoded);
                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1170:122: error: 'pbEncoded' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptEncodeObject(DWORD dwCertEncodingType,LPCSTR lpszStructType,const void *pvStructInfo,BYTE *pbEncoded,DWORD *pcbEncoded);
                                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1170:132: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptEncodeObject(DWORD dwCertEncodingType,LPCSTR lpszStructType,const void *pvStructInfo,BYTE *pbEncoded,DWORD *pcbEncoded);
                                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1170:139: error: 'pcbEncoded' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptEncodeObject(DWORD dwCertEncodingType,LPCSTR lpszStructType,const void *pvStructInfo,BYTE *pbEncoded,DWORD *pcbEncoded);
                                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1170:149: error: expression list treated as compound expression in initializer [-fpermissive]
   WINIMPM WINBOOL WINAPI CryptEncodeObject(DWORD dwCertEncodingType,LPCSTR lpszStructType,const void *pvStructInfo,BYTE *pbEncoded,DWORD *pcbEncoded);
                                                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1181:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1186:46: error: definition of 'WINBOOL CryptDecodeObjectEx' is marked 'dllimport'
   WINIMPM WINBOOL WINAPI CryptDecodeObjectEx(DWORD dwCertEncodingType,LPCSTR lpszStructType,const BYTE *pbEncoded,DWORD cbEncoded,DWORD dwFlags,PCRYPT_DECODE_PARA pDecodePara,void *pvStructInfo,DWORD *pcbStructInfo);
                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1186:46: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1186:78: error: expected primary-expression before 'lpszStructType'
   WINIMPM WINBOOL WINAPI CryptDecodeObjectEx(DWORD dwCertEncodingType,LPCSTR lpszStructType,const BYTE *pbEncoded,DWORD cbEncoded,DWORD dwFlags,PCRYPT_DECODE_PARA pDecodePara,void *pvStructInfo,DWORD *pcbStructInfo);
                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1186:93: error: expected primary-expression before 'const'
   WINIMPM WINBOOL WINAPI CryptDecodeObjectEx(DWORD dwCertEncodingType,LPCSTR lpszStructType,const BYTE *pbEncoded,DWORD cbEncoded,DWORD dwFlags,PCRYPT_DECODE_PARA pDecodePara,void *pvStructInfo,DWORD *pcbStructInfo);
                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1186:115: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptDecodeObjectEx(DWORD dwCertEncodingType,LPCSTR lpszStructType,const BYTE *pbEncoded,DWORD cbEncoded,DWORD dwFlags,PCRYPT_DECODE_PARA pDecodePara,void *pvStructInfo,DWORD *pcbStructInfo);
                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1186:131: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptDecodeObjectEx(DWORD dwCertEncodingType,LPCSTR lpszStructType,const BYTE *pbEncoded,DWORD cbEncoded,DWORD dwFlags,PCRYPT_DECODE_PARA pDecodePara,void *pvStructInfo,DWORD *pcbStructInfo);
                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1186:164: error: expected primary-expression before 'pDecodePara'
   WINIMPM WINBOOL WINAPI CryptDecodeObjectEx(DWORD dwCertEncodingType,LPCSTR lpszStructType,const BYTE *pbEncoded,DWORD cbEncoded,DWORD dwFlags,PCRYPT_DECODE_PARA pDecodePara,void *pvStructInfo,DWORD *pcbStructInfo);
                                                                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1186:176: error: expected primary-expression before 'void'
   WINIMPM WINBOOL WINAPI CryptDecodeObjectEx(DWORD dwCertEncodingType,LPCSTR lpszStructType,const BYTE *pbEncoded,DWORD cbEncoded,DWORD dwFlags,PCRYPT_DECODE_PARA pDecodePara,void *pvStructInfo,DWORD *pcbStructInfo);
                                                                                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1186:195: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptDecodeObjectEx(DWORD dwCertEncodingType,LPCSTR lpszStructType,const BYTE *pbEncoded,DWORD cbEncoded,DWORD dwFlags,PCRYPT_DECODE_PARA pDecodePara,void *pvStructInfo,DWORD *pcbStructInfo);
                                                                                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1186:202: error: 'pcbStructInfo' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptDecodeObjectEx(DWORD dwCertEncodingType,LPCSTR lpszStructType,const BYTE *pbEncoded,DWORD cbEncoded,DWORD dwFlags,PCRYPT_DECODE_PARA pDecodePara,void *pvStructInfo,DWORD *pcbStructInfo);
                                                                                                                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1186:215: error: expression list treated as compound expression in initializer [-fpermissive]
   WINIMPM WINBOOL WINAPI CryptDecodeObjectEx(DWORD dwCertEncodingType,LPCSTR lpszStructType,const BYTE *pbEncoded,DWORD cbEncoded,DWORD dwFlags,PCRYPT_DECODE_PARA pDecodePara,void *pvStructInfo,DWORD *pcbStructInfo);
                                                                                                                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1187:44: error: definition of 'WINBOOL CryptDecodeObject' is marked 'dllimport'
   WINIMPM WINBOOL WINAPI CryptDecodeObject(DWORD dwCertEncodingType,LPCSTR lpszStructType,const BYTE *pbEncoded,DWORD cbEncoded,DWORD dwFlags,void *pvStructInfo,DWORD *pcbStructInfo);
                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1187:44: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1187:76: error: expected primary-expression before 'lpszStructType'
   WINIMPM WINBOOL WINAPI CryptDecodeObject(DWORD dwCertEncodingType,LPCSTR lpszStructType,const BYTE *pbEncoded,DWORD cbEncoded,DWORD dwFlags,void *pvStructInfo,DWORD *pcbStructInfo);
                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1187:91: error: expected primary-expression before 'const'
   WINIMPM WINBOOL WINAPI CryptDecodeObject(DWORD dwCertEncodingType,LPCSTR lpszStructType,const BYTE *pbEncoded,DWORD cbEncoded,DWORD dwFlags,void *pvStructInfo,DWORD *pcbStructInfo);
                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1187:113: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptDecodeObject(DWORD dwCertEncodingType,LPCSTR lpszStructType,const BYTE *pbEncoded,DWORD cbEncoded,DWORD dwFlags,void *pvStructInfo,DWORD *pcbStructInfo);
                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1187:129: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptDecodeObject(DWORD dwCertEncodingType,LPCSTR lpszStructType,const BYTE *pbEncoded,DWORD cbEncoded,DWORD dwFlags,void *pvStructInfo,DWORD *pcbStructInfo);
                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1187:143: error: expected primary-expression before 'void'
   WINIMPM WINBOOL WINAPI CryptDecodeObject(DWORD dwCertEncodingType,LPCSTR lpszStructType,const BYTE *pbEncoded,DWORD cbEncoded,DWORD dwFlags,void *pvStructInfo,DWORD *pcbStructInfo);
                                                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1187:162: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptDecodeObject(DWORD dwCertEncodingType,LPCSTR lpszStructType,const BYTE *pbEncoded,DWORD cbEncoded,DWORD dwFlags,void *pvStructInfo,DWORD *pcbStructInfo);
                                                                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1187:169: error: 'pcbStructInfo' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptDecodeObject(DWORD dwCertEncodingType,LPCSTR lpszStructType,const BYTE *pbEncoded,DWORD cbEncoded,DWORD dwFlags,void *pvStructInfo,DWORD *pcbStructInfo);
                                                                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1187:182: error: expression list treated as compound expression in initializer [-fpermissive]
   WINIMPM WINBOOL WINAPI CryptDecodeObject(DWORD dwCertEncodingType,LPCSTR lpszStructType,const BYTE *pbEncoded,DWORD cbEncoded,DWORD dwFlags,void *pvStructInfo,DWORD *pcbStructInfo);
                                                                                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1441:5: error: 'DWORD' does not name a type
     DWORD cExtension;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1486:5: error: 'DWORD' does not name a type
     DWORD cCertPolicyElementId;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1491:5: error: 'DWORD' does not name a type
     DWORD cCertPolicyId;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1502:5: error: 'DWORD' does not name a type
     DWORD dwAltNameChoice;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1536:5: error: 'DWORD' does not name a type
     DWORD cAltEntry;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1551:5: error: 'DWORD' does not name a type
     DWORD dwPathLenConstraint;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1552:5: error: 'DWORD' does not name a type
     DWORD cSubtreesConstraint;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1562:5: error: 'DWORD' does not name a type
     DWORD dwPathLenConstraint;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1572:5: error: 'DWORD' does not name a type
     DWORD cPolicyQualifier;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1577:5: error: 'DWORD' does not name a type
     DWORD cPolicyInfo;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1583:5: error: 'DWORD' does not name a type
     DWORD cNoticeNumbers;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1602:5: error: 'DWORD' does not name a type
     DWORD cCPSURLs;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1612:5: error: 'DWORD' does not name a type
     DWORD cPolicyMapping;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1618:5: error: 'DWORD' does not name a type
     DWORD dwRequireExplicitPolicySkipCerts;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1620:5: error: 'DWORD' does not name a type
     DWORD dwInhibitPolicyMappingSkipCerts;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1625:5: error: 'DWORD' does not name a type
     DWORD cValue;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1635:5: error: 'DWORD' does not name a type
     DWORD cValue;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1652:5: error: 'DWORD' does not name a type
     DWORD cAccDescr;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1670:5: error: 'DWORD' does not name a type
     DWORD dwDistPointNameChoice;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1695:5: error: 'DWORD' does not name a type
     DWORD cDistPoint;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1707:5: error: 'DWORD' does not name a type
     DWORD dwSyncDeltaTime;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1708:5: error: 'DWORD' does not name a type
     DWORD cDistPoint;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1731:5: error: 'DWORD' does not name a type
     DWORD dwMinimum;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1733:5: error: 'DWORD' does not name a type
     DWORD dwMaximum;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1737:5: error: 'DWORD' does not name a type
     DWORD cPermittedSubtree;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1739:5: error: 'DWORD' does not name a type
     DWORD cExcludedSubtree;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1772:5: error: 'DWORD' does not name a type
     DWORD pgenCounter;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1794:5: error: 'DWORD' does not name a type
     DWORD dwVersion;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1810:5: error: 'DWORD' does not name a type
     DWORD cCapability;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1867:5: error: 'DWORD' does not name a type
     DWORD dwBodyPartID;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1872:5: error: 'DWORD' does not name a type
     DWORD dwBodyPartID;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1877:5: error: 'DWORD' does not name a type
     DWORD dwTaggedRequestChoice;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1886:5: error: 'DWORD' does not name a type
     DWORD dwBodyPartID;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1891:5: error: 'DWORD' does not name a type
     DWORD dwBodyPartID;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1897:5: error: 'DWORD' does not name a type
     DWORD cTaggedAttribute;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1899:5: error: 'DWORD' does not name a type
     DWORD cTaggedRequest;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1901:5: error: 'DWORD' does not name a type
     DWORD cTaggedContentInfo;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1903:5: error: 'DWORD' does not name a type
     DWORD cTaggedOtherMsg;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1908:5: error: 'DWORD' does not name a type
     DWORD cTaggedAttribute;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1910:5: error: 'DWORD' does not name a type
     DWORD cTaggedContentInfo;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1912:5: error: 'DWORD' does not name a type
     DWORD cTaggedOtherMsg;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1922:5: error: 'DWORD' does not name a type
     DWORD dwStatus;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1923:5: error: 'DWORD' does not name a type
     DWORD cBodyList;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1924:5: error: 'DWORD' does not name a type
     DWORD *rgdwBodyList;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1926:5: error: 'DWORD' does not name a type
     DWORD dwOtherInfoChoice;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1928:7: error: 'DWORD' does not name a type
       DWORD dwFailInfo;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1957:5: error: 'DWORD' does not name a type
     DWORD dwCmcDataReference;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1958:5: error: 'DWORD' does not name a type
     DWORD cCertReference;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1959:5: error: 'DWORD' does not name a type
     DWORD *rgdwCertReference;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1960:5: error: 'DWORD' does not name a type
     DWORD cExtension;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1965:5: error: 'DWORD' does not name a type
     DWORD dwCmcDataReference;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1966:5: error: 'DWORD' does not name a type
     DWORD cCertReference;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1967:5: error: 'DWORD' does not name a type
     DWORD *rgdwCertReference;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1968:5: error: 'DWORD' does not name a type
     DWORD cAttribute;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1974:5: error: 'DWORD' does not name a type
     DWORD dwMajorVersion;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:1976:5: error: 'DWORD' does not name a type
     DWORD dwMinorVersion;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2010:73: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptInstallOIDFunctionAddress(HMODULE hModule,DWORD dwEncodingType,LPCSTR pszFuncName,DWORD cFuncEntry,const CRYPT_OID_FUNC_ENTRY rgFuncEntry[],DWORD dwFlags);
                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2010:113: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptInstallOIDFunctionAddress(HMODULE hModule,DWORD dwEncodingType,LPCSTR pszFuncName,DWORD cFuncEntry,const CRYPT_OID_FUNC_ENTRY rgFuncEntry[],DWORD dwFlags);
                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2010:171: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptInstallOIDFunctionAddress(HMODULE hModule,DWORD dwEncodingType,LPCSTR pszFuncName,DWORD cFuncEntry,const CRYPT_OID_FUNC_ENTRY rgFuncEntry[],DWORD dwFlags);
                                                                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2011:78: error: 'DWORD' has not been declared
   WINIMPM HCRYPTOIDFUNCSET WINAPI CryptInitOIDFunctionSet(LPCSTR pszFuncName,DWORD dwFlags);
                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2012:79: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptGetOIDFunctionAddress(HCRYPTOIDFUNCSET hFuncSet,DWORD dwEncodingType,LPCSTR pszOID,DWORD dwFlags,void **ppvFuncAddr,HCRYPTOIDFUNCADDR *phFuncAddr);
                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2012:114: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptGetOIDFunctionAddress(HCRYPTOIDFUNCSET hFuncSet,DWORD dwEncodingType,LPCSTR pszOID,DWORD dwFlags,void **ppvFuncAddr,HCRYPTOIDFUNCADDR *phFuncAddr);
                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2016:78: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptGetDefaultOIDDllList(HCRYPTOIDFUNCSET hFuncSet,DWORD dwEncodingType,LPWSTR pwszDllList,DWORD *pcchDllList);
                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2016:118: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptGetDefaultOIDDllList(HCRYPTOIDFUNCSET hFuncSet,DWORD dwEncodingType,LPWSTR pwszDllList,DWORD *pcchDllList);
                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2017:86: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptGetDefaultOIDFunctionAddress(HCRYPTOIDFUNCSET hFuncSet,DWORD dwEncodingType,LPCWSTR pwszDll,DWORD dwFlags,void **ppvFuncAddr,HCRYPTOIDFUNCADDR *phFuncAddr);
                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2017:123: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptGetDefaultOIDFunctionAddress(HCRYPTOIDFUNCSET hFuncSet,DWORD dwEncodingType,LPCWSTR pwszDll,DWORD dwFlags,void **ppvFuncAddr,HCRYPTOIDFUNCADDR *phFuncAddr);
                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2018:82: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptFreeOIDFunctionAddress(HCRYPTOIDFUNCADDR hFuncAddr,DWORD dwFlags);
                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2019:51: error: definition of 'WINBOOL CryptRegisterOIDFunction' is marked 'dllimport'
   WINIMPM WINBOOL WINAPI CryptRegisterOIDFunction(DWORD dwEncodingType,LPCSTR pszFuncName,LPCSTR pszOID,LPCWSTR pwszDll,LPCSTR pszOverrideFuncName);
                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2019:51: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2019:79: error: expected primary-expression before 'pszFuncName'
   WINIMPM WINBOOL WINAPI CryptRegisterOIDFunction(DWORD dwEncodingType,LPCSTR pszFuncName,LPCSTR pszOID,LPCWSTR pwszDll,LPCSTR pszOverrideFuncName);
                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2019:98: error: expected primary-expression before 'pszOID'
   WINIMPM WINBOOL WINAPI CryptRegisterOIDFunction(DWORD dwEncodingType,LPCSTR pszFuncName,LPCSTR pszOID,LPCWSTR pwszDll,LPCSTR pszOverrideFuncName);
                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2019:113: error: expected primary-expression before 'pwszDll'
   WINIMPM WINBOOL WINAPI CryptRegisterOIDFunction(DWORD dwEncodingType,LPCSTR pszFuncName,LPCSTR pszOID,LPCWSTR pwszDll,LPCSTR pszOverrideFuncName);
                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2019:128: error: expected primary-expression before 'pszOverrideFuncName'
   WINIMPM WINBOOL WINAPI CryptRegisterOIDFunction(DWORD dwEncodingType,LPCSTR pszFuncName,LPCSTR pszOID,LPCWSTR pwszDll,LPCSTR pszOverrideFuncName);
                                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2019:147: error: expression list treated as compound expression in initializer [-fpermissive]
   WINIMPM WINBOOL WINAPI CryptRegisterOIDFunction(DWORD dwEncodingType,LPCSTR pszFuncName,LPCSTR pszOID,LPCWSTR pwszDll,LPCSTR pszOverrideFuncName);
                                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2020:53: error: definition of 'WINBOOL CryptUnregisterOIDFunction' is marked 'dllimport'
   WINIMPM WINBOOL WINAPI CryptUnregisterOIDFunction(DWORD dwEncodingType,LPCSTR pszFuncName,LPCSTR pszOID);
                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2020:53: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2020:81: error: expected primary-expression before 'pszFuncName'
   WINIMPM WINBOOL WINAPI CryptUnregisterOIDFunction(DWORD dwEncodingType,LPCSTR pszFuncName,LPCSTR pszOID);
                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2020:100: error: expected primary-expression before 'pszOID'
   WINIMPM WINBOOL WINAPI CryptUnregisterOIDFunction(DWORD dwEncodingType,LPCSTR pszFuncName,LPCSTR pszOID);
                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2020:106: error: expression list treated as compound expression in initializer [-fpermissive]
   WINIMPM WINBOOL WINAPI CryptUnregisterOIDFunction(DWORD dwEncodingType,LPCSTR pszFuncName,LPCSTR pszOID);
                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2021:58: error: definition of 'WINBOOL CryptRegisterDefaultOIDFunction' is marked 'dllimport'
   WINIMPM WINBOOL WINAPI CryptRegisterDefaultOIDFunction(DWORD dwEncodingType,LPCSTR pszFuncName,DWORD dwIndex,LPCWSTR pwszDll);
                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2021:58: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2021:86: error: expected primary-expression before 'pszFuncName'
   WINIMPM WINBOOL WINAPI CryptRegisterDefaultOIDFunction(DWORD dwEncodingType,LPCSTR pszFuncName,DWORD dwIndex,LPCWSTR pwszDll);
                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2021:98: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptRegisterDefaultOIDFunction(DWORD dwEncodingType,LPCSTR pszFuncName,DWORD dwIndex,LPCWSTR pwszDll);
                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2021:120: error: expected primary-expression before 'pwszDll'
   WINIMPM WINBOOL WINAPI CryptRegisterDefaultOIDFunction(DWORD dwEncodingType,LPCSTR pszFuncName,DWORD dwIndex,LPCWSTR pwszDll);
                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2021:127: error: expression list treated as compound expression in initializer [-fpermissive]
   WINIMPM WINBOOL WINAPI CryptRegisterDefaultOIDFunction(DWORD dwEncodingType,LPCSTR pszFuncName,DWORD dwIndex,LPCWSTR pwszDll);
                                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2026:60: error: definition of 'WINBOOL CryptUnregisterDefaultOIDFunction' is marked 'dllimport'
   WINIMPM WINBOOL WINAPI CryptUnregisterDefaultOIDFunction(DWORD dwEncodingType,LPCSTR pszFuncName,LPCWSTR pwszDll);
                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2026:60: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2026:88: error: expected primary-expression before 'pszFuncName'
   WINIMPM WINBOOL WINAPI CryptUnregisterDefaultOIDFunction(DWORD dwEncodingType,LPCSTR pszFuncName,LPCWSTR pwszDll);
                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2026:108: error: expected primary-expression before 'pwszDll'
   WINIMPM WINBOOL WINAPI CryptUnregisterDefaultOIDFunction(DWORD dwEncodingType,LPCSTR pszFuncName,LPCWSTR pwszDll);
                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2026:115: error: expression list treated as compound expression in initializer [-fpermissive]
   WINIMPM WINBOOL WINAPI CryptUnregisterDefaultOIDFunction(DWORD dwEncodingType,LPCSTR pszFuncName,LPCWSTR pwszDll);
                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2027:51: error: definition of 'WINBOOL CryptSetOIDFunctionValue' is marked 'dllimport'
   WINIMPM WINBOOL WINAPI CryptSetOIDFunctionValue(DWORD dwEncodingType,LPCSTR pszFuncName,LPCSTR pszOID,LPCWSTR pwszValueName,DWORD dwValueType,const BYTE *pbValueData,DWORD cbValueData);
                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2027:51: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2027:79: error: expected primary-expression before 'pszFuncName'
   WINIMPM WINBOOL WINAPI CryptSetOIDFunctionValue(DWORD dwEncodingType,LPCSTR pszFuncName,LPCSTR pszOID,LPCWSTR pwszValueName,DWORD dwValueType,const BYTE *pbValueData,DWORD cbValueData);
                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2027:98: error: expected primary-expression before 'pszOID'
   WINIMPM WINBOOL WINAPI CryptSetOIDFunctionValue(DWORD dwEncodingType,LPCSTR pszFuncName,LPCSTR pszOID,LPCWSTR pwszValueName,DWORD dwValueType,const BYTE *pbValueData,DWORD cbValueData);
                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2027:113: error: expected primary-expression before 'pwszValueName'
   WINIMPM WINBOOL WINAPI CryptSetOIDFunctionValue(DWORD dwEncodingType,LPCSTR pszFuncName,LPCSTR pszOID,LPCWSTR pwszValueName,DWORD dwValueType,const BYTE *pbValueData,DWORD cbValueData);
                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2027:127: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptSetOIDFunctionValue(DWORD dwEncodingType,LPCSTR pszFuncName,LPCSTR pszOID,LPCWSTR pwszValueName,DWORD dwValueType,const BYTE *pbValueData,DWORD cbValueData);
                                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2027:145: error: expected primary-expression before 'const'
   WINIMPM WINBOOL WINAPI CryptSetOIDFunctionValue(DWORD dwEncodingType,LPCSTR pszFuncName,LPCSTR pszOID,LPCWSTR pwszValueName,DWORD dwValueType,const BYTE *pbValueData,DWORD cbValueData);
                                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2027:169: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptSetOIDFunctionValue(DWORD dwEncodingType,LPCSTR pszFuncName,LPCSTR pszOID,LPCWSTR pwszValueName,DWORD dwValueType,const BYTE *pbValueData,DWORD cbValueData);
                                                                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2027:186: error: expression list treated as compound expression in initializer [-fpermissive]
   WINIMPM WINBOOL WINAPI CryptSetOIDFunctionValue(DWORD dwEncodingType,LPCSTR pszFuncName,LPCSTR pszOID,LPCWSTR pwszValueName,DWORD dwValueType,const BYTE *pbValueData,DWORD cbValueData);
                                                                                                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2028:51: error: definition of 'WINBOOL CryptGetOIDFunctionValue' is marked 'dllimport'
   WINIMPM WINBOOL WINAPI CryptGetOIDFunctionValue(DWORD dwEncodingType,LPCSTR pszFuncName,LPCSTR pszOID,LPCWSTR pwszValueName,DWORD *pdwValueType,BYTE *pbValueData,DWORD *pcbValueData);
                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2028:51: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2028:79: error: expected primary-expression before 'pszFuncName'
   WINIMPM WINBOOL WINAPI CryptGetOIDFunctionValue(DWORD dwEncodingType,LPCSTR pszFuncName,LPCSTR pszOID,LPCWSTR pwszValueName,DWORD *pdwValueType,BYTE *pbValueData,DWORD *pcbValueData);
                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2028:98: error: expected primary-expression before 'pszOID'
   WINIMPM WINBOOL WINAPI CryptGetOIDFunctionValue(DWORD dwEncodingType,LPCSTR pszFuncName,LPCSTR pszOID,LPCWSTR pwszValueName,DWORD *pdwValueType,BYTE *pbValueData,DWORD *pcbValueData);
                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2028:113: error: expected primary-expression before 'pwszValueName'
   WINIMPM WINBOOL WINAPI CryptGetOIDFunctionValue(DWORD dwEncodingType,LPCSTR pszFuncName,LPCSTR pszOID,LPCWSTR pwszValueName,DWORD *pdwValueType,BYTE *pbValueData,DWORD *pcbValueData);
                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2028:127: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptGetOIDFunctionValue(DWORD dwEncodingType,LPCSTR pszFuncName,LPCSTR pszOID,LPCWSTR pwszValueName,DWORD *pdwValueType,BYTE *pbValueData,DWORD *pcbValueData);
                                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2028:134: error: 'pdwValueType' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptGetOIDFunctionValue(DWORD dwEncodingType,LPCSTR pszFuncName,LPCSTR pszOID,LPCWSTR pwszValueName,DWORD *pdwValueType,BYTE *pbValueData,DWORD *pcbValueData);
                                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2028:152: error: expected primary-expression before '*' token
   WINIMPM WINBOOL WINAPI CryptGetOIDFunctionValue(DWORD dwEncodingType,LPCSTR pszFuncName,LPCSTR pszOID,LPCWSTR pwszValueName,DWORD *pdwValueType,BYTE *pbValueData,DWORD *pcbValueData);
                                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2028:153: error: 'pbValueData' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptGetOIDFunctionValue(DWORD dwEncodingType,LPCSTR pszFuncName,LPCSTR pszOID,LPCWSTR pwszValueName,DWORD *pdwValueType,BYTE *pbValueData,DWORD *pcbValueData);
                                                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2028:165: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptGetOIDFunctionValue(DWORD dwEncodingType,LPCSTR pszFuncName,LPCSTR pszOID,LPCWSTR pwszValueName,DWORD *pdwValueType,BYTE *pbValueData,DWORD *pcbValueData);
                                                                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2028:172: error: 'pcbValueData' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptGetOIDFunctionValue(DWORD dwEncodingType,LPCSTR pszFuncName,LPCSTR pszOID,LPCWSTR pwszValueName,DWORD *pdwValueType,BYTE *pbValueData,DWORD *pcbValueData);
                                                                                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2028:184: error: expression list treated as compound expression in initializer [-fpermissive]
   WINIMPM WINBOOL WINAPI CryptGetOIDFunctionValue(DWORD dwEncodingType,LPCSTR pszFuncName,LPCSTR pszOID,LPCWSTR pwszValueName,DWORD *pdwValueType,BYTE *pbValueData,DWORD *pcbValueData);
                                                                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2030:53: error: typedef 'PFN_CRYPT_ENUM_OID_FUNC' is initialized (use decltype instead)
   typedef WINBOOL (WINAPI *PFN_CRYPT_ENUM_OID_FUNC)(DWORD dwEncodingType,LPCSTR pszFuncName,LPCSTR pszOID,DWORD cValue,const DWORD rgdwValueType[],LPCWSTR const rgpwszValueName[],const BYTE *const rgpbValueData[],const DWORD rgcbValueData[],void *pvArg);
                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2030:53: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2030:81: error: expected primary-expression before 'pszFuncName'
   typedef WINBOOL (WINAPI *PFN_CRYPT_ENUM_OID_FUNC)(DWORD dwEncodingType,LPCSTR pszFuncName,LPCSTR pszOID,DWORD cValue,const DWORD rgdwValueType[],LPCWSTR const rgpwszValueName[],const BYTE *const rgpbValueData[],const DWORD rgcbValueData[],void *pvArg);
                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2030:100: error: expected primary-expression before 'pszOID'
   typedef WINBOOL (WINAPI *PFN_CRYPT_ENUM_OID_FUNC)(DWORD dwEncodingType,LPCSTR pszFuncName,LPCSTR pszOID,DWORD cValue,const DWORD rgdwValueType[],LPCWSTR const rgpwszValueName[],const BYTE *const rgpbValueData[],const DWORD rgcbValueData[],void *pvArg);
                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2030:107: error: 'DWORD' was not declared in this scope
   typedef WINBOOL (WINAPI *PFN_CRYPT_ENUM_OID_FUNC)(DWORD dwEncodingType,LPCSTR pszFuncName,LPCSTR pszOID,DWORD cValue,const DWORD rgdwValueType[],LPCWSTR const rgpwszValueName[],const BYTE *const rgpbValueData[],const DWORD rgcbValueData[],void *pvArg);
                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2030:120: error: expected primary-expression before 'const'
   typedef WINBOOL (WINAPI *PFN_CRYPT_ENUM_OID_FUNC)(DWORD dwEncodingType,LPCSTR pszFuncName,LPCSTR pszOID,DWORD cValue,const DWORD rgdwValueType[],LPCWSTR const rgpwszValueName[],const BYTE *const rgpbValueData[],const DWORD rgcbValueData[],void *pvArg);
                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2030:156: error: expected primary-expression before 'const'
   typedef WINBOOL (WINAPI *PFN_CRYPT_ENUM_OID_FUNC)(DWORD dwEncodingType,LPCSTR pszFuncName,LPCSTR pszOID,DWORD cValue,const DWORD rgdwValueType[],LPCWSTR const rgpwszValueName[],const BYTE *const rgpbValueData[],const DWORD rgcbValueData[],void *pvArg);
                                                                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2030:180: error: expected primary-expression before 'const'
   typedef WINBOOL (WINAPI *PFN_CRYPT_ENUM_OID_FUNC)(DWORD dwEncodingType,LPCSTR pszFuncName,LPCSTR pszOID,DWORD cValue,const DWORD rgdwValueType[],LPCWSTR const rgpwszValueName[],const BYTE *const rgpbValueData[],const DWORD rgcbValueData[],void *pvArg);
                                                                                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2030:214: error: expected primary-expression before 'const'
   typedef WINBOOL (WINAPI *PFN_CRYPT_ENUM_OID_FUNC)(DWORD dwEncodingType,LPCSTR pszFuncName,LPCSTR pszOID,DWORD cValue,const DWORD rgdwValueType[],LPCWSTR const rgpwszValueName[],const BYTE *const rgpbValueData[],const DWORD rgcbValueData[],void *pvArg);
                                                                                                                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2030:242: error: expected primary-expression before 'void'
   typedef WINBOOL (WINAPI *PFN_CRYPT_ENUM_OID_FUNC)(DWORD dwEncodingType,LPCSTR pszFuncName,LPCSTR pszOID,DWORD cValue,const DWORD rgdwValueType[],LPCWSTR const rgpwszValueName[],const BYTE *const rgpbValueData[],const DWORD rgcbValueData[],void *pvArg);
                                                                                                                                                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2032:47: error: definition of 'WINBOOL CryptEnumOIDFunction' is marked 'dllimport'
   WINIMPM WINBOOL WINAPI CryptEnumOIDFunction(DWORD dwEncodingType,LPCSTR pszFuncName,LPCSTR pszOID,DWORD dwFlags,void *pvArg,PFN_CRYPT_ENUM_OID_FUNC pfnEnumOIDFunc);
                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2032:47: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2032:75: error: expected primary-expression before 'pszFuncName'
   WINIMPM WINBOOL WINAPI CryptEnumOIDFunction(DWORD dwEncodingType,LPCSTR pszFuncName,LPCSTR pszOID,DWORD dwFlags,void *pvArg,PFN_CRYPT_ENUM_OID_FUNC pfnEnumOIDFunc);
                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2032:94: error: expected primary-expression before 'pszOID'
   WINIMPM WINBOOL WINAPI CryptEnumOIDFunction(DWORD dwEncodingType,LPCSTR pszFuncName,LPCSTR pszOID,DWORD dwFlags,void *pvArg,PFN_CRYPT_ENUM_OID_FUNC pfnEnumOIDFunc);
                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2032:101: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptEnumOIDFunction(DWORD dwEncodingType,LPCSTR pszFuncName,LPCSTR pszOID,DWORD dwFlags,void *pvArg,PFN_CRYPT_ENUM_OID_FUNC pfnEnumOIDFunc);
                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2032:115: error: expected primary-expression before 'void'
   WINIMPM WINBOOL WINAPI CryptEnumOIDFunction(DWORD dwEncodingType,LPCSTR pszFuncName,LPCSTR pszOID,DWORD dwFlags,void *pvArg,PFN_CRYPT_ENUM_OID_FUNC pfnEnumOIDFunc);
                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2032:127: error: 'PFN_CRYPT_ENUM_OID_FUNC' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptEnumOIDFunction(DWORD dwEncodingType,LPCSTR pszFuncName,LPCSTR pszOID,DWORD dwFlags,void *pvArg,PFN_CRYPT_ENUM_OID_FUNC pfnEnumOIDFunc);
                                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2032:165: error: expression list treated as compound expression in initializer [-fpermissive]
   WINIMPM WINBOOL WINAPI CryptEnumOIDFunction(DWORD dwEncodingType,LPCSTR pszFuncName,LPCSTR pszOID,DWORD dwFlags,void *pvArg,PFN_CRYPT_ENUM_OID_FUNC pfnEnumOIDFunc);
                                                                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2037:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2040:5: error: 'DWORD' does not name a type
     DWORD dwGroupId;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2042:7: error: 'DWORD' does not name a type
       DWORD dwValue;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2044:7: error: 'DWORD' does not name a type
       DWORD dwLength;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2067:52: error: definition of 'const CRYPT_OID_INFO* CryptFindOIDInfo' is marked 'dllimport'
   WINIMPM PCCRYPT_OID_INFO WINAPI CryptFindOIDInfo(DWORD dwKeyType,void *pvKey,DWORD dwGroupId);
                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2067:52: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2067:68: error: expected primary-expression before 'void'
   WINIMPM PCCRYPT_OID_INFO WINAPI CryptFindOIDInfo(DWORD dwKeyType,void *pvKey,DWORD dwGroupId);
                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2067:80: error: 'DWORD' was not declared in this scope
   WINIMPM PCCRYPT_OID_INFO WINAPI CryptFindOIDInfo(DWORD dwKeyType,void *pvKey,DWORD dwGroupId);
                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2067:95: error: expression list treated as compound expression in initializer [-fpermissive]
   WINIMPM PCCRYPT_OID_INFO WINAPI CryptFindOIDInfo(DWORD dwKeyType,void *pvKey,DWORD dwGroupId);
                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2074:70: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptRegisterOIDInfo(PCCRYPT_OID_INFO pInfo,DWORD dwFlags);
                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2082:43: error: definition of 'WINBOOL CryptEnumOIDInfo' is marked 'dllimport'
   WINIMPM WINBOOL WINAPI CryptEnumOIDInfo(DWORD dwGroupId,DWORD dwFlags,void *pvArg,PFN_CRYPT_ENUM_OID_INFO pfnEnumOIDInfo);
                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2082:43: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2082:59: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptEnumOIDInfo(DWORD dwGroupId,DWORD dwFlags,void *pvArg,PFN_CRYPT_ENUM_OID_INFO pfnEnumOIDInfo);
                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2082:73: error: expected primary-expression before 'void'
   WINIMPM WINBOOL WINAPI CryptEnumOIDInfo(DWORD dwGroupId,DWORD dwFlags,void *pvArg,PFN_CRYPT_ENUM_OID_INFO pfnEnumOIDInfo);
                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2082:109: error: expected primary-expression before 'pfnEnumOIDInfo'
   WINIMPM WINBOOL WINAPI CryptEnumOIDInfo(DWORD dwGroupId,DWORD dwFlags,void *pvArg,PFN_CRYPT_ENUM_OID_INFO pfnEnumOIDInfo);
                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2082:123: error: expression list treated as compound expression in initializer [-fpermissive]
   WINIMPM WINBOOL WINAPI CryptEnumOIDInfo(DWORD dwGroupId,DWORD dwFlags,void *pvArg,PFN_CRYPT_ENUM_OID_INFO pfnEnumOIDInfo);
                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2121:5: error: 'DWORD' does not name a type
     DWORD dwIdChoice;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2134:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2137:5: error: 'DWORD' does not name a type
     DWORD dwKeySpec;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2140:5: error: 'DWORD' does not name a type
     DWORD cAuthAttr;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2142:5: error: 'DWORD' does not name a type
     DWORD cUnauthAttr;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2152:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2153:5: error: 'DWORD' does not name a type
     DWORD cSigners;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2155:5: error: 'DWORD' does not name a type
     DWORD cCertEncoded;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2157:5: error: 'DWORD' does not name a type
     DWORD cCrlEncoded;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2168:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2172:5: error: 'DWORD' does not name a type
     DWORD cRecipients;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2188:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2197:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2205:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2211:5: error: 'DWORD' does not name a type
     DWORD dwKeySpec;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2212:5: error: 'DWORD' does not name a type
     DWORD dwKeyChoice;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2218:5: error: 'DWORD' does not name a type
     DWORD cRecipientEncryptedKeys;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2226:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2230:5: error: 'DWORD' does not name a type
     DWORD dwKeyChoice;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2244:5: error: 'DWORD' does not name a type
     DWORD dwRecipientChoice;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2257:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2258:5: error: 'DWORD' does not name a type
     DWORD dwBitLen;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2262:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2263:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2269:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2270:5: error: 'DWORD' does not name a type
     DWORD dwBitLen;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2276:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2282:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2289:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2294:83: error: 'DWORD' has not been declared
   typedef WINBOOL (WINAPI *PFN_CMSG_STREAM_OUTPUT)(const void *pvArg,BYTE *pbData,DWORD cbData,WINBOOL fFinal);
                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2299:5: error: 'DWORD' does not name a type
     DWORD cbContent;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2315:49: error: definition of 'void* CryptMsgOpenToEncode' is marked 'dllimport'
   WINIMPM HCRYPTMSG WINAPI CryptMsgOpenToEncode(DWORD dwMsgEncodingType,DWORD dwFlags,DWORD dwMsgType,void const *pvMsgEncodeInfo,LPSTR pszInnerContentObjID,PCMSG_STREAM_INFO pStreamInfo);
                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2315:49: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2315:73: error: 'DWORD' was not declared in this scope
   WINIMPM HCRYPTMSG WINAPI CryptMsgOpenToEncode(DWORD dwMsgEncodingType,DWORD dwFlags,DWORD dwMsgType,void const *pvMsgEncodeInfo,LPSTR pszInnerContentObjID,PCMSG_STREAM_INFO pStreamInfo);
                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2315:87: error: 'DWORD' was not declared in this scope
   WINIMPM HCRYPTMSG WINAPI CryptMsgOpenToEncode(DWORD dwMsgEncodingType,DWORD dwFlags,DWORD dwMsgType,void const *pvMsgEncodeInfo,LPSTR pszInnerContentObjID,PCMSG_STREAM_INFO pStreamInfo);
                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2315:103: error: expected primary-expression before 'void'
   WINIMPM HCRYPTMSG WINAPI CryptMsgOpenToEncode(DWORD dwMsgEncodingType,DWORD dwFlags,DWORD dwMsgType,void const *pvMsgEncodeInfo,LPSTR pszInnerContentObjID,PCMSG_STREAM_INFO pStreamInfo);
                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2315:137: error: expected primary-expression before 'pszInnerContentObjID'
   WINIMPM HCRYPTMSG WINAPI CryptMsgOpenToEncode(DWORD dwMsgEncodingType,DWORD dwFlags,DWORD dwMsgType,void const *pvMsgEncodeInfo,LPSTR pszInnerContentObjID,PCMSG_STREAM_INFO pStreamInfo);
                                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2315:176: error: expected primary-expression before 'pStreamInfo'
   WINIMPM HCRYPTMSG WINAPI CryptMsgOpenToEncode(DWORD dwMsgEncodingType,DWORD dwFlags,DWORD dwMsgType,void const *pvMsgEncodeInfo,LPSTR pszInnerContentObjID,PCMSG_STREAM_INFO pStreamInfo);
                                                                                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2315:187: error: expression list treated as compound expression in initializer [-fpermissive]
   WINIMPM HCRYPTMSG WINAPI CryptMsgOpenToEncode(DWORD dwMsgEncodingType,DWORD dwFlags,DWORD dwMsgType,void const *pvMsgEncodeInfo,LPSTR pszInnerContentObjID,PCMSG_STREAM_INFO pStreamInfo);
                                                                                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2316:11: error: 'DWORD' does not name a type
   WINIMPM DWORD WINAPI CryptMsgCalculateEncodedLength(DWORD dwMsgEncodingType,DWORD dwFlags,DWORD dwMsgType,void const *pvMsgEncodeInfo,LPSTR pszInnerContentObjID,DWORD cbData);
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2317:49: error: definition of 'void* CryptMsgOpenToDecode' is marked 'dllimport'
   WINIMPM HCRYPTMSG WINAPI CryptMsgOpenToDecode(DWORD dwMsgEncodingType,DWORD dwFlags,DWORD dwMsgType,HCRYPTPROV hCryptProv,PCERT_INFO pRecipientInfo,PCMSG_STREAM_INFO pStreamInfo);
                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2317:49: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2317:73: error: 'DWORD' was not declared in this scope
   WINIMPM HCRYPTMSG WINAPI CryptMsgOpenToDecode(DWORD dwMsgEncodingType,DWORD dwFlags,DWORD dwMsgType,HCRYPTPROV hCryptProv,PCERT_INFO pRecipientInfo,PCMSG_STREAM_INFO pStreamInfo);
                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2317:87: error: 'DWORD' was not declared in this scope
   WINIMPM HCRYPTMSG WINAPI CryptMsgOpenToDecode(DWORD dwMsgEncodingType,DWORD dwFlags,DWORD dwMsgType,HCRYPTPROV hCryptProv,PCERT_INFO pRecipientInfo,PCMSG_STREAM_INFO pStreamInfo);
                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2317:114: error: expected primary-expression before 'hCryptProv'
   WINIMPM HCRYPTMSG WINAPI CryptMsgOpenToDecode(DWORD dwMsgEncodingType,DWORD dwFlags,DWORD dwMsgType,HCRYPTPROV hCryptProv,PCERT_INFO pRecipientInfo,PCMSG_STREAM_INFO pStreamInfo);
                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2317:136: error: expected primary-expression before 'pRecipientInfo'
   WINIMPM HCRYPTMSG WINAPI CryptMsgOpenToDecode(DWORD dwMsgEncodingType,DWORD dwFlags,DWORD dwMsgType,HCRYPTPROV hCryptProv,PCERT_INFO pRecipientInfo,PCMSG_STREAM_INFO pStreamInfo);
                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2317:169: error: expected primary-expression before 'pStreamInfo'
   WINIMPM HCRYPTMSG WINAPI CryptMsgOpenToDecode(DWORD dwMsgEncodingType,DWORD dwFlags,DWORD dwMsgType,HCRYPTPROV hCryptProv,PCERT_INFO pRecipientInfo,PCMSG_STREAM_INFO pStreamInfo);
                                                                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2317:180: error: expression list treated as compound expression in initializer [-fpermissive]
   WINIMPM HCRYPTMSG WINAPI CryptMsgOpenToDecode(DWORD dwMsgEncodingType,DWORD dwFlags,DWORD dwMsgType,HCRYPTPROV hCryptProv,PCERT_INFO pRecipientInfo,PCMSG_STREAM_INFO pStreamInfo);
                                                                                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2320:80: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptMsgUpdate(HCRYPTMSG hCryptMsg,const BYTE *pbData,DWORD cbData,WINBOOL fFinal);
                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2321:63: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptMsgGetParam(HCRYPTMSG hCryptMsg,DWORD dwParamType,DWORD dwIndex,void *pvData,DWORD *pcbData);
                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2321:81: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptMsgGetParam(HCRYPTMSG hCryptMsg,DWORD dwParamType,DWORD dwIndex,void *pvData,DWORD *pcbData);
                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2321:108: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptMsgGetParam(HCRYPTMSG hCryptMsg,DWORD dwParamType,DWORD dwIndex,void *pvData,DWORD *pcbData);
                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2360:5: error: 'DWORD' does not name a type
     DWORD dwVersion;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2371:5: error: 'DWORD' does not name a type
     DWORD dwVersion;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2404:5: error: 'DWORD' does not name a type
     DWORD dwVersion;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2418:5: error: 'DWORD' does not name a type
     DWORD dwVersion;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2419:5: error: 'DWORD' does not name a type
     DWORD dwOriginatorChoice;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2426:5: error: 'DWORD' does not name a type
     DWORD cRecipientEncryptedKeys;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2434:5: error: 'DWORD' does not name a type
     DWORD dwVersion;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2443:5: error: 'DWORD' does not name a type
     DWORD dwRecipientChoice;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2460:62: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptMsgControl(HCRYPTMSG hCryptMsg,DWORD dwFlags,DWORD dwCtrlType,void const *pvCtrlPara);
                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2460:76: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptMsgControl(HCRYPTMSG hCryptMsg,DWORD dwFlags,DWORD dwCtrlType,void const *pvCtrlPara);
                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2482:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2484:5: error: 'DWORD' does not name a type
     DWORD dwSignerIndex;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2485:5: error: 'DWORD' does not name a type
     DWORD dwSignerType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2495:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2497:5: error: 'DWORD' does not name a type
     DWORD dwKeySpec;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2498:5: error: 'DWORD' does not name a type
     DWORD dwRecipientIndex;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2502:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2504:5: error: 'DWORD' does not name a type
     DWORD dwKeySpec;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2506:5: error: 'DWORD' does not name a type
     DWORD dwRecipientIndex;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2510:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2512:5: error: 'DWORD' does not name a type
     DWORD dwKeySpec;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2514:5: error: 'DWORD' does not name a type
     DWORD dwRecipientIndex;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2515:5: error: 'DWORD' does not name a type
     DWORD dwRecipientEncryptedKeyIndex;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2520:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2523:5: error: 'DWORD' does not name a type
     DWORD dwRecipientIndex;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2524:5: error: 'DWORD' does not name a type
     DWORD dwKeyChoice;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2532:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2533:5: error: 'DWORD' does not name a type
     DWORD dwSignerIndex;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2538:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2539:5: error: 'DWORD' does not name a type
     DWORD dwSignerIndex;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2540:5: error: 'DWORD' does not name a type
     DWORD dwUnauthAttrIndex;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2543:78: error: 'DWORD' has not been declared
   WINBOOL WINAPI CryptMsgVerifyCountersignatureEncoded(HCRYPTPROV hCryptProv,DWORD dwEncodingType,PBYTE pbSignerInfo,DWORD cbSignerInfo,PBYTE pbSignerInfoCountersignature,DWORD cbSignerInfoCountersignature,PCERT_INFO pciCountersigner);
                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2543:118: error: 'DWORD' has not been declared
   WINBOOL WINAPI CryptMsgVerifyCountersignatureEncoded(HCRYPTPROV hCryptProv,DWORD dwEncodingType,PBYTE pbSignerInfo,DWORD cbSignerInfo,PBYTE pbSignerInfoCountersignature,DWORD cbSignerInfoCountersignature,PCERT_INFO pciCountersigner);
                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2543:172: error: 'DWORD' has not been declared
   WINBOOL WINAPI CryptMsgVerifyCountersignatureEncoded(HCRYPTPROV hCryptProv,DWORD dwEncodingType,PBYTE pbSignerInfo,DWORD cbSignerInfo,PBYTE pbSignerInfoCountersignature,DWORD cbSignerInfoCountersignature,PCERT_INFO pciCountersigner);
                                                                                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2544:80: error: 'DWORD' has not been declared
   WINBOOL WINAPI CryptMsgVerifyCountersignatureEncodedEx(HCRYPTPROV hCryptProv,DWORD dwEncodingType,PBYTE pbSignerInfo,DWORD cbSignerInfo,PBYTE pbSignerInfoCountersignature,DWORD cbSignerInfoCountersignature,DWORD dwSignerType,void *pvSigner,DWORD dwFlags,void *pvReserved);
                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2544:120: error: 'DWORD' has not been declared
   WINBOOL WINAPI CryptMsgVerifyCountersignatureEncodedEx(HCRYPTPROV hCryptProv,DWORD dwEncodingType,PBYTE pbSignerInfo,DWORD cbSignerInfo,PBYTE pbSignerInfoCountersignature,DWORD cbSignerInfoCountersignature,DWORD dwSignerType,void *pvSigner,DWORD dwFlags,void *pvReserved);
                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2544:174: error: 'DWORD' has not been declared
   WINBOOL WINAPI CryptMsgVerifyCountersignatureEncodedEx(HCRYPTPROV hCryptProv,DWORD dwEncodingType,PBYTE pbSignerInfo,DWORD cbSignerInfo,PBYTE pbSignerInfoCountersignature,DWORD cbSignerInfoCountersignature,DWORD dwSignerType,void *pvSigner,DWORD dwFlags,void *pvReserved);
                                                                                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2544:209: error: 'DWORD' has not been declared
   WINBOOL WINAPI CryptMsgVerifyCountersignatureEncodedEx(HCRYPTPROV hCryptProv,DWORD dwEncodingType,PBYTE pbSignerInfo,DWORD cbSignerInfo,PBYTE pbSignerInfoCountersignature,DWORD cbSignerInfoCountersignature,DWORD dwSignerType,void *pvSigner,DWORD dwFlags,void *pvReserved);
                                                                                                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2544:243: error: 'DWORD' has not been declared
   WINBOOL WINAPI CryptMsgVerifyCountersignatureEncodedEx(HCRYPTPROV hCryptProv,DWORD dwEncodingType,PBYTE pbSignerInfo,DWORD cbSignerInfo,PBYTE pbSignerInfoCountersignature,DWORD cbSignerInfoCountersignature,DWORD dwSignerType,void *pvSigner,DWORD dwFlags,void *pvReserved);
                                                                                                                                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2545:58: error: 'DWORD' has not been declared
   WINBOOL WINAPI CryptMsgCountersign(HCRYPTMSG hCryptMsg,DWORD dwIndex,DWORD cCountersigners,PCMSG_SIGNER_ENCODE_INFO rgCountersigners);
                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2545:72: error: 'DWORD' has not been declared
   WINBOOL WINAPI CryptMsgCountersign(HCRYPTMSG hCryptMsg,DWORD dwIndex,DWORD cCountersigners,PCMSG_SIGNER_ENCODE_INFO rgCountersigners);
                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2546:45: error: 'DWORD' was not declared in this scope
   WINBOOL WINAPI CryptMsgCountersignEncoded(DWORD dwEncodingType,PBYTE pbSignerInfo,DWORD cbSignerInfo,DWORD cCountersigners,PCMSG_SIGNER_ENCODE_INFO rgCountersigners,PBYTE pbCountersignature,PDWORD pcbCountersignature);
                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2546:72: error: expected primary-expression before 'pbSignerInfo'
   WINBOOL WINAPI CryptMsgCountersignEncoded(DWORD dwEncodingType,PBYTE pbSignerInfo,DWORD cbSignerInfo,DWORD cCountersigners,PCMSG_SIGNER_ENCODE_INFO rgCountersigners,PBYTE pbCountersignature,PDWORD pcbCountersignature);
                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2546:85: error: 'DWORD' was not declared in this scope
   WINBOOL WINAPI CryptMsgCountersignEncoded(DWORD dwEncodingType,PBYTE pbSignerInfo,DWORD cbSignerInfo,DWORD cCountersigners,PCMSG_SIGNER_ENCODE_INFO rgCountersigners,PBYTE pbCountersignature,PDWORD pcbCountersignature);
                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2546:104: error: 'DWORD' was not declared in this scope
   WINBOOL WINAPI CryptMsgCountersignEncoded(DWORD dwEncodingType,PBYTE pbSignerInfo,DWORD cbSignerInfo,DWORD cCountersigners,PCMSG_SIGNER_ENCODE_INFO rgCountersigners,PBYTE pbCountersignature,PDWORD pcbCountersignature);
                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2546:151: error: expected primary-expression before 'rgCountersigners'
   WINBOOL WINAPI CryptMsgCountersignEncoded(DWORD dwEncodingType,PBYTE pbSignerInfo,DWORD cbSignerInfo,DWORD cCountersigners,PCMSG_SIGNER_ENCODE_INFO rgCountersigners,PBYTE pbCountersignature,PDWORD pcbCountersignature);
                                                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2546:174: error: expected primary-expression before 'pbCountersignature'
   WINBOOL WINAPI CryptMsgCountersignEncoded(DWORD dwEncodingType,PBYTE pbSignerInfo,DWORD cbSignerInfo,DWORD cCountersigners,PCMSG_SIGNER_ENCODE_INFO rgCountersigners,PBYTE pbCountersignature,PDWORD pcbCountersignature);
                                                                                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2546:193: error: 'PDWORD' was not declared in this scope
   WINBOOL WINAPI CryptMsgCountersignEncoded(DWORD dwEncodingType,PBYTE pbSignerInfo,DWORD cbSignerInfo,DWORD cCountersigners,PCMSG_SIGNER_ENCODE_INFO rgCountersigners,PBYTE pbCountersignature,PDWORD pcbCountersignature);
                                                                                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2546:219: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBOOL WINAPI CryptMsgCountersignEncoded(DWORD dwEncodingType,PBYTE pbSignerInfo,DWORD cbSignerInfo,DWORD cCountersigners,PCMSG_SIGNER_ENCODE_INFO rgCountersigners,PBYTE pbCountersignature,PDWORD pcbCountersignature);
                                                                                                                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2552:253: error: 'PDWORD' has not been declared
   typedef WINBOOL (WINAPI *PFN_CMSG_GEN_ENCRYPT_KEY)(HCRYPTPROV *phCryptProv,PCRYPT_ALGORITHM_IDENTIFIER paiEncrypt,PVOID pvEncryptAuxInfo,PCERT_PUBLIC_KEY_INFO pPublicKeyInfo,PFN_CMSG_ALLOC pfnAlloc,HCRYPTKEY *phEncryptKey,PBYTE *ppbEncryptParameters,PDWORD pcbEncryptParameters);
                                                                                                                                                                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2555:151: error: 'PDWORD' has not been declared
   typedef WINBOOL (WINAPI *PFN_CMSG_EXPORT_ENCRYPT_KEY)(HCRYPTPROV hCryptProv,HCRYPTKEY hEncryptKey,PCERT_PUBLIC_KEY_INFO pPublicKeyInfo,PBYTE pbData,PDWORD pcbData);
                                                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2558:79: error: 'DWORD' has not been declared
   typedef WINBOOL (WINAPI *PFN_CMSG_IMPORT_ENCRYPT_KEY)(HCRYPTPROV hCryptProv,DWORD dwKeySpec,PCRYPT_ALGORITHM_IDENTIFIER paiEncrypt,PCRYPT_ALGORITHM_IDENTIFIER paiPubKey,PBYTE pbEncodedKey,DWORD cbEncodedKey,HCRYPTKEY *phEncryptKey);
                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2558:191: error: 'DWORD' has not been declared
   typedef WINBOOL (WINAPI *PFN_CMSG_IMPORT_ENCRYPT_KEY)(HCRYPTPROV hCryptProv,DWORD dwKeySpec,PCRYPT_ALGORITHM_IDENTIFIER paiEncrypt,PCRYPT_ALGORITHM_IDENTIFIER paiPubKey,PBYTE pbEncodedKey,DWORD cbEncodedKey,HCRYPTKEY *phEncryptKey);
                                                                                                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2563:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2567:5: error: 'DWORD' does not name a type
     DWORD cRecipients;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2571:5: error: 'DWORD' does not name a type
     DWORD dwEncryptFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2573:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2582:109: error: 'DWORD' has not been declared
   typedef WINBOOL (WINAPI *PFN_CMSG_GEN_CONTENT_ENCRYPT_KEY)(PCMSG_CONTENT_ENCRYPT_INFO pContentEncryptInfo,DWORD dwFlags,void *pvReserved);
                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2585:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2586:5: error: 'DWORD' does not name a type
     DWORD dwRecipientIndex;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2589:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2595:210: error: 'DWORD' has not been declared
   typedef WINBOOL (WINAPI *PFN_CMSG_EXPORT_KEY_TRANS)(PCMSG_CONTENT_ENCRYPT_INFO pContentEncryptInfo,PCMSG_KEY_TRANS_RECIPIENT_ENCODE_INFO pKeyTransEncodeInfo,PCMSG_KEY_TRANS_ENCRYPT_INFO pKeyTransEncryptInfo,DWORD dwFlags,void *pvReserved);
                                                                                                                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2598:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2603:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2604:5: error: 'DWORD' does not name a type
     DWORD dwRecipientIndex;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2607:5: error: 'DWORD' does not name a type
     DWORD dwOriginatorChoice;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2612:5: error: 'DWORD' does not name a type
     DWORD cKeyAgreeKeyEncryptInfo;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2614:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2625:210: error: 'DWORD' has not been declared
   typedef WINBOOL (WINAPI *PFN_CMSG_EXPORT_KEY_AGREE)(PCMSG_CONTENT_ENCRYPT_INFO pContentEncryptInfo,PCMSG_KEY_AGREE_RECIPIENT_ENCODE_INFO pKeyAgreeEncodeInfo,PCMSG_KEY_AGREE_ENCRYPT_INFO pKeyAgreeEncryptInfo,DWORD dwFlags,void *pvReserved);
                                                                                                                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2628:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2629:5: error: 'DWORD' does not name a type
     DWORD dwRecipientIndex;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2632:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2638:210: error: 'DWORD' has not been declared
   typedef WINBOOL (WINAPI *PFN_CMSG_EXPORT_MAIL_LIST)(PCMSG_CONTENT_ENCRYPT_INFO pContentEncryptInfo,PCMSG_MAIL_LIST_RECIPIENT_ENCODE_INFO pMailListEncodeInfo,PCMSG_MAIL_LIST_ENCRYPT_INFO pMailListEncryptInfo,DWORD dwFlags,void *pvReserved);
                                                                                                                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2641:166: error: 'DWORD' has not been declared
   typedef WINBOOL (WINAPI *PFN_CMSG_IMPORT_KEY_TRANS)(PCRYPT_ALGORITHM_IDENTIFIER pContentEncryptionAlgorithm,PCMSG_CTRL_KEY_TRANS_DECRYPT_PARA pKeyTransDecryptPara,DWORD dwFlags,void *pvReserved,HCRYPTKEY *phContentEncryptKey);
                                                                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2644:166: error: 'DWORD' has not been declared
   typedef WINBOOL (WINAPI *PFN_CMSG_IMPORT_KEY_AGREE)(PCRYPT_ALGORITHM_IDENTIFIER pContentEncryptionAlgorithm,PCMSG_CTRL_KEY_AGREE_DECRYPT_PARA pKeyAgreeDecryptPara,DWORD dwFlags,void *pvReserved,HCRYPTKEY *phContentEncryptKey);
                                                                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2647:166: error: 'DWORD' has not been declared
   typedef WINBOOL (WINAPI *PFN_CMSG_IMPORT_MAIL_LIST)(PCRYPT_ALGORITHM_IDENTIFIER pContentEncryptionAlgorithm,PCMSG_CTRL_MAIL_LIST_DECRYPT_PARA pMailListDecryptPara,DWORD dwFlags,void *pvReserved,HCRYPTKEY *phContentEncryptKey);
                                                                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2652:5: error: 'DWORD' does not name a type
     DWORD dwCertEncodingType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2654:5: error: 'DWORD' does not name a type
     DWORD cbCertEncoded;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2662:5: error: 'DWORD' does not name a type
     DWORD dwCertEncodingType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2664:5: error: 'DWORD' does not name a type
     DWORD cbCrlEncoded;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2672:5: error: 'DWORD' does not name a type
     DWORD dwMsgAndCertEncodingType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2674:5: error: 'DWORD' does not name a type
     DWORD cbCtlEncoded;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2679:5: error: 'DWORD' does not name a type
     DWORD cbCtlContent;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2742:5: error: 'DWORD' does not name a type
     DWORD dwParam;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2744:5: error: 'DWORD' does not name a type
     DWORD cbData;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2745:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2751:5: error: 'DWORD' does not name a type
     DWORD dwProvType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2752:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2753:5: error: 'DWORD' does not name a type
     DWORD cProvParam;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2755:5: error: 'DWORD' does not name a type
     DWORD dwKeySpec;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2762:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2764:5: error: 'DWORD' does not name a type
     DWORD dwKeySpec;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2937:68: error: 'DWORD' has not been declared
   WINIMPM HCERTSTORE WINAPI CertOpenStore(LPCSTR lpszStoreProvider,DWORD dwEncodingType,HCRYPTPROV hCryptProv,DWORD dwFlags,const void *pvPara);
                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2937:111: error: 'DWORD' has not been declared
   WINIMPM HCERTSTORE WINAPI CertOpenStore(LPCSTR lpszStoreProvider,DWORD dwEncodingType,HCRYPTPROV hCryptProv,DWORD dwFlags,const void *pvPara);
                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2944:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2945:5: error: 'DWORD' does not name a type
     DWORD cStoreProvFunc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2948:5: error: 'DWORD' does not name a type
     DWORD dwStoreProvFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2952:88: error: 'DWORD' has not been declared
   typedef WINBOOL (WINAPI *PFN_CERT_DLL_OPEN_STORE_PROV_FUNC)(LPCSTR lpszStoreProvider,DWORD dwEncodingType,HCRYPTPROV hCryptProv,DWORD dwFlags,const void *pvPara,HCERTSTORE hCertStore,PCERT_STORE_PROV_INFO pStoreProvInfo);
                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2952:131: error: 'DWORD' has not been declared
   typedef WINBOOL (WINAPI *PFN_CERT_DLL_OPEN_STORE_PROV_FUNC)(LPCSTR lpszStoreProvider,DWORD dwEncodingType,HCRYPTPROV hCryptProv,DWORD dwFlags,const void *pvPara,HCERTSTORE hCertStore,PCERT_STORE_PROV_INFO pStoreProvInfo);
                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2983:78: error: 'DWORD' has not been declared
   typedef void (WINAPI *PFN_CERT_STORE_PROV_CLOSE)(HCERTSTOREPROV hStoreProv,DWORD dwFlags);
                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2984:118: error: 'DWORD' has not been declared
   typedef WINBOOL (WINAPI *PFN_CERT_STORE_PROV_READ_CERT)(HCERTSTOREPROV hStoreProv,PCCERT_CONTEXT pStoreCertContext,DWORD dwFlags,PCCERT_CONTEXT *ppProvCertContext);
                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2988:114: error: 'DWORD' has not been declared
   typedef WINBOOL (WINAPI *PFN_CERT_STORE_PROV_WRITE_CERT)(HCERTSTOREPROV hStoreProv,PCCERT_CONTEXT pCertContext,DWORD dwFlags);
                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2989:115: error: 'DWORD' has not been declared
   typedef WINBOOL (WINAPI *PFN_CERT_STORE_PROV_DELETE_CERT)(HCERTSTOREPROV hStoreProv,PCCERT_CONTEXT pCertContext,DWORD dwFlags);
                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2990:121: error: 'DWORD' has not been declared
   typedef WINBOOL (WINAPI *PFN_CERT_STORE_PROV_SET_CERT_PROPERTY)(HCERTSTOREPROV hStoreProv,PCCERT_CONTEXT pCertContext,DWORD dwPropId,DWORD dwFlags,const void *pvData);
                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2990:136: error: 'DWORD' has not been declared
   typedef WINBOOL (WINAPI *PFN_CERT_STORE_PROV_SET_CERT_PROPERTY)(HCERTSTOREPROV hStoreProv,PCCERT_CONTEXT pCertContext,DWORD dwPropId,DWORD dwFlags,const void *pvData);
                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2991:115: error: 'DWORD' has not been declared
   typedef WINBOOL (WINAPI *PFN_CERT_STORE_PROV_READ_CRL)(HCERTSTOREPROV hStoreProv,PCCRL_CONTEXT pStoreCrlContext,DWORD dwFlags,PCCRL_CONTEXT *ppProvCrlContext);
                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2992:111: error: 'DWORD' has not been declared
   typedef WINBOOL (WINAPI *PFN_CERT_STORE_PROV_WRITE_CRL)(HCERTSTOREPROV hStoreProv,PCCRL_CONTEXT pCrlContext,DWORD dwFlags);
                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2993:112: error: 'DWORD' has not been declared
   typedef WINBOOL (WINAPI *PFN_CERT_STORE_PROV_DELETE_CRL)(HCERTSTOREPROV hStoreProv,PCCRL_CONTEXT pCrlContext,DWORD dwFlags);
                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2994:118: error: 'DWORD' has not been declared
   typedef WINBOOL (WINAPI *PFN_CERT_STORE_PROV_SET_CRL_PROPERTY)(HCERTSTOREPROV hStoreProv,PCCRL_CONTEXT pCrlContext,DWORD dwPropId,DWORD dwFlags,const void *pvData);
                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2994:133: error: 'DWORD' has not been declared
   typedef WINBOOL (WINAPI *PFN_CERT_STORE_PROV_SET_CRL_PROPERTY)(HCERTSTOREPROV hStoreProv,PCCRL_CONTEXT pCrlContext,DWORD dwPropId,DWORD dwFlags,const void *pvData);
                                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2995:115: error: 'DWORD' has not been declared
   typedef WINBOOL (WINAPI *PFN_CERT_STORE_PROV_READ_CTL)(HCERTSTOREPROV hStoreProv,PCCTL_CONTEXT pStoreCtlContext,DWORD dwFlags,PCCTL_CONTEXT *ppProvCtlContext);
                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2996:111: error: 'DWORD' has not been declared
   typedef WINBOOL (WINAPI *PFN_CERT_STORE_PROV_WRITE_CTL)(HCERTSTOREPROV hStoreProv,PCCTL_CONTEXT pCtlContext,DWORD dwFlags);
                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2997:112: error: 'DWORD' has not been declared
   typedef WINBOOL (WINAPI *PFN_CERT_STORE_PROV_DELETE_CTL)(HCERTSTOREPROV hStoreProv,PCCTL_CONTEXT pCtlContext,DWORD dwFlags);
                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2998:118: error: 'DWORD' has not been declared
   typedef WINBOOL (WINAPI *PFN_CERT_STORE_PROV_SET_CTL_PROPERTY)(HCERTSTOREPROV hStoreProv,PCCTL_CONTEXT pCtlContext,DWORD dwPropId,DWORD dwFlags,const void *pvData);
                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2998:133: error: 'DWORD' has not been declared
   typedef WINBOOL (WINAPI *PFN_CERT_STORE_PROV_SET_CTL_PROPERTY)(HCERTSTOREPROV hStoreProv,PCCTL_CONTEXT pCtlContext,DWORD dwPropId,DWORD dwFlags,const void *pvData);
                                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2999:83: error: 'DWORD' has not been declared
   typedef WINBOOL (WINAPI *PFN_CERT_STORE_PROV_CONTROL)(HCERTSTOREPROV hStoreProv,DWORD dwFlags,DWORD dwCtrlType,void const *pvCtrlPara);
                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:2999:97: error: 'DWORD' has not been declared
   typedef WINBOOL (WINAPI *PFN_CERT_STORE_PROV_CONTROL)(HCERTSTOREPROV hStoreProv,DWORD dwFlags,DWORD dwCtrlType,void const *pvCtrlPara);
                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3002:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3003:5: error: 'DWORD' does not name a type
     DWORD dwMsgAndCertEncodingType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3004:5: error: 'DWORD' does not name a type
     DWORD dwFindFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3005:5: error: 'DWORD' does not name a type
     DWORD dwFindType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3010:155: error: 'DWORD' has not been declared
   typedef WINBOOL (WINAPI *PFN_CERT_STORE_PROV_FIND_CERT)(HCERTSTOREPROV hStoreProv,PCCERT_STORE_PROV_FIND_INFO pFindInfo,PCCERT_CONTEXT pPrevCertContext,DWORD dwFlags,void **ppvStoreProvFindInfo,PCCERT_CONTEXT *ppProvCertContext);
                                                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3011:144: error: 'DWORD' has not been declared
   typedef WINBOOL (WINAPI *PFN_CERT_STORE_PROV_FREE_FIND_CERT)(HCERTSTOREPROV hStoreProv,PCCERT_CONTEXT pCertContext,void *pvStoreProvFindInfo,DWORD dwFlags);
                                                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3012:121: error: 'DWORD' has not been declared
   typedef WINBOOL (WINAPI *PFN_CERT_STORE_PROV_GET_CERT_PROPERTY)(HCERTSTOREPROV hStoreProv,PCCERT_CONTEXT pCertContext,DWORD dwPropId,DWORD dwFlags,void *pvData,DWORD *pcbData);
                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3012:136: error: 'DWORD' has not been declared
   typedef WINBOOL (WINAPI *PFN_CERT_STORE_PROV_GET_CERT_PROPERTY)(HCERTSTOREPROV hStoreProv,PCCERT_CONTEXT pCertContext,DWORD dwPropId,DWORD dwFlags,void *pvData,DWORD *pcbData);
                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3012:163: error: 'DWORD' has not been declared
   typedef WINBOOL (WINAPI *PFN_CERT_STORE_PROV_GET_CERT_PROPERTY)(HCERTSTOREPROV hStoreProv,PCCERT_CONTEXT pCertContext,DWORD dwPropId,DWORD dwFlags,void *pvData,DWORD *pcbData);
                                                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3013:152: error: 'DWORD' has not been declared
   typedef WINBOOL (WINAPI *PFN_CERT_STORE_PROV_FIND_CRL)(HCERTSTOREPROV hStoreProv,PCCERT_STORE_PROV_FIND_INFO pFindInfo,PCCRL_CONTEXT pPrevCrlContext,DWORD dwFlags,void **ppvStoreProvFindInfo,PCCRL_CONTEXT *ppProvCrlContext);
                                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3014:141: error: 'DWORD' has not been declared
   typedef WINBOOL (WINAPI *PFN_CERT_STORE_PROV_FREE_FIND_CRL)(HCERTSTOREPROV hStoreProv,PCCRL_CONTEXT pCrlContext,void *pvStoreProvFindInfo,DWORD dwFlags);
                                                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3015:118: error: 'DWORD' has not been declared
   typedef WINBOOL (WINAPI *PFN_CERT_STORE_PROV_GET_CRL_PROPERTY)(HCERTSTOREPROV hStoreProv,PCCRL_CONTEXT pCrlContext,DWORD dwPropId,DWORD dwFlags,void *pvData,DWORD *pcbData);
                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3015:133: error: 'DWORD' has not been declared
   typedef WINBOOL (WINAPI *PFN_CERT_STORE_PROV_GET_CRL_PROPERTY)(HCERTSTOREPROV hStoreProv,PCCRL_CONTEXT pCrlContext,DWORD dwPropId,DWORD dwFlags,void *pvData,DWORD *pcbData);
                                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3015:160: error: 'DWORD' has not been declared
   typedef WINBOOL (WINAPI *PFN_CERT_STORE_PROV_GET_CRL_PROPERTY)(HCERTSTOREPROV hStoreProv,PCCRL_CONTEXT pCrlContext,DWORD dwPropId,DWORD dwFlags,void *pvData,DWORD *pcbData);
                                                                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3016:152: error: 'DWORD' has not been declared
   typedef WINBOOL (WINAPI *PFN_CERT_STORE_PROV_FIND_CTL)(HCERTSTOREPROV hStoreProv,PCCERT_STORE_PROV_FIND_INFO pFindInfo,PCCTL_CONTEXT pPrevCtlContext,DWORD dwFlags,void **ppvStoreProvFindInfo,PCCTL_CONTEXT *ppProvCtlContext);
                                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3017:141: error: 'DWORD' has not been declared
   typedef WINBOOL (WINAPI *PFN_CERT_STORE_PROV_FREE_FIND_CTL)(HCERTSTOREPROV hStoreProv,PCCTL_CONTEXT pCtlContext,void *pvStoreProvFindInfo,DWORD dwFlags);
                                                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3018:118: error: 'DWORD' has not been declared
   typedef WINBOOL (WINAPI *PFN_CERT_STORE_PROV_GET_CTL_PROPERTY)(HCERTSTOREPROV hStoreProv,PCCTL_CONTEXT pCtlContext,DWORD dwPropId,DWORD dwFlags,void *pvData,DWORD *pcbData);
                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3018:133: error: 'DWORD' has not been declared
   typedef WINBOOL (WINAPI *PFN_CERT_STORE_PROV_GET_CTL_PROPERTY)(HCERTSTOREPROV hStoreProv,PCCTL_CONTEXT pCtlContext,DWORD dwPropId,DWORD dwFlags,void *pvData,DWORD *pcbData);
                                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3018:160: error: 'DWORD' has not been declared
   typedef WINBOOL (WINAPI *PFN_CERT_STORE_PROV_GET_CTL_PROPERTY)(HCERTSTOREPROV hStoreProv,PCCTL_CONTEXT pCtlContext,DWORD dwPropId,DWORD dwFlags,void *pvData,DWORD *pcbData);
                                                                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3030:62: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertSaveStore(HCERTSTORE hCertStore,DWORD dwEncodingType,DWORD dwSaveAs,DWORD dwSaveTo,void *pvSaveToPara,DWORD dwFlags);
                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3030:83: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertSaveStore(HCERTSTORE hCertStore,DWORD dwEncodingType,DWORD dwSaveAs,DWORD dwSaveTo,void *pvSaveToPara,DWORD dwFlags);
                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3030:98: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertSaveStore(HCERTSTORE hCertStore,DWORD dwEncodingType,DWORD dwSaveAs,DWORD dwSaveTo,void *pvSaveToPara,DWORD dwFlags);
                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3030:132: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertSaveStore(HCERTSTORE hCertStore,DWORD dwEncodingType,DWORD dwSaveAs,DWORD dwSaveTo,void *pvSaveToPara,DWORD dwFlags);
                                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3035:63: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertCloseStore(HCERTSTORE hCertStore,DWORD dwFlags);
                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3036:90: error: 'DWORD' has not been declared
   WINIMPM PCCERT_CONTEXT WINAPI CertGetSubjectCertificateFromStore(HCERTSTORE hCertStore,DWORD dwCertEncodingType,PCERT_INFO pCertId);
                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3038:82: error: 'DWORD' has not been declared
   WINIMPM PCCERT_CONTEXT WINAPI CertFindCertificateInStore(HCERTSTORE hCertStore,DWORD dwCertEncodingType,DWORD dwFindFlags,DWORD dwFindType,const void *pvFindPara,PCCERT_CONTEXT pPrevCertContext);
                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3038:107: error: 'DWORD' has not been declared
   WINIMPM PCCERT_CONTEXT WINAPI CertFindCertificateInStore(HCERTSTORE hCertStore,DWORD dwCertEncodingType,DWORD dwFindFlags,DWORD dwFindType,const void *pvFindPara,PCCERT_CONTEXT pPrevCertContext);
                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3038:125: error: 'DWORD' has not been declared
   WINIMPM PCCERT_CONTEXT WINAPI CertFindCertificateInStore(HCERTSTORE hCertStore,DWORD dwCertEncodingType,DWORD dwFindFlags,DWORD dwFindType,const void *pvFindPara,PCCERT_CONTEXT pPrevCertContext);
                                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3104:154: error: 'DWORD' has not been declared
   WINIMPM PCCERT_CONTEXT WINAPI CertGetIssuerCertificateFromStore(HCERTSTORE hCertStore,PCCERT_CONTEXT pSubjectContext,PCCERT_CONTEXT pPrevIssuerContext,DWORD *pdwFlags);
                                                                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3105:109: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertVerifySubjectCertificateContext(PCCERT_CONTEXT pSubject,PCCERT_CONTEXT pIssuer,DWORD *pdwFlags);
                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3107:62: error: definition of 'const CERT_CONTEXT* CertCreateCertificateContext' is marked 'dllimport'
   WINIMPM PCCERT_CONTEXT WINAPI CertCreateCertificateContext(DWORD dwCertEncodingType,const BYTE *pbCertEncoded,DWORD cbCertEncoded);
                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3107:62: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3107:87: error: expected primary-expression before 'const'
   WINIMPM PCCERT_CONTEXT WINAPI CertCreateCertificateContext(DWORD dwCertEncodingType,const BYTE *pbCertEncoded,DWORD cbCertEncoded);
                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3107:113: error: 'DWORD' was not declared in this scope
   WINIMPM PCCERT_CONTEXT WINAPI CertCreateCertificateContext(DWORD dwCertEncodingType,const BYTE *pbCertEncoded,DWORD cbCertEncoded);
                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3107:132: error: expression list treated as compound expression in initializer [-fpermissive]
   WINIMPM PCCERT_CONTEXT WINAPI CertCreateCertificateContext(DWORD dwCertEncodingType,const BYTE *pbCertEncoded,DWORD cbCertEncoded);
                                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3109:88: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertSetCertificateContextProperty(PCCERT_CONTEXT pCertContext,DWORD dwPropId,DWORD dwFlags,const void *pvData);
                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3109:103: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertSetCertificateContextProperty(PCCERT_CONTEXT pCertContext,DWORD dwPropId,DWORD dwFlags,const void *pvData);
                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3114:88: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertGetCertificateContextProperty(PCCERT_CONTEXT pCertContext,DWORD dwPropId,void *pvData,DWORD *pcbData);
                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3114:116: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertGetCertificateContextProperty(PCCERT_CONTEXT pCertContext,DWORD dwPropId,void *pvData,DWORD *pcbData);
                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3115:11: error: 'DWORD' does not name a type
   WINIMPM DWORD WINAPI CertEnumCertificateContextProperties(PCCERT_CONTEXT pCertContext,DWORD dwPropId);
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3116:105: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertCreateCTLEntryFromCertificateContextProperties(PCCERT_CONTEXT pCertContext,DWORD cOptAttr,PCRYPT_ATTRIBUTE rgOptAttr,DWORD dwFlags,void *pvReserved,PCTL_ENTRY pCtlEntry,DWORD *pcbCtlEntry);
                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3116:147: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertCreateCTLEntryFromCertificateContextProperties(PCCERT_CONTEXT pCertContext,DWORD cOptAttr,PCRYPT_ATTRIBUTE rgOptAttr,DWORD dwFlags,void *pvReserved,PCTL_ENTRY pCtlEntry,DWORD *pcbCtlEntry);
                                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3116:199: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertCreateCTLEntryFromCertificateContextProperties(PCCERT_CONTEXT pCertContext,DWORD cOptAttr,PCRYPT_ATTRIBUTE rgOptAttr,DWORD dwFlags,void *pvReserved,PCTL_ENTRY pCtlEntry,DWORD *pcbCtlEntry);
                                                                                                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3120:123: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertSetCertificateContextPropertiesFromCTLEntry(PCCERT_CONTEXT pCertContext,PCTL_ENTRY pCtlEntry,DWORD dwFlags);
                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3121:134: error: 'DWORD' has not been declared
   WINIMPM PCCRL_CONTEXT WINAPI CertGetCRLFromStore(HCERTSTORE hCertStore,PCCERT_CONTEXT pIssuerContext,PCCRL_CONTEXT pPrevCrlContext,DWORD *pdwFlags);
                                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3123:73: error: 'DWORD' has not been declared
   WINIMPM PCCRL_CONTEXT WINAPI CertFindCRLInStore(HCERTSTORE hCertStore,DWORD dwCertEncodingType,DWORD dwFindFlags,DWORD dwFindType,const void *pvFindPara,PCCRL_CONTEXT pPrevCrlContext);
                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3123:98: error: 'DWORD' has not been declared
   WINIMPM PCCRL_CONTEXT WINAPI CertFindCRLInStore(HCERTSTORE hCertStore,DWORD dwCertEncodingType,DWORD dwFindFlags,DWORD dwFindType,const void *pvFindPara,PCCRL_CONTEXT pPrevCrlContext);
                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3123:116: error: 'DWORD' has not been declared
   WINIMPM PCCRL_CONTEXT WINAPI CertFindCRLInStore(HCERTSTORE hCertStore,DWORD dwCertEncodingType,DWORD dwFindFlags,DWORD dwFindType,const void *pvFindPara,PCCRL_CONTEXT pPrevCrlContext);
                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3140:53: error: definition of 'const CRL_CONTEXT* CertCreateCRLContext' is marked 'dllimport'
   WINIMPM PCCRL_CONTEXT WINAPI CertCreateCRLContext(DWORD dwCertEncodingType,const BYTE *pbCrlEncoded,DWORD cbCrlEncoded);
                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3140:53: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3140:78: error: expected primary-expression before 'const'
   WINIMPM PCCRL_CONTEXT WINAPI CertCreateCRLContext(DWORD dwCertEncodingType,const BYTE *pbCrlEncoded,DWORD cbCrlEncoded);
                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3140:103: error: 'DWORD' was not declared in this scope
   WINIMPM PCCRL_CONTEXT WINAPI CertCreateCRLContext(DWORD dwCertEncodingType,const BYTE *pbCrlEncoded,DWORD cbCrlEncoded);
                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3140:121: error: expression list treated as compound expression in initializer [-fpermissive]
   WINIMPM PCCRL_CONTEXT WINAPI CertCreateCRLContext(DWORD dwCertEncodingType,const BYTE *pbCrlEncoded,DWORD cbCrlEncoded);
                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3142:78: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertSetCRLContextProperty(PCCRL_CONTEXT pCrlContext,DWORD dwPropId,DWORD dwFlags,const void *pvData);
                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3142:93: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertSetCRLContextProperty(PCCRL_CONTEXT pCrlContext,DWORD dwPropId,DWORD dwFlags,const void *pvData);
                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3143:78: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertGetCRLContextProperty(PCCRL_CONTEXT pCrlContext,DWORD dwPropId,void *pvData,DWORD *pcbData);
                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3143:106: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertGetCRLContextProperty(PCCRL_CONTEXT pCrlContext,DWORD dwPropId,void *pvData,DWORD *pcbData);
                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3144:11: error: 'DWORD' does not name a type
   WINIMPM DWORD WINAPI CertEnumCRLContextProperties(PCCRL_CONTEXT pCrlContext,DWORD dwPropId);
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3145:98: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertFindCertificateInCRL(PCCERT_CONTEXT pCert,PCCRL_CONTEXT pCrlContext,DWORD dwFlags,void *pvReserved,PCRL_ENTRY *ppCrlEntry);
                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3146:95: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertIsValidCRLForCertificate(PCCERT_CONTEXT pCert,PCCRL_CONTEXT pCrl,DWORD dwFlags,void *pvReserved);
                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3156:81: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertAddEncodedCertificateToStore(HCERTSTORE hCertStore,DWORD dwCertEncodingType,const BYTE *pbCertEncoded,DWORD cbCertEncoded,DWORD dwAddDisposition,PCCERT_CONTEXT *ppCertContext);
                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3156:132: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertAddEncodedCertificateToStore(HCERTSTORE hCertStore,DWORD dwCertEncodingType,const BYTE *pbCertEncoded,DWORD cbCertEncoded,DWORD dwAddDisposition,PCCERT_CONTEXT *ppCertContext);
                                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3156:152: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertAddEncodedCertificateToStore(HCERTSTORE hCertStore,DWORD dwCertEncodingType,const BYTE *pbCertEncoded,DWORD cbCertEncoded,DWORD dwAddDisposition,PCCERT_CONTEXT *ppCertContext);
                                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3157:109: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertAddCertificateContextToStore(HCERTSTORE hCertStore,PCCERT_CONTEXT pCertContext,DWORD dwAddDisposition,PCCERT_CONTEXT *ppStoreContext);
                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3167:102: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertAddSerializedElementToStore(HCERTSTORE hCertStore,const BYTE *pbElement,DWORD cbElement,DWORD dwAddDisposition,DWORD dwFlags,DWORD dwContextTypeFlags,DWORD *pdwContextType,const void **ppvContext);
                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3167:118: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertAddSerializedElementToStore(HCERTSTORE hCertStore,const BYTE *pbElement,DWORD cbElement,DWORD dwAddDisposition,DWORD dwFlags,DWORD dwContextTypeFlags,DWORD *pdwContextType,const void **ppvContext);
                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3167:141: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertAddSerializedElementToStore(HCERTSTORE hCertStore,const BYTE *pbElement,DWORD cbElement,DWORD dwAddDisposition,DWORD dwFlags,DWORD dwContextTypeFlags,DWORD *pdwContextType,const void **ppvContext);
                                                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3167:155: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertAddSerializedElementToStore(HCERTSTORE hCertStore,const BYTE *pbElement,DWORD cbElement,DWORD dwAddDisposition,DWORD dwFlags,DWORD dwContextTypeFlags,DWORD *pdwContextType,const void **ppvContext);
                                                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3167:180: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertAddSerializedElementToStore(HCERTSTORE hCertStore,const BYTE *pbElement,DWORD cbElement,DWORD dwAddDisposition,DWORD dwFlags,DWORD dwContextTypeFlags,DWORD *pdwContextType,const void **ppvContext);
                                                                                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3169:73: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertAddEncodedCRLToStore(HCERTSTORE hCertStore,DWORD dwCertEncodingType,const BYTE *pbCrlEncoded,DWORD cbCrlEncoded,DWORD dwAddDisposition,PCCRL_CONTEXT *ppCrlContext);
                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3169:123: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertAddEncodedCRLToStore(HCERTSTORE hCertStore,DWORD dwCertEncodingType,const BYTE *pbCrlEncoded,DWORD cbCrlEncoded,DWORD dwAddDisposition,PCCRL_CONTEXT *ppCrlContext);
                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3169:142: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertAddEncodedCRLToStore(HCERTSTORE hCertStore,DWORD dwCertEncodingType,const BYTE *pbCrlEncoded,DWORD cbCrlEncoded,DWORD dwAddDisposition,PCCRL_CONTEXT *ppCrlContext);
                                                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3170:99: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertAddCRLContextToStore(HCERTSTORE hCertStore,PCCRL_CONTEXT pCrlContext,DWORD dwAddDisposition,PCCRL_CONTEXT *ppStoreContext);
                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3172:91: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertSerializeCertificateStoreElement(PCCERT_CONTEXT pCertContext,DWORD dwFlags,BYTE *pbElement,DWORD *pcbElement);
                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3172:121: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertSerializeCertificateStoreElement(PCCERT_CONTEXT pCertContext,DWORD dwFlags,BYTE *pbElement,DWORD *pcbElement);
                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3173:81: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertSerializeCRLStoreElement(PCCRL_CONTEXT pCrlContext,DWORD dwFlags,BYTE *pbElement,DWORD *pcbElement);
                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3173:111: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertSerializeCRLStoreElement(PCCRL_CONTEXT pCrlContext,DWORD dwFlags,BYTE *pbElement,DWORD *pcbElement);
                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3175:53: error: definition of 'const CTL_CONTEXT* CertCreateCTLContext' is marked 'dllimport'
   WINIMPM PCCTL_CONTEXT WINAPI CertCreateCTLContext(DWORD dwMsgAndCertEncodingType,const BYTE *pbCtlEncoded,DWORD cbCtlEncoded);
                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3175:53: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3175:84: error: expected primary-expression before 'const'
   WINIMPM PCCTL_CONTEXT WINAPI CertCreateCTLContext(DWORD dwMsgAndCertEncodingType,const BYTE *pbCtlEncoded,DWORD cbCtlEncoded);
                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3175:109: error: 'DWORD' was not declared in this scope
   WINIMPM PCCTL_CONTEXT WINAPI CertCreateCTLContext(DWORD dwMsgAndCertEncodingType,const BYTE *pbCtlEncoded,DWORD cbCtlEncoded);
                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3175:127: error: expression list treated as compound expression in initializer [-fpermissive]
   WINIMPM PCCTL_CONTEXT WINAPI CertCreateCTLContext(DWORD dwMsgAndCertEncodingType,const BYTE *pbCtlEncoded,DWORD cbCtlEncoded);
                                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3177:78: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertSetCTLContextProperty(PCCTL_CONTEXT pCtlContext,DWORD dwPropId,DWORD dwFlags,const void *pvData);
                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3177:93: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertSetCTLContextProperty(PCCTL_CONTEXT pCtlContext,DWORD dwPropId,DWORD dwFlags,const void *pvData);
                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3178:78: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertGetCTLContextProperty(PCCTL_CONTEXT pCtlContext,DWORD dwPropId,void *pvData,DWORD *pcbData);
                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3178:106: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertGetCTLContextProperty(PCCTL_CONTEXT pCtlContext,DWORD dwPropId,void *pvData,DWORD *pcbData);
                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3179:11: error: 'DWORD' does not name a type
   WINIMPM DWORD WINAPI CertEnumCTLContextProperties(PCCTL_CONTEXT pCtlContext,DWORD dwPropId);
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3181:50: error: definition of '_CTL_ENTRY* CertFindSubjectInCTL' is marked 'dllimport'
   WINIMPM PCTL_ENTRY WINAPI CertFindSubjectInCTL(DWORD dwEncodingType,DWORD dwSubjectType,void *pvSubject,PCCTL_CONTEXT pCtlContext,DWORD dwFlags);
                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3181:50: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3181:71: error: 'DWORD' was not declared in this scope
   WINIMPM PCTL_ENTRY WINAPI CertFindSubjectInCTL(DWORD dwEncodingType,DWORD dwSubjectType,void *pvSubject,PCCTL_CONTEXT pCtlContext,DWORD dwFlags);
                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3181:91: error: expected primary-expression before 'void'
   WINIMPM PCTL_ENTRY WINAPI CertFindSubjectInCTL(DWORD dwEncodingType,DWORD dwSubjectType,void *pvSubject,PCCTL_CONTEXT pCtlContext,DWORD dwFlags);
                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3181:121: error: expected primary-expression before 'pCtlContext'
   WINIMPM PCTL_ENTRY WINAPI CertFindSubjectInCTL(DWORD dwEncodingType,DWORD dwSubjectType,void *pvSubject,PCCTL_CONTEXT pCtlContext,DWORD dwFlags);
                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3181:133: error: 'DWORD' was not declared in this scope
   WINIMPM PCTL_ENTRY WINAPI CertFindSubjectInCTL(DWORD dwEncodingType,DWORD dwSubjectType,void *pvSubject,PCCTL_CONTEXT pCtlContext,DWORD dwFlags);
                                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3181:146: error: expression list treated as compound expression in initializer [-fpermissive]
   WINIMPM PCTL_ENTRY WINAPI CertFindSubjectInCTL(DWORD dwEncodingType,DWORD dwSubjectType,void *pvSubject,PCCTL_CONTEXT pCtlContext,DWORD dwFlags);
                                                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3191:73: error: 'DWORD' has not been declared
   WINIMPM PCCTL_CONTEXT WINAPI CertFindCTLInStore(HCERTSTORE hCertStore,DWORD dwMsgAndCertEncodingType,DWORD dwFindFlags,DWORD dwFindType,const void *pvFindPara,PCCTL_CONTEXT pPrevCtlContext);
                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3191:104: error: 'DWORD' has not been declared
   WINIMPM PCCTL_CONTEXT WINAPI CertFindCTLInStore(HCERTSTORE hCertStore,DWORD dwMsgAndCertEncodingType,DWORD dwFindFlags,DWORD dwFindType,const void *pvFindPara,PCCTL_CONTEXT pPrevCtlContext);
                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3191:122: error: 'DWORD' has not been declared
   WINIMPM PCCTL_CONTEXT WINAPI CertFindCTLInStore(HCERTSTORE hCertStore,DWORD dwMsgAndCertEncodingType,DWORD dwFindFlags,DWORD dwFindType,const void *pvFindPara,PCCTL_CONTEXT pPrevCtlContext);
                                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3201:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3213:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3215:5: error: 'DWORD' does not name a type
     DWORD dwSubjectType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3219:73: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertAddEncodedCTLToStore(HCERTSTORE hCertStore,DWORD dwMsgAndCertEncodingType,const BYTE *pbCtlEncoded,DWORD cbCtlEncoded,DWORD dwAddDisposition,PCCTL_CONTEXT *ppCtlContext);
                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3219:129: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertAddEncodedCTLToStore(HCERTSTORE hCertStore,DWORD dwMsgAndCertEncodingType,const BYTE *pbCtlEncoded,DWORD cbCtlEncoded,DWORD dwAddDisposition,PCCTL_CONTEXT *ppCtlContext);
                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3219:148: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertAddEncodedCTLToStore(HCERTSTORE hCertStore,DWORD dwMsgAndCertEncodingType,const BYTE *pbCtlEncoded,DWORD cbCtlEncoded,DWORD dwAddDisposition,PCCTL_CONTEXT *ppCtlContext);
                                                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3220:99: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertAddCTLContextToStore(HCERTSTORE hCertStore,PCCTL_CONTEXT pCtlContext,DWORD dwAddDisposition,PCCTL_CONTEXT *ppStoreContext);
                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3221:81: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertSerializeCTLStoreElement(PCCTL_CONTEXT pCtlContext,DWORD dwFlags,BYTE *pbElement,DWORD *pcbElement);
                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3221:111: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertSerializeCTLStoreElement(PCCTL_CONTEXT pCtlContext,DWORD dwFlags,BYTE *pbElement,DWORD *pcbElement);
                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3223:106: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertAddCertificateLinkToStore(HCERTSTORE hCertStore,PCCERT_CONTEXT pCertContext,DWORD dwAddDisposition,PCCERT_CONTEXT *ppStoreContext);
                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3224:96: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertAddCRLLinkToStore(HCERTSTORE hCertStore,PCCRL_CONTEXT pCrlContext,DWORD dwAddDisposition,PCCRL_CONTEXT *ppStoreContext);
                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3225:96: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertAddCTLLinkToStore(HCERTSTORE hCertStore,PCCTL_CONTEXT pCtlContext,DWORD dwAddDisposition,PCCTL_CONTEXT *ppStoreContext);
                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3226:104: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertAddStoreToCollection(HCERTSTORE hCollectionStore,HCERTSTORE hSiblingStore,DWORD dwUpdateFlags,DWORD dwPriority);
                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3226:124: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertAddStoreToCollection(HCERTSTORE hCollectionStore,HCERTSTORE hSiblingStore,DWORD dwUpdateFlags,DWORD dwPriority);
                                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3228:65: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertControlStore(HCERTSTORE hCertStore,DWORD dwFlags,DWORD dwCtrlType,void const *pvCtrlPara);
                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3228:79: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertControlStore(HCERTSTORE hCertStore,DWORD dwFlags,DWORD dwCtrlType,void const *pvCtrlPara);
                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3240:69: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertSetStoreProperty(HCERTSTORE hCertStore,DWORD dwPropId,DWORD dwFlags,const void *pvData);
                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3240:84: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertSetStoreProperty(HCERTSTORE hCertStore,DWORD dwPropId,DWORD dwFlags,const void *pvData);
                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3241:69: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertGetStoreProperty(HCERTSTORE hCertStore,DWORD dwPropId,void *pvData,DWORD *pcbData);
                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3241:97: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertGetStoreProperty(HCERTSTORE hCertStore,DWORD dwPropId,void *pvData,DWORD *pcbData);
                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3244:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3249:48: error: definition of 'const void* CertCreateContext' is marked 'dllimport'
   WINIMPM const void *WINAPI CertCreateContext(DWORD dwContextType,DWORD dwEncodingType,const BYTE *pbEncoded,DWORD cbEncoded,DWORD dwFlags,PCERT_CREATE_CONTEXT_PARA pCreatePara);
                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3249:48: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3249:68: error: 'DWORD' was not declared in this scope
   WINIMPM const void *WINAPI CertCreateContext(DWORD dwContextType,DWORD dwEncodingType,const BYTE *pbEncoded,DWORD cbEncoded,DWORD dwFlags,PCERT_CREATE_CONTEXT_PARA pCreatePara);
                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3249:89: error: expected primary-expression before 'const'
   WINIMPM const void *WINAPI CertCreateContext(DWORD dwContextType,DWORD dwEncodingType,const BYTE *pbEncoded,DWORD cbEncoded,DWORD dwFlags,PCERT_CREATE_CONTEXT_PARA pCreatePara);
                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3249:111: error: 'DWORD' was not declared in this scope
   WINIMPM const void *WINAPI CertCreateContext(DWORD dwContextType,DWORD dwEncodingType,const BYTE *pbEncoded,DWORD cbEncoded,DWORD dwFlags,PCERT_CREATE_CONTEXT_PARA pCreatePara);
                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3249:127: error: 'DWORD' was not declared in this scope
   WINIMPM const void *WINAPI CertCreateContext(DWORD dwContextType,DWORD dwEncodingType,const BYTE *pbEncoded,DWORD cbEncoded,DWORD dwFlags,PCERT_CREATE_CONTEXT_PARA pCreatePara);
                                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3249:167: error: expected primary-expression before 'pCreatePara'
   WINIMPM const void *WINAPI CertCreateContext(DWORD dwContextType,DWORD dwEncodingType,const BYTE *pbEncoded,DWORD cbEncoded,DWORD dwFlags,PCERT_CREATE_CONTEXT_PARA pCreatePara);
                                                                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3249:178: error: expression list treated as compound expression in initializer [-fpermissive]
   WINIMPM const void *WINAPI CertCreateContext(DWORD dwContextType,DWORD dwEncodingType,const BYTE *pbEncoded,DWORD cbEncoded,DWORD dwFlags,PCERT_CREATE_CONTEXT_PARA pCreatePara);
                                                                                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3257:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3261:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3263:5: error: 'DWORD' does not name a type
     DWORD dwOpenEncodingType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3264:5: error: 'DWORD' does not name a type
     DWORD dwOpenFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3266:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3267:5: error: 'DWORD' does not name a type
     DWORD dwPriority;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3275:76: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertRegisterSystemStore(const void *pvSystemStore,DWORD dwFlags,PCERT_SYSTEM_STORE_INFO pStoreInfo,void *pvReserved);
                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3276:78: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertRegisterPhysicalStore(const void *pvSystemStore,DWORD dwFlags,LPCWSTR pwszStoreName,PCERT_PHYSICAL_STORE_INFO pStoreInfo,void *pvReserved);
                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3277:78: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertUnregisterSystemStore(const void *pvSystemStore,DWORD dwFlags);
                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3278:80: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertUnregisterPhysicalStore(const void *pvSystemStore,DWORD dwFlags,LPCWSTR pwszStoreName);
                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3280:91: error: 'DWORD' has not been declared
   typedef WINBOOL (WINAPI *PFN_CERT_ENUM_SYSTEM_STORE_LOCATION)(LPCWSTR pwszStoreLocation,DWORD dwFlags,void *pvReserved,void *pvArg);
                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3281:82: error: 'DWORD' has not been declared
   typedef WINBOOL (WINAPI *PFN_CERT_ENUM_SYSTEM_STORE)(const void *pvSystemStore,DWORD dwFlags,PCERT_SYSTEM_STORE_INFO pStoreInfo,void *pvReserved,void *pvArg);
                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3282:84: error: 'DWORD' has not been declared
   typedef WINBOOL (WINAPI *PFN_CERT_ENUM_PHYSICAL_STORE)(const void *pvSystemStore,DWORD dwFlags,LPCWSTR pwszStoreName,PCERT_PHYSICAL_STORE_INFO pStoreInfo,void *pvReserved,void *pvArg);
                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3293:54: error: definition of 'WINBOOL CertEnumSystemStoreLocation' is marked 'dllimport'
   WINIMPM WINBOOL WINAPI CertEnumSystemStoreLocation(DWORD dwFlags,void *pvArg,PFN_CERT_ENUM_SYSTEM_STORE_LOCATION pfnEnum);
                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3293:54: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3293:68: error: expected primary-expression before 'void'
   WINIMPM WINBOOL WINAPI CertEnumSystemStoreLocation(DWORD dwFlags,void *pvArg,PFN_CERT_ENUM_SYSTEM_STORE_LOCATION pfnEnum);
                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3293:116: error: expected primary-expression before 'pfnEnum'
   WINIMPM WINBOOL WINAPI CertEnumSystemStoreLocation(DWORD dwFlags,void *pvArg,PFN_CERT_ENUM_SYSTEM_STORE_LOCATION pfnEnum);
                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3293:123: error: expression list treated as compound expression in initializer [-fpermissive]
   WINIMPM WINBOOL WINAPI CertEnumSystemStoreLocation(DWORD dwFlags,void *pvArg,PFN_CERT_ENUM_SYSTEM_STORE_LOCATION pfnEnum);
                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3294:46: error: definition of 'WINBOOL CertEnumSystemStore' is marked 'dllimport'
   WINIMPM WINBOOL WINAPI CertEnumSystemStore(DWORD dwFlags,void *pvSystemStoreLocationPara,void *pvArg,PFN_CERT_ENUM_SYSTEM_STORE pfnEnum);
                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3294:46: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3294:60: error: expected primary-expression before 'void'
   WINIMPM WINBOOL WINAPI CertEnumSystemStore(DWORD dwFlags,void *pvSystemStoreLocationPara,void *pvArg,PFN_CERT_ENUM_SYSTEM_STORE pfnEnum);
                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3294:92: error: expected primary-expression before 'void'
   WINIMPM WINBOOL WINAPI CertEnumSystemStore(DWORD dwFlags,void *pvSystemStoreLocationPara,void *pvArg,PFN_CERT_ENUM_SYSTEM_STORE pfnEnum);
                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3294:131: error: expected primary-expression before 'pfnEnum'
   WINIMPM WINBOOL WINAPI CertEnumSystemStore(DWORD dwFlags,void *pvSystemStoreLocationPara,void *pvArg,PFN_CERT_ENUM_SYSTEM_STORE pfnEnum);
                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3294:138: error: expression list treated as compound expression in initializer [-fpermissive]
   WINIMPM WINBOOL WINAPI CertEnumSystemStore(DWORD dwFlags,void *pvSystemStoreLocationPara,void *pvArg,PFN_CERT_ENUM_SYSTEM_STORE pfnEnum);
                                                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3295:74: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertEnumPhysicalStore(const void *pvSystemStore,DWORD dwFlags,void *pvArg,PFN_CERT_ENUM_PHYSICAL_STORE pfnEnum);
                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3306:78: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertGetEnhancedKeyUsage(PCCERT_CONTEXT pCertContext,DWORD dwFlags,PCERT_ENHKEY_USAGE pUsage,DWORD *pcbUsage);
                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3306:118: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertGetEnhancedKeyUsage(PCCERT_CONTEXT pCertContext,DWORD dwFlags,PCERT_ENHKEY_USAGE pUsage,DWORD *pcbUsage);
                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3310:45: error: definition of 'WINBOOL CertGetValidUsages' is marked 'dllimport'
   WINIMPM WINBOOL WINAPI CertGetValidUsages(DWORD cCerts,PCCERT_CONTEXT *rghCerts,int *cNumOIDs,LPSTR *rghOIDs,DWORD *pcbOIDs);
                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3310:45: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3310:73: error: expected primary-expression before '*' token
   WINIMPM WINBOOL WINAPI CertGetValidUsages(DWORD cCerts,PCCERT_CONTEXT *rghCerts,int *cNumOIDs,LPSTR *rghOIDs,DWORD *pcbOIDs);
                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3310:74: error: 'rghCerts' was not declared in this scope
   WINIMPM WINBOOL WINAPI CertGetValidUsages(DWORD cCerts,PCCERT_CONTEXT *rghCerts,int *cNumOIDs,LPSTR *rghOIDs,DWORD *pcbOIDs);
                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3310:83: error: expected primary-expression before 'int'
   WINIMPM WINBOOL WINAPI CertGetValidUsages(DWORD cCerts,PCCERT_CONTEXT *rghCerts,int *cNumOIDs,LPSTR *rghOIDs,DWORD *pcbOIDs);
                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3310:103: error: expected primary-expression before '*' token
   WINIMPM WINBOOL WINAPI CertGetValidUsages(DWORD cCerts,PCCERT_CONTEXT *rghCerts,int *cNumOIDs,LPSTR *rghOIDs,DWORD *pcbOIDs);
                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3310:104: error: 'rghOIDs' was not declared in this scope
   WINIMPM WINBOOL WINAPI CertGetValidUsages(DWORD cCerts,PCCERT_CONTEXT *rghCerts,int *cNumOIDs,LPSTR *rghOIDs,DWORD *pcbOIDs);
                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3310:112: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CertGetValidUsages(DWORD cCerts,PCCERT_CONTEXT *rghCerts,int *cNumOIDs,LPSTR *rghOIDs,DWORD *pcbOIDs);
                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3310:119: error: 'pcbOIDs' was not declared in this scope
   WINIMPM WINBOOL WINAPI CertGetValidUsages(DWORD cCerts,PCCERT_CONTEXT *rghCerts,int *cNumOIDs,LPSTR *rghOIDs,DWORD *pcbOIDs);
                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3310:126: error: expression list treated as compound expression in initializer [-fpermissive]
   WINIMPM WINBOOL WINAPI CertGetValidUsages(DWORD cCerts,PCCERT_CONTEXT *rghCerts,int *cNumOIDs,LPSTR *rghOIDs,DWORD *pcbOIDs);
                                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3311:73: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptMsgGetAndVerifySigner(HCRYPTMSG hCryptMsg,DWORD cSignerStore,HCERTSTORE *rghSignerStore,DWORD dwFlags,PCCERT_CONTEXT *ppSigner,DWORD *pdwSignerIndex);
                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3311:119: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptMsgGetAndVerifySigner(HCRYPTMSG hCryptMsg,DWORD cSignerStore,HCERTSTORE *rghSignerStore,DWORD dwFlags,PCCERT_CONTEXT *ppSigner,DWORD *pdwSignerIndex);
                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3311:158: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptMsgGetAndVerifySigner(HCRYPTMSG hCryptMsg,DWORD cSignerStore,HCERTSTORE *rghSignerStore,DWORD dwFlags,PCCERT_CONTEXT *ppSigner,DWORD *pdwSignerIndex);
                                                                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3317:42: error: definition of 'WINBOOL CryptMsgSignCTL' is marked 'dllimport'
   WINIMPM WINBOOL WINAPI CryptMsgSignCTL(DWORD dwMsgEncodingType,BYTE *pbCtlContent,DWORD cbCtlContent,PCMSG_SIGNED_ENCODE_INFO pSignInfo,DWORD dwFlags,BYTE *pbEncoded,DWORD *pcbEncoded);
                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3317:42: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3317:71: error: expected primary-expression before '*' token
   WINIMPM WINBOOL WINAPI CryptMsgSignCTL(DWORD dwMsgEncodingType,BYTE *pbCtlContent,DWORD cbCtlContent,PCMSG_SIGNED_ENCODE_INFO pSignInfo,DWORD dwFlags,BYTE *pbEncoded,DWORD *pcbEncoded);
                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3317:72: error: 'pbCtlContent' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptMsgSignCTL(DWORD dwMsgEncodingType,BYTE *pbCtlContent,DWORD cbCtlContent,PCMSG_SIGNED_ENCODE_INFO pSignInfo,DWORD dwFlags,BYTE *pbEncoded,DWORD *pcbEncoded);
                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3317:85: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptMsgSignCTL(DWORD dwMsgEncodingType,BYTE *pbCtlContent,DWORD cbCtlContent,PCMSG_SIGNED_ENCODE_INFO pSignInfo,DWORD dwFlags,BYTE *pbEncoded,DWORD *pcbEncoded);
                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3317:129: error: expected primary-expression before 'pSignInfo'
   WINIMPM WINBOOL WINAPI CryptMsgSignCTL(DWORD dwMsgEncodingType,BYTE *pbCtlContent,DWORD cbCtlContent,PCMSG_SIGNED_ENCODE_INFO pSignInfo,DWORD dwFlags,BYTE *pbEncoded,DWORD *pcbEncoded);
                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3317:139: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptMsgSignCTL(DWORD dwMsgEncodingType,BYTE *pbCtlContent,DWORD cbCtlContent,PCMSG_SIGNED_ENCODE_INFO pSignInfo,DWORD dwFlags,BYTE *pbEncoded,DWORD *pcbEncoded);
                                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3317:158: error: expected primary-expression before '*' token
   WINIMPM WINBOOL WINAPI CryptMsgSignCTL(DWORD dwMsgEncodingType,BYTE *pbCtlContent,DWORD cbCtlContent,PCMSG_SIGNED_ENCODE_INFO pSignInfo,DWORD dwFlags,BYTE *pbEncoded,DWORD *pcbEncoded);
                                                                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3317:159: error: 'pbEncoded' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptMsgSignCTL(DWORD dwMsgEncodingType,BYTE *pbCtlContent,DWORD cbCtlContent,PCMSG_SIGNED_ENCODE_INFO pSignInfo,DWORD dwFlags,BYTE *pbEncoded,DWORD *pcbEncoded);
                                                                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3317:169: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptMsgSignCTL(DWORD dwMsgEncodingType,BYTE *pbCtlContent,DWORD cbCtlContent,PCMSG_SIGNED_ENCODE_INFO pSignInfo,DWORD dwFlags,BYTE *pbEncoded,DWORD *pcbEncoded);
                                                                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3317:176: error: 'pcbEncoded' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptMsgSignCTL(DWORD dwMsgEncodingType,BYTE *pbCtlContent,DWORD cbCtlContent,PCMSG_SIGNED_ENCODE_INFO pSignInfo,DWORD dwFlags,BYTE *pbEncoded,DWORD *pcbEncoded);
                                                                                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3317:186: error: expression list treated as compound expression in initializer [-fpermissive]
   WINIMPM WINBOOL WINAPI CryptMsgSignCTL(DWORD dwMsgEncodingType,BYTE *pbCtlContent,DWORD cbCtlContent,PCMSG_SIGNED_ENCODE_INFO pSignInfo,DWORD dwFlags,BYTE *pbEncoded,DWORD *pcbEncoded);
                                                                                                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3321:51: error: definition of 'WINBOOL CryptMsgEncodeAndSignCTL' is marked 'dllimport'
   WINIMPM WINBOOL WINAPI CryptMsgEncodeAndSignCTL(DWORD dwMsgEncodingType,PCTL_INFO pCtlInfo,PCMSG_SIGNED_ENCODE_INFO pSignInfo,DWORD dwFlags,BYTE *pbEncoded,DWORD *pcbEncoded);
                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3321:51: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3321:85: error: expected primary-expression before 'pCtlInfo'
   WINIMPM WINBOOL WINAPI CryptMsgEncodeAndSignCTL(DWORD dwMsgEncodingType,PCTL_INFO pCtlInfo,PCMSG_SIGNED_ENCODE_INFO pSignInfo,DWORD dwFlags,BYTE *pbEncoded,DWORD *pcbEncoded);
                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3321:119: error: expected primary-expression before 'pSignInfo'
   WINIMPM WINBOOL WINAPI CryptMsgEncodeAndSignCTL(DWORD dwMsgEncodingType,PCTL_INFO pCtlInfo,PCMSG_SIGNED_ENCODE_INFO pSignInfo,DWORD dwFlags,BYTE *pbEncoded,DWORD *pcbEncoded);
                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3321:129: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptMsgEncodeAndSignCTL(DWORD dwMsgEncodingType,PCTL_INFO pCtlInfo,PCMSG_SIGNED_ENCODE_INFO pSignInfo,DWORD dwFlags,BYTE *pbEncoded,DWORD *pcbEncoded);
                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3321:148: error: expected primary-expression before '*' token
   WINIMPM WINBOOL WINAPI CryptMsgEncodeAndSignCTL(DWORD dwMsgEncodingType,PCTL_INFO pCtlInfo,PCMSG_SIGNED_ENCODE_INFO pSignInfo,DWORD dwFlags,BYTE *pbEncoded,DWORD *pcbEncoded);
                                                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3321:149: error: 'pbEncoded' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptMsgEncodeAndSignCTL(DWORD dwMsgEncodingType,PCTL_INFO pCtlInfo,PCMSG_SIGNED_ENCODE_INFO pSignInfo,DWORD dwFlags,BYTE *pbEncoded,DWORD *pcbEncoded);
                                                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3321:159: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptMsgEncodeAndSignCTL(DWORD dwMsgEncodingType,PCTL_INFO pCtlInfo,PCMSG_SIGNED_ENCODE_INFO pSignInfo,DWORD dwFlags,BYTE *pbEncoded,DWORD *pcbEncoded);
                                                                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3321:166: error: 'pcbEncoded' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptMsgEncodeAndSignCTL(DWORD dwMsgEncodingType,PCTL_INFO pCtlInfo,PCMSG_SIGNED_ENCODE_INFO pSignInfo,DWORD dwFlags,BYTE *pbEncoded,DWORD *pcbEncoded);
                                                                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3321:176: error: expression list treated as compound expression in initializer [-fpermissive]
   WINIMPM WINBOOL WINAPI CryptMsgEncodeAndSignCTL(DWORD dwMsgEncodingType,PCTL_INFO pCtlInfo,PCMSG_SIGNED_ENCODE_INFO pSignInfo,DWORD dwFlags,BYTE *pbEncoded,DWORD *pcbEncoded);
                                                                                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3327:115: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertFindSubjectInSortedCTL(PCRYPT_DATA_BLOB pSubjectIdentifier,PCCTL_CONTEXT pCtlContext,DWORD dwFlags,void *pvReserved,PCRYPT_DER_BLOB pEncodedAttributes);
                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3331:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3333:5: error: 'DWORD' does not name a type
     DWORD cCtlStore;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3335:5: error: 'DWORD' does not name a type
     DWORD cSignerStore;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3340:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3341:5: error: 'DWORD' does not name a type
     DWORD dwError;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3342:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3344:5: error: 'DWORD' does not name a type
     DWORD dwCtlEntryIndex;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3346:5: error: 'DWORD' does not name a type
     DWORD dwSignerIndex;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3356:45: error: definition of 'WINBOOL CertVerifyCTLUsage' is marked 'dllimport'
   WINIMPM WINBOOL WINAPI CertVerifyCTLUsage(DWORD dwEncodingType,DWORD dwSubjectType,void *pvSubject,PCTL_USAGE pSubjectUsage,DWORD dwFlags,PCTL_VERIFY_USAGE_PARA pVerifyUsagePara,PCTL_VERIFY_USAGE_STATUS pVerifyUsageStatus);
                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3356:45: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3356:66: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CertVerifyCTLUsage(DWORD dwEncodingType,DWORD dwSubjectType,void *pvSubject,PCTL_USAGE pSubjectUsage,DWORD dwFlags,PCTL_VERIFY_USAGE_PARA pVerifyUsagePara,PCTL_VERIFY_USAGE_STATUS pVerifyUsageStatus);
                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3356:86: error: expected primary-expression before 'void'
   WINIMPM WINBOOL WINAPI CertVerifyCTLUsage(DWORD dwEncodingType,DWORD dwSubjectType,void *pvSubject,PCTL_USAGE pSubjectUsage,DWORD dwFlags,PCTL_VERIFY_USAGE_PARA pVerifyUsagePara,PCTL_VERIFY_USAGE_STATUS pVerifyUsageStatus);
                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3356:113: error: expected primary-expression before 'pSubjectUsage'
   WINIMPM WINBOOL WINAPI CertVerifyCTLUsage(DWORD dwEncodingType,DWORD dwSubjectType,void *pvSubject,PCTL_USAGE pSubjectUsage,DWORD dwFlags,PCTL_VERIFY_USAGE_PARA pVerifyUsagePara,PCTL_VERIFY_USAGE_STATUS pVerifyUsageStatus);
                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3356:127: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CertVerifyCTLUsage(DWORD dwEncodingType,DWORD dwSubjectType,void *pvSubject,PCTL_USAGE pSubjectUsage,DWORD dwFlags,PCTL_VERIFY_USAGE_PARA pVerifyUsagePara,PCTL_VERIFY_USAGE_STATUS pVerifyUsageStatus);
                                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3356:164: error: expected primary-expression before 'pVerifyUsagePara'
   WINIMPM WINBOOL WINAPI CertVerifyCTLUsage(DWORD dwEncodingType,DWORD dwSubjectType,void *pvSubject,PCTL_USAGE pSubjectUsage,DWORD dwFlags,PCTL_VERIFY_USAGE_PARA pVerifyUsagePara,PCTL_VERIFY_USAGE_STATUS pVerifyUsageStatus);
                                                                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3356:206: error: expected primary-expression before 'pVerifyUsageStatus'
   WINIMPM WINBOOL WINAPI CertVerifyCTLUsage(DWORD dwEncodingType,DWORD dwSubjectType,void *pvSubject,PCTL_USAGE pSubjectUsage,DWORD dwFlags,PCTL_VERIFY_USAGE_PARA pVerifyUsagePara,PCTL_VERIFY_USAGE_STATUS pVerifyUsageStatus);
                                                                                                                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3356:224: error: expression list treated as compound expression in initializer [-fpermissive]
   WINIMPM WINBOOL WINAPI CertVerifyCTLUsage(DWORD dwEncodingType,DWORD dwSubjectType,void *pvSubject,PCTL_USAGE pSubjectUsage,DWORD dwFlags,PCTL_VERIFY_USAGE_PARA pVerifyUsagePara,PCTL_VERIFY_USAGE_STATUS pVerifyUsageStatus);
                                                                                                                                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3359:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3367:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3369:5: error: 'DWORD' does not name a type
     DWORD cCertStore;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3383:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3384:5: error: 'DWORD' does not name a type
     DWORD dwIndex;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3385:5: error: 'DWORD' does not name a type
     DWORD dwError;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3386:5: error: 'DWORD' does not name a type
     DWORD dwReason;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3388:5: error: 'DWORD' does not name a type
     DWORD dwFreshnessTime;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3391:47: error: definition of 'WINBOOL CertVerifyRevocation' is marked 'dllimport'
   WINIMPM WINBOOL WINAPI CertVerifyRevocation(DWORD dwEncodingType,DWORD dwRevType,DWORD cContext,PVOID rgpvContext[],DWORD dwFlags,PCERT_REVOCATION_PARA pRevPara,PCERT_REVOCATION_STATUS pRevStatus);
                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3391:47: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3391:68: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CertVerifyRevocation(DWORD dwEncodingType,DWORD dwRevType,DWORD cContext,PVOID rgpvContext[],DWORD dwFlags,PCERT_REVOCATION_PARA pRevPara,PCERT_REVOCATION_STATUS pRevStatus);
                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3391:84: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CertVerifyRevocation(DWORD dwEncodingType,DWORD dwRevType,DWORD cContext,PVOID rgpvContext[],DWORD dwFlags,PCERT_REVOCATION_PARA pRevPara,PCERT_REVOCATION_STATUS pRevStatus);
                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3391:105: error: expected primary-expression before 'rgpvContext'
   WINIMPM WINBOOL WINAPI CertVerifyRevocation(DWORD dwEncodingType,DWORD dwRevType,DWORD cContext,PVOID rgpvContext[],DWORD dwFlags,PCERT_REVOCATION_PARA pRevPara,PCERT_REVOCATION_STATUS pRevStatus);
                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3391:119: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CertVerifyRevocation(DWORD dwEncodingType,DWORD dwRevType,DWORD cContext,PVOID rgpvContext[],DWORD dwFlags,PCERT_REVOCATION_PARA pRevPara,PCERT_REVOCATION_STATUS pRevStatus);
                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3391:155: error: expected primary-expression before 'pRevPara'
   WINIMPM WINBOOL WINAPI CertVerifyRevocation(DWORD dwEncodingType,DWORD dwRevType,DWORD cContext,PVOID rgpvContext[],DWORD dwFlags,PCERT_REVOCATION_PARA pRevPara,PCERT_REVOCATION_STATUS pRevStatus);
                                                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3391:188: error: expected primary-expression before 'pRevStatus'
   WINIMPM WINBOOL WINAPI CertVerifyRevocation(DWORD dwEncodingType,DWORD dwRevType,DWORD cContext,PVOID rgpvContext[],DWORD dwFlags,PCERT_REVOCATION_PARA pRevPara,PCERT_REVOCATION_STATUS pRevStatus);
                                                                                                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3391:198: error: expression list treated as compound expression in initializer [-fpermissive]
   WINIMPM WINBOOL WINAPI CertVerifyRevocation(DWORD dwEncodingType,DWORD dwRevType,DWORD cContext,PVOID rgpvContext[],DWORD dwFlags,PCERT_REVOCATION_PARA pRevPara,PCERT_REVOCATION_STATUS pRevStatus);
                                                                                                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3399:49: error: definition of 'WINBOOL CertCompareCertificate' is marked 'dllimport'
   WINIMPM WINBOOL WINAPI CertCompareCertificate(DWORD dwCertEncodingType,PCERT_INFO pCertId1,PCERT_INFO pCertId2);
                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3399:49: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3399:85: error: expected primary-expression before 'pCertId1'
   WINIMPM WINBOOL WINAPI CertCompareCertificate(DWORD dwCertEncodingType,PCERT_INFO pCertId1,PCERT_INFO pCertId2);
                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3399:105: error: expected primary-expression before 'pCertId2'
   WINIMPM WINBOOL WINAPI CertCompareCertificate(DWORD dwCertEncodingType,PCERT_INFO pCertId1,PCERT_INFO pCertId2);
                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3399:113: error: expression list treated as compound expression in initializer [-fpermissive]
   WINIMPM WINBOOL WINAPI CertCompareCertificate(DWORD dwCertEncodingType,PCERT_INFO pCertId1,PCERT_INFO pCertId2);
                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3400:53: error: definition of 'WINBOOL CertCompareCertificateName' is marked 'dllimport'
   WINIMPM WINBOOL WINAPI CertCompareCertificateName(DWORD dwCertEncodingType,PCERT_NAME_BLOB pCertName1,PCERT_NAME_BLOB pCertName2);
                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3400:53: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3400:94: error: expected primary-expression before 'pCertName1'
   WINIMPM WINBOOL WINAPI CertCompareCertificateName(DWORD dwCertEncodingType,PCERT_NAME_BLOB pCertName1,PCERT_NAME_BLOB pCertName2);
                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3400:121: error: expected primary-expression before 'pCertName2'
   WINIMPM WINBOOL WINAPI CertCompareCertificateName(DWORD dwCertEncodingType,PCERT_NAME_BLOB pCertName1,PCERT_NAME_BLOB pCertName2);
                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3400:131: error: expression list treated as compound expression in initializer [-fpermissive]
   WINIMPM WINBOOL WINAPI CertCompareCertificateName(DWORD dwCertEncodingType,PCERT_NAME_BLOB pCertName1,PCERT_NAME_BLOB pCertName2);
                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3401:58: error: definition of 'WINBOOL CertIsRDNAttrsInCertificateName' is marked 'dllimport'
   WINIMPM WINBOOL WINAPI CertIsRDNAttrsInCertificateName(DWORD dwCertEncodingType,DWORD dwFlags,PCERT_NAME_BLOB pCertName,PCERT_RDN pRDN);
                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3401:58: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3401:83: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CertIsRDNAttrsInCertificateName(DWORD dwCertEncodingType,DWORD dwFlags,PCERT_NAME_BLOB pCertName,PCERT_RDN pRDN);
                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3401:113: error: expected primary-expression before 'pCertName'
   WINIMPM WINBOOL WINAPI CertIsRDNAttrsInCertificateName(DWORD dwCertEncodingType,DWORD dwFlags,PCERT_NAME_BLOB pCertName,PCERT_RDN pRDN);
                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3401:133: error: expected primary-expression before 'pRDN'
   WINIMPM WINBOOL WINAPI CertIsRDNAttrsInCertificateName(DWORD dwCertEncodingType,DWORD dwFlags,PCERT_NAME_BLOB pCertName,PCERT_RDN pRDN);
                                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3401:137: error: expression list treated as compound expression in initializer [-fpermissive]
   WINIMPM WINBOOL WINAPI CertIsRDNAttrsInCertificateName(DWORD dwCertEncodingType,DWORD dwFlags,PCERT_NAME_BLOB pCertName,PCERT_RDN pRDN);
                                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3406:51: error: definition of 'WINBOOL CertComparePublicKeyInfo' is marked 'dllimport'
   WINIMPM WINBOOL WINAPI CertComparePublicKeyInfo(DWORD dwCertEncodingType,PCERT_PUBLIC_KEY_INFO pPublicKey1,PCERT_PUBLIC_KEY_INFO pPublicKey2);
                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3406:51: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3406:98: error: expected primary-expression before 'pPublicKey1'
   WINIMPM WINBOOL WINAPI CertComparePublicKeyInfo(DWORD dwCertEncodingType,PCERT_PUBLIC_KEY_INFO pPublicKey1,PCERT_PUBLIC_KEY_INFO pPublicKey2);
                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3406:132: error: expected primary-expression before 'pPublicKey2'
   WINIMPM WINBOOL WINAPI CertComparePublicKeyInfo(DWORD dwCertEncodingType,PCERT_PUBLIC_KEY_INFO pPublicKey1,PCERT_PUBLIC_KEY_INFO pPublicKey2);
                                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3406:143: error: expression list treated as compound expression in initializer [-fpermissive]
   WINIMPM WINBOOL WINAPI CertComparePublicKeyInfo(DWORD dwCertEncodingType,PCERT_PUBLIC_KEY_INFO pPublicKey1,PCERT_PUBLIC_KEY_INFO pPublicKey2);
                                                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3407:11: error: 'DWORD' does not name a type
   WINIMPM DWORD WINAPI CertGetPublicKeyLength(DWORD dwCertEncodingType,PCERT_PUBLIC_KEY_INFO pPublicKey);
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3408:80: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptVerifyCertificateSignature(HCRYPTPROV hCryptProv,DWORD dwCertEncodingType,const BYTE *pbEncoded,DWORD cbEncoded,PCERT_PUBLIC_KEY_INFO pPublicKey);
                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3408:127: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptVerifyCertificateSignature(HCRYPTPROV hCryptProv,DWORD dwCertEncodingType,const BYTE *pbEncoded,DWORD cbEncoded,PCERT_PUBLIC_KEY_INFO pPublicKey);
                                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3409:82: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptVerifyCertificateSignatureEx(HCRYPTPROV hCryptProv,DWORD dwCertEncodingType,DWORD dwSubjectType,void *pvSubject,DWORD dwIssuerType,void *pvIssuer,DWORD dwFlags,void *pvReserved);
                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3409:107: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptVerifyCertificateSignatureEx(HCRYPTPROV hCryptProv,DWORD dwCertEncodingType,DWORD dwSubjectType,void *pvSubject,DWORD dwIssuerType,void *pvIssuer,DWORD dwFlags,void *pvReserved);
                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3409:143: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptVerifyCertificateSignatureEx(HCRYPTPROV hCryptProv,DWORD dwCertEncodingType,DWORD dwSubjectType,void *pvSubject,DWORD dwIssuerType,void *pvIssuer,DWORD dwFlags,void *pvReserved);
                                                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3409:177: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptVerifyCertificateSignatureEx(HCRYPTPROV hCryptProv,DWORD dwCertEncodingType,DWORD dwSubjectType,void *pvSubject,DWORD dwIssuerType,void *pvIssuer,DWORD dwFlags,void *pvReserved);
                                                                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3419:68: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptHashToBeSigned(HCRYPTPROV hCryptProv,DWORD dwCertEncodingType,const BYTE *pbEncoded,DWORD cbEncoded,BYTE *pbComputedHash,DWORD *pcbComputedHash);
                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3419:115: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptHashToBeSigned(HCRYPTPROV hCryptProv,DWORD dwCertEncodingType,const BYTE *pbEncoded,DWORD cbEncoded,BYTE *pbComputedHash,DWORD *pcbComputedHash);
                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3419:152: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptHashToBeSigned(HCRYPTPROV hCryptProv,DWORD dwCertEncodingType,const BYTE *pbEncoded,DWORD cbEncoded,BYTE *pbComputedHash,DWORD *pcbComputedHash);
                                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3420:82: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptHashCertificate(HCRYPTPROV hCryptProv,ALG_ID Algid,DWORD dwFlags,const BYTE *pbEncoded,DWORD cbEncoded,BYTE *pbComputedHash,DWORD *pcbComputedHash);
                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3420:118: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptHashCertificate(HCRYPTPROV hCryptProv,ALG_ID Algid,DWORD dwFlags,const BYTE *pbEncoded,DWORD cbEncoded,BYTE *pbComputedHash,DWORD *pcbComputedHash);
                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3420:155: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptHashCertificate(HCRYPTPROV hCryptProv,ALG_ID Algid,DWORD dwFlags,const BYTE *pbEncoded,DWORD cbEncoded,BYTE *pbComputedHash,DWORD *pcbComputedHash);
                                                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3421:69: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptSignCertificate(HCRYPTPROV hCryptProv,DWORD dwKeySpec,DWORD dwCertEncodingType,const BYTE *pbEncodedToBeSigned,DWORD cbEncodedToBeSigned,PCRYPT_ALGORITHM_IDENTIFIER pSignatureAlgorithm,const void *pvHashAuxInfo,BYTE *pbSignature,DWORD *pcbSignature);
                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3421:85: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptSignCertificate(HCRYPTPROV hCryptProv,DWORD dwKeySpec,DWORD dwCertEncodingType,const BYTE *pbEncodedToBeSigned,DWORD cbEncodedToBeSigned,PCRYPT_ALGORITHM_IDENTIFIER pSignatureAlgorithm,const void *pvHashAuxInfo,BYTE *pbSignature,DWORD *pcbSignature);
                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3421:142: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptSignCertificate(HCRYPTPROV hCryptProv,DWORD dwKeySpec,DWORD dwCertEncodingType,const BYTE *pbEncodedToBeSigned,DWORD cbEncodedToBeSigned,PCRYPT_ALGORITHM_IDENTIFIER pSignatureAlgorithm,const void *pvHashAuxInfo,BYTE *pbSignature,DWORD *pcbSignature);
                                                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3421:260: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptSignCertificate(HCRYPTPROV hCryptProv,DWORD dwKeySpec,DWORD dwCertEncodingType,const BYTE *pbEncodedToBeSigned,DWORD cbEncodedToBeSigned,PCRYPT_ALGORITHM_IDENTIFIER pSignatureAlgorithm,const void *pvHashAuxInfo,BYTE *pbSignature,DWORD *pcbSignature);
                                                                                                                                                                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3422:78: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptSignAndEncodeCertificate(HCRYPTPROV hCryptProv,DWORD dwKeySpec,DWORD dwCertEncodingType,LPCSTR lpszStructType,const void *pvStructInfo,PCRYPT_ALGORITHM_IDENTIFIER pSignatureAlgorithm,const void *pvHashAuxInfo,PBYTE pbEncoded,DWORD *pcbEncoded);
                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3422:94: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptSignAndEncodeCertificate(HCRYPTPROV hCryptProv,DWORD dwKeySpec,DWORD dwCertEncodingType,LPCSTR lpszStructType,const void *pvStructInfo,PCRYPT_ALGORITHM_IDENTIFIER pSignatureAlgorithm,const void *pvHashAuxInfo,PBYTE pbEncoded,DWORD *pcbEncoded);
                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3422:256: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptSignAndEncodeCertificate(HCRYPTPROV hCryptProv,DWORD dwKeySpec,DWORD dwCertEncodingType,LPCSTR lpszStructType,const void *pvStructInfo,PCRYPT_ALGORITHM_IDENTIFIER pSignatureAlgorithm,const void *pvHashAuxInfo,PBYTE pbEncoded,DWORD *pcbEncoded);
                                                                                                                                                                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3423:11: error: 'LONG' does not name a type
   WINIMPM LONG WINAPI CertVerifyTimeValidity(LPFILETIME pTimeToVerify,PCERT_INFO pCertInfo);
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3424:11: error: 'LONG' does not name a type
   WINIMPM LONG WINAPI CertVerifyCRLTimeValidity(LPFILETIME pTimeToVerify,PCRL_INFO pCrlInfo);
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3426:50: error: definition of 'WINBOOL CertVerifyCRLRevocation' is marked 'dllimport'
   WINIMPM WINBOOL WINAPI CertVerifyCRLRevocation(DWORD dwCertEncodingType,PCERT_INFO pCertId,DWORD cCrlInfo,PCRL_INFO rgpCrlInfo[]);
                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3426:50: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3426:86: error: expected primary-expression before 'pCertId'
   WINIMPM WINBOOL WINAPI CertVerifyCRLRevocation(DWORD dwCertEncodingType,PCERT_INFO pCertId,DWORD cCrlInfo,PCRL_INFO rgpCrlInfo[]);
                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3426:94: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CertVerifyCRLRevocation(DWORD dwCertEncodingType,PCERT_INFO pCertId,DWORD cCrlInfo,PCRL_INFO rgpCrlInfo[]);
                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3426:119: error: expected primary-expression before 'rgpCrlInfo'
   WINIMPM WINBOOL WINAPI CertVerifyCRLRevocation(DWORD dwCertEncodingType,PCERT_INFO pCertId,DWORD cCrlInfo,PCRL_INFO rgpCrlInfo[]);
                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3426:131: error: expression list treated as compound expression in initializer [-fpermissive]
   WINIMPM WINBOOL WINAPI CertVerifyCRLRevocation(DWORD dwCertEncodingType,PCERT_INFO pCertId,DWORD cCrlInfo,PCRL_INFO rgpCrlInfo[]);
                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3427:40: error: definition of 'const CHAR* CertAlgIdToOID' is marked 'dllimport'
   WINIMPM LPCSTR WINAPI CertAlgIdToOID(DWORD dwAlgId);
                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3427:40: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3428:11: error: 'DWORD' does not name a type
   WINIMPM DWORD WINAPI CertOIDToAlgId(LPCSTR pszObjId);
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3429:68: error: 'DWORD' has not been declared
   WINIMPM PCERT_EXTENSION WINAPI CertFindExtension(LPCSTR pszObjId,DWORD cExtensions,CERT_EXTENSION rgExtensions[]);
                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3430:69: error: 'DWORD' has not been declared
   WINIMPM PCRYPT_ATTRIBUTE WINAPI CertFindAttribute(LPCSTR pszObjId,DWORD cAttr,CRYPT_ATTRIBUTE rgAttr[]);
                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3432:50: error: definition of 'WINBOOL CertGetIntendedKeyUsage' is marked 'dllimport'
   WINIMPM WINBOOL WINAPI CertGetIntendedKeyUsage(DWORD dwCertEncodingType,PCERT_INFO pCertInfo,BYTE *pbKeyUsage,DWORD cbKeyUsage);
                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3432:50: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3432:86: error: expected primary-expression before 'pCertInfo'
   WINIMPM WINBOOL WINAPI CertGetIntendedKeyUsage(DWORD dwCertEncodingType,PCERT_INFO pCertInfo,BYTE *pbKeyUsage,DWORD cbKeyUsage);
                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3432:101: error: expected primary-expression before '*' token
   WINIMPM WINBOOL WINAPI CertGetIntendedKeyUsage(DWORD dwCertEncodingType,PCERT_INFO pCertInfo,BYTE *pbKeyUsage,DWORD cbKeyUsage);
                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3432:102: error: 'pbKeyUsage' was not declared in this scope
   WINIMPM WINBOOL WINAPI CertGetIntendedKeyUsage(DWORD dwCertEncodingType,PCERT_INFO pCertInfo,BYTE *pbKeyUsage,DWORD cbKeyUsage);
                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3432:113: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CertGetIntendedKeyUsage(DWORD dwCertEncodingType,PCERT_INFO pCertInfo,BYTE *pbKeyUsage,DWORD cbKeyUsage);
                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3432:129: error: expression list treated as compound expression in initializer [-fpermissive]
   WINIMPM WINBOOL WINAPI CertGetIntendedKeyUsage(DWORD dwCertEncodingType,PCERT_INFO pCertInfo,BYTE *pbKeyUsage,DWORD cbKeyUsage);
                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3436:75: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptInstallDefaultContext(HCRYPTPROV hCryptProv,DWORD dwDefaultType,const void *pvDefaultPara,DWORD dwFlags,void *pvReserved,HCRYPTDEFAULTCONTEXT *phDefaultContext);
                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3436:121: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptInstallDefaultContext(HCRYPTPROV hCryptProv,DWORD dwDefaultType,const void *pvDefaultPara,DWORD dwFlags,void *pvReserved,HCRYPTDEFAULTCONTEXT *phDefaultContext);
                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3445:5: error: 'DWORD' does not name a type
     DWORD cOID;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3449:92: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptUninstallDefaultContext(HCRYPTDEFAULTCONTEXT hDefaultContext,DWORD dwFlags,void *pvReserved);
                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3450:73: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptExportPublicKeyInfo(HCRYPTPROV hCryptProv,DWORD dwKeySpec,DWORD dwCertEncodingType,PCERT_PUBLIC_KEY_INFO pInfo,DWORD *pcbInfo);
                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3450:89: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptExportPublicKeyInfo(HCRYPTPROV hCryptProv,DWORD dwKeySpec,DWORD dwCertEncodingType,PCERT_PUBLIC_KEY_INFO pInfo,DWORD *pcbInfo);
                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3450:142: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptExportPublicKeyInfo(HCRYPTPROV hCryptProv,DWORD dwKeySpec,DWORD dwCertEncodingType,PCERT_PUBLIC_KEY_INFO pInfo,DWORD *pcbInfo);
                                                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3454:75: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptExportPublicKeyInfoEx(HCRYPTPROV hCryptProv,DWORD dwKeySpec,DWORD dwCertEncodingType,LPSTR pszPublicKeyObjId,DWORD dwFlags,void *pvAuxInfo,PCERT_PUBLIC_KEY_INFO pInfo,DWORD *pcbInfo);
                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3454:91: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptExportPublicKeyInfoEx(HCRYPTPROV hCryptProv,DWORD dwKeySpec,DWORD dwCertEncodingType,LPSTR pszPublicKeyObjId,DWORD dwFlags,void *pvAuxInfo,PCERT_PUBLIC_KEY_INFO pInfo,DWORD *pcbInfo);
                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3454:140: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptExportPublicKeyInfoEx(HCRYPTPROV hCryptProv,DWORD dwKeySpec,DWORD dwCertEncodingType,LPSTR pszPublicKeyObjId,DWORD dwFlags,void *pvAuxInfo,PCERT_PUBLIC_KEY_INFO pInfo,DWORD *pcbInfo);
                                                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3454:198: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptExportPublicKeyInfoEx(HCRYPTPROV hCryptProv,DWORD dwKeySpec,DWORD dwCertEncodingType,LPSTR pszPublicKeyObjId,DWORD dwFlags,void *pvAuxInfo,PCERT_PUBLIC_KEY_INFO pInfo,DWORD *pcbInfo);
                                                                                                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3455:73: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptImportPublicKeyInfo(HCRYPTPROV hCryptProv,DWORD dwCertEncodingType,PCERT_PUBLIC_KEY_INFO pInfo,HCRYPTKEY *phKey);
                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3459:75: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptImportPublicKeyInfoEx(HCRYPTPROV hCryptProv,DWORD dwCertEncodingType,PCERT_PUBLIC_KEY_INFO pInfo,ALG_ID aiKeyAlg,DWORD dwFlags,void *pvAuxInfo,HCRYPTKEY *phKey);
                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3459:144: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptImportPublicKeyInfoEx(HCRYPTPROV hCryptProv,DWORD dwCertEncodingType,PCERT_PUBLIC_KEY_INFO pInfo,ALG_ID aiKeyAlg,DWORD dwFlags,void *pvAuxInfo,HCRYPTKEY *phKey);
                                                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3460:81: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptAcquireCertificatePrivateKey(PCCERT_CONTEXT pCert,DWORD dwFlags,void *pvReserved,HCRYPTPROV *phCryptProv,DWORD *pdwKeySpec,WINBOOL *pfCallerFreeProv);
                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3460:136: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptAcquireCertificatePrivateKey(PCCERT_CONTEXT pCert,DWORD dwFlags,void *pvReserved,HCRYPTPROV *phCryptProv,DWORD *pdwKeySpec,WINBOOL *pfCallerFreeProv);
                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3467:79: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptFindCertificateKeyProvInfo(PCCERT_CONTEXT pCert,DWORD dwFlags,void *pvReserved);
                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3473:116: error: 'DWORD' has not been declared
   typedef WINBOOL (WINAPI *PFN_IMPORT_PRIV_KEY_FUNC)(HCRYPTPROV hCryptProv,CRYPT_PRIVATE_KEY_INFO *pPrivateKeyInfo,DWORD dwFlags,void *pvAuxInfo);
                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3477:83: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptImportPKCS8(CRYPT_PKCS8_IMPORT_PARAMS sImportParams,DWORD dwFlags,HCRYPTPROV *phCryptProv,void *pvAuxInfo);
                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3479:76: error: 'DWORD' has not been declared
   typedef WINBOOL (WINAPI *PFN_EXPORT_PRIV_KEY_FUNC)(HCRYPTPROV hCryptProv,DWORD dwKeySpec,LPSTR pszPrivateKeyObjId,DWORD dwFlags,void *pvAuxInfo,CRYPT_PRIVATE_KEY_INFO *pPrivateKeyInfo,DWORD *pcbPrivateKeyBlob);
                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3479:117: error: 'DWORD' has not been declared
   typedef WINBOOL (WINAPI *PFN_EXPORT_PRIV_KEY_FUNC)(HCRYPTPROV hCryptProv,DWORD dwKeySpec,LPSTR pszPrivateKeyObjId,DWORD dwFlags,void *pvAuxInfo,CRYPT_PRIVATE_KEY_INFO *pPrivateKeyInfo,DWORD *pcbPrivateKeyBlob);
                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3479:187: error: 'DWORD' has not been declared
   typedef WINBOOL (WINAPI *PFN_EXPORT_PRIV_KEY_FUNC)(HCRYPTPROV hCryptProv,DWORD dwKeySpec,LPSTR pszPrivateKeyObjId,DWORD dwFlags,void *pvAuxInfo,CRYPT_PRIVATE_KEY_INFO *pPrivateKeyInfo,DWORD *pcbPrivateKeyBlob);
                                                                                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3487:65: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptExportPKCS8(HCRYPTPROV hCryptProv,DWORD dwKeySpec,LPSTR pszPrivateKeyObjId,DWORD dwFlags,void *pvAuxInfo,BYTE *pbPrivateKeyBlob,DWORD *pcbPrivateKeyBlob);
                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3487:106: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptExportPKCS8(HCRYPTPROV hCryptProv,DWORD dwKeySpec,LPSTR pszPrivateKeyObjId,DWORD dwFlags,void *pvAuxInfo,BYTE *pbPrivateKeyBlob,DWORD *pcbPrivateKeyBlob);
                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3487:159: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptExportPKCS8(HCRYPTPROV hCryptProv,DWORD dwKeySpec,LPSTR pszPrivateKeyObjId,DWORD dwFlags,void *pvAuxInfo,BYTE *pbPrivateKeyBlob,DWORD *pcbPrivateKeyBlob);
                                                                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3488:87: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptExportPKCS8Ex(CRYPT_PKCS8_EXPORT_PARAMS *psExportParams,DWORD dwFlags,void *pvAuxInfo,BYTE *pbPrivateKeyBlob,DWORD *pcbPrivateKeyBlob);
                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3488:140: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptExportPKCS8Ex(CRYPT_PKCS8_EXPORT_PARAMS *psExportParams,DWORD dwFlags,void *pvAuxInfo,BYTE *pbPrivateKeyBlob,DWORD *pcbPrivateKeyBlob);
                                                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3489:84: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptHashPublicKeyInfo(HCRYPTPROV hCryptProv,ALG_ID Algid,DWORD dwFlags,DWORD dwCertEncodingType,PCERT_PUBLIC_KEY_INFO pInfo,BYTE *pbComputedHash,DWORD *pcbComputedHash);
                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3489:98: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptHashPublicKeyInfo(HCRYPTPROV hCryptProv,ALG_ID Algid,DWORD dwFlags,DWORD dwCertEncodingType,PCERT_PUBLIC_KEY_INFO pInfo,BYTE *pbComputedHash,DWORD *pcbComputedHash);
                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3489:172: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptHashPublicKeyInfo(HCRYPTPROV hCryptProv,ALG_ID Algid,DWORD dwFlags,DWORD dwCertEncodingType,PCERT_PUBLIC_KEY_INFO pInfo,BYTE *pbComputedHash,DWORD *pcbComputedHash);
                                                                                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3490:11: error: 'DWORD' does not name a type
   WINIMPM DWORD WINAPI CertRDNValueToStrA(DWORD dwValueType,PCERT_RDN_VALUE_BLOB pValue,LPSTR psz,DWORD csz);
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3491:11: error: 'DWORD' does not name a type
   WINIMPM DWORD WINAPI CertRDNValueToStrW(DWORD dwValueType,PCERT_RDN_VALUE_BLOB pValue,LPWSTR psz,DWORD csz);
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3492:11: error: 'DWORD' does not name a type
   WINIMPM DWORD WINAPI CertNameToStrA(DWORD dwCertEncodingType,PCERT_NAME_BLOB pName,DWORD dwStrType,LPSTR psz,DWORD csz);
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3493:11: error: 'DWORD' does not name a type
   WINIMPM DWORD WINAPI CertNameToStrW(DWORD dwCertEncodingType,PCERT_NAME_BLOB pName,DWORD dwStrType,LPWSTR psz,DWORD csz);
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3514:41: error: definition of 'WINBOOL CertStrToNameA' is marked 'dllimport'
   WINIMPM WINBOOL WINAPI CertStrToNameA(DWORD dwCertEncodingType,LPCSTR pszX500,DWORD dwStrType,void *pvReserved,BYTE *pbEncoded,DWORD *pcbEncoded,LPCSTR *ppszError);
                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3514:41: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3514:73: error: expected primary-expression before 'pszX500'
   WINIMPM WINBOOL WINAPI CertStrToNameA(DWORD dwCertEncodingType,LPCSTR pszX500,DWORD dwStrType,void *pvReserved,BYTE *pbEncoded,DWORD *pcbEncoded,LPCSTR *ppszError);
                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3514:81: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CertStrToNameA(DWORD dwCertEncodingType,LPCSTR pszX500,DWORD dwStrType,void *pvReserved,BYTE *pbEncoded,DWORD *pcbEncoded,LPCSTR *ppszError);
                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3514:97: error: expected primary-expression before 'void'
   WINIMPM WINBOOL WINAPI CertStrToNameA(DWORD dwCertEncodingType,LPCSTR pszX500,DWORD dwStrType,void *pvReserved,BYTE *pbEncoded,DWORD *pcbEncoded,LPCSTR *ppszError);
                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3514:119: error: expected primary-expression before '*' token
   WINIMPM WINBOOL WINAPI CertStrToNameA(DWORD dwCertEncodingType,LPCSTR pszX500,DWORD dwStrType,void *pvReserved,BYTE *pbEncoded,DWORD *pcbEncoded,LPCSTR *ppszError);
                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3514:120: error: 'pbEncoded' was not declared in this scope
   WINIMPM WINBOOL WINAPI CertStrToNameA(DWORD dwCertEncodingType,LPCSTR pszX500,DWORD dwStrType,void *pvReserved,BYTE *pbEncoded,DWORD *pcbEncoded,LPCSTR *ppszError);
                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3514:130: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CertStrToNameA(DWORD dwCertEncodingType,LPCSTR pszX500,DWORD dwStrType,void *pvReserved,BYTE *pbEncoded,DWORD *pcbEncoded,LPCSTR *ppszError);
                                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3514:137: error: 'pcbEncoded' was not declared in this scope
   WINIMPM WINBOOL WINAPI CertStrToNameA(DWORD dwCertEncodingType,LPCSTR pszX500,DWORD dwStrType,void *pvReserved,BYTE *pbEncoded,DWORD *pcbEncoded,LPCSTR *ppszError);
                                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3514:155: error: expected primary-expression before '*' token
   WINIMPM WINBOOL WINAPI CertStrToNameA(DWORD dwCertEncodingType,LPCSTR pszX500,DWORD dwStrType,void *pvReserved,BYTE *pbEncoded,DWORD *pcbEncoded,LPCSTR *ppszError);
                                                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3514:156: error: 'ppszError' was not declared in this scope
   WINIMPM WINBOOL WINAPI CertStrToNameA(DWORD dwCertEncodingType,LPCSTR pszX500,DWORD dwStrType,void *pvReserved,BYTE *pbEncoded,DWORD *pcbEncoded,LPCSTR *ppszError);
                                                                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3514:165: error: expression list treated as compound expression in initializer [-fpermissive]
   WINIMPM WINBOOL WINAPI CertStrToNameA(DWORD dwCertEncodingType,LPCSTR pszX500,DWORD dwStrType,void *pvReserved,BYTE *pbEncoded,DWORD *pcbEncoded,LPCSTR *ppszError);
                                                                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3515:41: error: definition of 'WINBOOL CertStrToNameW' is marked 'dllimport'
   WINIMPM WINBOOL WINAPI CertStrToNameW(DWORD dwCertEncodingType,LPCWSTR pszX500,DWORD dwStrType,void *pvReserved,BYTE *pbEncoded,DWORD *pcbEncoded,LPCWSTR *ppszError);
                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3515:41: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3515:74: error: expected primary-expression before 'pszX500'
   WINIMPM WINBOOL WINAPI CertStrToNameW(DWORD dwCertEncodingType,LPCWSTR pszX500,DWORD dwStrType,void *pvReserved,BYTE *pbEncoded,DWORD *pcbEncoded,LPCWSTR *ppszError);
                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3515:82: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CertStrToNameW(DWORD dwCertEncodingType,LPCWSTR pszX500,DWORD dwStrType,void *pvReserved,BYTE *pbEncoded,DWORD *pcbEncoded,LPCWSTR *ppszError);
                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3515:98: error: expected primary-expression before 'void'
   WINIMPM WINBOOL WINAPI CertStrToNameW(DWORD dwCertEncodingType,LPCWSTR pszX500,DWORD dwStrType,void *pvReserved,BYTE *pbEncoded,DWORD *pcbEncoded,LPCWSTR *ppszError);
                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3515:120: error: expected primary-expression before '*' token
   WINIMPM WINBOOL WINAPI CertStrToNameW(DWORD dwCertEncodingType,LPCWSTR pszX500,DWORD dwStrType,void *pvReserved,BYTE *pbEncoded,DWORD *pcbEncoded,LPCWSTR *ppszError);
                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3515:121: error: 'pbEncoded' was not declared in this scope
   WINIMPM WINBOOL WINAPI CertStrToNameW(DWORD dwCertEncodingType,LPCWSTR pszX500,DWORD dwStrType,void *pvReserved,BYTE *pbEncoded,DWORD *pcbEncoded,LPCWSTR *ppszError);
                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3515:131: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CertStrToNameW(DWORD dwCertEncodingType,LPCWSTR pszX500,DWORD dwStrType,void *pvReserved,BYTE *pbEncoded,DWORD *pcbEncoded,LPCWSTR *ppszError);
                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3515:138: error: 'pcbEncoded' was not declared in this scope
   WINIMPM WINBOOL WINAPI CertStrToNameW(DWORD dwCertEncodingType,LPCWSTR pszX500,DWORD dwStrType,void *pvReserved,BYTE *pbEncoded,DWORD *pcbEncoded,LPCWSTR *ppszError);
                                                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3515:157: error: expected primary-expression before '*' token
   WINIMPM WINBOOL WINAPI CertStrToNameW(DWORD dwCertEncodingType,LPCWSTR pszX500,DWORD dwStrType,void *pvReserved,BYTE *pbEncoded,DWORD *pcbEncoded,LPCWSTR *ppszError);
                                                                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3515:158: error: 'ppszError' was not declared in this scope
   WINIMPM WINBOOL WINAPI CertStrToNameW(DWORD dwCertEncodingType,LPCWSTR pszX500,DWORD dwStrType,void *pvReserved,BYTE *pbEncoded,DWORD *pcbEncoded,LPCWSTR *ppszError);
                                                                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3515:167: error: expression list treated as compound expression in initializer [-fpermissive]
   WINIMPM WINBOOL WINAPI CertStrToNameW(DWORD dwCertEncodingType,LPCWSTR pszX500,DWORD dwStrType,void *pvReserved,BYTE *pbEncoded,DWORD *pcbEncoded,LPCWSTR *ppszError);
                                                                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3516:11: error: 'DWORD' does not name a type
   WINIMPM DWORD WINAPI CertGetNameStringA(PCCERT_CONTEXT pCertContext,DWORD dwType,DWORD dwFlags,void *pvTypePara,LPSTR pszNameString,DWORD cchNameString);
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3517:11: error: 'DWORD' does not name a type
   WINIMPM DWORD WINAPI CertGetNameStringW(PCCERT_CONTEXT pCertContext,DWORD dwType,DWORD dwFlags,void *pvTypePara,LPWSTR pszNameString,DWORD cchNameString);
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3531:84: error: 'DWORD' has not been declared
   typedef PCCERT_CONTEXT (WINAPI *PFN_CRYPT_GET_SIGNER_CERTIFICATE)(void *pvGetArg,DWORD dwCertEncodingType,PCERT_INFO pSignerId,HCERTSTORE hMsgCertStore);
                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3534:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3535:5: error: 'DWORD' does not name a type
     DWORD dwMsgEncodingType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3539:5: error: 'DWORD' does not name a type
     DWORD cMsgCert;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3541:5: error: 'DWORD' does not name a type
     DWORD cMsgCrl;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3543:5: error: 'DWORD' does not name a type
     DWORD cAuthAttr;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3545:5: error: 'DWORD' does not name a type
     DWORD cUnauthAttr;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3547:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3548:5: error: 'DWORD' does not name a type
     DWORD dwInnerContentType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3561:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3562:5: error: 'DWORD' does not name a type
     DWORD dwMsgAndCertEncodingType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3569:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3570:5: error: 'DWORD' does not name a type
     DWORD dwMsgEncodingType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3574:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3575:5: error: 'DWORD' does not name a type
     DWORD dwInnerContentType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3581:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3582:5: error: 'DWORD' does not name a type
     DWORD dwMsgAndCertEncodingType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3583:5: error: 'DWORD' does not name a type
     DWORD cCertStore;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3594:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3595:5: error: 'DWORD' does not name a type
     DWORD dwMsgEncodingType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3602:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3603:5: error: 'DWORD' does not name a type
     DWORD dwMsgAndCertEncodingType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3605:5: error: 'DWORD' does not name a type
     DWORD dwKeySpec;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3612:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3613:5: error: 'DWORD' does not name a type
     DWORD dwMsgEncodingType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3620:105: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptSignMessage(PCRYPT_SIGN_MESSAGE_PARA pSignPara,WINBOOL fDetachedSignature,DWORD cToBeSigned,const BYTE *rgpbToBeSigned[],DWORD rgcbToBeSigned[],BYTE *pbSignedBlob,DWORD *pcbSignedBlob);
                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3620:152: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptSignMessage(PCRYPT_SIGN_MESSAGE_PARA pSignPara,WINBOOL fDetachedSignature,DWORD cToBeSigned,const BYTE *rgpbToBeSigned[],DWORD rgcbToBeSigned[],BYTE *pbSignedBlob,DWORD *pcbSignedBlob);
                                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3620:194: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptSignMessage(PCRYPT_SIGN_MESSAGE_PARA pSignPara,WINBOOL fDetachedSignature,DWORD cToBeSigned,const BYTE *rgpbToBeSigned[],DWORD rgcbToBeSigned[],BYTE *pbSignedBlob,DWORD *pcbSignedBlob);
                                                                                                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3621:93: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptVerifyMessageSignature(PCRYPT_VERIFY_MESSAGE_PARA pVerifyPara,DWORD dwSignerIndex,const BYTE *pbSignedBlob,DWORD cbSignedBlob,BYTE *pbDecoded,DWORD *pcbDecoded,PCCERT_CONTEXT *ppSignerCert);
                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3621:138: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptVerifyMessageSignature(PCRYPT_VERIFY_MESSAGE_PARA pVerifyPara,DWORD dwSignerIndex,const BYTE *pbSignedBlob,DWORD cbSignedBlob,BYTE *pbDecoded,DWORD *pcbDecoded,PCCERT_CONTEXT *ppSignerCert);
                                                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3621:173: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptVerifyMessageSignature(PCRYPT_VERIFY_MESSAGE_PARA pVerifyPara,DWORD dwSignerIndex,const BYTE *pbSignedBlob,DWORD cbSignedBlob,BYTE *pbDecoded,DWORD *pcbDecoded,PCCERT_CONTEXT *ppSignerCert);
                                                                                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3622:11: error: 'LONG' does not name a type
   WINIMPM LONG WINAPI CryptGetMessageSignerCount(DWORD dwMsgEncodingType,const BYTE *pbSignedBlob,DWORD cbSignedBlob);
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3623:57: error: definition of 'void* CryptGetMessageCertificates' is marked 'dllimport'
   WINIMPM HCERTSTORE WINAPI CryptGetMessageCertificates(DWORD dwMsgAndCertEncodingType,HCRYPTPROV hCryptProv,DWORD dwFlags,const BYTE *pbSignedBlob,DWORD cbSignedBlob);
                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3623:57: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3623:99: error: expected primary-expression before 'hCryptProv'
   WINIMPM HCERTSTORE WINAPI CryptGetMessageCertificates(DWORD dwMsgAndCertEncodingType,HCRYPTPROV hCryptProv,DWORD dwFlags,const BYTE *pbSignedBlob,DWORD cbSignedBlob);
                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3623:110: error: 'DWORD' was not declared in this scope
   WINIMPM HCERTSTORE WINAPI CryptGetMessageCertificates(DWORD dwMsgAndCertEncodingType,HCRYPTPROV hCryptProv,DWORD dwFlags,const BYTE *pbSignedBlob,DWORD cbSignedBlob);
                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3623:124: error: expected primary-expression before 'const'
   WINIMPM HCERTSTORE WINAPI CryptGetMessageCertificates(DWORD dwMsgAndCertEncodingType,HCRYPTPROV hCryptProv,DWORD dwFlags,const BYTE *pbSignedBlob,DWORD cbSignedBlob);
                                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3623:149: error: 'DWORD' was not declared in this scope
   WINIMPM HCERTSTORE WINAPI CryptGetMessageCertificates(DWORD dwMsgAndCertEncodingType,HCRYPTPROV hCryptProv,DWORD dwFlags,const BYTE *pbSignedBlob,DWORD cbSignedBlob);
                                                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3623:167: error: expression list treated as compound expression in initializer [-fpermissive]
   WINIMPM HCERTSTORE WINAPI CryptGetMessageCertificates(DWORD dwMsgAndCertEncodingType,HCRYPTPROV hCryptProv,DWORD dwFlags,const BYTE *pbSignedBlob,DWORD cbSignedBlob);
                                                                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3624:101: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptVerifyDetachedMessageSignature(PCRYPT_VERIFY_MESSAGE_PARA pVerifyPara,DWORD dwSignerIndex,const BYTE *pbDetachedSignBlob,DWORD cbDetachedSignBlob,DWORD cToBeSigned,const BYTE *rgpbToBeSigned[],DWORD rgcbToBeSigned[],PCCERT_CONTEXT *ppSignerCert);
                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3624:152: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptVerifyDetachedMessageSignature(PCRYPT_VERIFY_MESSAGE_PARA pVerifyPara,DWORD dwSignerIndex,const BYTE *pbDetachedSignBlob,DWORD cbDetachedSignBlob,DWORD cToBeSigned,const BYTE *rgpbToBeSigned[],DWORD rgcbToBeSigned[],PCCERT_CONTEXT *ppSignerCert);
                                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3624:177: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptVerifyDetachedMessageSignature(PCRYPT_VERIFY_MESSAGE_PARA pVerifyPara,DWORD dwSignerIndex,const BYTE *pbDetachedSignBlob,DWORD cbDetachedSignBlob,DWORD cToBeSigned,const BYTE *rgpbToBeSigned[],DWORD rgcbToBeSigned[],PCCERT_CONTEXT *ppSignerCert);
                                                                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3624:224: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptVerifyDetachedMessageSignature(PCRYPT_VERIFY_MESSAGE_PARA pVerifyPara,DWORD dwSignerIndex,const BYTE *pbDetachedSignBlob,DWORD cbDetachedSignBlob,DWORD cToBeSigned,const BYTE *rgpbToBeSigned[],DWORD rgcbToBeSigned[],PCCERT_CONTEXT *ppSignerCert);
                                                                                                                                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3625:87: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptEncryptMessage(PCRYPT_ENCRYPT_MESSAGE_PARA pEncryptPara,DWORD cRecipientCert,PCCERT_CONTEXT rgpRecipientCert[],const BYTE *pbToBeEncrypted,DWORD cbToBeEncrypted,BYTE *pbEncryptedBlob,DWORD *pcbEncryptedBlob);
                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3625:170: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptEncryptMessage(PCRYPT_ENCRYPT_MESSAGE_PARA pEncryptPara,DWORD cRecipientCert,PCCERT_CONTEXT rgpRecipientCert[],const BYTE *pbToBeEncrypted,DWORD cbToBeEncrypted,BYTE *pbEncryptedBlob,DWORD *pcbEncryptedBlob);
                                                                                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3625:214: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptEncryptMessage(PCRYPT_ENCRYPT_MESSAGE_PARA pEncryptPara,DWORD cRecipientCert,PCCERT_CONTEXT rgpRecipientCert[],const BYTE *pbToBeEncrypted,DWORD cbToBeEncrypted,BYTE *pbEncryptedBlob,DWORD *pcbEncryptedBlob);
                                                                                                                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3626:115: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptDecryptMessage(PCRYPT_DECRYPT_MESSAGE_PARA pDecryptPara,const BYTE *pbEncryptedBlob,DWORD cbEncryptedBlob,BYTE *pbDecrypted,DWORD *pcbDecrypted,PCCERT_CONTEXT *ppXchgCert);
                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3626:155: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptDecryptMessage(PCRYPT_DECRYPT_MESSAGE_PARA pDecryptPara,const BYTE *pbEncryptedBlob,DWORD cbEncryptedBlob,BYTE *pbDecrypted,DWORD *pcbDecrypted,PCCERT_CONTEXT *ppXchgCert);
                                                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3627:129: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptSignAndEncryptMessage(PCRYPT_SIGN_MESSAGE_PARA pSignPara,PCRYPT_ENCRYPT_MESSAGE_PARA pEncryptPara,DWORD cRecipientCert,PCCERT_CONTEXT rgpRecipientCert[],const BYTE *pbToBeSignedAndEncrypted,DWORD cbToBeSignedAndEncrypted,BYTE *pbSignedAndEncryptedBlob,DWORD *pcbSignedAndEncryptedBlob);
                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3627:221: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptSignAndEncryptMessage(PCRYPT_SIGN_MESSAGE_PARA pSignPara,PCRYPT_ENCRYPT_MESSAGE_PARA pEncryptPara,DWORD cRecipientCert,PCCERT_CONTEXT rgpRecipientCert[],const BYTE *pbToBeSignedAndEncrypted,DWORD cbToBeSignedAndEncrypted,BYTE *pbSignedAndEncryptedBlob,DWORD *pcbSignedAndEncryptedBlob);
                                                                                                                                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3627:283: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptSignAndEncryptMessage(PCRYPT_SIGN_MESSAGE_PARA pSignPara,PCRYPT_ENCRYPT_MESSAGE_PARA pEncryptPara,DWORD cRecipientCert,PCCERT_CONTEXT rgpRecipientCert[],const BYTE *pbToBeSignedAndEncrypted,DWORD cbToBeSignedAndEncrypted,BYTE *pbSignedAndEncryptedBlob,DWORD *pcbSignedAndEncryptedBlob);
                                                                                                                                                                                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3628:144: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptDecryptAndVerifyMessageSignature(PCRYPT_DECRYPT_MESSAGE_PARA pDecryptPara,PCRYPT_VERIFY_MESSAGE_PARA pVerifyPara,DWORD dwSignerIndex,const BYTE *pbEncryptedBlob,DWORD cbEncryptedBlob,BYTE *pbDecrypted,DWORD *pcbDecrypted,PCCERT_CONTEXT *ppXchgCert,PCCERT_CONTEXT *ppSignerCert);
                                                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3628:192: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptDecryptAndVerifyMessageSignature(PCRYPT_DECRYPT_MESSAGE_PARA pDecryptPara,PCRYPT_VERIFY_MESSAGE_PARA pVerifyPara,DWORD dwSignerIndex,const BYTE *pbEncryptedBlob,DWORD cbEncryptedBlob,BYTE *pbDecrypted,DWORD *pcbDecrypted,PCCERT_CONTEXT *ppXchgCert,PCCERT_CONTEXT *ppSignerCert);
                                                                                                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3628:232: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptDecryptAndVerifyMessageSignature(PCRYPT_DECRYPT_MESSAGE_PARA pDecryptPara,PCRYPT_VERIFY_MESSAGE_PARA pVerifyPara,DWORD dwSignerIndex,const BYTE *pbEncryptedBlob,DWORD cbEncryptedBlob,BYTE *pbDecrypted,DWORD *pcbDecrypted,PCCERT_CONTEXT *ppXchgCert,PCCERT_CONTEXT *ppSignerCert);
                                                                                                                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3629:45: error: definition of 'WINBOOL CryptDecodeMessage' is marked 'dllimport'
   WINIMPM WINBOOL WINAPI CryptDecodeMessage(DWORD dwMsgTypeFlags,PCRYPT_DECRYPT_MESSAGE_PARA pDecryptPara,PCRYPT_VERIFY_MESSAGE_PARA pVerifyPara,DWORD dwSignerIndex,const BYTE *pbEncodedBlob,DWORD cbEncodedBlob,DWORD dwPrevInnerContentType,DWORD *pdwMsgType,DWORD *pdwInnerContentType,BYTE *pbDecoded,DWORD *pcbDecoded,PCCERT_CONTEXT *ppXchgCert,PCCERT_CONTEXT *ppSignerCert);
                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3629:45: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3629:94: error: expected primary-expression before 'pDecryptPara'
   WINIMPM WINBOOL WINAPI CryptDecodeMessage(DWORD dwMsgTypeFlags,PCRYPT_DECRYPT_MESSAGE_PARA pDecryptPara,PCRYPT_VERIFY_MESSAGE_PARA pVerifyPara,DWORD dwSignerIndex,const BYTE *pbEncodedBlob,DWORD cbEncodedBlob,DWORD dwPrevInnerContentType,DWORD *pdwMsgType,DWORD *pdwInnerContentType,BYTE *pbDecoded,DWORD *pcbDecoded,PCCERT_CONTEXT *ppXchgCert,PCCERT_CONTEXT *ppSignerCert);
                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3629:134: error: expected primary-expression before 'pVerifyPara'
   WINIMPM WINBOOL WINAPI CryptDecodeMessage(DWORD dwMsgTypeFlags,PCRYPT_DECRYPT_MESSAGE_PARA pDecryptPara,PCRYPT_VERIFY_MESSAGE_PARA pVerifyPara,DWORD dwSignerIndex,const BYTE *pbEncodedBlob,DWORD cbEncodedBlob,DWORD dwPrevInnerContentType,DWORD *pdwMsgType,DWORD *pdwInnerContentType,BYTE *pbDecoded,DWORD *pcbDecoded,PCCERT_CONTEXT *ppXchgCert,PCCERT_CONTEXT *ppSignerCert);
                                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3629:146: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptDecodeMessage(DWORD dwMsgTypeFlags,PCRYPT_DECRYPT_MESSAGE_PARA pDecryptPara,PCRYPT_VERIFY_MESSAGE_PARA pVerifyPara,DWORD dwSignerIndex,const BYTE *pbEncodedBlob,DWORD cbEncodedBlob,DWORD dwPrevInnerContentType,DWORD *pdwMsgType,DWORD *pdwInnerContentType,BYTE *pbDecoded,DWORD *pcbDecoded,PCCERT_CONTEXT *ppXchgCert,PCCERT_CONTEXT *ppSignerCert);
                                                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3629:166: error: expected primary-expression before 'const'
   WINIMPM WINBOOL WINAPI CryptDecodeMessage(DWORD dwMsgTypeFlags,PCRYPT_DECRYPT_MESSAGE_PARA pDecryptPara,PCRYPT_VERIFY_MESSAGE_PARA pVerifyPara,DWORD dwSignerIndex,const BYTE *pbEncodedBlob,DWORD cbEncodedBlob,DWORD dwPrevInnerContentType,DWORD *pdwMsgType,DWORD *pdwInnerContentType,BYTE *pbDecoded,DWORD *pcbDecoded,PCCERT_CONTEXT *ppXchgCert,PCCERT_CONTEXT *ppSignerCert);
                                                                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3629:192: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptDecodeMessage(DWORD dwMsgTypeFlags,PCRYPT_DECRYPT_MESSAGE_PARA pDecryptPara,PCRYPT_VERIFY_MESSAGE_PARA pVerifyPara,DWORD dwSignerIndex,const BYTE *pbEncodedBlob,DWORD cbEncodedBlob,DWORD dwPrevInnerContentType,DWORD *pdwMsgType,DWORD *pdwInnerContentType,BYTE *pbDecoded,DWORD *pcbDecoded,PCCERT_CONTEXT *ppXchgCert,PCCERT_CONTEXT *ppSignerCert);
                                                                                                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3629:212: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptDecodeMessage(DWORD dwMsgTypeFlags,PCRYPT_DECRYPT_MESSAGE_PARA pDecryptPara,PCRYPT_VERIFY_MESSAGE_PARA pVerifyPara,DWORD dwSignerIndex,const BYTE *pbEncodedBlob,DWORD cbEncodedBlob,DWORD dwPrevInnerContentType,DWORD *pdwMsgType,DWORD *pdwInnerContentType,BYTE *pbDecoded,DWORD *pcbDecoded,PCCERT_CONTEXT *ppXchgCert,PCCERT_CONTEXT *ppSignerCert);
                                                                                                                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3629:241: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptDecodeMessage(DWORD dwMsgTypeFlags,PCRYPT_DECRYPT_MESSAGE_PARA pDecryptPara,PCRYPT_VERIFY_MESSAGE_PARA pVerifyPara,DWORD dwSignerIndex,const BYTE *pbEncodedBlob,DWORD cbEncodedBlob,DWORD dwPrevInnerContentType,DWORD *pdwMsgType,DWORD *pdwInnerContentType,BYTE *pbDecoded,DWORD *pcbDecoded,PCCERT_CONTEXT *ppXchgCert,PCCERT_CONTEXT *ppSignerCert);
                                                                                                                                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3629:248: error: 'pdwMsgType' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptDecodeMessage(DWORD dwMsgTypeFlags,PCRYPT_DECRYPT_MESSAGE_PARA pDecryptPara,PCRYPT_VERIFY_MESSAGE_PARA pVerifyPara,DWORD dwSignerIndex,const BYTE *pbEncodedBlob,DWORD cbEncodedBlob,DWORD dwPrevInnerContentType,DWORD *pdwMsgType,DWORD *pdwInnerContentType,BYTE *pbDecoded,DWORD *pcbDecoded,PCCERT_CONTEXT *ppXchgCert,PCCERT_CONTEXT *ppSignerCert);
                                                                                                                                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3629:259: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptDecodeMessage(DWORD dwMsgTypeFlags,PCRYPT_DECRYPT_MESSAGE_PARA pDecryptPara,PCRYPT_VERIFY_MESSAGE_PARA pVerifyPara,DWORD dwSignerIndex,const BYTE *pbEncodedBlob,DWORD cbEncodedBlob,DWORD dwPrevInnerContentType,DWORD *pdwMsgType,DWORD *pdwInnerContentType,BYTE *pbDecoded,DWORD *pcbDecoded,PCCERT_CONTEXT *ppXchgCert,PCCERT_CONTEXT *ppSignerCert);
                                                                                                                                                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3629:266: error: 'pdwInnerContentType' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptDecodeMessage(DWORD dwMsgTypeFlags,PCRYPT_DECRYPT_MESSAGE_PARA pDecryptPara,PCRYPT_VERIFY_MESSAGE_PARA pVerifyPara,DWORD dwSignerIndex,const BYTE *pbEncodedBlob,DWORD cbEncodedBlob,DWORD dwPrevInnerContentType,DWORD *pdwMsgType,DWORD *pdwInnerContentType,BYTE *pbDecoded,DWORD *pcbDecoded,PCCERT_CONTEXT *ppXchgCert,PCCERT_CONTEXT *ppSignerCert);
                                                                                                                                                                                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3629:291: error: expected primary-expression before '*' token
   WINIMPM WINBOOL WINAPI CryptDecodeMessage(DWORD dwMsgTypeFlags,PCRYPT_DECRYPT_MESSAGE_PARA pDecryptPara,PCRYPT_VERIFY_MESSAGE_PARA pVerifyPara,DWORD dwSignerIndex,const BYTE *pbEncodedBlob,DWORD cbEncodedBlob,DWORD dwPrevInnerContentType,DWORD *pdwMsgType,DWORD *pdwInnerContentType,BYTE *pbDecoded,DWORD *pcbDecoded,PCCERT_CONTEXT *ppXchgCert,PCCERT_CONTEXT *ppSignerCert);
                                                                                                                                                                                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3629:292: error: 'pbDecoded' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptDecodeMessage(DWORD dwMsgTypeFlags,PCRYPT_DECRYPT_MESSAGE_PARA pDecryptPara,PCRYPT_VERIFY_MESSAGE_PARA pVerifyPara,DWORD dwSignerIndex,const BYTE *pbEncodedBlob,DWORD cbEncodedBlob,DWORD dwPrevInnerContentType,DWORD *pdwMsgType,DWORD *pdwInnerContentType,BYTE *pbDecoded,DWORD *pcbDecoded,PCCERT_CONTEXT *ppXchgCert,PCCERT_CONTEXT *ppSignerCert);
                                                                                                                                                                                                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3629:302: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptDecodeMessage(DWORD dwMsgTypeFlags,PCRYPT_DECRYPT_MESSAGE_PARA pDecryptPara,PCRYPT_VERIFY_MESSAGE_PARA pVerifyPara,DWORD dwSignerIndex,const BYTE *pbEncodedBlob,DWORD cbEncodedBlob,DWORD dwPrevInnerContentType,DWORD *pdwMsgType,DWORD *pdwInnerContentType,BYTE *pbDecoded,DWORD *pcbDecoded,PCCERT_CONTEXT *ppXchgCert,PCCERT_CONTEXT *ppSignerCert);
                                                                                                                                                                                                                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3629:309: error: 'pcbDecoded' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptDecodeMessage(DWORD dwMsgTypeFlags,PCRYPT_DECRYPT_MESSAGE_PARA pDecryptPara,PCRYPT_VERIFY_MESSAGE_PARA pVerifyPara,DWORD dwSignerIndex,const BYTE *pbEncodedBlob,DWORD cbEncodedBlob,DWORD dwPrevInnerContentType,DWORD *pdwMsgType,DWORD *pdwInnerContentType,BYTE *pbDecoded,DWORD *pcbDecoded,PCCERT_CONTEXT *ppXchgCert,PCCERT_CONTEXT *ppSignerCert);
                                                                                                                                                                                                                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3629:335: error: expected primary-expression before '*' token
   WINIMPM WINBOOL WINAPI CryptDecodeMessage(DWORD dwMsgTypeFlags,PCRYPT_DECRYPT_MESSAGE_PARA pDecryptPara,PCRYPT_VERIFY_MESSAGE_PARA pVerifyPara,DWORD dwSignerIndex,const BYTE *pbEncodedBlob,DWORD cbEncodedBlob,DWORD dwPrevInnerContentType,DWORD *pdwMsgType,DWORD *pdwInnerContentType,BYTE *pbDecoded,DWORD *pcbDecoded,PCCERT_CONTEXT *ppXchgCert,PCCERT_CONTEXT *ppSignerCert);
                                                                                                                                                                                                                                                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3629:336: error: 'ppXchgCert' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptDecodeMessage(DWORD dwMsgTypeFlags,PCRYPT_DECRYPT_MESSAGE_PARA pDecryptPara,PCRYPT_VERIFY_MESSAGE_PARA pVerifyPara,DWORD dwSignerIndex,const BYTE *pbEncodedBlob,DWORD cbEncodedBlob,DWORD dwPrevInnerContentType,DWORD *pdwMsgType,DWORD *pdwInnerContentType,BYTE *pbDecoded,DWORD *pcbDecoded,PCCERT_CONTEXT *ppXchgCert,PCCERT_CONTEXT *ppSignerCert);
                                                                                                                                                                                                                                                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3629:362: error: expected primary-expression before '*' token
   WINIMPM WINBOOL WINAPI CryptDecodeMessage(DWORD dwMsgTypeFlags,PCRYPT_DECRYPT_MESSAGE_PARA pDecryptPara,PCRYPT_VERIFY_MESSAGE_PARA pVerifyPara,DWORD dwSignerIndex,const BYTE *pbEncodedBlob,DWORD cbEncodedBlob,DWORD dwPrevInnerContentType,DWORD *pdwMsgType,DWORD *pdwInnerContentType,BYTE *pbDecoded,DWORD *pcbDecoded,PCCERT_CONTEXT *ppXchgCert,PCCERT_CONTEXT *ppSignerCert);
                                                                                                                                                                                                                                                                                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3629:363: error: 'ppSignerCert' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptDecodeMessage(DWORD dwMsgTypeFlags,PCRYPT_DECRYPT_MESSAGE_PARA pDecryptPara,PCRYPT_VERIFY_MESSAGE_PARA pVerifyPara,DWORD dwSignerIndex,const BYTE *pbEncodedBlob,DWORD cbEncodedBlob,DWORD dwPrevInnerContentType,DWORD *pdwMsgType,DWORD *pdwInnerContentType,BYTE *pbDecoded,DWORD *pcbDecoded,PCCERT_CONTEXT *ppXchgCert,PCCERT_CONTEXT *ppSignerCert);
                                                                                                                                                                                                                                                                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3629:375: error: expression list treated as compound expression in initializer [-fpermissive]
   WINIMPM WINBOOL WINAPI CryptDecodeMessage(DWORD dwMsgTypeFlags,PCRYPT_DECRYPT_MESSAGE_PARA pDecryptPara,PCRYPT_VERIFY_MESSAGE_PARA pVerifyPara,DWORD dwSignerIndex,const BYTE *pbEncodedBlob,DWORD cbEncodedBlob,DWORD dwPrevInnerContentType,DWORD *pdwMsgType,DWORD *pdwInnerContentType,BYTE *pbDecoded,DWORD *pcbDecoded,PCCERT_CONTEXT *ppXchgCert,PCCERT_CONTEXT *ppSignerCert);
                                                                                                                                                                                                                                                                                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3630:100: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptHashMessage(PCRYPT_HASH_MESSAGE_PARA pHashPara,WINBOOL fDetachedHash,DWORD cToBeHashed,const BYTE *rgpbToBeHashed[],DWORD rgcbToBeHashed[],BYTE *pbHashedBlob,DWORD *pcbHashedBlob,BYTE *pbComputedHash,DWORD *pcbComputedHash);
                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3630:147: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptHashMessage(PCRYPT_HASH_MESSAGE_PARA pHashPara,WINBOOL fDetachedHash,DWORD cToBeHashed,const BYTE *rgpbToBeHashed[],DWORD rgcbToBeHashed[],BYTE *pbHashedBlob,DWORD *pcbHashedBlob,BYTE *pbComputedHash,DWORD *pcbComputedHash);
                                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3630:189: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptHashMessage(PCRYPT_HASH_MESSAGE_PARA pHashPara,WINBOOL fDetachedHash,DWORD cToBeHashed,const BYTE *rgpbToBeHashed[],DWORD rgcbToBeHashed[],BYTE *pbHashedBlob,DWORD *pcbHashedBlob,BYTE *pbComputedHash,DWORD *pcbComputedHash);
                                                                                                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3630:231: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptHashMessage(PCRYPT_HASH_MESSAGE_PARA pHashPara,WINBOOL fDetachedHash,DWORD cToBeHashed,const BYTE *rgpbToBeHashed[],DWORD rgcbToBeHashed[],BYTE *pbHashedBlob,DWORD *pcbHashedBlob,BYTE *pbComputedHash,DWORD *pcbComputedHash);
                                                                                                                                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3631:103: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptVerifyMessageHash(PCRYPT_HASH_MESSAGE_PARA pHashPara,BYTE *pbHashedBlob,DWORD cbHashedBlob,BYTE *pbToBeHashed,DWORD *pcbToBeHashed,BYTE *pbComputedHash,DWORD *pcbComputedHash);
                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3631:141: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptVerifyMessageHash(PCRYPT_HASH_MESSAGE_PARA pHashPara,BYTE *pbHashedBlob,DWORD cbHashedBlob,BYTE *pbToBeHashed,DWORD *pcbToBeHashed,BYTE *pbComputedHash,DWORD *pcbComputedHash);
                                                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3631:183: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptVerifyMessageHash(PCRYPT_HASH_MESSAGE_PARA pHashPara,BYTE *pbHashedBlob,DWORD cbHashedBlob,BYTE *pbToBeHashed,DWORD *pcbToBeHashed,BYTE *pbComputedHash,DWORD *pcbComputedHash);
                                                                                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3632:117: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptVerifyDetachedMessageHash(PCRYPT_HASH_MESSAGE_PARA pHashPara,BYTE *pbDetachedHashBlob,DWORD cbDetachedHashBlob,DWORD cToBeHashed,const BYTE *rgpbToBeHashed[],DWORD rgcbToBeHashed[],BYTE *pbComputedHash,DWORD *pcbComputedHash);
                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3632:142: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptVerifyDetachedMessageHash(PCRYPT_HASH_MESSAGE_PARA pHashPara,BYTE *pbDetachedHashBlob,DWORD cbDetachedHashBlob,DWORD cToBeHashed,const BYTE *rgpbToBeHashed[],DWORD rgcbToBeHashed[],BYTE *pbComputedHash,DWORD *pcbComputedHash);
                                                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3632:189: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptVerifyDetachedMessageHash(PCRYPT_HASH_MESSAGE_PARA pHashPara,BYTE *pbDetachedHashBlob,DWORD cbDetachedHashBlob,DWORD cToBeHashed,const BYTE *rgpbToBeHashed[],DWORD rgcbToBeHashed[],BYTE *pbComputedHash,DWORD *pcbComputedHash);
                                                                                                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3632:233: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptVerifyDetachedMessageHash(PCRYPT_HASH_MESSAGE_PARA pHashPara,BYTE *pbDetachedHashBlob,DWORD cbDetachedHashBlob,DWORD cToBeHashed,const BYTE *rgpbToBeHashed[],DWORD rgcbToBeHashed[],BYTE *pbComputedHash,DWORD *pcbComputedHash);
                                                                                                                                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3633:114: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptSignMessageWithKey(PCRYPT_KEY_SIGN_MESSAGE_PARA pSignPara,const BYTE *pbToBeSigned,DWORD cbToBeSigned,BYTE *pbSignedBlob,DWORD *pcbSignedBlob);
                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3633:152: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptSignMessageWithKey(PCRYPT_KEY_SIGN_MESSAGE_PARA pSignPara,const BYTE *pbToBeSigned,DWORD cbToBeSigned,BYTE *pbSignedBlob,DWORD *pcbSignedBlob);
                                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3634:166: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptVerifyMessageSignatureWithKey(PCRYPT_KEY_VERIFY_MESSAGE_PARA pVerifyPara,PCERT_PUBLIC_KEY_INFO pPublicKeyInfo,const BYTE *pbSignedBlob,DWORD cbSignedBlob,BYTE *pbDecoded,DWORD *pcbDecoded);
                                                                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3634:201: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptVerifyMessageSignatureWithKey(PCRYPT_KEY_VERIFY_MESSAGE_PARA pVerifyPara,PCERT_PUBLIC_KEY_INFO pPublicKeyInfo,const BYTE *pbSignedBlob,DWORD cbSignedBlob,BYTE *pbDecoded,DWORD *pcbDecoded);
                                                                                                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3637:115: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertAddEncodedCertificateToSystemStoreA(LPCSTR szCertStoreName,const BYTE *pbCertEncoded,DWORD cbCertEncoded);
                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3638:116: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertAddEncodedCertificateToSystemStoreW(LPCWSTR szCertStoreName,const BYTE *pbCertEncoded,DWORD cbCertEncoded);
                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3641:5: error: 'DWORD' does not name a type
     DWORD cCerts;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3646:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI FindCertsByIssuer(PCERT_CHAIN pCertChains,DWORD *pcbCertChains,DWORD *pcCertChains,BYTE *pbEncodedIssuerName,DWORD cbEncodedIssuerName,LPCWSTR pwszPurpose,DWORD dwKeySpec);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3647:43: error: definition of 'WINBOOL CryptQueryObject' is marked 'dllimport'
   WINIMPM WINBOOL WINAPI CryptQueryObject(DWORD dwObjectType,const void *pvObject,DWORD dwExpectedContentTypeFlags,DWORD dwExpectedFormatTypeFlags,DWORD dwFlags,DWORD *pdwMsgAndCertEncodingType,DWORD *pdwContentType,DWORD *pdwFormatType,HCERTSTORE *phCertStore,HCRYPTMSG *phMsg,const void **ppvContext);
                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3647:43: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3647:62: error: expected primary-expression before 'const'
   WINIMPM WINBOOL WINAPI CryptQueryObject(DWORD dwObjectType,const void *pvObject,DWORD dwExpectedContentTypeFlags,DWORD dwExpectedFormatTypeFlags,DWORD dwFlags,DWORD *pdwMsgAndCertEncodingType,DWORD *pdwContentType,DWORD *pdwFormatType,HCERTSTORE *phCertStore,HCRYPTMSG *phMsg,const void **ppvContext);
                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3647:83: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptQueryObject(DWORD dwObjectType,const void *pvObject,DWORD dwExpectedContentTypeFlags,DWORD dwExpectedFormatTypeFlags,DWORD dwFlags,DWORD *pdwMsgAndCertEncodingType,DWORD *pdwContentType,DWORD *pdwFormatType,HCERTSTORE *phCertStore,HCRYPTMSG *phMsg,const void **ppvContext);
                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3647:116: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptQueryObject(DWORD dwObjectType,const void *pvObject,DWORD dwExpectedContentTypeFlags,DWORD dwExpectedFormatTypeFlags,DWORD dwFlags,DWORD *pdwMsgAndCertEncodingType,DWORD *pdwContentType,DWORD *pdwFormatType,HCERTSTORE *phCertStore,HCRYPTMSG *phMsg,const void **ppvContext);
                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3647:148: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptQueryObject(DWORD dwObjectType,const void *pvObject,DWORD dwExpectedContentTypeFlags,DWORD dwExpectedFormatTypeFlags,DWORD dwFlags,DWORD *pdwMsgAndCertEncodingType,DWORD *pdwContentType,DWORD *pdwFormatType,HCERTSTORE *phCertStore,HCRYPTMSG *phMsg,const void **ppvContext);
                                                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3647:162: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptQueryObject(DWORD dwObjectType,const void *pvObject,DWORD dwExpectedContentTypeFlags,DWORD dwExpectedFormatTypeFlags,DWORD dwFlags,DWORD *pdwMsgAndCertEncodingType,DWORD *pdwContentType,DWORD *pdwFormatType,HCERTSTORE *phCertStore,HCRYPTMSG *phMsg,const void **ppvContext);
                                                                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3647:169: error: 'pdwMsgAndCertEncodingType' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptQueryObject(DWORD dwObjectType,const void *pvObject,DWORD dwExpectedContentTypeFlags,DWORD dwExpectedFormatTypeFlags,DWORD dwFlags,DWORD *pdwMsgAndCertEncodingType,DWORD *pdwContentType,DWORD *pdwFormatType,HCERTSTORE *phCertStore,HCRYPTMSG *phMsg,const void **ppvContext);
                                                                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3647:195: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptQueryObject(DWORD dwObjectType,const void *pvObject,DWORD dwExpectedContentTypeFlags,DWORD dwExpectedFormatTypeFlags,DWORD dwFlags,DWORD *pdwMsgAndCertEncodingType,DWORD *pdwContentType,DWORD *pdwFormatType,HCERTSTORE *phCertStore,HCRYPTMSG *phMsg,const void **ppvContext);
                                                                                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3647:202: error: 'pdwContentType' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptQueryObject(DWORD dwObjectType,const void *pvObject,DWORD dwExpectedContentTypeFlags,DWORD dwExpectedFormatTypeFlags,DWORD dwFlags,DWORD *pdwMsgAndCertEncodingType,DWORD *pdwContentType,DWORD *pdwFormatType,HCERTSTORE *phCertStore,HCRYPTMSG *phMsg,const void **ppvContext);
                                                                                                                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3647:217: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptQueryObject(DWORD dwObjectType,const void *pvObject,DWORD dwExpectedContentTypeFlags,DWORD dwExpectedFormatTypeFlags,DWORD dwFlags,DWORD *pdwMsgAndCertEncodingType,DWORD *pdwContentType,DWORD *pdwFormatType,HCERTSTORE *phCertStore,HCRYPTMSG *phMsg,const void **ppvContext);
                                                                                                                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3647:224: error: 'pdwFormatType' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptQueryObject(DWORD dwObjectType,const void *pvObject,DWORD dwExpectedContentTypeFlags,DWORD dwExpectedFormatTypeFlags,DWORD dwFlags,DWORD *pdwMsgAndCertEncodingType,DWORD *pdwContentType,DWORD *pdwFormatType,HCERTSTORE *phCertStore,HCRYPTMSG *phMsg,const void **ppvContext);
                                                                                                                                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3647:249: error: expected primary-expression before '*' token
   WINIMPM WINBOOL WINAPI CryptQueryObject(DWORD dwObjectType,const void *pvObject,DWORD dwExpectedContentTypeFlags,DWORD dwExpectedFormatTypeFlags,DWORD dwFlags,DWORD *pdwMsgAndCertEncodingType,DWORD *pdwContentType,DWORD *pdwFormatType,HCERTSTORE *phCertStore,HCRYPTMSG *phMsg,const void **ppvContext);
                                                                                                                                                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3647:250: error: 'phCertStore' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptQueryObject(DWORD dwObjectType,const void *pvObject,DWORD dwExpectedContentTypeFlags,DWORD dwExpectedFormatTypeFlags,DWORD dwFlags,DWORD *pdwMsgAndCertEncodingType,DWORD *pdwContentType,DWORD *pdwFormatType,HCERTSTORE *phCertStore,HCRYPTMSG *phMsg,const void **ppvContext);
                                                                                                                                                                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3647:272: error: expected primary-expression before '*' token
   WINIMPM WINBOOL WINAPI CryptQueryObject(DWORD dwObjectType,const void *pvObject,DWORD dwExpectedContentTypeFlags,DWORD dwExpectedFormatTypeFlags,DWORD dwFlags,DWORD *pdwMsgAndCertEncodingType,DWORD *pdwContentType,DWORD *pdwFormatType,HCERTSTORE *phCertStore,HCRYPTMSG *phMsg,const void **ppvContext);
                                                                                                                                                                                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3647:273: error: 'phMsg' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptQueryObject(DWORD dwObjectType,const void *pvObject,DWORD dwExpectedContentTypeFlags,DWORD dwExpectedFormatTypeFlags,DWORD dwFlags,DWORD *pdwMsgAndCertEncodingType,DWORD *pdwContentType,DWORD *pdwFormatType,HCERTSTORE *phCertStore,HCRYPTMSG *phMsg,const void **ppvContext);
                                                                                                                                                                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3647:279: error: expected primary-expression before 'const'
   WINIMPM WINBOOL WINAPI CryptQueryObject(DWORD dwObjectType,const void *pvObject,DWORD dwExpectedContentTypeFlags,DWORD dwExpectedFormatTypeFlags,DWORD dwFlags,DWORD *pdwMsgAndCertEncodingType,DWORD *pdwContentType,DWORD *pdwFormatType,HCERTSTORE *phCertStore,HCRYPTMSG *phMsg,const void **ppvContext);
                                                                                                                                                                                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3647:302: error: expression list treated as compound expression in initializer [-fpermissive]
   WINIMPM WINBOOL WINAPI CryptQueryObject(DWORD dwObjectType,const void *pvObject,DWORD dwExpectedContentTypeFlags,DWORD dwExpectedFormatTypeFlags,DWORD dwFlags,DWORD *pdwMsgAndCertEncodingType,DWORD *pdwContentType,DWORD *pdwFormatType,HCERTSTORE *phCertStore,HCRYPTMSG *phMsg,const void **ppvContext);
                                                                                                                                                                                                                                                                                                              ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:95:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3686:39: error: definition of 'void* CryptMemAlloc' is marked 'dllimport'
   WINIMPM LPVOID WINAPI CryptMemAlloc(ULONG cbSize);
                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3686:39: error: 'ULONG' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3687:51: error: 'ULONG' has not been declared
   WINIMPM LPVOID WINAPI CryptMemRealloc(LPVOID pv,ULONG cbSize);
                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3694:49: error: definition of 'WINBOOL CryptCreateAsyncHandle' is marked 'dllimport'
   WINIMPM WINBOOL WINAPI CryptCreateAsyncHandle(DWORD dwFlags,PHCRYPTASYNC phAsync);
                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3694:49: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3694:76: error: expected primary-expression before 'phAsync'
   WINIMPM WINBOOL WINAPI CryptCreateAsyncHandle(DWORD dwFlags,PHCRYPTASYNC phAsync);
                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3694:83: error: expression list treated as compound expression in initializer [-fpermissive]
   WINIMPM WINBOOL WINAPI CryptCreateAsyncHandle(DWORD dwFlags,PHCRYPTASYNC phAsync);
                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3700:5: error: 'DWORD' does not name a type
     DWORD cBlob;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3705:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3716:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3721:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3768:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3770:5: error: 'DWORD' does not name a type
     DWORD dwMaxUrlRetrievalByteCount;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3773:86: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptRetrieveObjectByUrlA(LPCSTR pszUrl,LPCSTR pszObjectOid,DWORD dwRetrievalFlags,DWORD dwTimeout,LPVOID *ppvObject,HCRYPTASYNC hAsyncRetrieve,PCRYPT_CREDENTIALS pCredentials,LPVOID pvVerify,PCRYPT_RETRIEVE_AUX_INFO pAuxInfo);
                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3773:109: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptRetrieveObjectByUrlA(LPCSTR pszUrl,LPCSTR pszObjectOid,DWORD dwRetrievalFlags,DWORD dwTimeout,LPVOID *ppvObject,HCRYPTASYNC hAsyncRetrieve,PCRYPT_CREDENTIALS pCredentials,LPVOID pvVerify,PCRYPT_RETRIEVE_AUX_INFO pAuxInfo);
                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3774:87: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptRetrieveObjectByUrlW(LPCWSTR pszUrl,LPCSTR pszObjectOid,DWORD dwRetrievalFlags,DWORD dwTimeout,LPVOID *ppvObject,HCRYPTASYNC hAsyncRetrieve,PCRYPT_CREDENTIALS pCredentials,LPVOID pvVerify,PCRYPT_RETRIEVE_AUX_INFO pAuxInfo);
                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3774:110: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptRetrieveObjectByUrlW(LPCWSTR pszUrl,LPCSTR pszObjectOid,DWORD dwRetrievalFlags,DWORD dwTimeout,LPVOID *ppvObject,HCRYPTASYNC hAsyncRetrieve,PCRYPT_CREDENTIALS pCredentials,LPVOID pvVerify,PCRYPT_RETRIEVE_AUX_INFO pAuxInfo);
                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3776:56: error: typedef 'PFN_CRYPT_CANCEL_RETRIEVAL' is initialized (use decltype instead)
   typedef WINBOOL (WINAPI *PFN_CRYPT_CANCEL_RETRIEVAL)(DWORD dwFlags,void *pvArg);
                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3776:56: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3776:70: error: expected primary-expression before 'void'
   typedef WINBOOL (WINAPI *PFN_CRYPT_CANCEL_RETRIEVAL)(DWORD dwFlags,void *pvArg);
                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3778:54: error: definition of 'WINBOOL CryptInstallCancelRetrieval' is marked 'dllimport'
   WINIMPM WINBOOL WINAPI CryptInstallCancelRetrieval(PFN_CRYPT_CANCEL_RETRIEVAL pfnCancel,const void *pvArg,DWORD dwFlags,void *pvReserved);
                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3778:54: error: 'PFN_CRYPT_CANCEL_RETRIEVAL' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3778:91: error: expected primary-expression before 'const'
   WINIMPM WINBOOL WINAPI CryptInstallCancelRetrieval(PFN_CRYPT_CANCEL_RETRIEVAL pfnCancel,const void *pvArg,DWORD dwFlags,void *pvReserved);
                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3778:109: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptInstallCancelRetrieval(PFN_CRYPT_CANCEL_RETRIEVAL pfnCancel,const void *pvArg,DWORD dwFlags,void *pvReserved);
                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3778:123: error: expected primary-expression before 'void'
   WINIMPM WINBOOL WINAPI CryptInstallCancelRetrieval(PFN_CRYPT_CANCEL_RETRIEVAL pfnCancel,const void *pvArg,DWORD dwFlags,void *pvReserved);
                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3778:139: error: expression list treated as compound expression in initializer [-fpermissive]
   WINIMPM WINBOOL WINAPI CryptInstallCancelRetrieval(PFN_CRYPT_CANCEL_RETRIEVAL pfnCancel,const void *pvArg,DWORD dwFlags,void *pvReserved);
                                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3779:56: error: definition of 'WINBOOL CryptUninstallCancelRetrieval' is marked 'dllimport'
   WINIMPM WINBOOL WINAPI CryptUninstallCancelRetrieval(DWORD dwFlags,void *pvReserved);
                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3779:56: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3779:70: error: expected primary-expression before 'void'
   WINIMPM WINBOOL WINAPI CryptUninstallCancelRetrieval(DWORD dwFlags,void *pvReserved);
                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3779:86: error: expression list treated as compound expression in initializer [-fpermissive]
   WINIMPM WINBOOL WINAPI CryptUninstallCancelRetrieval(DWORD dwFlags,void *pvReserved);
                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3784:88: error: 'DWORD' has not been declared
   typedef VOID (WINAPI *PFN_CRYPT_ASYNC_RETRIEVAL_COMPLETION_FUNC)(LPVOID pvCompletion,DWORD dwCompletionCode,LPCSTR pszUrl,LPSTR pszObjectOid,LPVOID pvObject);
                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3801:5: error: 'DWORD' does not name a type
     DWORD cUrl;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3806:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3807:5: error: 'DWORD' does not name a type
     DWORD dwSyncDeltaTime;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3808:5: error: 'DWORD' does not name a type
     DWORD cGroup;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3809:5: error: 'DWORD' does not name a type
     DWORD *rgcGroupEntry;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3812:75: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptGetObjectUrl(LPCSTR pszUrlOid,LPVOID pvPara,DWORD dwFlags,PCRYPT_URL_ARRAY pUrlArray,DWORD *pcbUrlArray,PCRYPT_URL_INFO pUrlInfo,DWORD *pcbUrlInfo,LPVOID pvReserved);
                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3812:116: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptGetObjectUrl(LPCSTR pszUrlOid,LPVOID pvPara,DWORD dwFlags,PCRYPT_URL_ARRAY pUrlArray,DWORD *pcbUrlArray,PCRYPT_URL_INFO pUrlInfo,DWORD *pcbUrlInfo,LPVOID pvReserved);
                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3812:160: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptGetObjectUrl(LPCSTR pszUrlOid,LPVOID pvPara,DWORD dwFlags,PCRYPT_URL_ARRAY pUrlArray,DWORD *pcbUrlArray,PCRYPT_URL_INFO pUrlInfo,DWORD *pcbUrlInfo,LPVOID pvReserved);
                                                                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3831:133: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptGetTimeValidObject(LPCSTR pszTimeValidOid,LPVOID pvPara,PCCERT_CONTEXT pIssuer,LPFILETIME pftValidFor,DWORD dwFlags,DWORD dwTimeout,LPVOID *ppvObject,PCRYPT_CREDENTIALS pCredentials,LPVOID pvReserved);
                                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3831:147: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptGetTimeValidObject(LPCSTR pszTimeValidOid,LPVOID pvPara,PCCERT_CONTEXT pIssuer,LPFILETIME pftValidFor,DWORD dwFlags,DWORD dwTimeout,LPVOID *ppvObject,PCRYPT_CREDENTIALS pCredentials,LPVOID pvReserved);
                                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3842:117: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptFlushTimeValidObject(LPCSTR pszFlushTimeValidOid,LPVOID pvPara,PCCERT_CONTEXT pIssuer,DWORD dwFlags,LPVOID pvReserved);
                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3853:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3854:5: error: 'DWORD' does not name a type
     DWORD dwPromptFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3877:168: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptProtectData(DATA_BLOB *pDataIn,LPCWSTR szDataDescr,DATA_BLOB *pOptionalEntropy,PVOID pvReserved,CRYPTPROTECT_PROMPTSTRUCT *pPromptStruct,DWORD dwFlags,DATA_BLOB *pDataOut);
                                                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3878:172: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptUnprotectData(DATA_BLOB *pDataIn,LPWSTR *ppszDataDescr,DATA_BLOB *pOptionalEntropy,PVOID pvReserved,CRYPTPROTECT_PROMPTSTRUCT *pPromptStruct,DWORD dwFlags,DATA_BLOB *pDataOut);
                                                                                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3885:60: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptProtectMemory(LPVOID pDataIn,DWORD cbDataIn,DWORD dwFlags);
                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3885:75: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptProtectMemory(LPVOID pDataIn,DWORD cbDataIn,DWORD dwFlags);
                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3886:62: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptUnprotectMemory(LPVOID pDataIn,DWORD cbDataIn,DWORD dwFlags);
                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3886:77: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptUnprotectMemory(LPVOID pDataIn,DWORD cbDataIn,DWORD dwFlags);
                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3887:115: error: 'DWORD' has not been declared
   WINIMPM PCCERT_CONTEXT WINAPI CertCreateSelfSignCertificate(HCRYPTPROV hProv,PCERT_NAME_BLOB pSubjectIssuerBlob,DWORD dwFlags,PCRYPT_KEY_PROV_INFO pKeyProvInfo,PCRYPT_ALGORITHM_IDENTIFIER pSignatureAlgorithm,PSYSTEMTIME pStartTime,PSYSTEMTIME pEndTime,PCERT_EXTENSIONS pExtensions);
                                                                                                                   ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:95:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3892:94: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptGetKeyIdentifierProperty(const CRYPT_HASH_BLOB *pKeyIdentifier,DWORD dwPropId,DWORD dwFlags,LPCWSTR pwszComputerName,void *pvReserved,void *pvData,DWORD *pcbData);
                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3892:109: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptGetKeyIdentifierProperty(const CRYPT_HASH_BLOB *pKeyIdentifier,DWORD dwPropId,DWORD dwFlags,LPCWSTR pwszComputerName,void *pvReserved,void *pvData,DWORD *pcbData);
                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3892:178: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptGetKeyIdentifierProperty(const CRYPT_HASH_BLOB *pKeyIdentifier,DWORD dwPropId,DWORD dwFlags,LPCWSTR pwszComputerName,void *pvReserved,void *pvData,DWORD *pcbData);
                                                                                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3898:94: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptSetKeyIdentifierProperty(const CRYPT_HASH_BLOB *pKeyIdentifier,DWORD dwPropId,DWORD dwFlags,LPCWSTR pwszComputerName,void *pvReserved,const void *pvData);
                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3898:109: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptSetKeyIdentifierProperty(const CRYPT_HASH_BLOB *pKeyIdentifier,DWORD dwPropId,DWORD dwFlags,LPCWSTR pwszComputerName,void *pvReserved,const void *pvData);
                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3903:93: error: 'DWORD' has not been declared
   typedef WINBOOL (WINAPI *PFN_CRYPT_ENUM_KEYID_PROP)(const CRYPT_HASH_BLOB *pKeyIdentifier,DWORD dwFlags,void *pvReserved,void *pvArg,DWORD cProp,DWORD *rgdwPropId,void **rgpvData,DWORD *rgcbData);
                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3903:136: error: 'DWORD' has not been declared
   typedef WINBOOL (WINAPI *PFN_CRYPT_ENUM_KEYID_PROP)(const CRYPT_HASH_BLOB *pKeyIdentifier,DWORD dwFlags,void *pvReserved,void *pvArg,DWORD cProp,DWORD *rgdwPropId,void **rgpvData,DWORD *rgcbData);
                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3903:148: error: 'DWORD' has not been declared
   typedef WINBOOL (WINAPI *PFN_CRYPT_ENUM_KEYID_PROP)(const CRYPT_HASH_BLOB *pKeyIdentifier,DWORD dwFlags,void *pvReserved,void *pvArg,DWORD cProp,DWORD *rgdwPropId,void **rgpvData,DWORD *rgcbData);
                                                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3903:182: error: 'DWORD' has not been declared
   typedef WINBOOL (WINAPI *PFN_CRYPT_ENUM_KEYID_PROP)(const CRYPT_HASH_BLOB *pKeyIdentifier,DWORD dwFlags,void *pvReserved,void *pvArg,DWORD cProp,DWORD *rgdwPropId,void **rgpvData,DWORD *rgcbData);
                                                                                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3905:97: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptEnumKeyIdentifierProperties(const CRYPT_HASH_BLOB *pKeyIdentifier,DWORD dwPropId,DWORD dwFlags,LPCWSTR pwszComputerName,void *pvReserved,void *pvArg,PFN_CRYPT_ENUM_KEYID_PROP pfnEnum);
                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3905:112: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptEnumKeyIdentifierProperties(const CRYPT_HASH_BLOB *pKeyIdentifier,DWORD dwPropId,DWORD dwFlags,LPCWSTR pwszComputerName,void *pvReserved,void *pvArg,PFN_CRYPT_ENUM_KEYID_PROP pfnEnum);
                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3906:58: error: definition of 'WINBOOL CryptCreateKeyIdentifierFromCSP' is marked 'dllimport'
   WINIMPM WINBOOL WINAPI CryptCreateKeyIdentifierFromCSP(DWORD dwCertEncodingType,LPCSTR pszPubKeyOID,const PUBLICKEYSTRUC *pPubKeyStruc,DWORD cbPubKeyStruc,DWORD dwFlags,void *pvReserved,BYTE *pbHash,DWORD *pcbHash);
                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3906:58: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3906:90: error: expected primary-expression before 'pszPubKeyOID'
   WINIMPM WINBOOL WINAPI CryptCreateKeyIdentifierFromCSP(DWORD dwCertEncodingType,LPCSTR pszPubKeyOID,const PUBLICKEYSTRUC *pPubKeyStruc,DWORD cbPubKeyStruc,DWORD dwFlags,void *pvReserved,BYTE *pbHash,DWORD *pcbHash);
                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3906:103: error: expected primary-expression before 'const'
   WINIMPM WINBOOL WINAPI CryptCreateKeyIdentifierFromCSP(DWORD dwCertEncodingType,LPCSTR pszPubKeyOID,const PUBLICKEYSTRUC *pPubKeyStruc,DWORD cbPubKeyStruc,DWORD dwFlags,void *pvReserved,BYTE *pbHash,DWORD *pcbHash);
                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3906:138: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptCreateKeyIdentifierFromCSP(DWORD dwCertEncodingType,LPCSTR pszPubKeyOID,const PUBLICKEYSTRUC *pPubKeyStruc,DWORD cbPubKeyStruc,DWORD dwFlags,void *pvReserved,BYTE *pbHash,DWORD *pcbHash);
                                                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3906:158: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptCreateKeyIdentifierFromCSP(DWORD dwCertEncodingType,LPCSTR pszPubKeyOID,const PUBLICKEYSTRUC *pPubKeyStruc,DWORD cbPubKeyStruc,DWORD dwFlags,void *pvReserved,BYTE *pbHash,DWORD *pcbHash);
                                                                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3906:172: error: expected primary-expression before 'void'
   WINIMPM WINBOOL WINAPI CryptCreateKeyIdentifierFromCSP(DWORD dwCertEncodingType,LPCSTR pszPubKeyOID,const PUBLICKEYSTRUC *pPubKeyStruc,DWORD cbPubKeyStruc,DWORD dwFlags,void *pvReserved,BYTE *pbHash,DWORD *pcbHash);
                                                                                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3906:194: error: expected primary-expression before '*' token
   WINIMPM WINBOOL WINAPI CryptCreateKeyIdentifierFromCSP(DWORD dwCertEncodingType,LPCSTR pszPubKeyOID,const PUBLICKEYSTRUC *pPubKeyStruc,DWORD cbPubKeyStruc,DWORD dwFlags,void *pvReserved,BYTE *pbHash,DWORD *pcbHash);
                                                                                                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3906:195: error: 'pbHash' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptCreateKeyIdentifierFromCSP(DWORD dwCertEncodingType,LPCSTR pszPubKeyOID,const PUBLICKEYSTRUC *pPubKeyStruc,DWORD cbPubKeyStruc,DWORD dwFlags,void *pvReserved,BYTE *pbHash,DWORD *pcbHash);
                                                                                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3906:202: error: 'DWORD' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptCreateKeyIdentifierFromCSP(DWORD dwCertEncodingType,LPCSTR pszPubKeyOID,const PUBLICKEYSTRUC *pPubKeyStruc,DWORD cbPubKeyStruc,DWORD dwFlags,void *pvReserved,BYTE *pbHash,DWORD *pcbHash);
                                                                                                                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3906:209: error: 'pcbHash' was not declared in this scope
   WINIMPM WINBOOL WINAPI CryptCreateKeyIdentifierFromCSP(DWORD dwCertEncodingType,LPCSTR pszPubKeyOID,const PUBLICKEYSTRUC *pPubKeyStruc,DWORD cbPubKeyStruc,DWORD dwFlags,void *pvReserved,BYTE *pbHash,DWORD *pcbHash);
                                                                                                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3906:216: error: expression list treated as compound expression in initializer [-fpermissive]
   WINIMPM WINBOOL WINAPI CryptCreateKeyIdentifierFromCSP(DWORD dwCertEncodingType,LPCSTR pszPubKeyOID,const PUBLICKEYSTRUC *pPubKeyStruc,DWORD cbPubKeyStruc,DWORD dwFlags,void *pvReserved,BYTE *pbHash,DWORD *pcbHash);
                                                                                                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3932:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3936:5: error: 'DWORD' does not name a type
     DWORD cAdditionalStore;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3938:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3939:5: error: 'DWORD' does not name a type
     DWORD dwUrlRetrievalTimeout;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3940:5: error: 'DWORD' does not name a type
     DWORD MaximumCachedCertificates;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3941:5: error: 'DWORD' does not name a type
     DWORD CycleDetectionModulus;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3949:5: error: 'DWORD' does not name a type
     DWORD dwErrorStatus;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3950:5: error: 'DWORD' does not name a type
     DWORD dwInfoStatus;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3992:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3993:5: error: 'DWORD' does not name a type
     DWORD dwRevocationResult;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:3997:5: error: 'DWORD' does not name a type
     DWORD dwFreshnessTime;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:4002:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:4008:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:4018:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:4020:5: error: 'DWORD' does not name a type
     DWORD cElement;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:4024:5: error: 'DWORD' does not name a type
     DWORD dwRevocationFreshnessTime;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:4031:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:4033:5: error: 'DWORD' does not name a type
     DWORD cChain;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:4035:5: error: 'DWORD' does not name a type
     DWORD cLowerQualityChainContext;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:4038:5: error: 'DWORD' does not name a type
     DWORD dwRevocationFreshnessTime;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:4045:5: error: 'DWORD' does not name a type
     DWORD dwType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:4050:5: error: 'DWORD' does not name a type
     DWORD dwType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:4055:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:4079:181: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CertGetCertificateChain(HCERTCHAINENGINE hChainEngine,PCCERT_CONTEXT pCertContext,LPFILETIME pTime,HCERTSTORE hAdditionalStore,PCERT_CHAIN_PARA pChainPara,DWORD dwFlags,LPVOID pvReserved,PCCERT_CHAIN_CONTEXT *ppChainContext);
                                                                                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:4091:82: error: 'DWORD' has not been declared
   WINIMPM PCCERT_CHAIN_CONTEXT WINAPI CertFindChainInStore(HCERTSTORE hCertStore,DWORD dwCertEncodingType,DWORD dwFindFlags,DWORD dwFindType,const void *pvFindPara,PCCERT_CHAIN_CONTEXT pPrevChainContext);
                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:4091:107: error: 'DWORD' has not been declared
   WINIMPM PCCERT_CHAIN_CONTEXT WINAPI CertFindChainInStore(HCERTSTORE hCertStore,DWORD dwCertEncodingType,DWORD dwFindFlags,DWORD dwFindType,const void *pvFindPara,PCCERT_CHAIN_CONTEXT pPrevChainContext);
                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:4091:125: error: 'DWORD' has not been declared
   WINIMPM PCCERT_CHAIN_CONTEXT WINAPI CertFindChainInStore(HCERTSTORE hCertStore,DWORD dwCertEncodingType,DWORD dwFindFlags,DWORD dwFindType,const void *pvFindPara,PCCERT_CHAIN_CONTEXT pPrevChainContext);
                                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:4098:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:4100:5: error: 'DWORD' does not name a type
     DWORD dwKeySpec;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:4101:5: error: 'DWORD' does not name a type
     DWORD dwAcquirePrivateKeyFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:4102:5: error: 'DWORD' does not name a type
     DWORD cIssuer;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:4120:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:4121:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:4126:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:4127:5: error: 'DWORD' does not name a type
     DWORD dwError;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:4128:5: error: 'LONG' does not name a type
     LONG lChainIndex;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:4129:5: error: 'LONG' does not name a type
     LONG lElementIndex;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:4171:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:4172:5: error: 'DWORD' does not name a type
     DWORD dwRegPolicySettings;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:4177:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:4182:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:4183:5: error: 'DWORD' does not name a type
     DWORD dwRegPolicySettings;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:4192:7: error: 'DWORD' does not name a type
       DWORD cbStruct;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:4193:7: error: 'DWORD' does not name a type
       DWORD cbSize;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:4195:5: error: 'DWORD' does not name a type
     DWORD dwAuthType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:4196:5: error: 'DWORD' does not name a type
     DWORD fdwChecks;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:4205:64: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptStringToBinaryA(LPCSTR pszString,DWORD cchString,DWORD dwFlags,BYTE *pbBinary,DWORD *pcbBinary,DWORD *pdwSkip,DWORD *pdwFlags);
                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:4205:80: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptStringToBinaryA(LPCSTR pszString,DWORD cchString,DWORD dwFlags,BYTE *pbBinary,DWORD *pcbBinary,DWORD *pdwSkip,DWORD *pdwFlags);
                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:4205:109: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptStringToBinaryA(LPCSTR pszString,DWORD cchString,DWORD dwFlags,BYTE *pbBinary,DWORD *pcbBinary,DWORD *pdwSkip,DWORD *pdwFlags);
                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:4205:126: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptStringToBinaryA(LPCSTR pszString,DWORD cchString,DWORD dwFlags,BYTE *pbBinary,DWORD *pcbBinary,DWORD *pdwSkip,DWORD *pdwFlags);
                                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:4205:141: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptStringToBinaryA(LPCSTR pszString,DWORD cchString,DWORD dwFlags,BYTE *pbBinary,DWORD *pcbBinary,DWORD *pdwSkip,DWORD *pdwFlags);
                                                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:4206:65: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptStringToBinaryW(LPCWSTR pszString,DWORD cchString,DWORD dwFlags,BYTE *pbBinary,DWORD *pcbBinary,DWORD *pdwSkip,DWORD *pdwFlags);
                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:4206:81: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptStringToBinaryW(LPCWSTR pszString,DWORD cchString,DWORD dwFlags,BYTE *pbBinary,DWORD *pcbBinary,DWORD *pdwSkip,DWORD *pdwFlags);
                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:4206:110: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptStringToBinaryW(LPCWSTR pszString,DWORD cchString,DWORD dwFlags,BYTE *pbBinary,DWORD *pcbBinary,DWORD *pdwSkip,DWORD *pdwFlags);
                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:4206:127: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptStringToBinaryW(LPCWSTR pszString,DWORD cchString,DWORD dwFlags,BYTE *pbBinary,DWORD *pcbBinary,DWORD *pdwSkip,DWORD *pdwFlags);
                                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:4206:142: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptStringToBinaryW(LPCWSTR pszString,DWORD cchString,DWORD dwFlags,BYTE *pbBinary,DWORD *pcbBinary,DWORD *pdwSkip,DWORD *pdwFlags);
                                                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:4207:68: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptBinaryToStringA(CONST BYTE *pbBinary,DWORD cbBinary,DWORD dwFlags,LPSTR pszString,DWORD *pcchString);
                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:4207:83: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptBinaryToStringA(CONST BYTE *pbBinary,DWORD cbBinary,DWORD dwFlags,LPSTR pszString,DWORD *pcchString);
                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:4207:113: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptBinaryToStringA(CONST BYTE *pbBinary,DWORD cbBinary,DWORD dwFlags,LPSTR pszString,DWORD *pcchString);
                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:4208:68: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptBinaryToStringW(CONST BYTE *pbBinary,DWORD cbBinary,DWORD dwFlags,LPWSTR pszString,DWORD *pcchString);
                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:4208:83: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptBinaryToStringW(CONST BYTE *pbBinary,DWORD cbBinary,DWORD dwFlags,LPWSTR pszString,DWORD *pcchString);
                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:4208:114: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI CryptBinaryToStringW(CONST BYTE *pbBinary,DWORD cbBinary,DWORD dwFlags,LPWSTR pszString,DWORD *pcchString);
                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:4225:89: error: 'DWORD' has not been declared
   WINIMPM HCERTSTORE WINAPI PFXImportCertStore(CRYPT_DATA_BLOB *pPFX,LPCWSTR szPassword,DWORD dwFlags);
                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:4231:85: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI PFXVerifyPassword(CRYPT_DATA_BLOB *pPFX,LPCWSTR szPassword,DWORD dwFlags);
                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:4232:123: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI PFXExportCertStoreEx(HCERTSTORE hStore,CRYPT_DATA_BLOB *pPFX,LPCWSTR szPassword,void *pvReserved,DWORD dwFlags);
                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wincrypt.h:4239:104: error: 'DWORD' has not been declared
   WINIMPM WINBOOL WINAPI PFXExportCertStore(HCERTSTORE hStore,CRYPT_DATA_BLOB *pPFX,LPCWSTR szPassword,DWORD dwFlags);
                                                                                                        ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:96:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winefs.h:19:5: error: 'DWORD' does not name a type
     DWORD dwCertEncodingType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winefs.h:20:5: error: 'DWORD' does not name a type
     DWORD cbData;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winefs.h:25:5: error: 'DWORD' does not name a type
     DWORD cbData;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winefs.h:30:5: error: 'DWORD' does not name a type
     DWORD cbData;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winefs.h:35:5: error: 'DWORD' does not name a type
     DWORD dwVersion;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winefs.h:36:5: error: 'ULONG' does not name a type
     ULONG Entropy;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winefs.h:38:5: error: 'ULONG' does not name a type
     ULONG KeyLength;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winefs.h:42:5: error: 'DWORD' does not name a type
     DWORD cbTotalLength;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winefs.h:50:5: error: 'DWORD' does not name a type
     DWORD cbTotalLength;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winefs.h:57:5: error: 'DWORD' does not name a type
     DWORD nCert_Hash;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winefs.h:62:5: error: 'DWORD' does not name a type
     DWORD nUsers;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winefs.h:66:13: error: 'DWORD' does not name a type
   WINADVAPI DWORD WINAPI QueryUsersOnEncryptedFile(LPCWSTR lpFileName,PENCRYPTION_CERTIFICATE_HASH_LIST *pUsers);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winefs.h:67:13: error: 'DWORD' does not name a type
   WINADVAPI DWORD WINAPI QueryRecoveryAgentsOnEncryptedFile(LPCWSTR lpFileName,PENCRYPTION_CERTIFICATE_HASH_LIST *pRecoveryAgents);
             ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:96:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winefs.h:68:13: error: 'DWORD' does not name a type
   WINADVAPI DWORD WINAPI RemoveUsersFromEncryptedFile(LPCWSTR lpFileName,PENCRYPTION_CERTIFICATE_HASH_LIST pHashes);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winefs.h:69:13: error: 'DWORD' does not name a type
   WINADVAPI DWORD WINAPI AddUsersToEncryptedFile(LPCWSTR lpFileName,PENCRYPTION_CERTIFICATE_LIST pUsers);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winefs.h:70:13: error: 'DWORD' does not name a type
   WINADVAPI DWORD WINAPI SetUserFileEncryptionKey(PENCRYPTION_CERTIFICATE pEncryptionCertificate);
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winefs.h:73:13: error: 'DWORD' does not name a type
   WINADVAPI DWORD WINAPI DuplicateEncryptionInfoFile(LPCWSTR SrcFileName,LPCWSTR DstFileName,DWORD dwCreationDistribution,DWORD dwAttributes,CONST LPSECURITY_ATTRIBUTES lpSecurityAttributes);
             ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:21:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsip.h:19:12: error: 'RPC_STATUS' does not name a type
   RPCNSAPI RPC_STATUS RPC_ENTRY I_RpcNsGetBuffer(PRPC_MESSAGE Message);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsip.h:20:12: error: 'RPC_STATUS' does not name a type
   RPCNSAPI RPC_STATUS RPC_ENTRY I_RpcNsSendReceive(PRPC_MESSAGE Message,RPC_BINDING_HANDLE *Handle);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsip.h:21:70: error: 'RPC_STATUS' has not been declared
   RPCNSAPI void RPC_ENTRY I_RpcNsRaiseException(PRPC_MESSAGE Message,RPC_STATUS Status);
                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsip.h:22:12: error: 'RPC_STATUS' does not name a type
   RPCNSAPI RPC_STATUS RPC_ENTRY I_RpcReBindBuffer(PRPC_MESSAGE Message);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsip.h:23:12: error: 'RPC_STATUS' does not name a type
   RPCNSAPI RPC_STATUS RPC_ENTRY I_NsServerBindSearch();
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcnsip.h:24:12: error: 'RPC_STATUS' does not name a type
   RPCNSAPI RPC_STATUS RPC_ENTRY I_NsClientBindSearch();
            ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:8:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:140:14: error: expected ';' at end of member declaration
     unsigned __LONG32 NumberOfObjects;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:140:23: error: 'NumberOfObjects' does not name a type
     unsigned __LONG32 NumberOfObjects;
                       ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:8:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:146:131: error: expected ',' or '...' before 'DataRepresentation'
   RPCRTAPI void RPC_ENTRY NDRCContextUnmarshall(NDR_CCONTEXT *pCContext,RPC_BINDING_HANDLE hBinding,void *pBuff,unsigned __LONG32 DataRepresentation);
                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:148:87: error: expected ',' or '...' before 'DataRepresentation'
   RPCRTAPI NDR_SCONTEXT RPC_ENTRY NDRSContextUnmarshall(void *pBuff,unsigned __LONG32 DataRepresentation);
                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:150:174: error: expected ',' or '...' before 'Flags'
   RPCRTAPI void RPC_ENTRY NDRSContextMarshall2(RPC_BINDING_HANDLE BindingHandle,NDR_SCONTEXT CContext,void *pBuff,NDR_RUNDOWN userRunDownIn,void *CtxGuard,unsigned __LONG32 Flags);
                                                                                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:151:122: error: expected ',' or '...' before 'DataRepresentation'
   RPCRTAPI NDR_SCONTEXT RPC_ENTRY NDRSContextUnmarshallEx(RPC_BINDING_HANDLE BindingHandle,void *pBuff,unsigned __LONG32 DataRepresentation);
                                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:152:121: error: expected ',' or '...' before 'DataRepresentation'
   RPCRTAPI NDR_SCONTEXT RPC_ENTRY NDRSContextUnmarshall2(RPC_BINDING_HANDLE BindingHandle,void *pBuff,unsigned __LONG32 DataRepresentation,void *CtxGuard,unsigned __LONG32 Flags);
                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:169:27: error: expected initializer before 'error_status_t'
 typedef unsigned __LONG32 error_status_t;
                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:212:29: error: expected initializer before 'RPC_LENGTH'
   typedef unsigned __LONG32 RPC_LENGTH;
                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:217:5: error: '__LONG32' does not name a type
     __LONG32 Dimension;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:218:14: error: expected ';' at end of member declaration
     unsigned __LONG32 *BufferConformanceMark;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:219:14: error: expected ';' at end of member declaration
     unsigned __LONG32 *BufferVarianceMark;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:219:14: error: redeclaration of 'unsigned int <anonymous struct>::__LONG32'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:218:14: note: previous declaration 'unsigned int <anonymous struct>::__LONG32'
     unsigned __LONG32 *BufferConformanceMark;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:220:14: error: expected ';' at end of member declaration
     unsigned __LONG32 *MaxCountArray;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:220:14: error: redeclaration of 'unsigned int <anonymous struct>::__LONG32'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:218:14: note: previous declaration 'unsigned int <anonymous struct>::__LONG32'
     unsigned __LONG32 *BufferConformanceMark;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:221:14: error: expected ';' at end of member declaration
     unsigned __LONG32 *OffsetArray;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:221:14: error: redeclaration of 'unsigned int <anonymous struct>::__LONG32'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:218:14: note: previous declaration 'unsigned int <anonymous struct>::__LONG32'
     unsigned __LONG32 *BufferConformanceMark;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:222:14: error: expected ';' at end of member declaration
     unsigned __LONG32 *ActualCountArray;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:222:14: error: redeclaration of 'unsigned int <anonymous struct>::__LONG32'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:218:14: note: previous declaration 'unsigned int <anonymous struct>::__LONG32'
     unsigned __LONG32 *BufferConformanceMark;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:229:14: error: expected ';' at end of member declaration
     unsigned __LONG32 WireCodeset;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:229:23: error: 'WireCodeset' does not name a type
     unsigned __LONG32 WireCodeset;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:230:14: error: expected ';' at end of member declaration
     unsigned __LONG32 DesiredReceivingCodeset;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:230:14: error: redeclaration of 'unsigned int <anonymous struct>::__LONG32'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:229:14: note: previous declaration 'unsigned int <anonymous struct>::__LONG32'
     unsigned __LONG32 WireCodeset;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:230:23: error: 'DesiredReceivingCodeset' does not name a type
     unsigned __LONG32 DesiredReceivingCodeset;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:247:14: error: expected ';' at end of member declaration
     unsigned __LONG32 BufferLength;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:247:23: error: 'BufferLength' does not name a type
     unsigned __LONG32 BufferLength;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:248:14: error: expected ';' at end of member declaration
     unsigned __LONG32 MemorySize;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:248:14: error: redeclaration of 'unsigned int _MIDL_STUB_MESSAGE::__LONG32'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:247:14: note: previous declaration 'unsigned int _MIDL_STUB_MESSAGE::__LONG32'
     unsigned __LONG32 BufferLength;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:248:23: error: 'MemorySize' does not name a type
     unsigned __LONG32 MemorySize;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:262:14: error: expected ';' at end of member declaration
     unsigned __LONG32 Offset;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:262:14: error: redeclaration of 'unsigned int _MIDL_STUB_MESSAGE::__LONG32'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:247:14: note: previous declaration 'unsigned int _MIDL_STUB_MESSAGE::__LONG32'
     unsigned __LONG32 BufferLength;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:262:23: error: 'Offset' does not name a type
     unsigned __LONG32 Offset;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:263:14: error: expected ';' at end of member declaration
     unsigned __LONG32 ActualCount;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:263:14: error: redeclaration of 'unsigned int _MIDL_STUB_MESSAGE::__LONG32'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:247:14: note: previous declaration 'unsigned int _MIDL_STUB_MESSAGE::__LONG32'
     unsigned __LONG32 BufferLength;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:263:23: error: 'ActualCount' does not name a type
     unsigned __LONG32 ActualCount;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:272:14: error: expected ';' at end of member declaration
     unsigned __LONG32 FullPtrRefId;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:272:14: error: redeclaration of 'unsigned int _MIDL_STUB_MESSAGE::__LONG32'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:247:14: note: previous declaration 'unsigned int _MIDL_STUB_MESSAGE::__LONG32'
     unsigned __LONG32 BufferLength;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:272:23: error: 'FullPtrRefId' does not name a type
     unsigned __LONG32 FullPtrRefId;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:273:14: error: expected ';' at end of member declaration
     unsigned __LONG32 PointerLength;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:273:14: error: redeclaration of 'unsigned int _MIDL_STUB_MESSAGE::__LONG32'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:247:14: note: previous declaration 'unsigned int _MIDL_STUB_MESSAGE::__LONG32'
     unsigned __LONG32 BufferLength;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:273:23: error: 'PointerLength' does not name a type
     unsigned __LONG32 PointerLength;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:284:14: error: expected ';' at end of member declaration
     unsigned __LONG32 dwDestContext;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:284:14: error: redeclaration of 'unsigned int _MIDL_STUB_MESSAGE::__LONG32'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:247:14: note: previous declaration 'unsigned int _MIDL_STUB_MESSAGE::__LONG32'
     unsigned __LONG32 BufferLength;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:284:23: error: 'dwDestContext' does not name a type
     unsigned __LONG32 dwDestContext;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:287:5: error: '__LONG32' does not name a type
     __LONG32 ParamNumber;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:290:14: error: expected ';' at end of member declaration
     unsigned __LONG32 *SizePtrCountArray;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:290:14: error: redeclaration of 'unsigned int _MIDL_STUB_MESSAGE::__LONG32'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:247:14: note: previous declaration 'unsigned int _MIDL_STUB_MESSAGE::__LONG32'
     unsigned __LONG32 BufferLength;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:291:14: error: expected ';' at end of member declaration
     unsigned __LONG32 *SizePtrOffsetArray;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:291:14: error: redeclaration of 'unsigned int _MIDL_STUB_MESSAGE::__LONG32'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:247:14: note: previous declaration 'unsigned int _MIDL_STUB_MESSAGE::__LONG32'
     unsigned __LONG32 BufferLength;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:292:14: error: expected ';' at end of member declaration
     unsigned __LONG32 *SizePtrLengthArray;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:292:14: error: redeclaration of 'unsigned int _MIDL_STUB_MESSAGE::__LONG32'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:247:14: note: previous declaration 'unsigned int _MIDL_STUB_MESSAGE::__LONG32'
     unsigned __LONG32 BufferLength;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:294:14: error: expected ';' at end of member declaration
     unsigned __LONG32 dwStubPhase;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:294:14: error: redeclaration of 'unsigned int _MIDL_STUB_MESSAGE::__LONG32'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:247:14: note: previous declaration 'unsigned int _MIDL_STUB_MESSAGE::__LONG32'
     unsigned __LONG32 BufferLength;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:294:23: error: 'dwStubPhase' does not name a type
     unsigned __LONG32 dwStubPhase;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:342:17: error: typedef 'ULONG' is initialized (use decltype instead)
   typedef ULONG (__RPC_API *USER_MARSHAL_SIZING_ROUTINE)(ULONG *,ULONG,void *);
                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:342:29: error: 'USER_MARSHAL_SIZING_ROUTINE' was not declared in this scope
   typedef ULONG (__RPC_API *USER_MARSHAL_SIZING_ROUTINE)(ULONG *,ULONG,void *);
                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:343:72: error: typedef 'USER_MARSHAL_MARSHALLING_ROUTINE' is initialized (use decltype instead)
   typedef unsigned char *(__RPC_API *USER_MARSHAL_MARSHALLING_ROUTINE)(ULONG *,unsigned char *,void *);
                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:343:72: error: 'ULONG' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:343:79: error: expected primary-expression before ',' token
   typedef unsigned char *(__RPC_API *USER_MARSHAL_MARSHALLING_ROUTINE)(ULONG *,unsigned char *,void *);
                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:343:80: error: expected primary-expression before 'unsigned'
   typedef unsigned char *(__RPC_API *USER_MARSHAL_MARSHALLING_ROUTINE)(ULONG *,unsigned char *,void *);
                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:343:96: error: expected primary-expression before 'void'
   typedef unsigned char *(__RPC_API *USER_MARSHAL_MARSHALLING_ROUTINE)(ULONG *,unsigned char *,void *);
                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:344:74: error: typedef 'USER_MARSHAL_UNMARSHALLING_ROUTINE' is initialized (use decltype instead)
   typedef unsigned char *(__RPC_API *USER_MARSHAL_UNMARSHALLING_ROUTINE)(ULONG *,unsigned char *,void *);
                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:344:74: error: 'ULONG' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:344:81: error: expected primary-expression before ',' token
   typedef unsigned char *(__RPC_API *USER_MARSHAL_UNMARSHALLING_ROUTINE)(ULONG *,unsigned char *,void *);
                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:344:82: error: expected primary-expression before 'unsigned'
   typedef unsigned char *(__RPC_API *USER_MARSHAL_UNMARSHALLING_ROUTINE)(ULONG *,unsigned char *,void *);
                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:344:98: error: expected primary-expression before 'void'
   typedef unsigned char *(__RPC_API *USER_MARSHAL_UNMARSHALLING_ROUTINE)(ULONG *,unsigned char *,void *);
                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:345:58: error: typedef 'USER_MARSHAL_FREEING_ROUTINE' is initialized (use decltype instead)
   typedef void (__RPC_API *USER_MARSHAL_FREEING_ROUTINE)(ULONG *,void *);
                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:345:58: error: 'ULONG' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:345:65: error: expected primary-expression before ',' token
   typedef void (__RPC_API *USER_MARSHAL_FREEING_ROUTINE)(ULONG *,void *);
                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:345:66: error: expected primary-expression before 'void'
   typedef void (__RPC_API *USER_MARSHAL_FREEING_ROUTINE)(ULONG *,void *);
                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:348:5: error: 'USER_MARSHAL_SIZING_ROUTINE' does not name a type
     USER_MARSHAL_SIZING_ROUTINE pfnBufferSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:349:5: error: 'USER_MARSHAL_MARSHALLING_ROUTINE' does not name a type
     USER_MARSHAL_MARSHALLING_ROUTINE pfnMarshall;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:350:5: error: 'USER_MARSHAL_UNMARSHALLING_ROUTINE' does not name a type
     USER_MARSHAL_UNMARSHALLING_ROUTINE pfnUnmarshall;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:351:5: error: 'USER_MARSHAL_FREEING_ROUTINE' does not name a type
     USER_MARSHAL_FREEING_ROUTINE pfnFree;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:361:14: error: expected ';' at end of member declaration
     unsigned __LONG32 Flags;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:361:23: error: 'Flags' does not name a type
     unsigned __LONG32 Flags;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:364:14: error: expected ';' at end of member declaration
     unsigned __LONG32 Signature;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:364:14: error: redeclaration of 'unsigned int _USER_MARSHAL_CB::__LONG32'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:361:14: note: previous declaration 'unsigned int _USER_MARSHAL_CB::__LONG32'
     unsigned __LONG32 Flags;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:364:23: error: 'Signature' does not name a type
     unsigned __LONG32 Signature;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:391:100: error: expected ',' or '...' before 'ulNetworkCodeSet'
   typedef void (__RPC_API *CS_TYPE_NET_SIZE_ROUTINE)(RPC_BINDING_HANDLE hBinding,unsigned __LONG32 ulNetworkCodeSet,unsigned __LONG32 ulLocalBufferSize,IDL_CS_CONVERT *conversionType,unsigned __LONG32 *pulNetworkBufferSize,error_status_t *pStatus);
                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:392:102: error: expected ',' or '...' before 'ulNetworkCodeSet'
   typedef void (__RPC_API *CS_TYPE_LOCAL_SIZE_ROUTINE)(RPC_BINDING_HANDLE hBinding,unsigned __LONG32 ulNetworkCodeSet,unsigned __LONG32 ulNetworkBufferSize,IDL_CS_CONVERT *conversionType,unsigned __LONG32 *pulLocalBufferSize,error_status_t *pStatus);
                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:393:100: error: expected ',' or '...' before 'ulNetworkCodeSet'
   typedef void (__RPC_API *CS_TYPE_TO_NETCS_ROUTINE)(RPC_BINDING_HANDLE hBinding,unsigned __LONG32 ulNetworkCodeSet,void *pLocalData,unsigned __LONG32 ulLocalDataLength,byte *pNetworkData,unsigned __LONG32 *pulNetworkDataLength,error_status_t *pStatus);
                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:394:102: error: expected ',' or '...' before 'ulNetworkCodeSet'
   typedef void (__RPC_API *CS_TYPE_FROM_NETCS_ROUTINE)(RPC_BINDING_HANDLE hBinding,unsigned __LONG32 ulNetworkCodeSet,byte *pNetworkData,unsigned __LONG32 ulNetworkDataLength,unsigned __LONG32 ulLocalBufferSize,void *pLocalData,unsigned __LONG32 *pulLocalDataLength,error_status_t *pStatus);
                                                                                                      ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:8:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:395:114: error: expected ',' or '...' before '*' token
   typedef void (__RPC_API *CS_TAG_GETTING_ROUTINE)(RPC_BINDING_HANDLE hBinding,int fServerSide,unsigned __LONG32 *pulSendingTag,unsigned __LONG32 *pulDesiredReceivingTag,unsigned __LONG32 *pulReceivingTag,error_status_t *pStatus);
                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:397:93: error: expected ',' or '...' before '*' token
   void __RPC_API RpcCsGetTags(RPC_BINDING_HANDLE hBinding,int fServerSide,unsigned __LONG32 *pulSendingTag,unsigned __LONG32 *pulDesiredReceivingTag,unsigned __LONG32 *pulReceivingTag,error_status_t *pStatus);
                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:426:14: error: expected ';' at end of member declaration
     unsigned __LONG32 Version;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:426:23: error: 'Version' does not name a type
     unsigned __LONG32 Version;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:428:5: error: '__LONG32' does not name a type
     __LONG32 MIDLVersion;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:447:20: error: typedef '__LONG32' is initialized (use decltype instead)
   typedef __LONG32 (__RPC_API *SERVER_ROUTINE)();
                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:447:32: error: 'SERVER_ROUTINE' was not declared in this scope
   typedef __LONG32 (__RPC_API *SERVER_ROUTINE)();
                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:451:11: error: 'SERVER_ROUTINE' does not name a type
     const SERVER_ROUTINE *DispatchTable;
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:498:14: error: expected ';' at end of member declaration
     unsigned __LONG32 RefId;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:498:23: error: 'RefId' does not name a type
     unsigned __LONG32 RefId;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:507:16: error: expected ';' at end of member declaration
       unsigned __LONG32 NumberOfEntries;
                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:507:25: error: 'NumberOfEntries' does not name a type
       unsigned __LONG32 NumberOfEntries;
                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:511:16: error: expected ';' at end of member declaration
       unsigned __LONG32 NumberOfBuckets;
                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:511:25: error: 'NumberOfBuckets' does not name a type
       unsigned __LONG32 NumberOfBuckets;
                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:512:16: error: expected ';' at end of member declaration
       unsigned __LONG32 HashMask;
                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:512:16: error: redeclaration of 'unsigned int _FULL_PTR_XLAT_TABLES::<anonymous struct>::__LONG32'
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:511:16: note: previous declaration 'unsigned int _FULL_PTR_XLAT_TABLES::<anonymous struct>::__LONG32'
       unsigned __LONG32 NumberOfBuckets;
                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:512:25: error: 'HashMask' does not name a type
       unsigned __LONG32 HashMask;
                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:514:14: error: expected ';' at end of member declaration
     unsigned __LONG32 NextRefId;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:514:23: error: 'NextRefId' does not name a type
     unsigned __LONG32 NextRefId;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:518:3: error: 'RPC_STATUS' does not name a type
   RPC_STATUS RPC_ENTRY NdrClientGetSupportedSyntaxes(RPC_CLIENT_INTERFACE *pInf,unsigned __LONG32 *pCount,MIDL_SYNTAX_INFO **pArr);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:519:3: error: 'RPC_STATUS' does not name a type
   RPC_STATUS RPC_ENTRY NdrServerGetSupportedSyntaxes(RPC_SERVER_INTERFACE *pInf,unsigned __LONG32 *pCount,MIDL_SYNTAX_INFO **pArr,unsigned __LONG32 *pPreferSyntaxIndex);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:548:112: error: expected ',' or '...' before 'CacheSize'
   RPCRTAPI void RPC_ENTRY NdrCorrelationInitialize(PMIDL_STUB_MESSAGE pStubMsg,void *pMemory,unsigned __LONG32 CacheSize,unsigned __LONG32 flags);
                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:594:40: error: expected initializer before 'NdrPointerMemorySize'
   RPCRTAPI unsigned __LONG32 RPC_ENTRY NdrPointerMemorySize(PMIDL_STUB_MESSAGE pStubMsg,PFORMAT_STRING pFormat);
                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:595:40: error: expected initializer before 'NdrCsArrayMemorySize'
   RPCRTAPI unsigned __LONG32 RPC_ENTRY NdrCsArrayMemorySize(PMIDL_STUB_MESSAGE pStubMsg,PFORMAT_STRING pFormat);
                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:596:40: error: expected initializer before 'NdrCsTagMemorySize'
   RPCRTAPI unsigned __LONG32 RPC_ENTRY NdrCsTagMemorySize(PMIDL_STUB_MESSAGE pStubMsg,PFORMAT_STRING pFormat);
                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:597:40: error: expected initializer before 'NdrSimpleStructMemorySize'
   RPCRTAPI unsigned __LONG32 RPC_ENTRY NdrSimpleStructMemorySize(PMIDL_STUB_MESSAGE pStubMsg,PFORMAT_STRING pFormat);
                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:598:40: error: expected initializer before 'NdrConformantStructMemorySize'
   RPCRTAPI unsigned __LONG32 RPC_ENTRY NdrConformantStructMemorySize(PMIDL_STUB_MESSAGE pStubMsg,PFORMAT_STRING pFormat);
                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:599:40: error: expected initializer before 'NdrConformantVaryingStructMemorySize'
   RPCRTAPI unsigned __LONG32 RPC_ENTRY NdrConformantVaryingStructMemorySize(PMIDL_STUB_MESSAGE pStubMsg,PFORMAT_STRING pFormat);
                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:600:40: error: expected initializer before 'NdrComplexStructMemorySize'
   RPCRTAPI unsigned __LONG32 RPC_ENTRY NdrComplexStructMemorySize(PMIDL_STUB_MESSAGE pStubMsg,PFORMAT_STRING pFormat);
                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:601:40: error: expected initializer before 'NdrFixedArrayMemorySize'
   RPCRTAPI unsigned __LONG32 RPC_ENTRY NdrFixedArrayMemorySize(PMIDL_STUB_MESSAGE pStubMsg,PFORMAT_STRING pFormat);
                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:602:40: error: expected initializer before 'NdrConformantArrayMemorySize'
   RPCRTAPI unsigned __LONG32 RPC_ENTRY NdrConformantArrayMemorySize(PMIDL_STUB_MESSAGE pStubMsg,PFORMAT_STRING pFormat);
                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:603:40: error: expected initializer before 'NdrConformantVaryingArrayMemorySize'
   RPCRTAPI unsigned __LONG32 RPC_ENTRY NdrConformantVaryingArrayMemorySize(PMIDL_STUB_MESSAGE pStubMsg,PFORMAT_STRING pFormat);
                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:604:40: error: expected initializer before 'NdrVaryingArrayMemorySize'
   RPCRTAPI unsigned __LONG32 RPC_ENTRY NdrVaryingArrayMemorySize(PMIDL_STUB_MESSAGE pStubMsg,PFORMAT_STRING pFormat);
                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:605:40: error: expected initializer before 'NdrComplexArrayMemorySize'
   RPCRTAPI unsigned __LONG32 RPC_ENTRY NdrComplexArrayMemorySize(PMIDL_STUB_MESSAGE pStubMsg,PFORMAT_STRING pFormat);
                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:606:40: error: expected initializer before 'NdrConformantStringMemorySize'
   RPCRTAPI unsigned __LONG32 RPC_ENTRY NdrConformantStringMemorySize(PMIDL_STUB_MESSAGE pStubMsg,PFORMAT_STRING pFormat);
                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:607:40: error: expected initializer before 'NdrNonConformantStringMemorySize'
   RPCRTAPI unsigned __LONG32 RPC_ENTRY NdrNonConformantStringMemorySize(PMIDL_STUB_MESSAGE pStubMsg,PFORMAT_STRING pFormat);
                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:608:40: error: expected initializer before 'NdrEncapsulatedUnionMemorySize'
   RPCRTAPI unsigned __LONG32 RPC_ENTRY NdrEncapsulatedUnionMemorySize(PMIDL_STUB_MESSAGE pStubMsg,PFORMAT_STRING pFormat);
                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:609:40: error: expected initializer before 'NdrNonEncapsulatedUnionMemorySize'
   RPCRTAPI unsigned __LONG32 RPC_ENTRY NdrNonEncapsulatedUnionMemorySize(PMIDL_STUB_MESSAGE pStubMsg,PFORMAT_STRING pFormat);
                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:610:40: error: expected initializer before 'NdrXmitOrRepAsMemorySize'
   RPCRTAPI unsigned __LONG32 RPC_ENTRY NdrXmitOrRepAsMemorySize(PMIDL_STUB_MESSAGE pStubMsg,PFORMAT_STRING pFormat);
                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:611:40: error: expected initializer before 'NdrUserMarshalMemorySize'
   RPCRTAPI unsigned __LONG32 RPC_ENTRY NdrUserMarshalMemorySize(PMIDL_STUB_MESSAGE pStubMsg,PFORMAT_STRING pFormat);
                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:612:40: error: expected initializer before 'NdrInterfacePointerMemorySize'
   RPCRTAPI unsigned __LONG32 RPC_ENTRY NdrInterfacePointerMemorySize(PMIDL_STUB_MESSAGE pStubMsg,PFORMAT_STRING pFormat);
                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:630:90: error: '__LONG32' has not been declared
   RPCRTAPI void RPC_ENTRY NdrConvert2(PMIDL_STUB_MESSAGE pStubMsg,PFORMAT_STRING pFormat,__LONG32 NumberParams);
                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:646:87: error: expected ',' or '...' before '*' token
   RPCRTAPI unsigned char *RPC_ENTRY NdrUserMarshalSimpleTypeConvert(unsigned __LONG32 *pFlags,unsigned char *pBuffer,unsigned char FormatChar);
                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:649:153: error: expected ',' or '...' before 'RequestedBufferSize'
   RPCRTAPI void RPC_ENTRY NdrServerInitializePartial(PRPC_MESSAGE pRpcMsg,PMIDL_STUB_MESSAGE pStubMsg,PMIDL_STUB_DESC pStubDescriptor,unsigned __LONG32 RequestedBufferSize);
                                                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:654:96: error: expected ',' or '...' before 'BufferLength'
   RPCRTAPI unsigned char *RPC_ENTRY NdrGetBuffer(PMIDL_STUB_MESSAGE pStubMsg,unsigned __LONG32 BufferLength,RPC_BINDING_HANDLE Handle);
                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:655:98: error: expected ',' or '...' before 'BufferLength'
   RPCRTAPI unsigned char *RPC_ENTRY NdrNsGetBuffer(PMIDL_STUB_MESSAGE pStubMsg,unsigned __LONG32 BufferLength,RPC_BINDING_HANDLE Handle);
                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:659:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY NdrGetDcomProtocolVersion(PMIDL_STUB_MESSAGE pStubMsg,RPC_VERSION *pVersion);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:679:12: error: '__LONG32' does not name a type
   RPCRTAPI __LONG32 RPC_ENTRY NdrAsyncStubCall(struct IRpcStubBuffer *pThis,struct IRpcChannelBuffer *pChannel,PRPC_MESSAGE pRpcMsg,unsigned __LONG32 *pdwStubPhase);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:680:12: error: '__LONG32' does not name a type
   RPCRTAPI __LONG32 RPC_ENTRY NdrDcomAsyncStubCall(struct IRpcStubBuffer *pThis,struct IRpcChannelBuffer *pChannel,PRPC_MESSAGE pRpcMsg,unsigned __LONG32 *pdwStubPhase);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:681:12: error: '__LONG32' does not name a type
   RPCRTAPI __LONG32 RPC_ENTRY NdrStubCall2(struct IRpcStubBuffer *pThis,struct IRpcChannelBuffer *pChannel,PRPC_MESSAGE pRpcMsg,unsigned __LONG32 *pdwStubPhase);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:683:12: error: '__LONG32' does not name a type
   RPCRTAPI __LONG32 RPC_ENTRY NdrStubCall (struct IRpcStubBuffer *pThis,struct IRpcChannelBuffer *pChannel,PRPC_MESSAGE pRpcMsg,unsigned __LONG32 *pdwStubPhase);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:687:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY NdrMapCommAndFaultStatus(PMIDL_STUB_MESSAGE pStubMsg,unsigned __LONG32 *pCommStatus,unsigned __LONG32 *pFaultStatus,RPC_STATUS Status);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:691:112: error: expected ',' or '...' before 'Count'
   RPCRTAPI int RPC_ENTRY NdrSH_IfAlloc(PMIDL_STUB_MESSAGE pStubMsg,unsigned char **pPtrInMem,unsigned __LONG32 Count);
                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:692:115: error: expected ',' or '...' before 'Count'
   RPCRTAPI int RPC_ENTRY NdrSH_IfAllocRef(PMIDL_STUB_MESSAGE pStubMsg,unsigned char **pPtrInMem,unsigned __LONG32 Count);
                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:693:115: error: expected ',' or '...' before 'Count'
   RPCRTAPI int RPC_ENTRY NdrSH_IfAllocSet(PMIDL_STUB_MESSAGE pStubMsg,unsigned char **pPtrInMem,unsigned __LONG32 Count);
                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:694:118: error: expected ',' or '...' before 'Count'
   RPCRTAPI RPC_BUFPTR RPC_ENTRY NdrSH_IfCopy(PMIDL_STUB_MESSAGE pStubMsg,unsigned char **pPtrInMem,unsigned __LONG32 Count);
                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:695:123: error: expected ',' or '...' before 'Count'
   RPCRTAPI RPC_BUFPTR RPC_ENTRY NdrSH_IfAllocCopy(PMIDL_STUB_MESSAGE pStubMsg,unsigned char **pPtrInMem,unsigned __LONG32 Count);
                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:696:40: error: expected initializer before 'NdrSH_Copy'
   RPCRTAPI unsigned __LONG32 RPC_ENTRY NdrSH_Copy(unsigned char *pStubMsg,unsigned char *pPtrInMem,unsigned __LONG32 Count);
                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:698:123: error: expected ',' or '...' before 'Count'
   RPCRTAPI RPC_BUFPTR RPC_ENTRY NdrSH_StringMarshall(PMIDL_STUB_MESSAGE pMessage,unsigned char *pMemory,unsigned __LONG32 Count,int Size);
                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:714:54: error: 'RPC_STATUS' has not been declared
   RPCRTAPI void *RPC_ENTRY RpcSmAllocate(size_t Size,RPC_STATUS *pStatus);
                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:715:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcSmClientFree(void *pNodeToFree);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:716:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcSmDestroyClientContext(void **ContextHandle);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:717:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcSmDisableAllocate(void);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:718:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcSmEnableAllocate(void);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:719:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcSmFree(void *NodeToFree);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:720:65: error: definition of 'void* RpcSmGetThreadHandle' is marked 'dllimport'
   RPCRTAPI RPC_SS_THREAD_HANDLE RPC_ENTRY RpcSmGetThreadHandle (RPC_STATUS *pStatus);
                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:720:65: error: 'RPC_STATUS' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:720:77: error: 'pStatus' was not declared in this scope
   RPCRTAPI RPC_SS_THREAD_HANDLE RPC_ENTRY RpcSmGetThreadHandle (RPC_STATUS *pStatus);
                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:721:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcSmSetClientAllocFree(RPC_CLIENT_ALLOC *ClientAlloc,RPC_CLIENT_FREE *ClientFree);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:722:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcSmSetThreadHandle(RPC_SS_THREAD_HANDLE Id);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:723:12: error: 'RPC_STATUS' does not name a type
   RPCRTAPI RPC_STATUS RPC_ENTRY RpcSmSwapClientAllocFree(RPC_CLIENT_ALLOC *ClientAlloc,RPC_CLIENT_FREE *ClientFree,RPC_CLIENT_ALLOC **OldClientAlloc,RPC_CLIENT_FREE **OldClientFree);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:731:85: error: expected ',' or '...' before 'NumberOfPointers'
   RPCRTAPI PFULL_PTR_XLAT_TABLES RPC_ENTRY NdrFullPointerXlatInit(unsigned __LONG32 NumberOfPointers,XLAT_SIDE XlatSide);
                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:733:144: error: expected ',' or '...' before '*' token
   RPCRTAPI int RPC_ENTRY NdrFullPointerQueryPointer(PFULL_PTR_XLAT_TABLES pXlatTables,void *pPointer,unsigned char QueryType,unsigned __LONG32 *pRefId);
                                                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:734:103: error: expected ',' or '...' before 'RefId'
   RPCRTAPI int RPC_ENTRY NdrFullPointerQueryRefId(PFULL_PTR_XLAT_TABLES pXlatTables,unsigned __LONG32 RefId,unsigned char QueryType,void **ppPointer);
                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:735:105: error: expected ',' or '...' before 'RefId'
   RPCRTAPI void RPC_ENTRY NdrFullPointerInsertRefId(PFULL_PTR_XLAT_TABLES pXlatTables,unsigned __LONG32 RefId,void *pPointer);
                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:761:14: error: expected ';' at end of member declaration
     unsigned __LONG32 BufferSize;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:761:23: error: 'BufferSize' does not name a type
     unsigned __LONG32 BufferSize;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:769:14: error: expected ';' at end of member declaration
     unsigned __LONG32 InformationLevel;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:769:23: error: 'InformationLevel' does not name a type
     unsigned __LONG32 InformationLevel;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:775:3: error: 'RPC_STATUS' does not name a type
   RPC_STATUS RPC_ENTRY NdrGetUserMarshalInfo(unsigned __LONG32 *pFlags,unsigned __LONG32 InformationLevel,NDR_USER_MARSHAL_INFO *pMarshalInfo);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:776:3: error: 'RPC_STATUS' does not name a type
   RPC_STATUS RPC_ENTRY NdrCreateServerInterfaceFromStub(struct IRpcStubBuffer *pStub,RPC_SERVER_INTERFACE *pServerIf);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:777:106: error: expected ',' or '...' before 'nProcNum'
   CLIENT_CALL_RETURN RPC_VAR_ENTRY NdrClientCall3(MIDL_STUBLESS_PROXY_INFO *pProxyInfo,unsigned __LONG32 nProcNum,void *pReturnValue,...);
                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:778:112: error: expected ',' or '...' before 'nProcNum'
   CLIENT_CALL_RETURN RPC_VAR_ENTRY Ndr64AsyncClientCall(MIDL_STUBLESS_PROXY_INFO *pProxyInfo,unsigned __LONG32 nProcNum,void *pReturnValue,...);
                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:779:116: error: expected ',' or '...' before 'nProcNum'
   CLIENT_CALL_RETURN RPC_VAR_ENTRY Ndr64DcomAsyncClientCall(MIDL_STUBLESS_PROXY_INFO *pProxyInfo,unsigned __LONG32 nProcNum,void *pReturnValue,...);
                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:786:12: error: '__LONG32' does not name a type
   RPCRTAPI __LONG32 RPC_ENTRY Ndr64AsyncStubCall(struct IRpcStubBuffer *pThis,struct IRpcChannelBuffer *pChannel,PRPC_MESSAGE pRpcMsg,unsigned __LONG32 *pdwStubPhase);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:787:12: error: '__LONG32' does not name a type
   RPCRTAPI __LONG32 RPC_ENTRY Ndr64DcomAsyncStubCall(struct IRpcStubBuffer *pThis,struct IRpcChannelBuffer *pChannel,PRPC_MESSAGE pRpcMsg,unsigned __LONG32 *pdwStubPhase);
            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/rpcndr.h:788:12: error: '__LONG32' does not name a type
   RPCRTAPI __LONG32 RPC_ENTRY NdrStubCall3 (struct IRpcStubBuffer *pThis,struct IRpcChannelBuffer *pChannel,PRPC_MESSAGE pRpcMsg,unsigned __LONG32 *pdwStubPhase);
            ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:153:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:14,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypesbase.h:92:9: error: 'DWORD' does not name a type
 typedef DWORD ULONG;
         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypesbase.h:186:5: error: 'ULONG' does not name a type
     ULONG UserLength;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypesbase.h:188:5: error: 'ULONG' does not name a type
     ULONG DomainLength;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypesbase.h:190:5: error: 'ULONG' does not name a type
     ULONG PasswordLength;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypesbase.h:191:5: error: 'ULONG' does not name a type
     ULONG Flags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypesbase.h:195:5: error: 'DWORD' does not name a type
     DWORD dwAuthnSvc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypesbase.h:196:5: error: 'DWORD' does not name a type
     DWORD dwAuthzSvc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypesbase.h:198:5: error: 'DWORD' does not name a type
     DWORD dwAuthnLevel;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypesbase.h:199:5: error: 'DWORD' does not name a type
     DWORD dwImpersonationLevel;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypesbase.h:201:5: error: 'DWORD' does not name a type
     DWORD dwCapabilities;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypesbase.h:204:9: error: 'LONG' does not name a type
 typedef LONG SCODE;
         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypesbase.h:205:9: error: 'SCODE' does not name a type
 typedef SCODE *PSCODE;
         ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:153:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:14,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypesbase.h:317:5: error: 'ULONG' does not name a type
     ULONG clSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypesbase.h:324:5: error: 'ULONG' does not name a type
     ULONG clSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypesbase.h:331:5: error: 'ULONG' does not name a type
     ULONG clSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypesbase.h:332:5: error: 'ULONG' does not name a type
     ULONG alData[1];
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypesbase.h:338:5: error: 'ULONG' does not name a type
     ULONG fFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypesbase.h:339:5: error: 'ULONG' does not name a type
     ULONG clSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypesbase.h:346:5: error: 'ULONG' does not name a type
     ULONG fFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypesbase.h:347:5: error: 'ULONG' does not name a type
     ULONG clSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypesbase.h:354:5: error: 'ULONG' does not name a type
     ULONG clSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypesbase.h:359:5: error: 'ULONG' does not name a type
     ULONG clSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypesbase.h:364:5: error: 'ULONG' does not name a type
     ULONG clSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypesbase.h:365:5: error: 'ULONG' does not name a type
     ULONG *pData;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypesbase.h:369:5: error: 'ULONG' does not name a type
     ULONG clSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypesbase.h:383:5: error: 'ULONG' does not name a type
     ULONG cbSize;
     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:154:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:14,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/unknwnbase.h:68:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE QueryInterface(REFIID riid, void **ppvObject) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/unknwnbase.h:69:13: error: 'ULONG' does not name a type
     virtual ULONG STDMETHODCALLTYPE AddRef(void) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/unknwnbase.h:70:13: error: 'ULONG' does not name a type
     virtual ULONG STDMETHODCALLTYPE Release(void) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/unknwnbase.h:73:5: error: 'HRESULT' does not name a type
     HRESULT STDMETHODCALLTYPE QueryInterface(Q **pp) {
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/unknwnbase.h:80:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IUnknown_QueryInterface_Proxy(IUnknown *This, REFIID riid, void **ppvObject);
 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:154:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:14,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/unknwnbase.h:81:134: error: 'DWORD' has not been declared
 void __RPC_STUB IUnknown_QueryInterface_Stub(IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase);
                                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/unknwnbase.h:82:1: error: 'ULONG' does not name a type
 ULONG STDMETHODCALLTYPE IUnknown_AddRef_Proxy(IUnknown *This);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/unknwnbase.h:83:126: error: 'DWORD' has not been declared
 void __RPC_STUB IUnknown_AddRef_Stub(IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase);
                                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/unknwnbase.h:84:1: error: 'ULONG' does not name a type
 ULONG STDMETHODCALLTYPE IUnknown_Release_Proxy(IUnknown *This);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/unknwnbase.h:85:127: error: 'DWORD' has not been declared
 void __RPC_STUB IUnknown_Release_Stub(IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase);
                                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/unknwnbase.h:194:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Begin_QueryInterface(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/unknwnbase.h:197:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Finish_QueryInterface(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/unknwnbase.h:200:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Begin_AddRef(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/unknwnbase.h:203:13: error: 'ULONG' does not name a type
     virtual ULONG STDMETHODCALLTYPE Finish_AddRef(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/unknwnbase.h:206:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Begin_Release(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/unknwnbase.h:209:13: error: 'ULONG' does not name a type
     virtual ULONG STDMETHODCALLTYPE Finish_Release(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/unknwnbase.h:307:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE AsyncIUnknown_Begin_QueryInterface_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/unknwnbase.h:314:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/unknwnbase.h:315:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE AsyncIUnknown_Finish_QueryInterface_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/unknwnbase.h:322:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/unknwnbase.h:323:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE AsyncIUnknown_Begin_AddRef_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/unknwnbase.h:329:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/unknwnbase.h:330:1: error: 'ULONG' does not name a type
 ULONG STDMETHODCALLTYPE AsyncIUnknown_Finish_AddRef_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/unknwnbase.h:336:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/unknwnbase.h:337:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE AsyncIUnknown_Begin_Release_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/unknwnbase.h:343:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/unknwnbase.h:344:1: error: 'ULONG' does not name a type
 ULONG STDMETHODCALLTYPE AsyncIUnknown_Finish_Release_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/unknwnbase.h:350:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/unknwnbase.h:370:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE CreateInstance(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/unknwnbase.h:375:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE LockServer(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/unknwnbase.h:447:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IClassFactory_RemoteCreateInstance_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/unknwnbase.h:455:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/unknwnbase.h:456:1: error: 'HRESULT' does not name a type
 HRESULT __stdcall IClassFactory_RemoteLockServer_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/unknwnbase.h:463:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/unknwnbase.h:464:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK IClassFactory_CreateInstance_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/unknwnbase.h:469:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB IClassFactory_CreateInstance_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/unknwnbase.h:473:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK IClassFactory_LockServer_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/unknwnbase.h:476:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB IClassFactory_LockServer_Stub(
 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:155:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:14,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:348:5: error: 'DWORD' does not name a type
     DWORD dwReserved1;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:351:5: error: 'DWORD' does not name a type
     DWORD dwReserved2;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:366:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetUnmarshalClass(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:374:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetMarshalSizeMax(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:382:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE MarshalInterface(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:390:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE UnmarshalInterface(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:395:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE ReleaseMarshalData(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:398:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE DisconnectObject(
             ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:155:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:14,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:517:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IMarshal_GetUnmarshalClass_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:529:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:530:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IMarshal_GetMarshalSizeMax_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:542:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:543:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IMarshal_MarshalInterface_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:555:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:556:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IMarshal_UnmarshalInterface_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:565:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:566:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IMarshal_ReleaseMarshalData_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:573:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:574:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IMarshal_DisconnectObject_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:581:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:984:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:993:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1001:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1009:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1017:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1024:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1042:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetClassForHandler(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1108:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IStdMarshalInfo_GetClassForHandler_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1117:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1141:13: error: 'DWORD' does not name a type
     virtual DWORD STDMETHODCALLTYPE AddConnection(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1145:13: error: 'DWORD' does not name a type
     virtual DWORD STDMETHODCALLTYPE ReleaseConnection(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1220:1: error: 'DWORD' does not name a type
 DWORD STDMETHODCALLTYPE IExternalConnection_AddConnection_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1228:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1229:1: error: 'DWORD' does not name a type
 DWORD STDMETHODCALLTYPE IExternalConnection_ReleaseConnection_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1238:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1250:5: error: 'HRESULT' does not name a type
     HRESULT hr;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1264:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE QueryMultipleInterfaces(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1328:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IMultiQI_QueryMultipleInterfaces_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1336:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1352:9: error: 'ULONG' has not been declared
         ULONG cMQIs,
         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1355:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Finish_QueryMultipleInterfaces(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1426:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE AsyncIMultiQI_Begin_QueryMultipleInterfaces_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1434:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1435:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE AsyncIMultiQI_Finish_QueryMultipleInterfaces_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1443:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1461:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE QueryInternalInterface(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1525:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInternalUnknown_QueryInternalInterface_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1533:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1553:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Next(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1558:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Skip(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1561:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Reset(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1564:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Clone(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1651:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IEnumUnknown_RemoteNext_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1660:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1661:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IEnumUnknown_Skip_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1668:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1669:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IEnumUnknown_Reset_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1675:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1676:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IEnumUnknown_Clone_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1683:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1684:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK IEnumUnknown_Next_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1689:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB IEnumUnknown_Next_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1711:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Next(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1716:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Skip(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1719:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Reset(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1722:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Clone(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1809:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IEnumString_RemoteNext_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1818:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1819:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IEnumString_Skip_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1826:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1827:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IEnumString_Reset_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1833:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1834:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IEnumString_Clone_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1841:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1842:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK IEnumString_Next_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1847:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB IEnumString_Next_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1867:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Read(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1872:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Write(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1948:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ISequentialStream_RemoteRead_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1957:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1958:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ISequentialStream_RemoteWrite_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1967:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1968:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK ISequentialStream_Read_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1973:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB ISequentialStream_Read_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1978:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK ISequentialStream_Write_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:1983:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB ISequentialStream_Write_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2002:5: error: 'DWORD' does not name a type
     DWORD type;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2007:5: error: 'DWORD' does not name a type
     DWORD grfMode;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2008:5: error: 'DWORD' does not name a type
     DWORD grfLocksSupported;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2010:5: error: 'DWORD' does not name a type
     DWORD grfStateBits;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2011:5: error: 'DWORD' does not name a type
     DWORD reserved;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2038:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Seek(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2043:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetSize(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2046:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE CopyTo(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2052:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Commit(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2055:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Revert(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2058:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE LockRegion(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2063:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE UnlockRegion(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2068:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Stat(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2072:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Clone(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2230:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IStream_RemoteSeek_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2239:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2240:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IStream_SetSize_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2247:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2248:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IStream_RemoteCopyTo_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2258:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2259:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IStream_Commit_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2266:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2267:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IStream_Revert_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2273:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2274:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IStream_LockRegion_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2283:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2284:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IStream_UnlockRegion_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2293:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2294:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IStream_Stat_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2302:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2303:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IStream_Clone_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2310:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2311:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK IStream_Seek_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2316:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB IStream_Seek_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2321:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK IStream_CopyTo_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2327:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB IStream_CopyTo_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2343:9: error: 'ULONG' does not name a type
 typedef ULONG RPCOLEDATAREP;
         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2347:5: error: 'RPCOLEDATAREP' does not name a type
     RPCOLEDATAREP dataRepresentation;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2349:5: error: 'ULONG' does not name a type
     ULONG cbBuffer;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2350:5: error: 'ULONG' does not name a type
     ULONG iMethod;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2352:5: error: 'ULONG' does not name a type
     ULONG rpcFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2362:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetBuffer(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2366:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SendReceive(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2370:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE FreeBuffer(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2373:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetDestCtx(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2377:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE IsConnected(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2473:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IRpcChannelBuffer_GetBuffer_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2481:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2482:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IRpcChannelBuffer_SendReceive_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2490:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2491:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IRpcChannelBuffer_FreeBuffer_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2498:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2499:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IRpcChannelBuffer_GetDestCtx_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2507:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2508:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IRpcChannelBuffer_IsConnected_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2514:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2532:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetProtocolVersion(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2639:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IRpcChannelBuffer2_GetProtocolVersion_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2646:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2662:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Send(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2667:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Receive(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2671:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetDestCtxEx(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2812:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IAsyncRpcChannelBuffer_Send_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2821:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2822:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IAsyncRpcChannelBuffer_Receive_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2830:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2831:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IAsyncRpcChannelBuffer_GetDestCtxEx_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2840:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2856:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Send(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2860:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Receive(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2865:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Cancel(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2868:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetCallContext(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2873:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetDestCtxEx(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2878:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetState(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:2882:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE RegisterAsync(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3058:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IRpcChannelBuffer3_Send_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3066:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3067:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IRpcChannelBuffer3_Receive_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3076:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3077:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IRpcChannelBuffer3_Cancel_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3084:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3085:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IRpcChannelBuffer3_GetCallContext_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3094:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3095:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IRpcChannelBuffer3_GetDestCtxEx_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3104:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3105:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IRpcChannelBuffer3_GetState_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3113:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3114:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IRpcChannelBuffer3_RegisterAsync_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3122:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3138:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE NegotiateSyntax(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3200:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IRpcSyntaxNegotiate_NegotiateSyntax_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3207:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3223:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Connect(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3295:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IRpcProxyBuffer_Connect_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3302:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3309:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3327:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Connect(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3333:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Invoke(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3340:13: error: 'ULONG' does not name a type
     virtual ULONG STDMETHODCALLTYPE CountRefs(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3343:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE DebugServerQueryInterface(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3455:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IRpcStubBuffer_Connect_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3462:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3469:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3470:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IRpcStubBuffer_Invoke_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3478:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3486:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3487:1: error: 'ULONG' does not name a type
 ULONG STDMETHODCALLTYPE IRpcStubBuffer_CountRefs_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3493:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3494:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IRpcStubBuffer_DebugServerQueryInterface_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3501:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3509:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3525:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE CreateProxy(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3531:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE CreateStub(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3608:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IPSFactoryBuffer_CreateProxy_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3618:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3619:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IPSFactoryBuffer_CreateStub_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3628:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3638:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3640:5: error: 'DWORD' does not name a type
     DWORD dwServerPid;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3641:5: error: 'DWORD' does not name a type
     DWORD iMethod;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3659:9: error: 'ULONG' has not been declared
         ULONG *pDataSize) = 0;
         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3664:9: error: 'ULONG' has not been declared
         ULONG *pDataSize,
         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3670:9: error: 'ULONG' has not been declared
         ULONG cbDataSize,
         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3672:9: error: 'DWORD' has not been declared
         DWORD lDataRep,
         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3673:9: error: 'HRESULT' has not been declared
         HRESULT hrFault) = 0;
         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3678:9: error: 'ULONG' has not been declared
         ULONG cbDataSize,
         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3680:9: error: 'DWORD' has not been declared
         DWORD lDataRep) = 0;
         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3685:9: error: 'HRESULT' has not been declared
         HRESULT hrFault,
         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3686:9: error: 'ULONG' has not been declared
         ULONG *pDataSize) = 0;
         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3691:9: error: 'ULONG' has not been declared
         ULONG *pDataSize,
         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3693:9: error: 'HRESULT' has not been declared
         HRESULT hrFault) = 0;
         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3819:5: error: 'ULONG' has not been declared
     ULONG *pDataSize);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3824:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3829:5: error: 'ULONG' has not been declared
     ULONG *pDataSize,
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3835:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3840:5: error: 'ULONG' has not been declared
     ULONG cbDataSize,
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3842:5: error: 'DWORD' has not been declared
     DWORD lDataRep,
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3843:5: error: 'HRESULT' has not been declared
     HRESULT hrFault);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3848:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3853:5: error: 'ULONG' has not been declared
     ULONG cbDataSize,
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3855:5: error: 'DWORD' has not been declared
     DWORD lDataRep);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3860:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3865:5: error: 'HRESULT' has not been declared
     HRESULT hrFault,
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3866:5: error: 'ULONG' has not been declared
     ULONG *pDataSize);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3871:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3876:5: error: 'ULONG' has not been declared
     ULONG *pDataSize,
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3878:5: error: 'HRESULT' has not been declared
     HRESULT hrFault);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3883:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3899:5: error: 'DWORD' does not name a type
     DWORD dwAuthnSvc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3900:5: error: 'DWORD' does not name a type
     DWORD dwAuthzSvc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3902:5: error: 'HRESULT' does not name a type
     HRESULT hr;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3931:5: error: 'DWORD' does not name a type
     DWORD dwAuthnSvc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3932:5: error: 'DWORD' does not name a type
     DWORD dwAuthzSvc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3938:5: error: 'DWORD' does not name a type
     DWORD cAuthInfo;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3948:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE QueryBlanket(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3958:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetBlanket(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:3968:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE CopyProxy(
             ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:155:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:14,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:4062:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IClientSecurity_QueryBlanket_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:4076:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:4077:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IClientSecurity_SetBlanket_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:4091:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:4092:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IClientSecurity_CopyProxy_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:4100:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:4118:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE QueryBlanket(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:4127:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE ImpersonateClient(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:4130:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE RevertToSelf(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:4222:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IServerSecurity_QueryBlanket_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:4235:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:4236:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IServerSecurity_ImpersonateClient_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:4242:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:4243:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IServerSecurity_RevertToSelf_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:4249:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:4256:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:4284:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Set(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:4289:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Query(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:4365:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IRpcOptions_Set_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:4374:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:4375:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IRpcOptions_Query_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:4384:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:4439:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Set(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:4443:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Query(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:4516:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IGlobalOptions_Set_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:4524:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:4525:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IGlobalOptions_Query_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:4533:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:4554:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE LoadDllServer(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:4557:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE FreeSurrogate(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:4626:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ISurrogate_LoadDllServer_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:4633:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:4634:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ISurrogate_FreeSurrogate_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:4640:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:4658:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE RegisterInterfaceInGlobal(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:4663:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE RevokeInterfaceFromGlobal(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:4666:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetInterfaceFromGlobal(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:4750:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IGlobalInterfaceTable_RegisterInterfaceInGlobal_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:4759:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:4760:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IGlobalInterfaceTable_RevokeInterfaceFromGlobal_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:4767:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:4768:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IGlobalInterfaceTable_GetInterfaceFromGlobal_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:4777:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:4795:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Wait(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:4799:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Signal(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:4802:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Reset(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:4879:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ISynchronize_Wait_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:4887:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:4888:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ISynchronize_Signal_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:4894:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:4895:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ISynchronize_Reset_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:4901:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:4917:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetHandle(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:4979:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ISynchronizeHandle_GetHandle_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:4986:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:5002:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetEventHandle(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:5075:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ISynchronizeEvent_SetEventHandle_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:5082:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:5098:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE AddSynchronize(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:5101:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE WaitMultiple(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:5175:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ISynchronizeContainer_AddSynchronize_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:5182:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:5183:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ISynchronizeContainer_WaitMultiple_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:5192:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:5208:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE ReleaseMutex(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:5295:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ISynchronizeMutex_ReleaseMutex_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:5301:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:5319:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Cancel(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:5322:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE TestCancel(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:5391:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICancelMethodCalls_Cancel_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:5398:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:5399:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICancelMethodCalls_TestCancel_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:5405:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:5427:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE CompleteCall(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:5430:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetCallContext(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:5434:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetState(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:5513:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IAsyncManager_CompleteCall_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:5520:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:5521:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IAsyncManager_GetCallContext_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:5529:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:5530:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IAsyncManager_GetState_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:5537:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:5553:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE CreateCall(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:5621:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICallFactory_CreateCall_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:5631:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:5647:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetDCOMProtocolVersion(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:5650:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetIIDFromOBJREF(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:5722:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IRpcHelper_GetDCOMProtocolVersion_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:5729:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:5730:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IRpcHelper_GetIIDFromOBJREF_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:5738:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:5754:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE ReleaseMarshalBuffer(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:5820:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IReleaseMarshalBuffers_ReleaseMarshalBuffer_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:5829:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:5845:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE WaitMultiple(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:5849:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE AddSynchronize(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:5920:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IWaitMultiple_WaitMultiple_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:5928:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:5929:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IWaitMultiple_AddSynchronize_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:5936:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:5953:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE EnableCOMDynamicAddrTracking(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:5956:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE DisableCOMDynamicAddrTracking(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:6024:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IAddrTrackingControl_EnableCOMDynamicAddrTracking_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:6030:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:6031:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IAddrTrackingControl_DisableCOMDynamicAddrTracking_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:6037:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:6054:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetCurrentAddrExclusionList(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:6058:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE UpdateAddrExclusionList(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:6129:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IAddrExclusionControl_GetCurrentAddrExclusionList_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:6137:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:6138:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IAddrExclusionControl_UpdateAddrExclusionList_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:6145:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:6161:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Pull(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:6166:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Push(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:6240:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IPipeByte_Pull_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:6249:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:6250:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IPipeByte_Push_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:6258:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:6274:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Pull(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:6279:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Push(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:6353:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IPipeLong_Pull_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:6362:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:6363:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IPipeLong_Push_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:6371:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:6387:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Pull(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:6392:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Push(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:6466:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IPipeDouble_Pull_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:6475:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:6476:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IPipeDouble_Push_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:6484:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:6848:9: error: 'DWORD' does not name a type
 typedef DWORD APARTMENTID;
         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:6861:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetCurrentApartmentType(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:6864:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetCurrentThreadType(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:6867:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetCurrentLogicalThreadId(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:6870:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetCurrentLogicalThreadId(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:6956:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IComThreadingInfo_GetCurrentApartmentType_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:6963:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:6964:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IComThreadingInfo_GetCurrentThreadType_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:6971:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:6972:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IComThreadingInfo_GetCurrentLogicalThreadId_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:6979:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:6980:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IComThreadingInfo_SetCurrentLogicalThreadId_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:6987:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:7003:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE ResetInitializerTimeout(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:7065:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IProcessInitControl_ResetInitializerTimeout_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:7072:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:7155:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetMarshalingContextAttribute(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:7326:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IMarshalingStream_GetMarshalingContextAttribute_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidlbase.h:7334:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:14:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:173:1: error: 'HRESULT' does not name a type
 WINOLEAPI CreateStreamOnHGlobal (HGLOBAL hGlobal, WINBOOL fDeleteOnRelease, LPSTREAM *ppstm);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:174:1: error: 'HRESULT' does not name a type
 WINOLEAPI GetHGlobalFromStream (LPSTREAM pstm, HGLOBAL *phglobal);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:176:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoInitializeEx (LPVOID pvReserved, DWORD dwCoInit);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:177:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoGetCurrentLogicalThreadId (GUID *pguid);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:178:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoGetContextToken (ULONG_PTR *pToken);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:182:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoGetObjectContext (REFIID riid, LPVOID *ppv);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:183:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoRegisterClassObject (REFCLSID rclsid, LPUNKNOWN pUnk, DWORD dwClsContext, DWORD flags, LPDWORD lpdwRegister);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:184:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoRevokeClassObject (DWORD dwRegister);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:185:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoResumeClassObjects (void);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:186:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoSuspendClassObjects (void);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:190:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoGetMalloc (DWORD dwMemContext, LPMALLOC *ppMalloc);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:191:1: error: 'DWORD' does not name a type
 WINOLEAPI_(DWORD) CoGetCurrentProcess (void);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:192:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoGetCallerTID (LPDWORD lpdwTID);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:193:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoGetDefaultContext (APTTYPE aptType, REFIID riid, void **ppv);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:201:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoGetClassObject (REFCLSID rclsid, DWORD dwClsContext, LPVOID pvReserved, REFIID riid, LPVOID *ppv);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:202:1: error: 'ULONG' does not name a type
 WINOLEAPI_(ULONG) CoAddRefServerProcess (void);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:203:1: error: 'ULONG' does not name a type
 WINOLEAPI_(ULONG) CoReleaseServerProcess (void);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:204:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoGetPSClsid (REFIID riid, CLSID *pClsid);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:205:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoRegisterPSClsid (REFIID riid, REFCLSID rclsid);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:206:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoRegisterSurrogate (LPSURROGATE pSurrogate);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:207:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoMarshalHresult (LPSTREAM pstm, HRESULT hresult);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:208:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoUnmarshalHresult (LPSTREAM pstm, HRESULT *phresult);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:209:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoLockObjectExternal (LPUNKNOWN pUnk, WINBOOL fLock, WINBOOL fLastUnlockReleases);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:210:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoGetStdMarshalEx (LPUNKNOWN pUnkOuter, DWORD smexflags, LPUNKNOWN *ppUnkInner);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:219:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoGetMarshalSizeMax (ULONG *pulSize, REFIID riid, LPUNKNOWN pUnk, DWORD dwDestContext, LPVOID pvDestContext, DWORD mshlflags);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:220:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoMarshalInterface (LPSTREAM pStm, REFIID riid, LPUNKNOWN pUnk, DWORD dwDestContext, LPVOID pvDestContext, DWORD mshlflags);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:221:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoUnmarshalInterface (LPSTREAM pStm, REFIID riid, LPVOID *ppv);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:222:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoReleaseMarshalData (LPSTREAM pStm);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:223:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoDisconnectObject (LPUNKNOWN pUnk, DWORD dwReserved);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:224:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoGetStandardMarshal (REFIID riid, LPUNKNOWN pUnk, DWORD dwDestContext, LPVOID pvDestContext, DWORD mshlflags, LPMARSHAL *ppMarshal);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:225:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoMarshalInterThreadInterfaceInStream (REFIID riid, LPUNKNOWN pUnk, LPSTREAM *ppStm);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:226:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoGetInterfaceAndReleaseStream (LPSTREAM pStm, REFIID iid, LPVOID *ppv);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:227:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoCreateFreeThreadedMarshaler (LPUNKNOWN punkOuter, LPUNKNOWN *ppunkMarshal);
 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:14:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:229:43: error: variable or field 'CoFreeUnusedLibrariesEx' declared void
 WINOLEAPI_(void) CoFreeUnusedLibrariesEx (DWORD dwUnloadDelay, DWORD dwReserved);
                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:229:43: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:229:64: error: 'DWORD' was not declared in this scope
 WINOLEAPI_(void) CoFreeUnusedLibrariesEx (DWORD dwUnloadDelay, DWORD dwReserved);
                                                                ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:14:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:230:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoInitializeSecurity (PSECURITY_DESCRIPTOR pSecDesc, LONG cAuthSvc, SOLE_AUTHENTICATION_SERVICE *asAuthSvc, void *pReserved1, DWORD dwAuthnLevel, DWORD dwImpLevel, void *pAuthList, DWORD dwCapabilities, void *pReserved3);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:231:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoSwitchCallContext (IUnknown *pNewObject, IUnknown **ppOldObject);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:239:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoCreateInstanceFromApp (REFCLSID Clsid, IUnknown *punkOuter, DWORD dwClsCtx, PVOID reserved, DWORD dwCount, MULTI_QI *pResults);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:248:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoGetCallContext (REFIID riid, void **ppInterface);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:249:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoQueryProxyBlanket (IUnknown *pProxy, DWORD *pwAuthnSvc, DWORD *pAuthzSvc, LPOLESTR *pServerPrincName, DWORD *pAuthnLevel, DWORD *pImpLevel, RPC_AUTH_IDENTITY_HANDLE *pAuthInfo, DWORD *pCapabilites);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:250:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoSetProxyBlanket (IUnknown *pProxy, DWORD dwAuthnSvc, DWORD dwAuthzSvc, OLECHAR *pServerPrincName, DWORD dwAuthnLevel, DWORD dwImpLevel, RPC_AUTH_IDENTITY_HANDLE pAuthInfo, DWORD dwCapabilities);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:251:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoCopyProxy (IUnknown *pProxy, IUnknown **ppCopy);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:252:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoQueryClientBlanket (DWORD *pAuthnSvc, DWORD *pAuthzSvc, LPOLESTR *pServerPrincName, DWORD *pAuthnLevel, DWORD *pImpLevel, RPC_AUTHZ_HANDLE *pPrivs, DWORD *pCapabilities);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:253:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoImpersonateClient (void);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:254:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoRevertToSelf (void);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:255:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoQueryAuthenticationServices (DWORD *pcAuthSvc, SOLE_AUTHENTICATION_SERVICE **asAuthSvc);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:256:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoCreateInstance (REFCLSID rclsid, LPUNKNOWN pUnkOuter, DWORD dwClsContext, REFIID riid, LPVOID *ppv);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:257:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoCreateInstanceEx (REFCLSID Clsid, IUnknown *punkOuter, DWORD dwClsCtx, COSERVERINFO *pServerInfo, DWORD dwCount, MULTI_QI *pResults);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:282:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoGetCancelObject (DWORD dwThreadId, REFIID iid, void **ppUnk);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:283:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoSetCancelObject (IUnknown *pUnk);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:284:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoCancelCall (DWORD dwThreadId, ULONG ulTimeout);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:285:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoTestCancel (void);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:286:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoEnableCallCancellation (LPVOID pReserved);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:287:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoDisableCallCancellation (LPVOID pReserved);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:291:1: error: 'HRESULT' does not name a type
 WINOLEAPI StringFromCLSID (REFCLSID rclsid, LPOLESTR *lplpsz);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:292:1: error: 'HRESULT' does not name a type
 WINOLEAPI CLSIDFromString (LPCOLESTR lpsz, LPCLSID pclsid);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:293:1: error: 'HRESULT' does not name a type
 WINOLEAPI StringFromIID (REFIID rclsid, LPOLESTR *lplpsz);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:294:1: error: 'HRESULT' does not name a type
 WINOLEAPI IIDFromString (LPCOLESTR lpsz, LPIID lpiid);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:298:1: error: 'HRESULT' does not name a type
 WINOLEAPI ProgIDFromCLSID (REFCLSID clsid, LPOLESTR *lplpszProgID);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:299:1: error: 'HRESULT' does not name a type
 WINOLEAPI CLSIDFromProgID (LPCOLESTR lpszProgID, LPCLSID lpclsid);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:304:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoCreateGuid (GUID *pguid);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:308:1: error: 'HRESULT' does not name a type
 WINOLEAPI PropVariantCopy (PROPVARIANT *pvarDest, const PROPVARIANT *pvarSrc);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:309:1: error: 'HRESULT' does not name a type
 WINOLEAPI PropVariantClear (PROPVARIANT *pvar);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:310:1: error: 'HRESULT' does not name a type
 WINOLEAPI FreePropVariantArray (ULONG cVariants, PROPVARIANT *rgvars);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:314:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoWaitForMultipleHandles (DWORD dwFlags, DWORD dwTimeout, ULONG cHandles, LPHANDLE pHandles, LPDWORD lpdwindex);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:351:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoGetTreatAsClass (REFCLSID clsidOld, LPCLSID pClsidNew);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:352:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoInvalidateRemoteMachineBindings (LPOLESTR pszMachineName);
 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:14:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:356:17: error: typedef 'HRESULT' is initialized (use decltype instead)
 typedef HRESULT (STDAPICALLTYPE *LPFNGETCLASSOBJECT) (REFCLSID, REFIID, LPVOID *);
                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:356:34: error: 'LPFNGETCLASSOBJECT' was not declared in this scope
 typedef HRESULT (STDAPICALLTYPE *LPFNGETCLASSOBJECT) (REFCLSID, REFIID, LPVOID *);
                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:357:17: error: typedef 'HRESULT' is initialized (use decltype instead)
 typedef HRESULT (STDAPICALLTYPE *LPFNCANUNLOADNOW) (void);
                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:357:34: error: 'LPFNCANUNLOADNOW' was not declared in this scope
 typedef HRESULT (STDAPICALLTYPE *LPFNCANUNLOADNOW) (void);
                                  ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:359:1: error: 'HRESULT' does not name a type
 STDAPI DllGetClassObject (REFCLSID rclsid, REFIID riid, LPVOID *ppv);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/combaseapi.h:360:1: error: 'HRESULT' does not name a type
 STDAPI DllCanUnloadNow (void);
 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:57:9: error: 'DWORD' does not name a type
 typedef DWORD STGFMT;
         ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/unknwn.h:37:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:477,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:66,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:43:5: error: 'LONG' does not name a type
     LONG fNullHGlobal;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:44:5: error: 'ULONG' does not name a type
     ULONG cbData;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:49:5: error: 'LONG' does not name a type
     LONG mm;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:50:5: error: 'LONG' does not name a type
     LONG xExt;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:51:5: error: 'LONG' does not name a type
     LONG yExt;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:52:5: error: 'ULONG' does not name a type
     ULONG cbData;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:57:5: error: 'ULONG' does not name a type
     ULONG cbData;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:61:5: error: 'ULONG' does not name a type
     ULONG cbData;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:66:5: error: 'ULONG' does not name a type
     ULONG cbData;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:71:5: error: 'ULONG' does not name a type
     ULONG cbData;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:227:5: error: 'LONG' does not name a type
     LONG fContext;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:229:9: error: 'DWORD' does not name a type
         DWORD dwValue;
         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:238:5: error: 'LONG' does not name a type
     LONG fContext;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:240:9: error: 'LONG' does not name a type
         LONG hInproc;
         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:246:5: error: 'LONG' does not name a type
     LONG fContext;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:248:9: error: 'LONG' does not name a type
         LONG hInproc;
         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:257:5: error: 'LONG' does not name a type
     LONG fContext;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:259:9: error: 'LONG' does not name a type
         LONG hInproc;
         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:266:5: error: 'LONG' does not name a type
     LONG mm;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:267:5: error: 'LONG' does not name a type
     LONG xExt;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:268:5: error: 'LONG' does not name a type
     LONG yExt;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:273:5: error: 'LONG' does not name a type
     LONG fContext;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:275:9: error: 'LONG' does not name a type
         LONG hInproc;
         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:282:5: error: 'LONG' does not name a type
     LONG fContext;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:284:9: error: 'LONG' does not name a type
         LONG hInproc;
         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:291:5: error: 'LONG' does not name a type
     LONG bmType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:292:5: error: 'LONG' does not name a type
     LONG bmWidth;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:293:5: error: 'LONG' does not name a type
     LONG bmHeight;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:294:5: error: 'LONG' does not name a type
     LONG bmWidthBytes;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:297:5: error: 'ULONG' does not name a type
     ULONG cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:302:5: error: 'LONG' does not name a type
     LONG fContext;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:304:9: error: 'LONG' does not name a type
         LONG hInproc;
         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:311:5: error: 'LONG' does not name a type
     LONG fContext;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:313:9: error: 'LONG' does not name a type
         LONG hInproc;
         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:320:5: error: 'LONG' does not name a type
     LONG fContext;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:322:9: error: 'LONG' does not name a type
         LONG hInproc;
         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:323:9: error: 'LONG' does not name a type
         LONG hRemote;
         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:433:14: error: expected ';' at end of member declaration
     unsigned __LONG32 Lo;
              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:433:23: error: 'Lo' does not name a type
     unsigned __LONG32 Lo;
                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:434:5: error: '__LONG32' does not name a type
     __LONG32 Hi;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:461:3: error: 'ULONG' does not name a type
   ULONG Hi32;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:464:7: error: 'ULONG' does not name a type
       ULONG Lo32;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:465:7: error: 'ULONG' does not name a type
       ULONG Mid32;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:493:5: error: 'ULONG' does not name a type
     ULONG cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:503:5: error: 'ULONG' does not name a type
     ULONG cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:504:5: error: 'LONG' does not name a type
     LONG ulClipFmt;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:568:9: error: 'ULONG' does not name a type
 typedef ULONG PROPID;
         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:575:5: error: 'DWORD' does not name a type
     DWORD pid;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:580:5: error: 'DWORD' does not name a type
     DWORD dwPlatformId;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:581:5: error: 'DWORD' does not name a type
     DWORD dwVersionHi;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:582:5: error: 'DWORD' does not name a type
     DWORD dwVersionLo;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:583:5: error: 'DWORD' does not name a type
     DWORD dwProcessorArch;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:587:5: error: 'DWORD' does not name a type
     DWORD dwContext;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:589:5: error: 'LCID' does not name a type
     LCID Locale;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:590:5: error: 'DWORD' does not name a type
     DWORD dwVersionHi;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:591:5: error: 'DWORD' does not name a type
     DWORD dwVersionLo;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:605:5: error: 'DWORD' does not name a type
     DWORD tyspec;
     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:66:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:7826:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:7834:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:7843:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:7851:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:7862:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:7871:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:7880:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:7889:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:7898:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:7908:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:7915:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:7922:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:7938:3: error: 'DWORD' does not name a type
   DWORD cbStruct;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:7939:3: error: 'DWORD' does not name a type
   DWORD grfFlags;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:7940:3: error: 'DWORD' does not name a type
   DWORD grfMode;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:7941:3: error: 'DWORD' does not name a type
   DWORD dwTickCountDeadline;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:7954:1: error: 'DWORD' does not name a type
 DWORD           dwTrackFlags;
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:7955:1: error: 'DWORD' does not name a type
 DWORD           dwClassContext;
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:7956:1: error: 'LCID' does not name a type
 LCID            locale;
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:7999:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE RegisterObjectBound(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8002:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE RevokeObjectBound(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8005:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE ReleaseBoundObjects(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8008:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetBindOptions(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8011:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetBindOptions(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8014:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetRunningObjectTable(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8017:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE RegisterObjectParam(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8021:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetObjectParam(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8025:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE EnumObjectParam(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8028:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE RevokeObjectParam(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8163:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IBindCtx_RegisterObjectBound_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8170:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8171:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IBindCtx_RevokeObjectBound_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8178:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8179:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IBindCtx_ReleaseBoundObjects_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8185:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8186:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IBindCtx_RemoteSetBindOptions_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8193:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8194:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IBindCtx_RemoteGetBindOptions_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8201:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8202:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IBindCtx_GetRunningObjectTable_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8209:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8210:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IBindCtx_RegisterObjectParam_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8218:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8219:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IBindCtx_GetObjectParam_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8227:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8228:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IBindCtx_EnumObjectParam_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8235:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8236:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IBindCtx_RevokeObjectParam_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8243:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8244:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK IBindCtx_SetBindOptions_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8247:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB IBindCtx_SetBindOptions_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8250:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK IBindCtx_GetBindOptions_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8253:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB IBindCtx_GetBindOptions_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8271:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Next(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8276:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Skip(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8279:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Reset(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8282:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Clone(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8369:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IEnumMoniker_RemoteNext_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8378:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8379:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IEnumMoniker_Skip_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8386:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8387:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IEnumMoniker_Reset_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8393:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8394:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IEnumMoniker_Clone_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8401:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8402:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK IEnumMoniker_Next_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8407:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB IEnumMoniker_Next_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8429:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetRunningClass(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8432:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Run(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8438:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE LockRunning(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8442:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetContainedObject(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8536:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IRunnableObject_GetRunningClass_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8543:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8544:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IRunnableObject_Run_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8551:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8552:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IRunnableObject_RemoteIsRunning_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8558:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8559:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IRunnableObject_LockRunning_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8567:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8568:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IRunnableObject_SetContainedObject_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8575:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8578:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB IRunnableObject_IsRunning_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8595:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Register(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8601:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Revoke(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8604:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE IsRunning(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8607:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetObject(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8611:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE NoteChangeTime(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8615:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetTimeOfLastChange(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8619:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE EnumRunning(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8735:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IRunningObjectTable_Register_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8745:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8746:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IRunningObjectTable_Revoke_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8753:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8754:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IRunningObjectTable_IsRunning_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8761:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8762:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IRunningObjectTable_GetObject_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8770:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8771:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IRunningObjectTable_NoteChangeTime_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8779:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8780:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IRunningObjectTable_GetTimeOfLastChange_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8788:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8789:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IRunningObjectTable_EnumRunning_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8796:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8814:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetClassID(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8876:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IPersist_GetClassID_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8883:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8899:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE IsDirty(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8902:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Load(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8905:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Save(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:8909:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetSizeMax(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9006:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IPersistStream_IsDirty_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9012:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9013:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IPersistStream_Load_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9020:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9021:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IPersistStream_Save_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9029:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9030:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IPersistStream_GetSizeMax_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9037:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9071:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE BindToObject(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9077:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE BindToStorage(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9083:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Reduce(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9089:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE ComposeWith(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9094:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Enum(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9098:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE IsEqual(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9101:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Hash(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9104:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE IsRunning(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9109:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetTimeOfLastChange(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9114:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Inverse(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9117:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE CommonPrefixWith(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9121:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE RelativePathTo(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9125:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetDisplayName(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9130:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE ParseDisplayName(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9137:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE IsSystemMoniker(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9381:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IMoniker_RemoteBindToObject_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9391:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9392:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IMoniker_RemoteBindToStorage_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9402:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9403:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IMoniker_Reduce_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9413:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9414:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IMoniker_ComposeWith_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9423:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9424:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IMoniker_Enum_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9432:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9433:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IMoniker_IsEqual_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9440:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9441:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IMoniker_Hash_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9448:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9449:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IMoniker_IsRunning_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9458:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9459:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IMoniker_GetTimeOfLastChange_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9468:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9469:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IMoniker_Inverse_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9476:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9477:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IMoniker_CommonPrefixWith_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9485:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9486:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IMoniker_RelativePathTo_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9494:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9495:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IMoniker_GetDisplayName_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9504:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9505:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IMoniker_ParseDisplayName_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9516:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9517:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IMoniker_IsSystemMoniker_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9524:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9525:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK IMoniker_BindToObject_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9531:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB IMoniker_BindToObject_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9537:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK IMoniker_BindToStorage_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9543:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB IMoniker_BindToStorage_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9565:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetComparisonData(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9631:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IROTData_GetComparisonData_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9640:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9658:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Next(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9663:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Skip(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9666:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Reset(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9669:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Clone(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9756:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IEnumSTATSTG_RemoteNext_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9765:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9766:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IEnumSTATSTG_Skip_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9773:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9774:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IEnumSTATSTG_Reset_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9780:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9781:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IEnumSTATSTG_Clone_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9788:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9789:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK IEnumSTATSTG_Next_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9794:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB IEnumSTATSTG_Next_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9810:5: error: 'ULONG' does not name a type
     ULONG ulCntStr;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9811:5: error: 'ULONG' does not name a type
     ULONG ulCntChar;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9821:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE CreateStream(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9828:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE OpenStream(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9835:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE CreateStorage(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9842:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE OpenStorage(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9850:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE CopyTo(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9856:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE MoveElementTo(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9862:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Commit(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9865:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Revert(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9868:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE EnumElements(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9874:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE DestroyElement(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9877:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE RenameElement(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9881:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetElementTimes(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9887:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetClass(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9890:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetStateBits(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:9894:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Stat(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10100:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IStorage_CreateStream_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10111:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10112:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IStorage_RemoteOpenStream_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10124:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10125:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IStorage_CreateStorage_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10136:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10137:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IStorage_OpenStorage_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10149:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10150:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IStorage_RemoteCopyTo_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10160:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10161:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IStorage_MoveElementTo_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10171:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10172:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IStorage_Commit_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10179:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10180:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IStorage_Revert_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10186:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10187:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IStorage_RemoteEnumElements_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10198:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10199:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IStorage_DestroyElement_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10206:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10207:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IStorage_RenameElement_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10215:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10216:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IStorage_SetElementTimes_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10226:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10227:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IStorage_SetClass_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10234:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10235:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IStorage_SetStateBits_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10243:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10244:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IStorage_Stat_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10252:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10253:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK IStorage_OpenStream_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10260:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB IStorage_OpenStream_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10268:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK IStorage_CopyTo_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10274:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB IStorage_CopyTo_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10280:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK IStorage_EnumElements_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10286:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB IStorage_EnumElements_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10310:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE IsDirty(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10313:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Load(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10317:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Save(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10321:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SaveCompleted(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10324:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetCurFile(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10430:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IPersistFile_IsDirty_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10436:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10437:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IPersistFile_Load_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10445:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10446:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IPersistFile_Save_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10454:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10455:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IPersistFile_SaveCompleted_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10462:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10463:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IPersistFile_GetCurFile_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10470:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10486:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE IsDirty(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10489:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE InitNew(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10492:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Load(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10495:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Save(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10499:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SaveCompleted(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10502:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE HandsOffStorage(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10614:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IPersistStorage_IsDirty_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10620:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10621:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IPersistStorage_InitNew_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10628:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10629:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IPersistStorage_Load_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10636:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10637:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IPersistStorage_Save_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10645:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10646:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IPersistStorage_SaveCompleted_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10653:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10654:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IPersistStorage_HandsOffStorage_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10660:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10678:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE ReadAt(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10684:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE WriteAt(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10690:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Flush(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10693:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetSize(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10696:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE LockRegion(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10701:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE UnlockRegion(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10706:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Stat(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10827:1: error: 'HRESULT' does not name a type
 HRESULT __stdcall ILockBytes_RemoteReadAt_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10837:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10838:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ILockBytes_RemoteWriteAt_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10848:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10849:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ILockBytes_Flush_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10855:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10856:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ILockBytes_SetSize_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10863:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10864:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ILockBytes_LockRegion_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10873:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10874:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ILockBytes_UnlockRegion_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10883:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10884:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ILockBytes_Stat_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10892:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10893:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK ILockBytes_ReadAt_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10899:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB ILockBytes_ReadAt_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10905:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK ILockBytes_WriteAt_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10911:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB ILockBytes_WriteAt_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10928:5: error: 'DWORD' does not name a type
     DWORD tdSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10939:5: error: 'DWORD' does not name a type
     DWORD dwAspect;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10940:5: error: 'LONG' does not name a type
     LONG lindex;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10941:5: error: 'DWORD' does not name a type
     DWORD tymed;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10949:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Next(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10954:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Skip(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10957:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Reset(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:10960:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Clone(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11047:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IEnumFORMATETC_RemoteNext_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11056:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11057:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IEnumFORMATETC_Skip_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11064:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11065:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IEnumFORMATETC_Reset_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11071:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11072:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IEnumFORMATETC_Clone_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11079:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11080:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK IEnumFORMATETC_Next_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11085:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB IEnumFORMATETC_Next_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11111:5: error: 'DWORD' does not name a type
     DWORD advf;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11113:5: error: 'DWORD' does not name a type
     DWORD dwConnection;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11121:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Next(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11126:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Skip(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11129:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Reset(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11132:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Clone(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11219:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IEnumSTATDATA_RemoteNext_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11228:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11229:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IEnumSTATDATA_Skip_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11236:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11237:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IEnumSTATDATA_Reset_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11243:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11244:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IEnumSTATDATA_Clone_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11251:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11252:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK IEnumSTATDATA_Next_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11257:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB IEnumSTATDATA_Next_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11277:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SwitchToFile(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11339:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IRootStorage_SwitchToFile_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11346:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11368:5: error: 'DWORD' does not name a type
     DWORD tymed;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11369:5: error: 'DWORD' does not name a type
     DWORD dwHandleType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11370:5: error: 'ULONG' does not name a type
     ULONG pData;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11371:5: error: 'ULONG' does not name a type
     ULONG pUnkForRelease;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11372:5: error: 'ULONG' does not name a type
     ULONG cbData;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11377:1: error: 'DWORD' does not name a type
 DWORD tymed;
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11405:5: error: 'DWORD' does not name a type
     DWORD ObjectType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11414:9: error: 'DWORD' does not name a type
         DWORD tymed;
         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11433:5: error: 'LONG' does not name a type
     LONG ContextFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11434:5: error: 'LONG' does not name a type
     LONG fPassOwnership;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11439:5: error: 'LONG' does not name a type
     LONG ContextFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11440:5: error: 'LONG' does not name a type
     LONG fPassOwnership;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11453:9: error: 'DWORD' has not been declared
         DWORD dwAspect,
         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11454:9: error: 'LONG' has not been declared
         LONG lindex) = 0;
         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11556:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IAdviseSink_RemoteOnDataChange_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11564:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11565:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IAdviseSink_RemoteOnViewChange_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11573:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11574:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IAdviseSink_RemoteOnRename_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11581:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11582:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IAdviseSink_RemoteOnSave_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11588:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11589:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IAdviseSink_RemoteOnClose_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11595:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11600:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB IAdviseSink_OnDataChange_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11606:5: error: 'DWORD' has not been declared
     DWORD dwAspect,
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11607:5: error: 'LONG' has not been declared
     LONG lindex);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11608:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB IAdviseSink_OnViewChange_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11615:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB IAdviseSink_OnRename_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11620:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB IAdviseSink_OnSave_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11624:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB IAdviseSink_OnClose_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11648:9: error: 'DWORD' has not been declared
         DWORD dwAspect,
         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11649:9: error: 'LONG' has not been declared
         LONG lindex) = 0;
         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11798:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE AsyncIAdviseSink_Begin_RemoteOnDataChange_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11806:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11807:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE AsyncIAdviseSink_Finish_RemoteOnDataChange_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11815:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11816:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE AsyncIAdviseSink_Begin_RemoteOnViewChange_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11824:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11825:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE AsyncIAdviseSink_Finish_RemoteOnViewChange_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11833:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11834:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE AsyncIAdviseSink_Begin_RemoteOnRename_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11841:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11842:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE AsyncIAdviseSink_Finish_RemoteOnRename_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11849:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11850:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE AsyncIAdviseSink_Begin_RemoteOnSave_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11856:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11857:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE AsyncIAdviseSink_Finish_RemoteOnSave_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11863:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11864:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE AsyncIAdviseSink_Begin_RemoteOnClose_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11870:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11871:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE AsyncIAdviseSink_Finish_RemoteOnClose_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11877:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11882:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB AsyncIAdviseSink_Begin_OnDataChange_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11888:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB AsyncIAdviseSink_Finish_OnDataChange_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11894:5: error: 'DWORD' has not been declared
     DWORD dwAspect,
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11895:5: error: 'LONG' has not been declared
     LONG lindex);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11896:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB AsyncIAdviseSink_Begin_OnViewChange_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11902:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB AsyncIAdviseSink_Finish_OnViewChange_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11909:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB AsyncIAdviseSink_Begin_OnRename_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11914:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB AsyncIAdviseSink_Finish_OnRename_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11919:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB AsyncIAdviseSink_Begin_OnSave_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11923:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB AsyncIAdviseSink_Finish_OnSave_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11927:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB AsyncIAdviseSink_Begin_OnClose_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:11931:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB AsyncIAdviseSink_Finish_OnClose_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12055:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IAdviseSink2_RemoteOnLinkSrcChange_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12062:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12066:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB IAdviseSink2_OnLinkSrcChange_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12233:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE AsyncIAdviseSink2_Begin_RemoteOnLinkSrcChange_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12240:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12241:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE AsyncIAdviseSink2_Finish_RemoteOnLinkSrcChange_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12248:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12252:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB AsyncIAdviseSink2_Begin_OnLinkSrcChange_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12257:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB AsyncIAdviseSink2_Finish_OnLinkSrcChange_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12281:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetData(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12285:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetDataHere(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12289:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE QueryGetData(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12292:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetCanonicalFormatEtc(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12296:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetData(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12301:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE EnumFormatEtc(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12305:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE DAdvise(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12311:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE DUnadvise(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12314:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE EnumDAdvise(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12449:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IDataObject_RemoteGetData_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12457:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12458:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IDataObject_RemoteGetDataHere_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12466:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12467:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IDataObject_QueryGetData_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12474:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12475:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IDataObject_GetCanonicalFormatEtc_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12483:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12484:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IDataObject_RemoteSetData_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12493:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12494:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IDataObject_EnumFormatEtc_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12502:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12503:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IDataObject_DAdvise_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12513:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12514:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IDataObject_DUnadvise_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12521:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12522:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IDataObject_EnumDAdvise_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12529:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12530:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK IDataObject_GetData_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12534:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB IDataObject_GetData_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12538:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK IDataObject_GetDataHere_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12542:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB IDataObject_GetDataHere_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12546:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK IDataObject_SetData_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12551:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB IDataObject_SetData_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12573:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Advise(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12580:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Unadvise(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12583:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE EnumAdvise(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12586:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SendOnDataChange(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12680:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IDataAdviseHolder_Advise_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12691:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12692:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IDataAdviseHolder_Unadvise_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12699:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12700:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IDataAdviseHolder_EnumAdvise_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12707:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12708:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IDataAdviseHolder_SendOnDataChange_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12717:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12760:13: error: 'DWORD' does not name a type
     virtual DWORD STDMETHODCALLTYPE HandleInComingCall(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12766:13: error: 'DWORD' does not name a type
     virtual DWORD STDMETHODCALLTYPE RetryRejectedCall(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12771:13: error: 'DWORD' does not name a type
     virtual DWORD STDMETHODCALLTYPE MessagePending(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12858:1: error: 'DWORD' does not name a type
 DWORD STDMETHODCALLTYPE IMessageFilter_HandleInComingCall_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12868:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12869:1: error: 'DWORD' does not name a type
 DWORD STDMETHODCALLTYPE IMessageFilter_RetryRejectedCall_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12878:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12879:1: error: 'DWORD' does not name a type
 DWORD STDMETHODCALLTYPE IMessageFilter_MessagePending_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12888:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12920:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetClassObject(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:12990:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IClassActivator_GetClassObject_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13001:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13018:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE FillAppend(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13023:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE FillAt(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13029:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetFillSize(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13032:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Terminate(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13123:1: error: 'HRESULT' does not name a type
 HRESULT __stdcall IFillLockBytes_RemoteFillAppend_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13132:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13133:1: error: 'HRESULT' does not name a type
 HRESULT __stdcall IFillLockBytes_RemoteFillAt_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13143:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13144:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IFillLockBytes_SetFillSize_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13151:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13152:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IFillLockBytes_Terminate_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13159:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13160:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK IFillLockBytes_FillAppend_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13165:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB IFillLockBytes_FillAppend_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13170:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK IFillLockBytes_FillAt_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13176:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB IFillLockBytes_FillAt_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13198:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE OnProgress(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13266:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IProgressNotify_OnProgress_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13276:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13289:5: error: 'DWORD' does not name a type
     DWORD LayoutType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13299:13: error: 'HRESULT' does not name a type
     virtual HRESULT __stdcall LayoutScript(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13304:13: error: 'HRESULT' does not name a type
     virtual HRESULT __stdcall BeginMonitor(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13307:13: error: 'HRESULT' does not name a type
     virtual HRESULT __stdcall EndMonitor(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13310:13: error: 'HRESULT' does not name a type
     virtual HRESULT __stdcall ReLayoutDocfile(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13313:13: error: 'HRESULT' does not name a type
     virtual HRESULT __stdcall ReLayoutDocfileOnILockBytes(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13407:1: error: 'HRESULT' does not name a type
 HRESULT __stdcall ILayoutStorage_LayoutScript_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13416:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13417:1: error: 'HRESULT' does not name a type
 HRESULT __stdcall ILayoutStorage_BeginMonitor_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13423:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13424:1: error: 'HRESULT' does not name a type
 HRESULT __stdcall ILayoutStorage_EndMonitor_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13430:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13431:1: error: 'HRESULT' does not name a type
 HRESULT __stdcall ILayoutStorage_ReLayoutDocfile_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13438:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13439:1: error: 'HRESULT' does not name a type
 HRESULT __stdcall ILayoutStorage_ReLayoutDocfileOnILockBytes_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13446:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13463:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Lock(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13466:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Unlock(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13535:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IBlockingLock_Lock_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13542:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13543:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IBlockingLock_Unlock_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13549:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13564:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SuppressChanges(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13628:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ITimeAndNoticeControl_SuppressChanges_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13636:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13651:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE CreateStorageEx(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13659:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE OpenStorageEx(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13744:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOplockStorage_CreateStorageEx_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13756:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13757:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOplockStorage_OpenStorageEx_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13769:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13786:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE WaitForWriteAccess(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13789:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE ReleaseWriteAccess(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13792:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE HaveWriteAccess(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13868:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IDirectWriterLock_WaitForWriteAccess_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13875:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13876:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IDirectWriterLock_ReleaseWriteAccess_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13882:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13883:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IDirectWriterLock_HaveWriteAccess_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13889:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13906:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE AsyncGetClassBits(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:13986:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IUrlMon_AsyncGetClassBits_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14002:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14017:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE AllowForegroundTransfer(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14079:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IForegroundTransfer_AllowForegroundTransfer_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14086:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14101:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE ExtractThumbnail(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14109:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE OnFileUpdated(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14184:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IThumbnailExtractor_ExtractThumbnail_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14196:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14197:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IThumbnailExtractor_OnFileUpdated_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14204:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14219:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Dummy(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14283:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IDummyHICONIncluder_Dummy_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14291:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14314:13: error: 'ULONG' does not name a type
     virtual ULONG STDMETHODCALLTYPE AddRefOnProcess(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14317:13: error: 'ULONG' does not name a type
     virtual ULONG STDMETHODCALLTYPE ReleaseRefOnProcess(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14385:1: error: 'ULONG' does not name a type
 ULONG STDMETHODCALLTYPE IProcessLock_AddRefOnProcess_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14391:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14392:1: error: 'ULONG' does not name a type
 ULONG STDMETHODCALLTYPE IProcessLock_ReleaseRefOnProcess_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14398:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14413:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Init(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14418:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE ApplicationLaunch(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14422:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE ApplicationFree(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14425:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE CatalogRefresh(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14428:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE ProcessShutdown(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14525:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ISurrogateService_Init_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14534:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14535:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ISurrogateService_ApplicationLaunch_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14543:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14544:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ISurrogateService_ApplicationFree_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14551:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14552:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ISurrogateService_CatalogRefresh_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14559:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14560:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ISurrogateService_ProcessShutdown_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14567:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14583:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE PreInitialize(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14587:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE PostInitialize(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14592:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE PreUninitialize(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14595:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE PostUninitialize(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14684:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInitializeSpy_PreInitialize_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14692:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14693:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInitializeSpy_PostInitialize_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14702:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14703:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInitializeSpy_PreUninitialize_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14710:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14711:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInitializeSpy_PostUninitialize_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14718:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14804:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14811:1: error: 'ULONG' does not name a type
 ULONG           __RPC_USER SNB_UserSize     (ULONG *, ULONG, SNB *);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14812:46: error: 'ULONG' was not declared in this scope
 unsigned char * __RPC_USER SNB_UserMarshal  (ULONG *, unsigned char *, SNB *);
                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14812:53: error: expected primary-expression before ',' token
 unsigned char * __RPC_USER SNB_UserMarshal  (ULONG *, unsigned char *, SNB *);
                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14812:55: error: expected primary-expression before 'unsigned'
 unsigned char * __RPC_USER SNB_UserMarshal  (ULONG *, unsigned char *, SNB *);
                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14812:76: error: expected primary-expression before '*' token
 unsigned char * __RPC_USER SNB_UserMarshal  (ULONG *, unsigned char *, SNB *);
                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14812:77: error: expected primary-expression before ')' token
 unsigned char * __RPC_USER SNB_UserMarshal  (ULONG *, unsigned char *, SNB *);
                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14812:77: error: expression list treated as compound expression in initializer [-fpermissive]
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14813:46: error: 'ULONG' was not declared in this scope
 unsigned char * __RPC_USER SNB_UserUnmarshal(ULONG *, unsigned char *, SNB *);
                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14813:53: error: expected primary-expression before ',' token
 unsigned char * __RPC_USER SNB_UserUnmarshal(ULONG *, unsigned char *, SNB *);
                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14813:55: error: expected primary-expression before 'unsigned'
 unsigned char * __RPC_USER SNB_UserUnmarshal(ULONG *, unsigned char *, SNB *);
                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14813:76: error: expected primary-expression before '*' token
 unsigned char * __RPC_USER SNB_UserUnmarshal(ULONG *, unsigned char *, SNB *);
                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14813:77: error: expected primary-expression before ')' token
 unsigned char * __RPC_USER SNB_UserUnmarshal(ULONG *, unsigned char *, SNB *);
                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14813:77: error: expression list treated as compound expression in initializer [-fpermissive]
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14814:46: error: variable or field 'SNB_UserFree' declared void
 void            __RPC_USER SNB_UserFree     (ULONG *, SNB *);
                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14814:46: error: 'ULONG' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14814:53: error: expected primary-expression before ',' token
 void            __RPC_USER SNB_UserFree     (ULONG *, SNB *);
                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14814:59: error: expected primary-expression before '*' token
 void            __RPC_USER SNB_UserFree     (ULONG *, SNB *);
                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14814:60: error: expected primary-expression before ')' token
 void            __RPC_USER SNB_UserFree     (ULONG *, SNB *);
                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14815:1: error: 'ULONG' does not name a type
 ULONG           __RPC_USER CLIPFORMAT_UserSize     (ULONG *, ULONG, CLIPFORMAT *);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14816:53: error: 'ULONG' was not declared in this scope
 unsigned char * __RPC_USER CLIPFORMAT_UserMarshal  (ULONG *, unsigned char *, CLIPFORMAT *);
                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14816:60: error: expected primary-expression before ',' token
 unsigned char * __RPC_USER CLIPFORMAT_UserMarshal  (ULONG *, unsigned char *, CLIPFORMAT *);
                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14816:62: error: expected primary-expression before 'unsigned'
 unsigned char * __RPC_USER CLIPFORMAT_UserMarshal  (ULONG *, unsigned char *, CLIPFORMAT *);
                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14816:90: error: expected primary-expression before '*' token
 unsigned char * __RPC_USER CLIPFORMAT_UserMarshal  (ULONG *, unsigned char *, CLIPFORMAT *);
                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14816:91: error: expected primary-expression before ')' token
 unsigned char * __RPC_USER CLIPFORMAT_UserMarshal  (ULONG *, unsigned char *, CLIPFORMAT *);
                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14816:91: error: expression list treated as compound expression in initializer [-fpermissive]
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14817:53: error: 'ULONG' was not declared in this scope
 unsigned char * __RPC_USER CLIPFORMAT_UserUnmarshal(ULONG *, unsigned char *, CLIPFORMAT *);
                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14817:60: error: expected primary-expression before ',' token
 unsigned char * __RPC_USER CLIPFORMAT_UserUnmarshal(ULONG *, unsigned char *, CLIPFORMAT *);
                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14817:62: error: expected primary-expression before 'unsigned'
 unsigned char * __RPC_USER CLIPFORMAT_UserUnmarshal(ULONG *, unsigned char *, CLIPFORMAT *);
                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14817:90: error: expected primary-expression before '*' token
 unsigned char * __RPC_USER CLIPFORMAT_UserUnmarshal(ULONG *, unsigned char *, CLIPFORMAT *);
                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14817:91: error: expected primary-expression before ')' token
 unsigned char * __RPC_USER CLIPFORMAT_UserUnmarshal(ULONG *, unsigned char *, CLIPFORMAT *);
                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14817:91: error: expression list treated as compound expression in initializer [-fpermissive]
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14818:53: error: variable or field 'CLIPFORMAT_UserFree' declared void
 void            __RPC_USER CLIPFORMAT_UserFree     (ULONG *, CLIPFORMAT *);
                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14818:53: error: 'ULONG' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14818:60: error: expected primary-expression before ',' token
 void            __RPC_USER CLIPFORMAT_UserFree     (ULONG *, CLIPFORMAT *);
                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14818:73: error: expected primary-expression before '*' token
 void            __RPC_USER CLIPFORMAT_UserFree     (ULONG *, CLIPFORMAT *);
                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14818:74: error: expected primary-expression before ')' token
 void            __RPC_USER CLIPFORMAT_UserFree     (ULONG *, CLIPFORMAT *);
                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14819:1: error: 'ULONG' does not name a type
 ULONG           __RPC_USER STGMEDIUM_UserSize     (ULONG *, ULONG, STGMEDIUM *);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14820:52: error: 'ULONG' was not declared in this scope
 unsigned char * __RPC_USER STGMEDIUM_UserMarshal  (ULONG *, unsigned char *, STGMEDIUM *);
                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14820:59: error: expected primary-expression before ',' token
 unsigned char * __RPC_USER STGMEDIUM_UserMarshal  (ULONG *, unsigned char *, STGMEDIUM *);
                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14820:61: error: expected primary-expression before 'unsigned'
 unsigned char * __RPC_USER STGMEDIUM_UserMarshal  (ULONG *, unsigned char *, STGMEDIUM *);
                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14820:88: error: expected primary-expression before '*' token
 unsigned char * __RPC_USER STGMEDIUM_UserMarshal  (ULONG *, unsigned char *, STGMEDIUM *);
                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14820:89: error: expected primary-expression before ')' token
 unsigned char * __RPC_USER STGMEDIUM_UserMarshal  (ULONG *, unsigned char *, STGMEDIUM *);
                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14820:89: error: expression list treated as compound expression in initializer [-fpermissive]
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14821:52: error: 'ULONG' was not declared in this scope
 unsigned char * __RPC_USER STGMEDIUM_UserUnmarshal(ULONG *, unsigned char *, STGMEDIUM *);
                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14821:59: error: expected primary-expression before ',' token
 unsigned char * __RPC_USER STGMEDIUM_UserUnmarshal(ULONG *, unsigned char *, STGMEDIUM *);
                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14821:61: error: expected primary-expression before 'unsigned'
 unsigned char * __RPC_USER STGMEDIUM_UserUnmarshal(ULONG *, unsigned char *, STGMEDIUM *);
                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14821:88: error: expected primary-expression before '*' token
 unsigned char * __RPC_USER STGMEDIUM_UserUnmarshal(ULONG *, unsigned char *, STGMEDIUM *);
                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14821:89: error: expected primary-expression before ')' token
 unsigned char * __RPC_USER STGMEDIUM_UserUnmarshal(ULONG *, unsigned char *, STGMEDIUM *);
                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14821:89: error: expression list treated as compound expression in initializer [-fpermissive]
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14822:52: error: variable or field 'STGMEDIUM_UserFree' declared void
 void            __RPC_USER STGMEDIUM_UserFree     (ULONG *, STGMEDIUM *);
                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14822:52: error: 'ULONG' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14822:59: error: expected primary-expression before ',' token
 void            __RPC_USER STGMEDIUM_UserFree     (ULONG *, STGMEDIUM *);
                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14822:71: error: expected primary-expression before '*' token
 void            __RPC_USER STGMEDIUM_UserFree     (ULONG *, STGMEDIUM *);
                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14822:72: error: expected primary-expression before ')' token
 void            __RPC_USER STGMEDIUM_UserFree     (ULONG *, STGMEDIUM *);
                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14823:1: error: 'ULONG' does not name a type
 ULONG           __RPC_USER ASYNC_STGMEDIUM_UserSize     (ULONG *, ULONG, ASYNC_STGMEDIUM *);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14824:58: error: 'ULONG' was not declared in this scope
 unsigned char * __RPC_USER ASYNC_STGMEDIUM_UserMarshal  (ULONG *, unsigned char *, ASYNC_STGMEDIUM *);
                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14824:65: error: expected primary-expression before ',' token
 unsigned char * __RPC_USER ASYNC_STGMEDIUM_UserMarshal  (ULONG *, unsigned char *, ASYNC_STGMEDIUM *);
                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14824:67: error: expected primary-expression before 'unsigned'
 unsigned char * __RPC_USER ASYNC_STGMEDIUM_UserMarshal  (ULONG *, unsigned char *, ASYNC_STGMEDIUM *);
                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14824:100: error: expected primary-expression before '*' token
 unsigned char * __RPC_USER ASYNC_STGMEDIUM_UserMarshal  (ULONG *, unsigned char *, ASYNC_STGMEDIUM *);
                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14824:101: error: expected primary-expression before ')' token
 unsigned char * __RPC_USER ASYNC_STGMEDIUM_UserMarshal  (ULONG *, unsigned char *, ASYNC_STGMEDIUM *);
                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14824:101: error: expression list treated as compound expression in initializer [-fpermissive]
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14825:58: error: 'ULONG' was not declared in this scope
 unsigned char * __RPC_USER ASYNC_STGMEDIUM_UserUnmarshal(ULONG *, unsigned char *, ASYNC_STGMEDIUM *);
                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14825:65: error: expected primary-expression before ',' token
 unsigned char * __RPC_USER ASYNC_STGMEDIUM_UserUnmarshal(ULONG *, unsigned char *, ASYNC_STGMEDIUM *);
                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14825:67: error: expected primary-expression before 'unsigned'
 unsigned char * __RPC_USER ASYNC_STGMEDIUM_UserUnmarshal(ULONG *, unsigned char *, ASYNC_STGMEDIUM *);
                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14825:100: error: expected primary-expression before '*' token
 unsigned char * __RPC_USER ASYNC_STGMEDIUM_UserUnmarshal(ULONG *, unsigned char *, ASYNC_STGMEDIUM *);
                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14825:101: error: expected primary-expression before ')' token
 unsigned char * __RPC_USER ASYNC_STGMEDIUM_UserUnmarshal(ULONG *, unsigned char *, ASYNC_STGMEDIUM *);
                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14825:101: error: expression list treated as compound expression in initializer [-fpermissive]
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14826:58: error: variable or field 'ASYNC_STGMEDIUM_UserFree' declared void
 void            __RPC_USER ASYNC_STGMEDIUM_UserFree     (ULONG *, ASYNC_STGMEDIUM *);
                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14826:58: error: 'ULONG' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14826:65: error: expected primary-expression before ',' token
 void            __RPC_USER ASYNC_STGMEDIUM_UserFree     (ULONG *, ASYNC_STGMEDIUM *);
                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14826:83: error: expected primary-expression before '*' token
 void            __RPC_USER ASYNC_STGMEDIUM_UserFree     (ULONG *, ASYNC_STGMEDIUM *);
                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14826:84: error: expected primary-expression before ')' token
 void            __RPC_USER ASYNC_STGMEDIUM_UserFree     (ULONG *, ASYNC_STGMEDIUM *);
                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14827:1: error: 'ULONG' does not name a type
 ULONG           __RPC_USER FLAG_STGMEDIUM_UserSize     (ULONG *, ULONG, FLAG_STGMEDIUM *);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14828:57: error: 'ULONG' was not declared in this scope
 unsigned char * __RPC_USER FLAG_STGMEDIUM_UserMarshal  (ULONG *, unsigned char *, FLAG_STGMEDIUM *);
                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14828:64: error: expected primary-expression before ',' token
 unsigned char * __RPC_USER FLAG_STGMEDIUM_UserMarshal  (ULONG *, unsigned char *, FLAG_STGMEDIUM *);
                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14828:66: error: expected primary-expression before 'unsigned'
 unsigned char * __RPC_USER FLAG_STGMEDIUM_UserMarshal  (ULONG *, unsigned char *, FLAG_STGMEDIUM *);
                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14828:98: error: expected primary-expression before '*' token
 unsigned char * __RPC_USER FLAG_STGMEDIUM_UserMarshal  (ULONG *, unsigned char *, FLAG_STGMEDIUM *);
                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14828:99: error: expected primary-expression before ')' token
 unsigned char * __RPC_USER FLAG_STGMEDIUM_UserMarshal  (ULONG *, unsigned char *, FLAG_STGMEDIUM *);
                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14828:99: error: expression list treated as compound expression in initializer [-fpermissive]
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14829:57: error: 'ULONG' was not declared in this scope
 unsigned char * __RPC_USER FLAG_STGMEDIUM_UserUnmarshal(ULONG *, unsigned char *, FLAG_STGMEDIUM *);
                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14829:64: error: expected primary-expression before ',' token
 unsigned char * __RPC_USER FLAG_STGMEDIUM_UserUnmarshal(ULONG *, unsigned char *, FLAG_STGMEDIUM *);
                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14829:66: error: expected primary-expression before 'unsigned'
 unsigned char * __RPC_USER FLAG_STGMEDIUM_UserUnmarshal(ULONG *, unsigned char *, FLAG_STGMEDIUM *);
                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14829:98: error: expected primary-expression before '*' token
 unsigned char * __RPC_USER FLAG_STGMEDIUM_UserUnmarshal(ULONG *, unsigned char *, FLAG_STGMEDIUM *);
                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14829:99: error: expected primary-expression before ')' token
 unsigned char * __RPC_USER FLAG_STGMEDIUM_UserUnmarshal(ULONG *, unsigned char *, FLAG_STGMEDIUM *);
                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14829:99: error: expression list treated as compound expression in initializer [-fpermissive]
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14830:57: error: variable or field 'FLAG_STGMEDIUM_UserFree' declared void
 void            __RPC_USER FLAG_STGMEDIUM_UserFree     (ULONG *, FLAG_STGMEDIUM *);
                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14830:57: error: 'ULONG' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14830:64: error: expected primary-expression before ',' token
 void            __RPC_USER FLAG_STGMEDIUM_UserFree     (ULONG *, FLAG_STGMEDIUM *);
                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14830:81: error: expected primary-expression before '*' token
 void            __RPC_USER FLAG_STGMEDIUM_UserFree     (ULONG *, FLAG_STGMEDIUM *);
                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14830:82: error: expected primary-expression before ')' token
 void            __RPC_USER FLAG_STGMEDIUM_UserFree     (ULONG *, FLAG_STGMEDIUM *);
                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14831:1: error: 'ULONG' does not name a type
 ULONG           __RPC_USER HBITMAP_UserSize     (ULONG *, ULONG, HBITMAP *);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14832:50: error: 'ULONG' was not declared in this scope
 unsigned char * __RPC_USER HBITMAP_UserMarshal  (ULONG *, unsigned char *, HBITMAP *);
                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14832:57: error: expected primary-expression before ',' token
 unsigned char * __RPC_USER HBITMAP_UserMarshal  (ULONG *, unsigned char *, HBITMAP *);
                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14832:59: error: expected primary-expression before 'unsigned'
 unsigned char * __RPC_USER HBITMAP_UserMarshal  (ULONG *, unsigned char *, HBITMAP *);
                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14832:84: error: expected primary-expression before '*' token
 unsigned char * __RPC_USER HBITMAP_UserMarshal  (ULONG *, unsigned char *, HBITMAP *);
                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14832:85: error: expected primary-expression before ')' token
 unsigned char * __RPC_USER HBITMAP_UserMarshal  (ULONG *, unsigned char *, HBITMAP *);
                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14832:85: error: expression list treated as compound expression in initializer [-fpermissive]
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14833:50: error: 'ULONG' was not declared in this scope
 unsigned char * __RPC_USER HBITMAP_UserUnmarshal(ULONG *, unsigned char *, HBITMAP *);
                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14833:57: error: expected primary-expression before ',' token
 unsigned char * __RPC_USER HBITMAP_UserUnmarshal(ULONG *, unsigned char *, HBITMAP *);
                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14833:59: error: expected primary-expression before 'unsigned'
 unsigned char * __RPC_USER HBITMAP_UserUnmarshal(ULONG *, unsigned char *, HBITMAP *);
                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14833:84: error: expected primary-expression before '*' token
 unsigned char * __RPC_USER HBITMAP_UserUnmarshal(ULONG *, unsigned char *, HBITMAP *);
                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14833:85: error: expected primary-expression before ')' token
 unsigned char * __RPC_USER HBITMAP_UserUnmarshal(ULONG *, unsigned char *, HBITMAP *);
                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14833:85: error: expression list treated as compound expression in initializer [-fpermissive]
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14834:50: error: variable or field 'HBITMAP_UserFree' declared void
 void            __RPC_USER HBITMAP_UserFree     (ULONG *, HBITMAP *);
                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14834:50: error: 'ULONG' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14834:57: error: expected primary-expression before ',' token
 void            __RPC_USER HBITMAP_UserFree     (ULONG *, HBITMAP *);
                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14834:67: error: expected primary-expression before '*' token
 void            __RPC_USER HBITMAP_UserFree     (ULONG *, HBITMAP *);
                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14834:68: error: expected primary-expression before ')' token
 void            __RPC_USER HBITMAP_UserFree     (ULONG *, HBITMAP *);
                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14835:1: error: 'ULONG' does not name a type
 ULONG           __RPC_USER HICON_UserSize     (ULONG *, ULONG, HICON *);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14836:48: error: 'ULONG' was not declared in this scope
 unsigned char * __RPC_USER HICON_UserMarshal  (ULONG *, unsigned char *, HICON *);
                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14836:55: error: expected primary-expression before ',' token
 unsigned char * __RPC_USER HICON_UserMarshal  (ULONG *, unsigned char *, HICON *);
                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14836:57: error: expected primary-expression before 'unsigned'
 unsigned char * __RPC_USER HICON_UserMarshal  (ULONG *, unsigned char *, HICON *);
                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14836:80: error: expected primary-expression before '*' token
 unsigned char * __RPC_USER HICON_UserMarshal  (ULONG *, unsigned char *, HICON *);
                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14836:81: error: expected primary-expression before ')' token
 unsigned char * __RPC_USER HICON_UserMarshal  (ULONG *, unsigned char *, HICON *);
                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14836:81: error: expression list treated as compound expression in initializer [-fpermissive]
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14837:48: error: 'ULONG' was not declared in this scope
 unsigned char * __RPC_USER HICON_UserUnmarshal(ULONG *, unsigned char *, HICON *);
                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14837:55: error: expected primary-expression before ',' token
 unsigned char * __RPC_USER HICON_UserUnmarshal(ULONG *, unsigned char *, HICON *);
                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14837:57: error: expected primary-expression before 'unsigned'
 unsigned char * __RPC_USER HICON_UserUnmarshal(ULONG *, unsigned char *, HICON *);
                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14837:80: error: expected primary-expression before '*' token
 unsigned char * __RPC_USER HICON_UserUnmarshal(ULONG *, unsigned char *, HICON *);
                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14837:81: error: expected primary-expression before ')' token
 unsigned char * __RPC_USER HICON_UserUnmarshal(ULONG *, unsigned char *, HICON *);
                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14837:81: error: expression list treated as compound expression in initializer [-fpermissive]
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14838:48: error: variable or field 'HICON_UserFree' declared void
 void            __RPC_USER HICON_UserFree     (ULONG *, HICON *);
                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14838:48: error: 'ULONG' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14838:55: error: expected primary-expression before ',' token
 void            __RPC_USER HICON_UserFree     (ULONG *, HICON *);
                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14838:63: error: expected primary-expression before '*' token
 void            __RPC_USER HICON_UserFree     (ULONG *, HICON *);
                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14838:64: error: expected primary-expression before ')' token
 void            __RPC_USER HICON_UserFree     (ULONG *, HICON *);
                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14839:1: error: 'ULONG' does not name a type
 ULONG           __RPC_USER HDC_UserSize     (ULONG *, ULONG, HDC *);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14840:46: error: 'ULONG' was not declared in this scope
 unsigned char * __RPC_USER HDC_UserMarshal  (ULONG *, unsigned char *, HDC *);
                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14840:53: error: expected primary-expression before ',' token
 unsigned char * __RPC_USER HDC_UserMarshal  (ULONG *, unsigned char *, HDC *);
                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14840:55: error: expected primary-expression before 'unsigned'
 unsigned char * __RPC_USER HDC_UserMarshal  (ULONG *, unsigned char *, HDC *);
                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14840:76: error: expected primary-expression before '*' token
 unsigned char * __RPC_USER HDC_UserMarshal  (ULONG *, unsigned char *, HDC *);
                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14840:77: error: expected primary-expression before ')' token
 unsigned char * __RPC_USER HDC_UserMarshal  (ULONG *, unsigned char *, HDC *);
                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14840:77: error: expression list treated as compound expression in initializer [-fpermissive]
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14841:46: error: 'ULONG' was not declared in this scope
 unsigned char * __RPC_USER HDC_UserUnmarshal(ULONG *, unsigned char *, HDC *);
                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14841:53: error: expected primary-expression before ',' token
 unsigned char * __RPC_USER HDC_UserUnmarshal(ULONG *, unsigned char *, HDC *);
                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14841:55: error: expected primary-expression before 'unsigned'
 unsigned char * __RPC_USER HDC_UserUnmarshal(ULONG *, unsigned char *, HDC *);
                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14841:76: error: expected primary-expression before '*' token
 unsigned char * __RPC_USER HDC_UserUnmarshal(ULONG *, unsigned char *, HDC *);
                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14841:77: error: expected primary-expression before ')' token
 unsigned char * __RPC_USER HDC_UserUnmarshal(ULONG *, unsigned char *, HDC *);
                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14841:77: error: expression list treated as compound expression in initializer [-fpermissive]
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14842:46: error: variable or field 'HDC_UserFree' declared void
 void            __RPC_USER HDC_UserFree     (ULONG *, HDC *);
                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14842:46: error: 'ULONG' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14842:53: error: expected primary-expression before ',' token
 void            __RPC_USER HDC_UserFree     (ULONG *, HDC *);
                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14842:59: error: expected primary-expression before '*' token
 void            __RPC_USER HDC_UserFree     (ULONG *, HDC *);
                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14842:60: error: expected primary-expression before ')' token
 void            __RPC_USER HDC_UserFree     (ULONG *, HDC *);
                                                            ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:14:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:79:1: error: 'DWORD' does not name a type
 WINOLEAPI_(DWORD) CoBuildVersion (VOID);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:80:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoInitialize (LPVOID pvReserved);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:81:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoRegisterMallocSpy (LPMALLOCSPY pMallocSpy);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:82:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoRevokeMallocSpy (void);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:83:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoCreateStandardMalloc (DWORD memctx, IMalloc **ppMalloc);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:84:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoRegisterInitializeSpy (LPINITIALIZESPY pSpy, ULARGE_INTEGER *puliCookie);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:85:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoRevokeInitializeSpy (ULARGE_INTEGER uliCookie);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:94:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoGetSystemSecurityPermissions (COMSD comSDType, PSECURITY_DESCRIPTOR *ppSD);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:98:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoGetInstanceFromFile (COSERVERINFO *pServerInfo, CLSID *pClsid, IUnknown *punkOuter, DWORD dwClsCtx, DWORD grfMode, OLECHAR *pwszName, DWORD dwCount, MULTI_QI *pResults);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:99:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoGetInstanceFromIStorage (COSERVERINFO *pServerInfo, CLSID *pClsid, IUnknown *punkOuter, DWORD dwClsCtx, struct IStorage *pstg, DWORD dwCount, MULTI_QI *pResults);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:100:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoAllowSetForegroundWindow (IUnknown *pUnk, LPVOID lpvReserved);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:101:1: error: 'HRESULT' does not name a type
 WINOLEAPI DcomChannelSetHResult (LPVOID pvReserved, ULONG *pulReserved, HRESULT appsHR);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:103:1: error: 'HRESULT' does not name a type
 WINOLEAPI CLSIDFromProgIDEx (LPCOLESTR lpszProgID, LPCLSID lpclsid);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:106:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoFileTimeNow (FILETIME *lpFileTime);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:107:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoRegisterMessageFilter (LPMESSAGEFILTER lpMessageFilter, LPMESSAGEFILTER *lplpMessageFilter);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:108:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoRegisterChannelHook (REFGUID ExtensionUuid, IChannelHook *pChannelHook);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:109:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoTreatAsClass (REFCLSID clsidOld, REFCLSID clsidNew);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:110:1: error: 'HRESULT' does not name a type
 WINOLEAPI CreateDataAdviseHolder (LPDATAADVISEHOLDER *ppDAHolder);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:111:1: error: 'HRESULT' does not name a type
 WINOLEAPI CreateDataCache (LPUNKNOWN pUnkOuter, REFCLSID rclsid, REFIID iid, LPVOID *ppv);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:112:1: error: 'HRESULT' does not name a type
 WINOLEAPI StgOpenLayoutDocfile (OLECHAR const *pwcsDfName, DWORD grfMode, DWORD reserved, IStorage **ppstgOpen);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:116:1: error: 'HRESULT' does not name a type
 WINOLEAPI StgCreateDocfile (const WCHAR *pwcsName, DWORD grfMode, DWORD reserved, IStorage **ppstgOpen);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:117:1: error: 'HRESULT' does not name a type
 WINOLEAPI StgCreateDocfileOnILockBytes (ILockBytes *plkbyt, DWORD grfMode, DWORD reserved, IStorage **ppstgOpen);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:118:1: error: 'HRESULT' does not name a type
 WINOLEAPI StgOpenStorage (const WCHAR *pwcsName, IStorage *pstgPriority, DWORD grfMode, SNB snbExclude, DWORD reserved, IStorage **ppstgOpen);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:119:1: error: 'HRESULT' does not name a type
 WINOLEAPI StgOpenStorageOnILockBytes (ILockBytes *plkbyt, IStorage *pstgPriority, DWORD grfMode, SNB snbExclude, DWORD reserved, IStorage **ppstgOpen);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:120:1: error: 'HRESULT' does not name a type
 WINOLEAPI StgIsStorageFile (const WCHAR *pwcsName);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:121:1: error: 'HRESULT' does not name a type
 WINOLEAPI StgIsStorageILockBytes (ILockBytes *plkbyt);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:122:1: error: 'HRESULT' does not name a type
 WINOLEAPI StgSetTimes (const WCHAR *lpszName, const FILETIME *pctime, const FILETIME *patime, const FILETIME *pmtime);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:123:1: error: 'HRESULT' does not name a type
 WINOLEAPI StgOpenAsyncDocfileOnIFillLockBytes (IFillLockBytes *pflb, DWORD grfMode, DWORD asyncFlags, IStorage **ppstgOpen);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:124:1: error: 'HRESULT' does not name a type
 WINOLEAPI StgGetIFillLockBytesOnILockBytes (ILockBytes *pilb, IFillLockBytes **ppflb);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:125:1: error: 'HRESULT' does not name a type
 WINOLEAPI StgGetIFillLockBytesOnFile (OLECHAR const *pwcsName, IFillLockBytes **ppflb);
 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:133:3: error: 'ULONG' does not name a type
   ULONG ulSectorSize;
   ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:14:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:140:1: error: 'HRESULT' does not name a type
 WINOLEAPI StgCreateStorageEx (const WCHAR *pwcsName, DWORD grfMode, DWORD stgfmt, DWORD grfAttrs, STGOPTIONS *pStgOptions, PSECURITY_DESCRIPTOR pSecurityDescriptor, REFIID riid, void **ppObjectOpen);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:141:1: error: 'HRESULT' does not name a type
 WINOLEAPI StgOpenStorageEx (const WCHAR *pwcsName, DWORD grfMode, DWORD stgfmt, DWORD grfAttrs, STGOPTIONS *pStgOptions, PSECURITY_DESCRIPTOR pSecurityDescriptor, REFIID riid, void **ppObjectOpen);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:142:1: error: 'HRESULT' does not name a type
 WINOLEAPI BindMoniker (LPMONIKER pmk, DWORD grfOpt, REFIID iidResult, LPVOID *ppvResult);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:143:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoGetObject (LPCWSTR pszName, BIND_OPTS *pBindOptions, REFIID riid, void **ppv);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:144:1: error: 'HRESULT' does not name a type
 WINOLEAPI MkParseDisplayName (LPBC pbc, LPCOLESTR szUserName, ULONG *pchEaten, LPMONIKER *ppmk);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:145:1: error: 'HRESULT' does not name a type
 WINOLEAPI MonikerRelativePathTo (LPMONIKER pmkSrc, LPMONIKER pmkDest, LPMONIKER *ppmkRelPath, WINBOOL dwReserved);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:146:1: error: 'HRESULT' does not name a type
 WINOLEAPI MonikerCommonPrefixWith (LPMONIKER pmkThis, LPMONIKER pmkOther, LPMONIKER *ppmkCommon);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:147:1: error: 'HRESULT' does not name a type
 WINOLEAPI CreateBindCtx (DWORD reserved, LPBC *ppbc);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:148:1: error: 'HRESULT' does not name a type
 WINOLEAPI CreateGenericComposite (LPMONIKER pmkFirst, LPMONIKER pmkRest, LPMONIKER *ppmkComposite);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:149:1: error: 'HRESULT' does not name a type
 WINOLEAPI GetClassFile (LPCOLESTR szFilename, CLSID *pclsid);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:150:1: error: 'HRESULT' does not name a type
 WINOLEAPI CreateClassMoniker (REFCLSID rclsid, LPMONIKER *ppmk);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:151:1: error: 'HRESULT' does not name a type
 WINOLEAPI CreateFileMoniker (LPCOLESTR lpszPathName, LPMONIKER *ppmk);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:152:1: error: 'HRESULT' does not name a type
 WINOLEAPI CreateItemMoniker (LPCOLESTR lpszDelim, LPCOLESTR lpszItem, LPMONIKER *ppmk);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:153:1: error: 'HRESULT' does not name a type
 WINOLEAPI CreateAntiMoniker (LPMONIKER *ppmk);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:154:1: error: 'HRESULT' does not name a type
 WINOLEAPI CreatePointerMoniker (LPUNKNOWN punk, LPMONIKER *ppmk);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:155:1: error: 'HRESULT' does not name a type
 WINOLEAPI CreateObjrefMoniker (LPUNKNOWN punk, LPMONIKER *ppmk);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:159:1: error: 'HRESULT' does not name a type
 WINOLEAPI CoInstall (IBindCtx *pbc, DWORD dwFlags, uCLSSPEC *pClassSpec, QUERYCONTEXT *pQuery, LPWSTR pszCodeBase);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:160:1: error: 'HRESULT' does not name a type
 WINOLEAPI GetRunningObjectTable (DWORD reserved, LPRUNNINGOBJECTTABLE *pprot);
 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:288:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:163,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:176:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Advise(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:180:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Unadvise(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:183:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE EnumAdvise(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:186:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SendOnRename(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:189:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SendOnSave(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:192:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SendOnClose(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:293:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleAdviseHolder_Advise_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:301:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:302:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleAdviseHolder_Unadvise_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:309:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:310:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleAdviseHolder_EnumAdvise_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:317:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:318:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleAdviseHolder_SendOnRename_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:325:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:326:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleAdviseHolder_SendOnSave_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:332:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:333:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleAdviseHolder_SendOnClose_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:339:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:359:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Cache(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:364:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Uncache(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:367:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE EnumCache(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:370:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE InitCache(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:373:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetData(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:473:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleCache_Cache_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:482:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:483:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleCache_Uncache_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:490:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:491:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleCache_EnumCache_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:498:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:499:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleCache_InitCache_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:506:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:507:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleCache_SetData_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:516:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:558:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE UpdateCache(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:563:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE DiscardCache(
             ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:288:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:163,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:682:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleCache2_RemoteUpdateCache_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:691:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:692:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleCache2_DiscardCache_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:699:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:700:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK IOleCache2_UpdateCache_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:705:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB IOleCache2_UpdateCache_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:729:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE OnRun(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:732:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE OnStop(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:801:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleCacheControl_OnRun_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:808:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:809:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleCacheControl_OnStop_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:815:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:833:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE ParseDisplayName(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:901:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IParseDisplayName_ParseDisplayName_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:911:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:929:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE EnumObjects(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:933:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE LockContainer(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1018:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleContainer_EnumObjects_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1026:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1027:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleContainer_LockContainer_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1034:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1052:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SaveObject(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1055:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetMoniker(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1060:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetContainer(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1063:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE ShowObject(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1066:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE OnShowWindow(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1069:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE RequestNewObjectLayout(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1170:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleClientSite_SaveObject_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1176:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1177:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleClientSite_GetMoniker_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1186:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1187:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleClientSite_GetContainer_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1194:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1195:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleClientSite_ShowObject_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1201:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1202:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleClientSite_OnShowWindow_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1209:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1210:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleClientSite_RequestNewObjectLayout_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1216:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1283:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetClientSite(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1286:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetClientSite(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1289:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetHostNames(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1293:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Close(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1296:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetMoniker(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1300:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetMoniker(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1305:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE InitFromData(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1310:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetClipboardData(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1314:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE DoVerb(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1322:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE EnumVerbs(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1325:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Update(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1328:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE IsUpToDate(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1331:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetUserClassID(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1334:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetUserType(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1338:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetExtent(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1342:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetExtent(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1346:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Advise(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1350:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Unadvise(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1353:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE EnumAdvise(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1356:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetMiscStatus(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1360:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetColorScheme(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1597:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleObject_SetClientSite_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1604:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1605:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleObject_GetClientSite_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1612:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1613:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleObject_SetHostNames_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1621:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1622:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleObject_Close_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1629:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1630:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleObject_SetMoniker_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1638:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1639:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleObject_GetMoniker_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1648:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1649:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleObject_InitFromData_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1658:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1659:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleObject_GetClipboardData_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1667:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1668:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleObject_DoVerb_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1680:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1681:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleObject_EnumVerbs_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1688:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1689:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleObject_Update_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1695:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1696:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleObject_IsUpToDate_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1702:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1703:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleObject_GetUserClassID_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1710:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1711:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleObject_GetUserType_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1719:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1720:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleObject_SetExtent_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1728:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1729:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleObject_GetExtent_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1737:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1738:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleObject_Advise_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1746:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1747:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleObject_Unadvise_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1754:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1755:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleObject_EnumAdvise_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1762:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1763:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleObject_GetMiscStatus_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1771:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1772:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleObject_SetColorScheme_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1779:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1802:5: error: 'ULONG' does not name a type
     ULONG cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1804:5: error: 'DWORD' does not name a type
     DWORD dwDrawAspect;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1807:5: error: 'DWORD' does not name a type
     DWORD dwStatus;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1808:5: error: 'DWORD' does not name a type
     DWORD dwFullUserTypeName;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1809:5: error: 'DWORD' does not name a type
     DWORD dwSrcOfCopy;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1833:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetWindow(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1836:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE ContextSensitiveHelp(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1906:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleWindow_GetWindow_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1913:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1914:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleWindow_ContextSensitiveHelp_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1921:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1951:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetUpdateOptions(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1954:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetUpdateOptions(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1957:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetSourceMoniker(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1961:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetSourceMoniker(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1964:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetSourceDisplayName(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1967:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetSourceDisplayName(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1970:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE BindToSource(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1974:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE BindIfRunning(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1977:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetBoundSource(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1980:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE UnbindSource(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:1983:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Update(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2125:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleLink_SetUpdateOptions_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2132:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2133:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleLink_GetUpdateOptions_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2140:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2141:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleLink_SetSourceMoniker_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2149:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2150:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleLink_GetSourceMoniker_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2157:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2158:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleLink_SetSourceDisplayName_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2165:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2166:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleLink_GetSourceDisplayName_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2173:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2174:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleLink_BindToSource_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2182:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2183:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleLink_BindIfRunning_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2189:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2190:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleLink_GetBoundSource_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2197:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2198:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleLink_UnbindSource_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2204:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2205:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleLink_Update_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2212:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2244:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetObject(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2251:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetObjectStorage(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2257:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE IsRunning(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2376:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleItemContainer_GetObject_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2387:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2388:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleItemContainer_GetObjectStorage_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2398:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2399:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleItemContainer_IsRunning_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2406:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2427:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetBorder(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2430:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE RequestBorderSpace(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2433:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetBorderSpace(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2436:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetActiveObject(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2543:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleInPlaceUIWindow_GetBorder_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2550:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2551:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleInPlaceUIWindow_RequestBorderSpace_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2558:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2559:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleInPlaceUIWindow_SetBorderSpace_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2566:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2567:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleInPlaceUIWindow_SetActiveObject_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2575:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2593:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE TranslateAccelerator(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2596:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE OnFrameWindowActivate(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2599:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE OnDocWindowActivate(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2602:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE ResizeBorder(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2607:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE EnableModeless(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2722:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleInPlaceActiveObject_RemoteTranslateAccelerator_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2728:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2729:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleInPlaceActiveObject_OnFrameWindowActivate_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2736:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2737:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleInPlaceActiveObject_OnDocWindowActivate_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2744:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2745:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleInPlaceActiveObject_RemoteResizeBorder_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2755:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2756:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleInPlaceActiveObject_EnableModeless_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2763:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2764:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK IOleInPlaceActiveObject_TranslateAccelerator_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2767:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB IOleInPlaceActiveObject_TranslateAccelerator_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2769:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK IOleInPlaceActiveObject_ResizeBorder_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2774:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB IOleInPlaceActiveObject_ResizeBorder_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2802:5: error: 'LONG' does not name a type
     LONG width[6];
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2813:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE InsertMenus(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2817:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetMenu(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2822:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE RemoveMenus(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2825:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetStatusText(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2828:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE EnableModeless(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2831:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE TranslateAccelerator(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:2993:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleInPlaceFrame_InsertMenus_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3001:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3002:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleInPlaceFrame_SetMenu_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3011:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3012:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleInPlaceFrame_RemoveMenus_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3019:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3020:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleInPlaceFrame_SetStatusText_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3027:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3028:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleInPlaceFrame_EnableModeless_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3035:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3036:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleInPlaceFrame_TranslateAccelerator_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3044:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3062:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE InPlaceDeactivate(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3065:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE UIDeactivate(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3068:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetObjectRects(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3072:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE ReactivateAndUndo(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3175:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleInPlaceObject_InPlaceDeactivate_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3181:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3182:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleInPlaceObject_UIDeactivate_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3188:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3189:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleInPlaceObject_SetObjectRects_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3197:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3198:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleInPlaceObject_ReactivateAndUndo_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3204:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3222:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE CanInPlaceActivate(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3225:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE OnInPlaceActivate(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3228:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE OnUIActivate(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3231:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetWindowContext(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3238:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Scroll(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3241:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE OnUIDeactivate(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3244:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE OnInPlaceDeactivate(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3247:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE DiscardUndoState(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3250:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE DeactivateAndUndo(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3253:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE OnPosRectChange(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3404:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleInPlaceSite_CanInPlaceActivate_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3410:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3411:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleInPlaceSite_OnInPlaceActivate_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3417:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3418:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleInPlaceSite_OnUIActivate_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3424:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3425:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleInPlaceSite_GetWindowContext_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3436:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3437:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleInPlaceSite_Scroll_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3444:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3445:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleInPlaceSite_OnUIDeactivate_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3452:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3453:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleInPlaceSite_OnInPlaceDeactivate_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3459:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3460:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleInPlaceSite_DiscardUndoState_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3466:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3467:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleInPlaceSite_DeactivateAndUndo_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3473:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3474:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IOleInPlaceSite_OnPosRectChange_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3481:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3497:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE FContinue(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3558:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IContinue_FContinue_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3564:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3582:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Draw(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3594:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetColorSet(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3602:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Freeze(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3608:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Unfreeze(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3611:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetAdvise(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3616:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetAdvise(
             ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:288:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:163,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3741:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IViewObject_RemoteDraw_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3756:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3757:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IViewObject_RemoteGetColorSet_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3769:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3770:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IViewObject_RemoteFreeze_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3780:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3781:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IViewObject_Unfreeze_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3788:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3789:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IViewObject_SetAdvise_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3798:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3799:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IViewObject_RemoteGetAdvise_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3808:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3809:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK IViewObject_Draw_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3821:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB IViewObject_Draw_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3832:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK IViewObject_GetColorSet_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3840:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB IViewObject_GetColorSet_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3848:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK IViewObject_Freeze_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3854:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB IViewObject_Freeze_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3860:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK IViewObject_GetAdvise_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3865:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB IViewObject_GetAdvise_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:3887:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetExtent(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4027:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IViewObject2_GetExtent_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4037:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4055:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE QueryContinueDrag(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4059:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GiveFeedback(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4130:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IDropSource_QueryContinueDrag_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4138:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4139:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IDropSource_GiveFeedback_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4146:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4192:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE DragEnter(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4198:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE DragOver(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4203:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE DragLeave(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4206:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Drop(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4302:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IDropTarget_DragEnter_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4312:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4313:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IDropTarget_DragOver_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4322:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4323:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IDropTarget_DragLeave_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4329:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4330:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IDropTarget_Drop_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4340:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4356:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE DragEnterTarget(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4359:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE DragLeaveTarget(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4428:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IDropSourceNotify_DragEnterTarget_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4435:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4436:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IDropSourceNotify_DragLeaveTarget_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4442:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4458:5: error: 'LONG' does not name a type
     LONG lVerb;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4460:5: error: 'DWORD' does not name a type
     DWORD fuFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4461:5: error: 'DWORD' does not name a type
     DWORD grfAttribs;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4475:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Next(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4480:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Skip(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4483:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Reset(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4486:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Clone(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4573:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IEnumOLEVERB_RemoteNext_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4582:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4583:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IEnumOLEVERB_Skip_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4590:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4591:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IEnumOLEVERB_Reset_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4597:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4598:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IEnumOLEVERB_Clone_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4605:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4606:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK IEnumOLEVERB_Next_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4611:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB IEnumOLEVERB_Next_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4622:1: error: 'ULONG' does not name a type
 ULONG           __RPC_USER CLIPFORMAT_UserSize     (ULONG *, ULONG, CLIPFORMAT *);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4623:53: error: redefinition of 'unsigned char* CLIPFORMAT_UserMarshal'
 unsigned char * __RPC_USER CLIPFORMAT_UserMarshal  (ULONG *, unsigned char *, CLIPFORMAT *);
                                                     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:66:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14816:28: note: 'unsigned char* CLIPFORMAT_UserMarshal' previously defined here
 unsigned char * __RPC_USER CLIPFORMAT_UserMarshal  (ULONG *, unsigned char *, CLIPFORMAT *);
                            ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:288:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:163,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4623:53: error: 'ULONG' was not declared in this scope
 unsigned char * __RPC_USER CLIPFORMAT_UserMarshal  (ULONG *, unsigned char *, CLIPFORMAT *);
                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4623:60: error: expected primary-expression before ',' token
 unsigned char * __RPC_USER CLIPFORMAT_UserMarshal  (ULONG *, unsigned char *, CLIPFORMAT *);
                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4623:62: error: expected primary-expression before 'unsigned'
 unsigned char * __RPC_USER CLIPFORMAT_UserMarshal  (ULONG *, unsigned char *, CLIPFORMAT *);
                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4623:90: error: expected primary-expression before '*' token
 unsigned char * __RPC_USER CLIPFORMAT_UserMarshal  (ULONG *, unsigned char *, CLIPFORMAT *);
                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4623:91: error: expected primary-expression before ')' token
 unsigned char * __RPC_USER CLIPFORMAT_UserMarshal  (ULONG *, unsigned char *, CLIPFORMAT *);
                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4624:53: error: redefinition of 'unsigned char* CLIPFORMAT_UserUnmarshal'
 unsigned char * __RPC_USER CLIPFORMAT_UserUnmarshal(ULONG *, unsigned char *, CLIPFORMAT *);
                                                     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:66:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14817:28: note: 'unsigned char* CLIPFORMAT_UserUnmarshal' previously defined here
 unsigned char * __RPC_USER CLIPFORMAT_UserUnmarshal(ULONG *, unsigned char *, CLIPFORMAT *);
                            ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:288:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:163,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4624:53: error: 'ULONG' was not declared in this scope
 unsigned char * __RPC_USER CLIPFORMAT_UserUnmarshal(ULONG *, unsigned char *, CLIPFORMAT *);
                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4624:60: error: expected primary-expression before ',' token
 unsigned char * __RPC_USER CLIPFORMAT_UserUnmarshal(ULONG *, unsigned char *, CLIPFORMAT *);
                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4624:62: error: expected primary-expression before 'unsigned'
 unsigned char * __RPC_USER CLIPFORMAT_UserUnmarshal(ULONG *, unsigned char *, CLIPFORMAT *);
                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4624:90: error: expected primary-expression before '*' token
 unsigned char * __RPC_USER CLIPFORMAT_UserUnmarshal(ULONG *, unsigned char *, CLIPFORMAT *);
                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4624:91: error: expected primary-expression before ')' token
 unsigned char * __RPC_USER CLIPFORMAT_UserUnmarshal(ULONG *, unsigned char *, CLIPFORMAT *);
                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4625:53: error: variable or field 'CLIPFORMAT_UserFree' declared void
 void            __RPC_USER CLIPFORMAT_UserFree     (ULONG *, CLIPFORMAT *);
                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4625:53: error: 'ULONG' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4625:60: error: expected primary-expression before ',' token
 void            __RPC_USER CLIPFORMAT_UserFree     (ULONG *, CLIPFORMAT *);
                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4625:73: error: expected primary-expression before '*' token
 void            __RPC_USER CLIPFORMAT_UserFree     (ULONG *, CLIPFORMAT *);
                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4625:74: error: expected primary-expression before ')' token
 void            __RPC_USER CLIPFORMAT_UserFree     (ULONG *, CLIPFORMAT *);
                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4626:1: error: 'ULONG' does not name a type
 ULONG           __RPC_USER STGMEDIUM_UserSize     (ULONG *, ULONG, STGMEDIUM *);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4627:52: error: redefinition of 'unsigned char* STGMEDIUM_UserMarshal'
 unsigned char * __RPC_USER STGMEDIUM_UserMarshal  (ULONG *, unsigned char *, STGMEDIUM *);
                                                    ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:66:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14820:28: note: 'unsigned char* STGMEDIUM_UserMarshal' previously defined here
 unsigned char * __RPC_USER STGMEDIUM_UserMarshal  (ULONG *, unsigned char *, STGMEDIUM *);
                            ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:288:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:163,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4627:52: error: 'ULONG' was not declared in this scope
 unsigned char * __RPC_USER STGMEDIUM_UserMarshal  (ULONG *, unsigned char *, STGMEDIUM *);
                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4627:59: error: expected primary-expression before ',' token
 unsigned char * __RPC_USER STGMEDIUM_UserMarshal  (ULONG *, unsigned char *, STGMEDIUM *);
                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4627:61: error: expected primary-expression before 'unsigned'
 unsigned char * __RPC_USER STGMEDIUM_UserMarshal  (ULONG *, unsigned char *, STGMEDIUM *);
                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4627:88: error: expected primary-expression before '*' token
 unsigned char * __RPC_USER STGMEDIUM_UserMarshal  (ULONG *, unsigned char *, STGMEDIUM *);
                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4627:89: error: expected primary-expression before ')' token
 unsigned char * __RPC_USER STGMEDIUM_UserMarshal  (ULONG *, unsigned char *, STGMEDIUM *);
                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4628:52: error: redefinition of 'unsigned char* STGMEDIUM_UserUnmarshal'
 unsigned char * __RPC_USER STGMEDIUM_UserUnmarshal(ULONG *, unsigned char *, STGMEDIUM *);
                                                    ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:66:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14821:28: note: 'unsigned char* STGMEDIUM_UserUnmarshal' previously defined here
 unsigned char * __RPC_USER STGMEDIUM_UserUnmarshal(ULONG *, unsigned char *, STGMEDIUM *);
                            ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:288:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:163,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4628:52: error: 'ULONG' was not declared in this scope
 unsigned char * __RPC_USER STGMEDIUM_UserUnmarshal(ULONG *, unsigned char *, STGMEDIUM *);
                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4628:59: error: expected primary-expression before ',' token
 unsigned char * __RPC_USER STGMEDIUM_UserUnmarshal(ULONG *, unsigned char *, STGMEDIUM *);
                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4628:61: error: expected primary-expression before 'unsigned'
 unsigned char * __RPC_USER STGMEDIUM_UserUnmarshal(ULONG *, unsigned char *, STGMEDIUM *);
                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4628:88: error: expected primary-expression before '*' token
 unsigned char * __RPC_USER STGMEDIUM_UserUnmarshal(ULONG *, unsigned char *, STGMEDIUM *);
                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4628:89: error: expected primary-expression before ')' token
 unsigned char * __RPC_USER STGMEDIUM_UserUnmarshal(ULONG *, unsigned char *, STGMEDIUM *);
                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4629:52: error: variable or field 'STGMEDIUM_UserFree' declared void
 void            __RPC_USER STGMEDIUM_UserFree     (ULONG *, STGMEDIUM *);
                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4629:52: error: 'ULONG' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4629:59: error: expected primary-expression before ',' token
 void            __RPC_USER STGMEDIUM_UserFree     (ULONG *, STGMEDIUM *);
                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4629:71: error: expected primary-expression before '*' token
 void            __RPC_USER STGMEDIUM_UserFree     (ULONG *, STGMEDIUM *);
                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4629:72: error: expected primary-expression before ')' token
 void            __RPC_USER STGMEDIUM_UserFree     (ULONG *, STGMEDIUM *);
                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4630:1: error: 'ULONG' does not name a type
 ULONG           __RPC_USER HWND_UserSize     (ULONG *, ULONG, HWND *);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4631:47: error: 'ULONG' was not declared in this scope
 unsigned char * __RPC_USER HWND_UserMarshal  (ULONG *, unsigned char *, HWND *);
                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4631:54: error: expected primary-expression before ',' token
 unsigned char * __RPC_USER HWND_UserMarshal  (ULONG *, unsigned char *, HWND *);
                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4631:56: error: expected primary-expression before 'unsigned'
 unsigned char * __RPC_USER HWND_UserMarshal  (ULONG *, unsigned char *, HWND *);
                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4631:78: error: expected primary-expression before '*' token
 unsigned char * __RPC_USER HWND_UserMarshal  (ULONG *, unsigned char *, HWND *);
                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4631:79: error: expected primary-expression before ')' token
 unsigned char * __RPC_USER HWND_UserMarshal  (ULONG *, unsigned char *, HWND *);
                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4631:79: error: expression list treated as compound expression in initializer [-fpermissive]
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4632:47: error: 'ULONG' was not declared in this scope
 unsigned char * __RPC_USER HWND_UserUnmarshal(ULONG *, unsigned char *, HWND *);
                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4632:54: error: expected primary-expression before ',' token
 unsigned char * __RPC_USER HWND_UserUnmarshal(ULONG *, unsigned char *, HWND *);
                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4632:56: error: expected primary-expression before 'unsigned'
 unsigned char * __RPC_USER HWND_UserUnmarshal(ULONG *, unsigned char *, HWND *);
                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4632:78: error: expected primary-expression before '*' token
 unsigned char * __RPC_USER HWND_UserUnmarshal(ULONG *, unsigned char *, HWND *);
                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4632:79: error: expected primary-expression before ')' token
 unsigned char * __RPC_USER HWND_UserUnmarshal(ULONG *, unsigned char *, HWND *);
                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4632:79: error: expression list treated as compound expression in initializer [-fpermissive]
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4633:47: error: variable or field 'HWND_UserFree' declared void
 void            __RPC_USER HWND_UserFree     (ULONG *, HWND *);
                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4633:47: error: 'ULONG' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4633:54: error: expected primary-expression before ',' token
 void            __RPC_USER HWND_UserFree     (ULONG *, HWND *);
                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4633:61: error: expected primary-expression before '*' token
 void            __RPC_USER HWND_UserFree     (ULONG *, HWND *);
                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4633:62: error: expected primary-expression before ')' token
 void            __RPC_USER HWND_UserFree     (ULONG *, HWND *);
                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4634:1: error: 'ULONG' does not name a type
 ULONG           __RPC_USER HMENU_UserSize     (ULONG *, ULONG, HMENU *);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4635:48: error: 'ULONG' was not declared in this scope
 unsigned char * __RPC_USER HMENU_UserMarshal  (ULONG *, unsigned char *, HMENU *);
                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4635:55: error: expected primary-expression before ',' token
 unsigned char * __RPC_USER HMENU_UserMarshal  (ULONG *, unsigned char *, HMENU *);
                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4635:57: error: expected primary-expression before 'unsigned'
 unsigned char * __RPC_USER HMENU_UserMarshal  (ULONG *, unsigned char *, HMENU *);
                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4635:80: error: expected primary-expression before '*' token
 unsigned char * __RPC_USER HMENU_UserMarshal  (ULONG *, unsigned char *, HMENU *);
                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4635:81: error: expected primary-expression before ')' token
 unsigned char * __RPC_USER HMENU_UserMarshal  (ULONG *, unsigned char *, HMENU *);
                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4635:81: error: expression list treated as compound expression in initializer [-fpermissive]
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4636:48: error: 'ULONG' was not declared in this scope
 unsigned char * __RPC_USER HMENU_UserUnmarshal(ULONG *, unsigned char *, HMENU *);
                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4636:55: error: expected primary-expression before ',' token
 unsigned char * __RPC_USER HMENU_UserUnmarshal(ULONG *, unsigned char *, HMENU *);
                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4636:57: error: expected primary-expression before 'unsigned'
 unsigned char * __RPC_USER HMENU_UserUnmarshal(ULONG *, unsigned char *, HMENU *);
                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4636:80: error: expected primary-expression before '*' token
 unsigned char * __RPC_USER HMENU_UserUnmarshal(ULONG *, unsigned char *, HMENU *);
                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4636:81: error: expected primary-expression before ')' token
 unsigned char * __RPC_USER HMENU_UserUnmarshal(ULONG *, unsigned char *, HMENU *);
                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4636:81: error: expression list treated as compound expression in initializer [-fpermissive]
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4637:48: error: variable or field 'HMENU_UserFree' declared void
 void            __RPC_USER HMENU_UserFree     (ULONG *, HMENU *);
                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4637:48: error: 'ULONG' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4637:55: error: expected primary-expression before ',' token
 void            __RPC_USER HMENU_UserFree     (ULONG *, HMENU *);
                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4637:63: error: expected primary-expression before '*' token
 void            __RPC_USER HMENU_UserFree     (ULONG *, HMENU *);
                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4637:64: error: expected primary-expression before ')' token
 void            __RPC_USER HMENU_UserFree     (ULONG *, HMENU *);
                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4638:1: error: 'ULONG' does not name a type
 ULONG           __RPC_USER HGLOBAL_UserSize     (ULONG *, ULONG, HGLOBAL *);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4639:50: error: 'ULONG' was not declared in this scope
 unsigned char * __RPC_USER HGLOBAL_UserMarshal  (ULONG *, unsigned char *, HGLOBAL *);
                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4639:57: error: expected primary-expression before ',' token
 unsigned char * __RPC_USER HGLOBAL_UserMarshal  (ULONG *, unsigned char *, HGLOBAL *);
                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4639:59: error: expected primary-expression before 'unsigned'
 unsigned char * __RPC_USER HGLOBAL_UserMarshal  (ULONG *, unsigned char *, HGLOBAL *);
                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4639:84: error: expected primary-expression before '*' token
 unsigned char * __RPC_USER HGLOBAL_UserMarshal  (ULONG *, unsigned char *, HGLOBAL *);
                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4639:85: error: expected primary-expression before ')' token
 unsigned char * __RPC_USER HGLOBAL_UserMarshal  (ULONG *, unsigned char *, HGLOBAL *);
                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4639:85: error: expression list treated as compound expression in initializer [-fpermissive]
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4640:50: error: 'ULONG' was not declared in this scope
 unsigned char * __RPC_USER HGLOBAL_UserUnmarshal(ULONG *, unsigned char *, HGLOBAL *);
                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4640:57: error: expected primary-expression before ',' token
 unsigned char * __RPC_USER HGLOBAL_UserUnmarshal(ULONG *, unsigned char *, HGLOBAL *);
                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4640:59: error: expected primary-expression before 'unsigned'
 unsigned char * __RPC_USER HGLOBAL_UserUnmarshal(ULONG *, unsigned char *, HGLOBAL *);
                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4640:84: error: expected primary-expression before '*' token
 unsigned char * __RPC_USER HGLOBAL_UserUnmarshal(ULONG *, unsigned char *, HGLOBAL *);
                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4640:85: error: expected primary-expression before ')' token
 unsigned char * __RPC_USER HGLOBAL_UserUnmarshal(ULONG *, unsigned char *, HGLOBAL *);
                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4640:85: error: expression list treated as compound expression in initializer [-fpermissive]
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4641:50: error: variable or field 'HGLOBAL_UserFree' declared void
 void            __RPC_USER HGLOBAL_UserFree     (ULONG *, HGLOBAL *);
                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4641:50: error: 'ULONG' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4641:57: error: expected primary-expression before ',' token
 void            __RPC_USER HGLOBAL_UserFree     (ULONG *, HGLOBAL *);
                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4641:67: error: expected primary-expression before '*' token
 void            __RPC_USER HGLOBAL_UserFree     (ULONG *, HGLOBAL *);
                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4641:68: error: expected primary-expression before ')' token
 void            __RPC_USER HGLOBAL_UserFree     (ULONG *, HGLOBAL *);
                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4642:1: error: 'ULONG' does not name a type
 ULONG           __RPC_USER HACCEL_UserSize     (ULONG *, ULONG, HACCEL *);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4643:49: error: 'ULONG' was not declared in this scope
 unsigned char * __RPC_USER HACCEL_UserMarshal  (ULONG *, unsigned char *, HACCEL *);
                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4643:56: error: expected primary-expression before ',' token
 unsigned char * __RPC_USER HACCEL_UserMarshal  (ULONG *, unsigned char *, HACCEL *);
                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4643:58: error: expected primary-expression before 'unsigned'
 unsigned char * __RPC_USER HACCEL_UserMarshal  (ULONG *, unsigned char *, HACCEL *);
                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4643:82: error: expected primary-expression before '*' token
 unsigned char * __RPC_USER HACCEL_UserMarshal  (ULONG *, unsigned char *, HACCEL *);
                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4643:83: error: expected primary-expression before ')' token
 unsigned char * __RPC_USER HACCEL_UserMarshal  (ULONG *, unsigned char *, HACCEL *);
                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4643:83: error: expression list treated as compound expression in initializer [-fpermissive]
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4644:49: error: 'ULONG' was not declared in this scope
 unsigned char * __RPC_USER HACCEL_UserUnmarshal(ULONG *, unsigned char *, HACCEL *);
                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4644:56: error: expected primary-expression before ',' token
 unsigned char * __RPC_USER HACCEL_UserUnmarshal(ULONG *, unsigned char *, HACCEL *);
                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4644:58: error: expected primary-expression before 'unsigned'
 unsigned char * __RPC_USER HACCEL_UserUnmarshal(ULONG *, unsigned char *, HACCEL *);
                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4644:82: error: expected primary-expression before '*' token
 unsigned char * __RPC_USER HACCEL_UserUnmarshal(ULONG *, unsigned char *, HACCEL *);
                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4644:83: error: expected primary-expression before ')' token
 unsigned char * __RPC_USER HACCEL_UserUnmarshal(ULONG *, unsigned char *, HACCEL *);
                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4644:83: error: expression list treated as compound expression in initializer [-fpermissive]
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4645:49: error: variable or field 'HACCEL_UserFree' declared void
 void            __RPC_USER HACCEL_UserFree     (ULONG *, HACCEL *);
                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4645:49: error: 'ULONG' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4645:56: error: expected primary-expression before ',' token
 void            __RPC_USER HACCEL_UserFree     (ULONG *, HACCEL *);
                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4645:65: error: expected primary-expression before '*' token
 void            __RPC_USER HACCEL_UserFree     (ULONG *, HACCEL *);
                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4645:66: error: expected primary-expression before ')' token
 void            __RPC_USER HACCEL_UserFree     (ULONG *, HACCEL *);
                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4646:1: error: 'ULONG' does not name a type
 ULONG           __RPC_USER HDC_UserSize     (ULONG *, ULONG, HDC *);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4647:46: error: redefinition of 'unsigned char* HDC_UserMarshal'
 unsigned char * __RPC_USER HDC_UserMarshal  (ULONG *, unsigned char *, HDC *);
                                              ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:66:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14840:28: note: 'unsigned char* HDC_UserMarshal' previously defined here
 unsigned char * __RPC_USER HDC_UserMarshal  (ULONG *, unsigned char *, HDC *);
                            ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:288:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:163,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4647:46: error: 'ULONG' was not declared in this scope
 unsigned char * __RPC_USER HDC_UserMarshal  (ULONG *, unsigned char *, HDC *);
                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4647:53: error: expected primary-expression before ',' token
 unsigned char * __RPC_USER HDC_UserMarshal  (ULONG *, unsigned char *, HDC *);
                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4647:55: error: expected primary-expression before 'unsigned'
 unsigned char * __RPC_USER HDC_UserMarshal  (ULONG *, unsigned char *, HDC *);
                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4647:76: error: expected primary-expression before '*' token
 unsigned char * __RPC_USER HDC_UserMarshal  (ULONG *, unsigned char *, HDC *);
                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4647:77: error: expected primary-expression before ')' token
 unsigned char * __RPC_USER HDC_UserMarshal  (ULONG *, unsigned char *, HDC *);
                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4648:46: error: redefinition of 'unsigned char* HDC_UserUnmarshal'
 unsigned char * __RPC_USER HDC_UserUnmarshal(ULONG *, unsigned char *, HDC *);
                                              ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:66:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14841:28: note: 'unsigned char* HDC_UserUnmarshal' previously defined here
 unsigned char * __RPC_USER HDC_UserUnmarshal(ULONG *, unsigned char *, HDC *);
                            ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:288:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:163,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4648:46: error: 'ULONG' was not declared in this scope
 unsigned char * __RPC_USER HDC_UserUnmarshal(ULONG *, unsigned char *, HDC *);
                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4648:53: error: expected primary-expression before ',' token
 unsigned char * __RPC_USER HDC_UserUnmarshal(ULONG *, unsigned char *, HDC *);
                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4648:55: error: expected primary-expression before 'unsigned'
 unsigned char * __RPC_USER HDC_UserUnmarshal(ULONG *, unsigned char *, HDC *);
                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4648:76: error: expected primary-expression before '*' token
 unsigned char * __RPC_USER HDC_UserUnmarshal(ULONG *, unsigned char *, HDC *);
                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4648:77: error: expected primary-expression before ')' token
 unsigned char * __RPC_USER HDC_UserUnmarshal(ULONG *, unsigned char *, HDC *);
                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4649:46: error: variable or field 'HDC_UserFree' declared void
 void            __RPC_USER HDC_UserFree     (ULONG *, HDC *);
                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4649:46: error: 'ULONG' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4649:53: error: expected primary-expression before ',' token
 void            __RPC_USER HDC_UserFree     (ULONG *, HDC *);
                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4649:59: error: expected primary-expression before '*' token
 void            __RPC_USER HDC_UserFree     (ULONG *, HDC *);
                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4649:60: error: expected primary-expression before ')' token
 void            __RPC_USER HDC_UserFree     (ULONG *, HDC *);
                                                            ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:289:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:163,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/servprov.h:62:10: error: 'HRESULT' does not name a type
 virtual  HRESULT STDMETHODCALLTYPE QueryService(REFGUID guidService, REFIID riid, void **ppvObject) = 0;
          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/servprov.h:65:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE QueryService(REFGUID guidService, Q **pp) {
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/servprov.h:71:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IServiceProvider_RemoteQueryService_Proxy(IServiceProvider *This, REFGUID guidService, REFIID riid, IUnknown **ppvObject);
 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:289:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:163,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/servprov.h:72:146: error: 'DWORD' has not been declared
 void __RPC_STUB IServiceProvider_RemoteQueryService_Stub(IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase);
                                                                                                                                                  ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:24:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:290,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:163,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:245:5: error: 'ULONG' does not name a type
     ULONG cElements;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:246:5: error: 'LONG' does not name a type
     LONG lLbound;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:254:5: error: 'ULONG' does not name a type
     ULONG Size;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:259:5: error: 'ULONG' does not name a type
     ULONG Size;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:264:5: error: 'ULONG' does not name a type
     ULONG Size;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:269:5: error: 'ULONG' does not name a type
     ULONG Size;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:274:5: error: 'ULONG' does not name a type
     ULONG Size;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:279:5: error: 'ULONG' does not name a type
     ULONG Size;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:299:5: error: 'ULONG' does not name a type
     ULONG sfType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:317:5: error: 'ULONG' does not name a type
     ULONG cbElements;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:318:5: error: 'ULONG' does not name a type
     ULONG cLocks;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:327:5: error: 'ULONG' does not name a type
     ULONG cbElements;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:328:5: error: 'ULONG' does not name a type
     ULONG cLocks;
     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:24:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:290,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:163,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:391:17: error: 'LONG' does not name a type
                 LONG lVal;
                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:397:17: error: 'SCODE' does not name a type
                 SCODE scode;
                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:406:17: error: 'LONG' does not name a type
                 LONG *plVal;
                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:411:17: error: 'SCODE' does not name a type
                 SCODE *pscode;
                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:422:17: error: 'ULONG' does not name a type
                 ULONG ulVal;
                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:429:17: error: 'ULONG' does not name a type
                 ULONG *pulVal;
                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:462:5: error: 'ULONG' does not name a type
     ULONG fFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:463:5: error: 'ULONG' does not name a type
     ULONG clSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:470:5: error: 'DWORD' does not name a type
     DWORD clSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:471:5: error: 'DWORD' does not name a type
     DWORD rpcReserved;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:478:9: error: 'LONG' does not name a type
         LONG lVal;
         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:484:9: error: 'SCODE' does not name a type
         SCODE scode;
         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:494:9: error: 'LONG' does not name a type
         LONG *plVal;
         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:499:9: error: 'SCODE' does not name a type
         SCODE *pscode;
         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:509:9: error: 'ULONG' does not name a type
         ULONG ulVal;
         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:517:9: error: 'ULONG' does not name a type
         ULONG *pulVal;
         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:525:9: error: 'LONG' does not name a type
 typedef LONG DISPID;
         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:526:9: error: 'DISPID' does not name a type
 typedef DISPID MEMBERID;
         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:527:9: error: 'DWORD' does not name a type
 typedef DWORD HREFTYPE;
         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:544:9: error: 'HREFTYPE' does not name a type
         HREFTYPE hreftype;
         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:556:5: error: 'ULONG' does not name a type
     ULONG cBytes;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:619:5: error: 'LCID' does not name a type
     LCID lcid;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:620:5: error: 'DWORD' does not name a type
     DWORD dwReserved;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:621:5: error: 'MEMBERID' does not name a type
     MEMBERID memidConstructor;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:622:5: error: 'MEMBERID' does not name a type
     MEMBERID memidDestructor;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:624:5: error: 'ULONG' does not name a type
     ULONG cbSizeInstance;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:641:5: error: 'DISPID' does not name a type
     DISPID *rgdispidNamedArgs;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:665:5: error: 'DWORD' does not name a type
     DWORD dwHelpContext;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:667:24: error: expected identifier before '*' token
     HRESULT (__stdcall *pfnDeferredFillIn)(struct tagEXCEPINFO *);
                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:667:65: error: 'HRESULT' declared as function returning a function
     HRESULT (__stdcall *pfnDeferredFillIn)(struct tagEXCEPINFO *);
                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:668:5: error: 'SCODE' does not name a type
     SCODE scode;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:702:5: error: 'MEMBERID' does not name a type
     MEMBERID memid;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:703:5: error: 'SCODE' does not name a type
     SCODE *lprgscode;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:734:5: error: 'MEMBERID' does not name a type
     MEMBERID memid;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:737:9: error: 'ULONG' does not name a type
         ULONG oInst;
         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:799:5: error: 'DWORD' does not name a type
     DWORD flags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:809:5: error: 'DWORD' does not name a type
     DWORD cCustData;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:832:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetGuid(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:835:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetTypeFlags(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:838:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetDocString(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:841:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetHelpContext(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:844:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetVersion(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:848:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE AddRefTypeInfo(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:852:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE AddFuncDesc(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:856:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE AddImplType(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:860:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetImplTypeFlags(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:864:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetAlignment(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:867:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetSchema(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:870:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE AddVarDesc(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:874:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetFuncAndParamNames(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:879:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetVarName(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:883:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetTypeDescAlias(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:886:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE DefineFuncAsDllEntry(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:891:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetFuncDocString(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:895:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetVarDocString(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:899:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetFuncHelpContext(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:903:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetVarHelpContext(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:907:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetMops(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:911:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetTypeIdldesc(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:914:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE LayOut(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1167:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICreateTypeInfo_SetGuid_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1174:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1175:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICreateTypeInfo_SetTypeFlags_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1182:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1183:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICreateTypeInfo_SetDocString_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1190:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1191:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICreateTypeInfo_SetHelpContext_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1198:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1199:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICreateTypeInfo_SetVersion_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1207:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1208:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICreateTypeInfo_AddRefTypeInfo_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1216:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1217:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICreateTypeInfo_AddFuncDesc_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1225:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1226:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICreateTypeInfo_AddImplType_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1234:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1235:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICreateTypeInfo_SetImplTypeFlags_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1243:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1244:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICreateTypeInfo_SetAlignment_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1251:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1252:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICreateTypeInfo_SetSchema_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1259:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1260:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICreateTypeInfo_AddVarDesc_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1268:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1269:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICreateTypeInfo_SetFuncAndParamNames_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1278:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1279:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICreateTypeInfo_SetVarName_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1287:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1288:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICreateTypeInfo_SetTypeDescAlias_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1295:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1296:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICreateTypeInfo_DefineFuncAsDllEntry_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1305:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1306:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICreateTypeInfo_SetFuncDocString_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1314:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1315:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICreateTypeInfo_SetVarDocString_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1323:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1324:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICreateTypeInfo_SetFuncHelpContext_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1332:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1333:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICreateTypeInfo_SetVarHelpContext_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1341:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1342:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICreateTypeInfo_SetMops_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1350:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1351:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICreateTypeInfo_SetTypeIdldesc_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1358:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1359:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICreateTypeInfo_LayOut_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1365:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1383:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE DeleteFuncDesc(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1386:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE DeleteFuncDescByMemId(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1390:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE DeleteVarDesc(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1393:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE DeleteVarDescByMemId(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1396:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE DeleteImplType(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1399:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetCustData(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1403:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetFuncCustData(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1408:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetParamCustData(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1414:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetVarCustData(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1419:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetImplTypeCustData(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1424:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetHelpStringContext(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1427:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetFuncHelpStringContext(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1431:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetVarHelpStringContext(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1435:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Invalidate(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1438:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetName(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1826:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICreateTypeInfo2_DeleteFuncDesc_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1833:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1834:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICreateTypeInfo2_DeleteFuncDescByMemId_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1842:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1843:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICreateTypeInfo2_DeleteVarDesc_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1850:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1851:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICreateTypeInfo2_DeleteVarDescByMemId_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1858:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1859:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICreateTypeInfo2_DeleteImplType_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1866:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1867:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICreateTypeInfo2_SetCustData_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1875:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1876:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICreateTypeInfo2_SetFuncCustData_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1885:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1886:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICreateTypeInfo2_SetParamCustData_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1896:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1897:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICreateTypeInfo2_SetVarCustData_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1906:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1907:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICreateTypeInfo2_SetImplTypeCustData_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1916:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1917:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICreateTypeInfo2_SetHelpStringContext_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1924:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1925:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICreateTypeInfo2_SetFuncHelpStringContext_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1933:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1934:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICreateTypeInfo2_SetVarHelpStringContext_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1942:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1943:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICreateTypeInfo2_Invalidate_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1949:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1950:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICreateTypeInfo2_SetName_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1957:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1975:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE CreateTypeInfo(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1980:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetName(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1983:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetVersion(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1987:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetGuid(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1990:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetDocString(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1993:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetHelpFileName(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1996:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetHelpContext(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:1999:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetLcid(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2002:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetLibFlags(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2005:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SaveAllChanges(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2141:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICreateTypeLib_CreateTypeInfo_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2150:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2151:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICreateTypeLib_SetName_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2158:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2159:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICreateTypeLib_SetVersion_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2167:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2168:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICreateTypeLib_SetGuid_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2175:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2176:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICreateTypeLib_SetDocString_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2183:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2184:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICreateTypeLib_SetHelpFileName_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2191:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2192:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICreateTypeLib_SetHelpContext_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2199:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2200:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICreateTypeLib_SetLcid_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2207:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2208:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICreateTypeLib_SetLibFlags_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2215:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2216:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICreateTypeLib_SaveAllChanges_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2222:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2239:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE DeleteTypeInfo(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2242:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetCustData(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2246:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetHelpStringContext(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2249:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetHelpStringDll(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2421:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICreateTypeLib2_DeleteTypeInfo_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2428:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2429:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICreateTypeLib2_SetCustData_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2437:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2438:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICreateTypeLib2_SetHelpStringContext_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2445:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2446:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICreateTypeLib2_SetHelpStringDll_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2453:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2491:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetTypeInfoCount(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2494:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetTypeInfo(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2499:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetIDsOfNames(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2506:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Invoke(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2612:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IDispatch_GetTypeInfoCount_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2619:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2620:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IDispatch_GetTypeInfo_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2629:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2630:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IDispatch_GetIDsOfNames_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2641:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2642:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IDispatch_RemoteInvoke_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2659:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2660:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK IDispatch_Invoke_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2670:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB IDispatch_Invoke_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2700:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Next(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2705:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Skip(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2708:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Reset(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2711:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Clone(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2798:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IEnumVARIANT_RemoteNext_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2807:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2808:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IEnumVARIANT_Skip_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2815:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2816:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IEnumVARIANT_Reset_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2822:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2823:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IEnumVARIANT_Clone_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2830:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2831:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK IEnumVARIANT_Next_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2836:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB IEnumVARIANT_Next_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2874:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Bind(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2882:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE BindType(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2963:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ITypeComp_RemoteBind_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2978:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2979:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ITypeComp_RemoteBindType_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2988:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2989:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK ITypeComp_Bind_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:2997:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB ITypeComp_Bind_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3008:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK ITypeComp_BindType_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3014:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB ITypeComp_BindType_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3038:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetTypeAttr(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3041:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetTypeComp(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3044:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetFuncDesc(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3048:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetVarDesc(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3052:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetNames(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3058:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetRefTypeOfImplType(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3062:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetImplTypeFlags(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3066:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetIDsOfNames(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3071:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Invoke(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3080:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetDocumentation(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3087:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetDllEntry(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3094:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetRefTypeInfo(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3098:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE AddressOfMember(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3103:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE CreateInstance(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3108:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetMops(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3112:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetContainingTypeLib(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3358:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ITypeInfo_RemoteGetTypeAttr_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3366:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3367:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ITypeInfo_GetTypeComp_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3374:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3375:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ITypeInfo_RemoteGetFuncDesc_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3384:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3385:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ITypeInfo_RemoteGetVarDesc_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3394:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3395:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ITypeInfo_RemoteGetNames_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3405:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3406:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ITypeInfo_GetRefTypeOfImplType_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3414:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3415:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ITypeInfo_GetImplTypeFlags_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3423:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3424:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ITypeInfo_LocalGetIDsOfNames_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3430:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3431:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ITypeInfo_LocalInvoke_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3437:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3438:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ITypeInfo_RemoteGetDocumentation_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3450:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3451:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ITypeInfo_RemoteGetDllEntry_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3463:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3464:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ITypeInfo_GetRefTypeInfo_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3472:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3473:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ITypeInfo_LocalAddressOfMember_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3479:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3480:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ITypeInfo_RemoteCreateInstance_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3488:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3489:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ITypeInfo_GetMops_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3497:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3498:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ITypeInfo_RemoteGetContainingTypeLib_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3506:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3507:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ITypeInfo_LocalReleaseTypeAttr_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3513:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3514:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ITypeInfo_LocalReleaseFuncDesc_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3520:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3521:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ITypeInfo_LocalReleaseVarDesc_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3527:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3528:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK ITypeInfo_GetTypeAttr_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3531:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB ITypeInfo_GetTypeAttr_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3535:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK ITypeInfo_GetFuncDesc_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3539:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB ITypeInfo_GetFuncDesc_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3544:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK ITypeInfo_GetVarDesc_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3548:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB ITypeInfo_GetVarDesc_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3553:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK ITypeInfo_GetNames_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3559:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB ITypeInfo_GetNames_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3565:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK ITypeInfo_GetIDsOfNames_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3570:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB ITypeInfo_GetIDsOfNames_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3572:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK ITypeInfo_Invoke_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3581:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB ITypeInfo_Invoke_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3583:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK ITypeInfo_GetDocumentation_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3590:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB ITypeInfo_GetDocumentation_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3598:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK ITypeInfo_GetDllEntry_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3605:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB ITypeInfo_GetDllEntry_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3613:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK ITypeInfo_AddressOfMember_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3618:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB ITypeInfo_AddressOfMember_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3620:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK ITypeInfo_CreateInstance_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3625:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB ITypeInfo_CreateInstance_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3629:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK ITypeInfo_GetContainingTypeLib_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3633:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB ITypeInfo_GetContainingTypeLib_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3640:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB ITypeInfo_ReleaseTypeAttr_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3645:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB ITypeInfo_ReleaseFuncDesc_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3650:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB ITypeInfo_ReleaseVarDesc_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3669:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetTypeKind(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3672:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetTypeFlags(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3675:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetFuncIndexOfMemId(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3680:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetVarIndexOfMemId(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3684:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetCustData(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3688:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetFuncCustData(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3693:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetParamCustData(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3699:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetVarCustData(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3704:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetImplTypeCustData(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3709:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetDocumentation2(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3716:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetAllCustData(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3719:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetAllFuncCustData(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3723:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetAllParamCustData(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3728:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetAllVarCustData(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:3732:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetAllImplTypeCustData(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4114:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetTypeKind_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4121:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4122:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetTypeFlags_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4129:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4130:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetFuncIndexOfMemId_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4139:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4140:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetVarIndexOfMemId_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4148:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4149:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetCustData_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4157:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4158:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetFuncCustData_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4167:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4168:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetParamCustData_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4178:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4179:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetVarCustData_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4188:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4189:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetImplTypeCustData_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4198:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4199:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ITypeInfo2_RemoteGetDocumentation2_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4211:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4212:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetAllCustData_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4219:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4220:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetAllFuncCustData_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4228:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4229:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetAllParamCustData_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4238:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4239:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetAllVarCustData_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4247:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4248:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ITypeInfo2_GetAllImplTypeCustData_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4256:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4257:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK ITypeInfo2_GetDocumentation2_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4264:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB ITypeInfo2_GetDocumentation2_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4302:5: error: 'LCID' does not name a type
     LCID lcid;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4318:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetTypeInfo(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4322:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetTypeInfoType(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4326:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetTypeInfoOfGuid(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4330:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetLibAttr(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4333:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetTypeComp(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4336:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetDocumentation(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4343:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE IsName(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4348:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE FindName(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4501:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ITypeLib_RemoteGetTypeInfoCount_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4508:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4509:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ITypeLib_GetTypeInfo_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4517:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4518:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ITypeLib_GetTypeInfoType_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4526:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4527:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ITypeLib_GetTypeInfoOfGuid_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4535:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4536:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ITypeLib_RemoteGetLibAttr_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4544:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4545:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ITypeLib_GetTypeComp_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4552:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4553:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ITypeLib_RemoteGetDocumentation_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4565:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4566:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ITypeLib_RemoteIsName_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4576:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4577:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ITypeLib_RemoteFindName_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4589:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4590:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ITypeLib_LocalReleaseTLibAttr_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4596:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4599:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB ITypeLib_GetTypeInfoCount_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4602:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK ITypeLib_GetLibAttr_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4605:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB ITypeLib_GetLibAttr_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4609:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK ITypeLib_GetDocumentation_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4616:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB ITypeLib_GetDocumentation_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4624:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK ITypeLib_IsName_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4629:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB ITypeLib_IsName_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4635:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK ITypeLib_FindName_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4642:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB ITypeLib_FindName_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4653:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB ITypeLib_ReleaseTLibAttr_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4674:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetCustData(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4678:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetLibStatistics(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4682:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetDocumentation2(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4689:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetAllCustData(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4876:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ITypeLib2_GetCustData_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4884:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4885:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ITypeLib2_RemoteGetLibStatistics_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4893:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4894:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ITypeLib2_RemoteGetDocumentation2_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4906:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4907:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ITypeLib2_GetAllCustData_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4914:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4915:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK ITypeLib2_GetLibStatistics_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4919:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB ITypeLib2_GetLibStatistics_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4923:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK ITypeLib2_GetDocumentation2_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4930:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB ITypeLib2_GetDocumentation2_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4966:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE RequestTypeChange(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:4972:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE AfterTypeChange(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5049:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ITypeChangeEvents_RequestTypeChange_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5059:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5060:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ITypeChangeEvents_AfterTypeChange_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5069:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5087:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetGUID(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5090:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetSource(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5093:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetDescription(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5096:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetHelpFile(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5099:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetHelpContext(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5193:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IErrorInfo_GetGUID_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5200:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5201:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IErrorInfo_GetSource_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5208:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5209:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IErrorInfo_GetDescription_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5216:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5217:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IErrorInfo_GetHelpFile_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5224:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5225:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IErrorInfo_GetHelpContext_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5232:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5250:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetGUID(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5253:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetSource(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5256:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetDescription(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5259:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetHelpFile(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5262:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetHelpContext(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5356:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICreateErrorInfo_SetGUID_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5363:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5364:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICreateErrorInfo_SetSource_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5371:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5372:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICreateErrorInfo_SetDescription_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5379:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5380:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICreateErrorInfo_SetHelpFile_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5387:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5388:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICreateErrorInfo_SetHelpContext_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5395:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5413:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE InterfaceSupportsErrorInfo(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5475:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ISupportErrorInfo_InterfaceSupportsErrorInfo_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5482:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5498:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE CreateFromTypeInfo(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5564:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ITypeFactory_CreateFromTypeInfo_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5573:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5589:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Size(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5595:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Marshal(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5603:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Unmarshal(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5610:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Free(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5708:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ITypeMarshal_Size_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5718:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5719:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ITypeMarshal_Marshal_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5731:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5732:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ITypeMarshal_Unmarshal_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5743:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5744:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ITypeMarshal_Free_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5751:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5769:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE RecordInit(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5772:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE RecordClear(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5775:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE RecordCopy(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5779:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetGuid(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5782:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetName(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5785:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetSize(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5788:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetTypeInfo(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5791:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetField(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5796:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetFieldNoCopy(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5802:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE PutField(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5808:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE PutFieldNoCopy(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5814:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetFieldNames(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5824:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE RecordCreateCopy(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:5828:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE RecordDestroy(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6023:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IRecordInfo_RecordInit_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6030:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6031:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IRecordInfo_RecordClear_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6038:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6039:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IRecordInfo_RecordCopy_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6047:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6048:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IRecordInfo_GetGuid_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6055:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6056:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IRecordInfo_GetName_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6063:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6064:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IRecordInfo_GetSize_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6071:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6072:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IRecordInfo_GetTypeInfo_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6079:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6080:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IRecordInfo_GetField_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6089:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6090:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IRecordInfo_GetFieldNoCopy_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6100:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6101:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IRecordInfo_PutField_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6111:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6112:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IRecordInfo_PutFieldNoCopy_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6122:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6123:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IRecordInfo_GetFieldNames_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6131:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6139:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6146:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6147:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IRecordInfo_RecordCreateCopy_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6155:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6156:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IRecordInfo_RecordDestroy_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6163:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6181:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE AddError(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6245:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IErrorLog_AddError_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6253:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6271:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Read(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6276:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Write(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6350:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IPropertyBag_RemoteRead_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6361:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6362:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IPropertyBag_Write_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6370:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6371:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK IPropertyBag_Read_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6376:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB IPropertyBag_Read_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6389:1: error: 'ULONG' does not name a type
 ULONG           __RPC_USER VARIANT_UserSize     (ULONG *, ULONG, VARIANT *);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6390:50: error: 'ULONG' was not declared in this scope
 unsigned char * __RPC_USER VARIANT_UserMarshal  (ULONG *, unsigned char *, VARIANT *);
                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6390:57: error: expected primary-expression before ',' token
 unsigned char * __RPC_USER VARIANT_UserMarshal  (ULONG *, unsigned char *, VARIANT *);
                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6390:59: error: expected primary-expression before 'unsigned'
 unsigned char * __RPC_USER VARIANT_UserMarshal  (ULONG *, unsigned char *, VARIANT *);
                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6390:84: error: expected primary-expression before '*' token
 unsigned char * __RPC_USER VARIANT_UserMarshal  (ULONG *, unsigned char *, VARIANT *);
                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6390:85: error: expected primary-expression before ')' token
 unsigned char * __RPC_USER VARIANT_UserMarshal  (ULONG *, unsigned char *, VARIANT *);
                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6390:85: error: expression list treated as compound expression in initializer [-fpermissive]
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6391:50: error: 'ULONG' was not declared in this scope
 unsigned char * __RPC_USER VARIANT_UserUnmarshal(ULONG *, unsigned char *, VARIANT *);
                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6391:57: error: expected primary-expression before ',' token
 unsigned char * __RPC_USER VARIANT_UserUnmarshal(ULONG *, unsigned char *, VARIANT *);
                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6391:59: error: expected primary-expression before 'unsigned'
 unsigned char * __RPC_USER VARIANT_UserUnmarshal(ULONG *, unsigned char *, VARIANT *);
                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6391:84: error: expected primary-expression before '*' token
 unsigned char * __RPC_USER VARIANT_UserUnmarshal(ULONG *, unsigned char *, VARIANT *);
                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6391:85: error: expected primary-expression before ')' token
 unsigned char * __RPC_USER VARIANT_UserUnmarshal(ULONG *, unsigned char *, VARIANT *);
                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6391:85: error: expression list treated as compound expression in initializer [-fpermissive]
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6392:50: error: variable or field 'VARIANT_UserFree' declared void
 void            __RPC_USER VARIANT_UserFree     (ULONG *, VARIANT *);
                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6392:50: error: 'ULONG' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6392:57: error: expected primary-expression before ',' token
 void            __RPC_USER VARIANT_UserFree     (ULONG *, VARIANT *);
                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6392:67: error: expected primary-expression before '*' token
 void            __RPC_USER VARIANT_UserFree     (ULONG *, VARIANT *);
                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6392:68: error: expected primary-expression before ')' token
 void            __RPC_USER VARIANT_UserFree     (ULONG *, VARIANT *);
                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6393:1: error: 'ULONG' does not name a type
 ULONG           __RPC_USER BSTR_UserSize     (ULONG *, ULONG, BSTR *);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6394:47: error: 'ULONG' was not declared in this scope
 unsigned char * __RPC_USER BSTR_UserMarshal  (ULONG *, unsigned char *, BSTR *);
                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6394:54: error: expected primary-expression before ',' token
 unsigned char * __RPC_USER BSTR_UserMarshal  (ULONG *, unsigned char *, BSTR *);
                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6394:56: error: expected primary-expression before 'unsigned'
 unsigned char * __RPC_USER BSTR_UserMarshal  (ULONG *, unsigned char *, BSTR *);
                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6394:78: error: expected primary-expression before '*' token
 unsigned char * __RPC_USER BSTR_UserMarshal  (ULONG *, unsigned char *, BSTR *);
                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6394:79: error: expected primary-expression before ')' token
 unsigned char * __RPC_USER BSTR_UserMarshal  (ULONG *, unsigned char *, BSTR *);
                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6394:79: error: expression list treated as compound expression in initializer [-fpermissive]
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6395:47: error: 'ULONG' was not declared in this scope
 unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *);
                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6395:54: error: expected primary-expression before ',' token
 unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *);
                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6395:56: error: expected primary-expression before 'unsigned'
 unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *);
                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6395:78: error: expected primary-expression before '*' token
 unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *);
                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6395:79: error: expected primary-expression before ')' token
 unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *);
                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6395:79: error: expression list treated as compound expression in initializer [-fpermissive]
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6396:47: error: variable or field 'BSTR_UserFree' declared void
 void            __RPC_USER BSTR_UserFree     (ULONG *, BSTR *);
                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6396:47: error: 'ULONG' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6396:54: error: expected primary-expression before ',' token
 void            __RPC_USER BSTR_UserFree     (ULONG *, BSTR *);
                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6396:61: error: expected primary-expression before '*' token
 void            __RPC_USER BSTR_UserFree     (ULONG *, BSTR *);
                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6396:62: error: expected primary-expression before ')' token
 void            __RPC_USER BSTR_UserFree     (ULONG *, BSTR *);
                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6397:1: error: 'ULONG' does not name a type
 ULONG           __RPC_USER CLEANLOCALSTORAGE_UserSize     (ULONG *, ULONG, CLEANLOCALSTORAGE *);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6398:60: error: 'ULONG' was not declared in this scope
 unsigned char * __RPC_USER CLEANLOCALSTORAGE_UserMarshal  (ULONG *, unsigned char *, CLEANLOCALSTORAGE *);
                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6398:67: error: expected primary-expression before ',' token
 unsigned char * __RPC_USER CLEANLOCALSTORAGE_UserMarshal  (ULONG *, unsigned char *, CLEANLOCALSTORAGE *);
                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6398:69: error: expected primary-expression before 'unsigned'
 unsigned char * __RPC_USER CLEANLOCALSTORAGE_UserMarshal  (ULONG *, unsigned char *, CLEANLOCALSTORAGE *);
                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6398:104: error: expected primary-expression before '*' token
 unsigned char * __RPC_USER CLEANLOCALSTORAGE_UserMarshal  (ULONG *, unsigned char *, CLEANLOCALSTORAGE *);
                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6398:105: error: expected primary-expression before ')' token
 unsigned char * __RPC_USER CLEANLOCALSTORAGE_UserMarshal  (ULONG *, unsigned char *, CLEANLOCALSTORAGE *);
                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6398:105: error: expression list treated as compound expression in initializer [-fpermissive]
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6399:60: error: 'ULONG' was not declared in this scope
 unsigned char * __RPC_USER CLEANLOCALSTORAGE_UserUnmarshal(ULONG *, unsigned char *, CLEANLOCALSTORAGE *);
                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6399:67: error: expected primary-expression before ',' token
 unsigned char * __RPC_USER CLEANLOCALSTORAGE_UserUnmarshal(ULONG *, unsigned char *, CLEANLOCALSTORAGE *);
                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6399:69: error: expected primary-expression before 'unsigned'
 unsigned char * __RPC_USER CLEANLOCALSTORAGE_UserUnmarshal(ULONG *, unsigned char *, CLEANLOCALSTORAGE *);
                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6399:104: error: expected primary-expression before '*' token
 unsigned char * __RPC_USER CLEANLOCALSTORAGE_UserUnmarshal(ULONG *, unsigned char *, CLEANLOCALSTORAGE *);
                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6399:105: error: expected primary-expression before ')' token
 unsigned char * __RPC_USER CLEANLOCALSTORAGE_UserUnmarshal(ULONG *, unsigned char *, CLEANLOCALSTORAGE *);
                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6399:105: error: expression list treated as compound expression in initializer [-fpermissive]
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6400:60: error: variable or field 'CLEANLOCALSTORAGE_UserFree' declared void
 void            __RPC_USER CLEANLOCALSTORAGE_UserFree     (ULONG *, CLEANLOCALSTORAGE *);
                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6400:60: error: 'ULONG' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6400:67: error: expected primary-expression before ',' token
 void            __RPC_USER CLEANLOCALSTORAGE_UserFree     (ULONG *, CLEANLOCALSTORAGE *);
                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6400:87: error: expected primary-expression before '*' token
 void            __RPC_USER CLEANLOCALSTORAGE_UserFree     (ULONG *, CLEANLOCALSTORAGE *);
                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6400:88: error: expected primary-expression before ')' token
 void            __RPC_USER CLEANLOCALSTORAGE_UserFree     (ULONG *, CLEANLOCALSTORAGE *);
                                                                                        ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:290:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:163,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:231:5: error: 'DWORD' does not name a type
     DWORD _reserved1;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:232:5: error: 'DWORD' does not name a type
     DWORD _reserved2;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:260:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI hasFeature(BSTR feature,BSTR version,VARIANT_BOOL *hasFeature) = 0;
             ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:290:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:163,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:289:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMImplementation_hasFeature_Proxy(IXMLDOMImplementation *This,BSTR feature,BSTR version,VARIANT_BOOL *hasFeature);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:290:142: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMImplementation_hasFeature_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:299:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_nodeName(BSTR *name) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:300:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_nodeValue(VARIANT *value) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:301:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI put_nodeValue(VARIANT value) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:302:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_nodeType(DOMNodeType *type) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:303:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_parentNode(IXMLDOMNode **parent) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:304:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_childNodes(IXMLDOMNodeList **childList) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:305:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_firstChild(IXMLDOMNode **firstChild) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:306:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_lastChild(IXMLDOMNode **lastChild) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:307:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_previousSibling(IXMLDOMNode **previousSibling) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:308:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_nextSibling(IXMLDOMNode **nextSibling) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:309:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_attributes(IXMLDOMNamedNodeMap **attributeMap) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:310:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI insertBefore(IXMLDOMNode *newChild,VARIANT refChild,IXMLDOMNode **outNewChild) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:311:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI replaceChild(IXMLDOMNode *newChild,IXMLDOMNode *oldChild,IXMLDOMNode **outOldChild) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:312:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI removeChild(IXMLDOMNode *childNode,IXMLDOMNode **oldChild) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:313:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI appendChild(IXMLDOMNode *newChild,IXMLDOMNode **outNewChild) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:314:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI hasChildNodes(VARIANT_BOOL *hasChild) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:315:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_ownerDocument(IXMLDOMDocument **DOMDocument) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:316:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI cloneNode(VARIANT_BOOL deep,IXMLDOMNode **cloneRoot) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:317:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_nodeTypeString(BSTR *nodeType) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:318:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_text(BSTR *text) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:319:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI put_text(BSTR text) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:320:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_specified(VARIANT_BOOL *isSpecified) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:321:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_definition(IXMLDOMNode **definitionNode) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:322:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_nodeTypedValue(VARIANT *typedValue) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:323:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI put_nodeTypedValue(VARIANT typedValue) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:324:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_dataType(VARIANT *dataTypeName) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:325:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI put_dataType(BSTR dataTypeName) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:326:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_xml(BSTR *xmlString) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:327:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI transformNode(IXMLDOMNode *stylesheet,BSTR *xmlString) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:328:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI selectNodes(BSTR queryString,IXMLDOMNodeList **resultList) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:329:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI selectSingleNode(BSTR queryString,IXMLDOMNode **resultNode) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:330:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_parsed(VARIANT_BOOL *isParsed) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:331:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_namespaceURI(BSTR *namespaceURI) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:332:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_prefix(BSTR *prefixString) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:333:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_baseName(BSTR *nameString) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:334:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI transformNodeToObject(IXMLDOMNode *stylesheet,VARIANT outputObject) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:433:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMNode_get_nodeName_Proxy(IXMLDOMNode *This,BSTR *name);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:434:134: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMNode_get_nodeName_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:435:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMNode_get_nodeValue_Proxy(IXMLDOMNode *This,VARIANT *value);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:436:135: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMNode_get_nodeValue_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:437:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMNode_put_nodeValue_Proxy(IXMLDOMNode *This,VARIANT value);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:438:135: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMNode_put_nodeValue_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:439:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMNode_get_nodeType_Proxy(IXMLDOMNode *This,DOMNodeType *type);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:440:134: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMNode_get_nodeType_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:441:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMNode_get_parentNode_Proxy(IXMLDOMNode *This,IXMLDOMNode **parent);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:442:136: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMNode_get_parentNode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:443:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMNode_get_childNodes_Proxy(IXMLDOMNode *This,IXMLDOMNodeList **childList);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:444:136: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMNode_get_childNodes_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:445:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMNode_get_firstChild_Proxy(IXMLDOMNode *This,IXMLDOMNode **firstChild);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:446:136: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMNode_get_firstChild_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:447:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMNode_get_lastChild_Proxy(IXMLDOMNode *This,IXMLDOMNode **lastChild);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:448:135: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMNode_get_lastChild_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:449:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMNode_get_previousSibling_Proxy(IXMLDOMNode *This,IXMLDOMNode **previousSibling);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:450:141: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMNode_get_previousSibling_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:451:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMNode_get_nextSibling_Proxy(IXMLDOMNode *This,IXMLDOMNode **nextSibling);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:452:137: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMNode_get_nextSibling_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:453:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMNode_get_attributes_Proxy(IXMLDOMNode *This,IXMLDOMNamedNodeMap **attributeMap);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:454:136: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMNode_get_attributes_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:455:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMNode_insertBefore_Proxy(IXMLDOMNode *This,IXMLDOMNode *newChild,VARIANT refChild,IXMLDOMNode **outNewChild);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:456:134: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMNode_insertBefore_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:457:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMNode_replaceChild_Proxy(IXMLDOMNode *This,IXMLDOMNode *newChild,IXMLDOMNode *oldChild,IXMLDOMNode **outOldChild);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:458:134: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMNode_replaceChild_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:459:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMNode_removeChild_Proxy(IXMLDOMNode *This,IXMLDOMNode *childNode,IXMLDOMNode **oldChild);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:460:133: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMNode_removeChild_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:461:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMNode_appendChild_Proxy(IXMLDOMNode *This,IXMLDOMNode *newChild,IXMLDOMNode **outNewChild);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:462:133: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMNode_appendChild_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:463:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMNode_hasChildNodes_Proxy(IXMLDOMNode *This,VARIANT_BOOL *hasChild);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:464:135: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMNode_hasChildNodes_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:465:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMNode_get_ownerDocument_Proxy(IXMLDOMNode *This,IXMLDOMDocument **DOMDocument);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:466:139: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMNode_get_ownerDocument_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:467:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMNode_cloneNode_Proxy(IXMLDOMNode *This,VARIANT_BOOL deep,IXMLDOMNode **cloneRoot);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:468:131: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMNode_cloneNode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:469:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMNode_get_nodeTypeString_Proxy(IXMLDOMNode *This,BSTR *nodeType);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:470:140: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMNode_get_nodeTypeString_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:471:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMNode_get_text_Proxy(IXMLDOMNode *This,BSTR *text);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:472:130: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMNode_get_text_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:473:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMNode_put_text_Proxy(IXMLDOMNode *This,BSTR text);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:474:130: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMNode_put_text_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:475:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMNode_get_specified_Proxy(IXMLDOMNode *This,VARIANT_BOOL *isSpecified);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:476:135: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMNode_get_specified_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:477:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMNode_get_definition_Proxy(IXMLDOMNode *This,IXMLDOMNode **definitionNode);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:478:136: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMNode_get_definition_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:479:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMNode_get_nodeTypedValue_Proxy(IXMLDOMNode *This,VARIANT *typedValue);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:480:140: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMNode_get_nodeTypedValue_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:481:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMNode_put_nodeTypedValue_Proxy(IXMLDOMNode *This,VARIANT typedValue);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:482:140: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMNode_put_nodeTypedValue_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:483:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMNode_get_dataType_Proxy(IXMLDOMNode *This,VARIANT *dataTypeName);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:484:134: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMNode_get_dataType_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:485:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMNode_put_dataType_Proxy(IXMLDOMNode *This,BSTR dataTypeName);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:486:134: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMNode_put_dataType_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:487:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMNode_get_xml_Proxy(IXMLDOMNode *This,BSTR *xmlString);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:488:129: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMNode_get_xml_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:489:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMNode_transformNode_Proxy(IXMLDOMNode *This,IXMLDOMNode *stylesheet,BSTR *xmlString);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:490:135: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMNode_transformNode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:491:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMNode_selectNodes_Proxy(IXMLDOMNode *This,BSTR queryString,IXMLDOMNodeList **resultList);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:492:133: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMNode_selectNodes_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:493:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMNode_selectSingleNode_Proxy(IXMLDOMNode *This,BSTR queryString,IXMLDOMNode **resultNode);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:494:138: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMNode_selectSingleNode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:495:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMNode_get_parsed_Proxy(IXMLDOMNode *This,VARIANT_BOOL *isParsed);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:496:132: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMNode_get_parsed_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:497:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMNode_get_namespaceURI_Proxy(IXMLDOMNode *This,BSTR *namespaceURI);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:498:138: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMNode_get_namespaceURI_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:499:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMNode_get_prefix_Proxy(IXMLDOMNode *This,BSTR *prefixString);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:500:132: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMNode_get_prefix_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:501:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMNode_get_baseName_Proxy(IXMLDOMNode *This,BSTR *nameString);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:502:134: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMNode_get_baseName_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:503:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMNode_transformNodeToObject_Proxy(IXMLDOMNode *This,IXMLDOMNode *stylesheet,VARIANT outputObject);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:504:143: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMNode_transformNodeToObject_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:618:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_doctype(IXMLDOMDocumentType **documentType) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:619:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_implementation(IXMLDOMImplementation **impl) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:620:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_documentElement(IXMLDOMElement **DOMElement) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:621:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI putref_documentElement(IXMLDOMElement *DOMElement) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:622:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI createElement(BSTR tagName,IXMLDOMElement **element) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:623:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI createDocumentFragment(IXMLDOMDocumentFragment **docFrag) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:624:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI createTextNode(BSTR data,IXMLDOMText **text) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:625:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI createComment(BSTR data,IXMLDOMComment **comment) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:626:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI createCDATASection(BSTR data,IXMLDOMCDATASection **cdata) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:627:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI createProcessingInstruction(BSTR target,BSTR data,IXMLDOMProcessingInstruction **pi) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:628:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI createAttribute(BSTR name,IXMLDOMAttribute **attribute) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:629:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI createEntityReference(BSTR name,IXMLDOMEntityReference **entityRef) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:630:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI getElementsByTagName(BSTR tagName,IXMLDOMNodeList **resultList) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:631:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI createNode(VARIANT Type,BSTR name,BSTR namespaceURI,IXMLDOMNode **node) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:632:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI nodeFromID(BSTR idString,IXMLDOMNode **node) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:633:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI load(VARIANT xmlSource,VARIANT_BOOL *isSuccessful) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:634:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_readyState(LONG *value) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:635:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_parseError(IXMLDOMParseError **errorObj) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:636:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_url(BSTR *urlString) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:637:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_async(VARIANT_BOOL *isAsync) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:638:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI put_async(VARIANT_BOOL isAsync) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:639:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI abort(void) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:640:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI loadXML(BSTR bstrXML,VARIANT_BOOL *isSuccessful) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:641:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI save(VARIANT destination) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:642:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_validateOnParse(VARIANT_BOOL *isValidating) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:643:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI put_validateOnParse(VARIANT_BOOL isValidating) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:644:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_resolveExternals(VARIANT_BOOL *isResolving) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:645:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI put_resolveExternals(VARIANT_BOOL isResolving) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:646:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_preserveWhiteSpace(VARIANT_BOOL *isPreserving) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:647:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI put_preserveWhiteSpace(VARIANT_BOOL isPreserving) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:648:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI put_onreadystatechange(VARIANT readystatechangeSink) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:649:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI put_ondataavailable(VARIANT ondataavailableSink) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:650:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI put_ontransformnode(VARIANT ontransformnodeSink) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:815:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMDocument_get_doctype_Proxy(IXMLDOMDocument *This,IXMLDOMDocumentType **documentType);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:816:137: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMDocument_get_doctype_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:817:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMDocument_get_implementation_Proxy(IXMLDOMDocument *This,IXMLDOMImplementation **impl);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:818:144: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMDocument_get_implementation_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:819:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMDocument_get_documentElement_Proxy(IXMLDOMDocument *This,IXMLDOMElement **DOMElement);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:820:145: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMDocument_get_documentElement_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:821:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMDocument_putref_documentElement_Proxy(IXMLDOMDocument *This,IXMLDOMElement *DOMElement);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:822:148: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMDocument_putref_documentElement_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:823:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMDocument_createElement_Proxy(IXMLDOMDocument *This,BSTR tagName,IXMLDOMElement **element);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:824:139: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMDocument_createElement_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:825:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMDocument_createDocumentFragment_Proxy(IXMLDOMDocument *This,IXMLDOMDocumentFragment **docFrag);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:826:148: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMDocument_createDocumentFragment_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:827:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMDocument_createTextNode_Proxy(IXMLDOMDocument *This,BSTR data,IXMLDOMText **text);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:828:140: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMDocument_createTextNode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:829:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMDocument_createComment_Proxy(IXMLDOMDocument *This,BSTR data,IXMLDOMComment **comment);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:830:139: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMDocument_createComment_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:831:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMDocument_createCDATASection_Proxy(IXMLDOMDocument *This,BSTR data,IXMLDOMCDATASection **cdata);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:832:144: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMDocument_createCDATASection_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:833:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMDocument_createProcessingInstruction_Proxy(IXMLDOMDocument *This,BSTR target,BSTR data,IXMLDOMProcessingInstruction **pi);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:834:153: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMDocument_createProcessingInstruction_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:835:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMDocument_createAttribute_Proxy(IXMLDOMDocument *This,BSTR name,IXMLDOMAttribute **attribute);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:836:141: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMDocument_createAttribute_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:837:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMDocument_createEntityReference_Proxy(IXMLDOMDocument *This,BSTR name,IXMLDOMEntityReference **entityRef);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:838:147: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMDocument_createEntityReference_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:839:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMDocument_getElementsByTagName_Proxy(IXMLDOMDocument *This,BSTR tagName,IXMLDOMNodeList **resultList);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:840:146: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMDocument_getElementsByTagName_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:841:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMDocument_createNode_Proxy(IXMLDOMDocument *This,VARIANT Type,BSTR name,BSTR namespaceURI,IXMLDOMNode **node);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:842:136: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMDocument_createNode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:843:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMDocument_nodeFromID_Proxy(IXMLDOMDocument *This,BSTR idString,IXMLDOMNode **node);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:844:136: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMDocument_nodeFromID_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:845:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMDocument_load_Proxy(IXMLDOMDocument *This,VARIANT xmlSource,VARIANT_BOOL *isSuccessful);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:846:130: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMDocument_load_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:847:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMDocument_get_readyState_Proxy(IXMLDOMDocument *This,LONG *value);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:848:140: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMDocument_get_readyState_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:849:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMDocument_get_parseError_Proxy(IXMLDOMDocument *This,IXMLDOMParseError **errorObj);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:850:140: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMDocument_get_parseError_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:851:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMDocument_get_url_Proxy(IXMLDOMDocument *This,BSTR *urlString);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:852:133: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMDocument_get_url_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:853:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMDocument_get_async_Proxy(IXMLDOMDocument *This,VARIANT_BOOL *isAsync);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:854:135: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMDocument_get_async_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:855:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMDocument_put_async_Proxy(IXMLDOMDocument *This,VARIANT_BOOL isAsync);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:856:135: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMDocument_put_async_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:857:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMDocument_abort_Proxy(IXMLDOMDocument *This);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:858:131: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMDocument_abort_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:859:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMDocument_loadXML_Proxy(IXMLDOMDocument *This,BSTR bstrXML,VARIANT_BOOL *isSuccessful);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:860:133: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMDocument_loadXML_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:861:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMDocument_save_Proxy(IXMLDOMDocument *This,VARIANT destination);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:862:130: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMDocument_save_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:863:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMDocument_get_validateOnParse_Proxy(IXMLDOMDocument *This,VARIANT_BOOL *isValidating);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:864:145: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMDocument_get_validateOnParse_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:865:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMDocument_put_validateOnParse_Proxy(IXMLDOMDocument *This,VARIANT_BOOL isValidating);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:866:145: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMDocument_put_validateOnParse_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:867:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMDocument_get_resolveExternals_Proxy(IXMLDOMDocument *This,VARIANT_BOOL *isResolving);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:868:146: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMDocument_get_resolveExternals_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:869:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMDocument_put_resolveExternals_Proxy(IXMLDOMDocument *This,VARIANT_BOOL isResolving);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:870:146: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMDocument_put_resolveExternals_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:871:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMDocument_get_preserveWhiteSpace_Proxy(IXMLDOMDocument *This,VARIANT_BOOL *isPreserving);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:872:148: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMDocument_get_preserveWhiteSpace_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:873:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMDocument_put_preserveWhiteSpace_Proxy(IXMLDOMDocument *This,VARIANT_BOOL isPreserving);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:874:148: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMDocument_put_preserveWhiteSpace_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:875:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMDocument_put_onreadystatechange_Proxy(IXMLDOMDocument *This,VARIANT readystatechangeSink);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:876:148: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMDocument_put_onreadystatechange_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:877:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMDocument_put_ondataavailable_Proxy(IXMLDOMDocument *This,VARIANT ondataavailableSink);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:878:145: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMDocument_put_ondataavailable_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:879:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMDocument_put_ontransformnode_Proxy(IXMLDOMDocument *This,VARIANT ontransformnodeSink);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:880:145: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMDocument_put_ontransformnode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:889:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_item(LONG index,IXMLDOMNode **listItem) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:890:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_length(LONG *listLength) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:891:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI nextNode(IXMLDOMNode **nextItem) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:892:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI reset(void) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:893:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get__newEnum(IUnknown **ppUnk) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:930:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMNodeList_get_item_Proxy(IXMLDOMNodeList *This,LONG index,IXMLDOMNode **listItem);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:931:134: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMNodeList_get_item_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:932:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMNodeList_get_length_Proxy(IXMLDOMNodeList *This,LONG *listLength);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:933:136: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMNodeList_get_length_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:934:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMNodeList_nextNode_Proxy(IXMLDOMNodeList *This,IXMLDOMNode **nextItem);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:935:134: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMNodeList_nextNode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:936:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMNodeList_reset_Proxy(IXMLDOMNodeList *This);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:937:131: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMNodeList_reset_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:938:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMNodeList_get__newEnum_Proxy(IXMLDOMNodeList *This,IUnknown **ppUnk);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:939:138: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMNodeList_get__newEnum_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:948:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI getNamedItem(BSTR name,IXMLDOMNode **namedItem) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:949:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI setNamedItem(IXMLDOMNode *newItem,IXMLDOMNode **nameItem) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:950:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI removeNamedItem(BSTR name,IXMLDOMNode **namedItem) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:951:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_item(LONG index,IXMLDOMNode **listItem) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:952:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_length(LONG *listLength) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:953:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI getQualifiedItem(BSTR baseName,BSTR namespaceURI,IXMLDOMNode **qualifiedItem) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:954:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI removeQualifiedItem(BSTR baseName,BSTR namespaceURI,IXMLDOMNode **qualifiedItem) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:955:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI nextNode(IXMLDOMNode **nextItem) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:956:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI reset(void) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:957:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get__newEnum(IUnknown **ppUnk) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1004:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMNamedNodeMap_getNamedItem_Proxy(IXMLDOMNamedNodeMap *This,BSTR name,IXMLDOMNode **namedItem);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1005:142: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMNamedNodeMap_getNamedItem_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1006:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMNamedNodeMap_setNamedItem_Proxy(IXMLDOMNamedNodeMap *This,IXMLDOMNode *newItem,IXMLDOMNode **nameItem);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1007:142: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMNamedNodeMap_setNamedItem_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1008:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMNamedNodeMap_removeNamedItem_Proxy(IXMLDOMNamedNodeMap *This,BSTR name,IXMLDOMNode **namedItem);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1009:145: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMNamedNodeMap_removeNamedItem_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1010:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMNamedNodeMap_get_item_Proxy(IXMLDOMNamedNodeMap *This,LONG index,IXMLDOMNode **listItem);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1011:138: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMNamedNodeMap_get_item_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1012:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMNamedNodeMap_get_length_Proxy(IXMLDOMNamedNodeMap *This,LONG *listLength);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1013:140: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMNamedNodeMap_get_length_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1014:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMNamedNodeMap_getQualifiedItem_Proxy(IXMLDOMNamedNodeMap *This,BSTR baseName,BSTR namespaceURI,IXMLDOMNode **qualifiedItem);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1015:146: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMNamedNodeMap_getQualifiedItem_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1016:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMNamedNodeMap_removeQualifiedItem_Proxy(IXMLDOMNamedNodeMap *This,BSTR baseName,BSTR namespaceURI,IXMLDOMNode **qualifiedItem);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1017:149: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMNamedNodeMap_removeQualifiedItem_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1018:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMNamedNodeMap_nextNode_Proxy(IXMLDOMNamedNodeMap *This,IXMLDOMNode **nextItem);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1019:138: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMNamedNodeMap_nextNode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1020:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMNamedNodeMap_reset_Proxy(IXMLDOMNamedNodeMap *This);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1021:135: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMNamedNodeMap_reset_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1022:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMNamedNodeMap_get__newEnum_Proxy(IXMLDOMNamedNodeMap *This,IUnknown **ppUnk);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1023:142: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMNamedNodeMap_get__newEnum_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1032:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_data(BSTR *data) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1033:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI put_data(BSTR data) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1034:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_length(LONG *dataLength) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1035:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI substringData(LONG offset,LONG count,BSTR *data) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1036:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI appendData(BSTR data) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1037:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI insertData(LONG offset,BSTR data) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1038:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI deleteData(LONG offset,LONG count) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1039:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI replaceData(LONG offset,LONG count,BSTR data) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1154:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMCharacterData_get_data_Proxy(IXMLDOMCharacterData *This,BSTR *data);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1155:139: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMCharacterData_get_data_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1156:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMCharacterData_put_data_Proxy(IXMLDOMCharacterData *This,BSTR data);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1157:139: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMCharacterData_put_data_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1158:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMCharacterData_get_length_Proxy(IXMLDOMCharacterData *This,LONG *dataLength);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1159:141: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMCharacterData_get_length_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1160:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMCharacterData_substringData_Proxy(IXMLDOMCharacterData *This,LONG offset,LONG count,BSTR *data);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1161:144: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMCharacterData_substringData_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1162:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMCharacterData_appendData_Proxy(IXMLDOMCharacterData *This,BSTR data);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1163:141: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMCharacterData_appendData_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1164:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMCharacterData_insertData_Proxy(IXMLDOMCharacterData *This,LONG offset,BSTR data);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1165:141: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMCharacterData_insertData_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1166:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMCharacterData_deleteData_Proxy(IXMLDOMCharacterData *This,LONG offset,LONG count);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1167:141: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMCharacterData_deleteData_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1168:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMCharacterData_replaceData_Proxy(IXMLDOMCharacterData *This,LONG offset,LONG count,BSTR data);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1169:142: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMCharacterData_replaceData_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1178:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_name(BSTR *attributeName) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1179:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_value(VARIANT *attributeValue) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1180:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI put_value(VARIANT attributeValue) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1285:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMAttribute_get_name_Proxy(IXMLDOMAttribute *This,BSTR *attributeName);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1286:135: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMAttribute_get_name_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1287:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMAttribute_get_value_Proxy(IXMLDOMAttribute *This,VARIANT *attributeValue);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1288:136: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMAttribute_get_value_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1289:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMAttribute_put_value_Proxy(IXMLDOMAttribute *This,VARIANT attributeValue);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1290:136: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMAttribute_put_value_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1299:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_tagName(BSTR *tagName) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1300:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI getAttribute(BSTR name,VARIANT *value) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1301:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI setAttribute(BSTR name,VARIANT value) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1302:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI removeAttribute(BSTR name) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1303:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI getAttributeNode(BSTR name,IXMLDOMAttribute **attributeNode) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1304:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI setAttributeNode(IXMLDOMAttribute *DOMAttribute,IXMLDOMAttribute **attributeNode) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1305:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI removeAttributeNode(IXMLDOMAttribute *DOMAttribute,IXMLDOMAttribute **attributeNode) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1306:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI getElementsByTagName(BSTR tagName,IXMLDOMNodeList **resultList) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1307:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI normalize(void) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1424:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMElement_get_tagName_Proxy(IXMLDOMElement *This,BSTR *tagName);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1425:136: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMElement_get_tagName_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1426:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMElement_getAttribute_Proxy(IXMLDOMElement *This,BSTR name,VARIANT *value);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1427:137: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMElement_getAttribute_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1428:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMElement_setAttribute_Proxy(IXMLDOMElement *This,BSTR name,VARIANT value);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1429:137: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMElement_setAttribute_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1430:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMElement_removeAttribute_Proxy(IXMLDOMElement *This,BSTR name);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1431:140: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMElement_removeAttribute_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1432:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMElement_getAttributeNode_Proxy(IXMLDOMElement *This,BSTR name,IXMLDOMAttribute **attributeNode);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1433:141: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMElement_getAttributeNode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1434:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMElement_setAttributeNode_Proxy(IXMLDOMElement *This,IXMLDOMAttribute *DOMAttribute,IXMLDOMAttribute **attributeNode);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1435:141: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMElement_setAttributeNode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1436:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMElement_removeAttributeNode_Proxy(IXMLDOMElement *This,IXMLDOMAttribute *DOMAttribute,IXMLDOMAttribute **attributeNode);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1437:144: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMElement_removeAttributeNode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1438:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMElement_getElementsByTagName_Proxy(IXMLDOMElement *This,BSTR tagName,IXMLDOMNodeList **resultList);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1439:145: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMElement_getElementsByTagName_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1440:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMElement_normalize_Proxy(IXMLDOMElement *This);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1441:134: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMElement_normalize_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1450:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI splitText(LONG offset,IXMLDOMText **rightHandTextNode) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1567:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMText_splitText_Proxy(IXMLDOMText *This,LONG offset,IXMLDOMText **rightHandTextNode);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1568:131: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMText_splitText_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1698:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_target(BSTR *name) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1699:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_data(BSTR *value) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1700:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI put_data(BSTR value) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1805:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMProcessingInstruction_get_target_Proxy(IXMLDOMProcessingInstruction *This,BSTR *name);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1806:149: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMProcessingInstruction_get_target_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1807:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMProcessingInstruction_get_data_Proxy(IXMLDOMProcessingInstruction *This,BSTR *value);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1808:147: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMProcessingInstruction_get_data_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1809:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMProcessingInstruction_put_data_Proxy(IXMLDOMProcessingInstruction *This,BSTR value);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1810:147: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMProcessingInstruction_put_data_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1942:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_name(BSTR *rootName) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1943:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_entities(IXMLDOMNamedNodeMap **entityMap) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:1944:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_notations(IXMLDOMNamedNodeMap **notationMap) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2049:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMDocumentType_get_name_Proxy(IXMLDOMDocumentType *This,BSTR *rootName);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2050:138: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMDocumentType_get_name_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2051:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMDocumentType_get_entities_Proxy(IXMLDOMDocumentType *This,IXMLDOMNamedNodeMap **entityMap);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2052:142: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMDocumentType_get_entities_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2053:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMDocumentType_get_notations_Proxy(IXMLDOMDocumentType *This,IXMLDOMNamedNodeMap **notationMap);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2054:143: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMDocumentType_get_notations_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2063:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_publicId(VARIANT *publicID) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2064:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_systemId(VARIANT *systemID) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2167:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMNotation_get_publicId_Proxy(IXMLDOMNotation *This,VARIANT *publicID);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2168:138: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMNotation_get_publicId_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2169:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMNotation_get_systemId_Proxy(IXMLDOMNotation *This,VARIANT *systemID);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2170:138: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMNotation_get_systemId_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2179:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_publicId(VARIANT *publicID) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2180:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_systemId(VARIANT *systemID) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2181:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_notationName(BSTR *name) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2286:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMEntity_get_publicId_Proxy(IXMLDOMEntity *This,VARIANT *publicID);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2287:136: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMEntity_get_publicId_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2288:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMEntity_get_systemId_Proxy(IXMLDOMEntity *This,VARIANT *systemID);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2289:136: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMEntity_get_systemId_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2290:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMEntity_get_notationName_Proxy(IXMLDOMEntity *This,BSTR *name);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2291:140: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMEntity_get_notationName_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2405:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_errorCode(LONG *errorCode) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2406:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_url(BSTR *urlString) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2407:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_reason(BSTR *reasonString) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2408:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_srcText(BSTR *sourceString) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2409:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_line(LONG *lineNumber) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2410:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_linepos(LONG *linePosition) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2411:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_filepos(LONG *filePosition) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2452:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMParseError_get_errorCode_Proxy(IXMLDOMParseError *This,LONG *errorCode);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2453:141: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMParseError_get_errorCode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2454:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMParseError_get_url_Proxy(IXMLDOMParseError *This,BSTR *urlString);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2455:135: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMParseError_get_url_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2456:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMParseError_get_reason_Proxy(IXMLDOMParseError *This,BSTR *reasonString);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2457:138: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMParseError_get_reason_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2458:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMParseError_get_srcText_Proxy(IXMLDOMParseError *This,BSTR *sourceString);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2459:139: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMParseError_get_srcText_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2460:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMParseError_get_line_Proxy(IXMLDOMParseError *This,LONG *lineNumber);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2461:136: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMParseError_get_line_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2462:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMParseError_get_linepos_Proxy(IXMLDOMParseError *This,LONG *linePosition);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2463:139: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMParseError_get_linepos_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2464:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDOMParseError_get_filepos_Proxy(IXMLDOMParseError *This,LONG *filePosition);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2465:139: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDOMParseError_get_filepos_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2474:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI uniqueID(IXMLDOMNode *pNode,LONG *pID) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2475:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI depth(IXMLDOMNode *pNode,LONG *pDepth) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2476:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI childNumber(IXMLDOMNode *pNode,LONG *pNumber) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2477:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI ancestorChildNumber(BSTR bstrNodeName,IXMLDOMNode *pNode,LONG *pNumber) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2478:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI absoluteChildNumber(IXMLDOMNode *pNode,LONG *pNumber) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2479:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI formatIndex(LONG lIndex,BSTR bstrFormat,BSTR *pbstrFormattedString) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2480:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI formatNumber(double dblNumber,BSTR bstrFormat,BSTR *pbstrFormattedString) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2481:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI formatDate(VARIANT varDate,BSTR bstrFormat,VARIANT varDestLocale,BSTR *pbstrFormattedString) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2482:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI formatTime(VARIANT varTime,BSTR bstrFormat,VARIANT varDestLocale,BSTR *pbstrFormattedString) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2599:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXTLRuntime_uniqueID_Proxy(IXTLRuntime *This,IXMLDOMNode *pNode,LONG *pID);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2600:130: error: 'DWORD' has not been declared
   void __RPC_STUB IXTLRuntime_uniqueID_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2601:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXTLRuntime_depth_Proxy(IXTLRuntime *This,IXMLDOMNode *pNode,LONG *pDepth);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2602:127: error: 'DWORD' has not been declared
   void __RPC_STUB IXTLRuntime_depth_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2603:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXTLRuntime_childNumber_Proxy(IXTLRuntime *This,IXMLDOMNode *pNode,LONG *pNumber);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2604:133: error: 'DWORD' has not been declared
   void __RPC_STUB IXTLRuntime_childNumber_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2605:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXTLRuntime_ancestorChildNumber_Proxy(IXTLRuntime *This,BSTR bstrNodeName,IXMLDOMNode *pNode,LONG *pNumber);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2606:141: error: 'DWORD' has not been declared
   void __RPC_STUB IXTLRuntime_ancestorChildNumber_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2607:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXTLRuntime_absoluteChildNumber_Proxy(IXTLRuntime *This,IXMLDOMNode *pNode,LONG *pNumber);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2608:141: error: 'DWORD' has not been declared
   void __RPC_STUB IXTLRuntime_absoluteChildNumber_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2609:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXTLRuntime_formatIndex_Proxy(IXTLRuntime *This,LONG lIndex,BSTR bstrFormat,BSTR *pbstrFormattedString);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2610:133: error: 'DWORD' has not been declared
   void __RPC_STUB IXTLRuntime_formatIndex_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2611:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXTLRuntime_formatNumber_Proxy(IXTLRuntime *This,double dblNumber,BSTR bstrFormat,BSTR *pbstrFormattedString);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2612:134: error: 'DWORD' has not been declared
   void __RPC_STUB IXTLRuntime_formatNumber_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2613:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXTLRuntime_formatDate_Proxy(IXTLRuntime *This,VARIANT varDate,BSTR bstrFormat,VARIANT varDestLocale,BSTR *pbstrFormattedString);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2614:132: error: 'DWORD' has not been declared
   void __RPC_STUB IXTLRuntime_formatDate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2615:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXTLRuntime_formatTime_Proxy(IXTLRuntime *This,VARIANT varTime,BSTR bstrFormat,VARIANT varDestLocale,BSTR *pbstrFormattedString);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2616:132: error: 'DWORD' has not been declared
   void __RPC_STUB IXTLRuntime_formatTime_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2667:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI open(BSTR bstrMethod,BSTR bstrUrl,VARIANT varAsync,VARIANT bstrUser,VARIANT bstrPassword) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2668:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI setRequestHeader(BSTR bstrHeader,BSTR bstrValue) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2669:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI getResponseHeader(BSTR bstrHeader,BSTR *pbstrValue) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2670:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI getAllResponseHeaders(BSTR *pbstrHeaders) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2671:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI send(VARIANT varBody) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2672:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI abort(void) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2673:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_status(LONG *plStatus) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2674:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_statusText(BSTR *pbstrStatus) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2675:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_responseXML(IDispatch **ppBody) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2676:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_responseText(BSTR *pbstrBody) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2677:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_responseBody(VARIANT *pvarBody) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2678:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_responseStream(VARIANT *pvarBody) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2679:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_readyState(LONG *plState) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2680:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI put_onreadystatechange(IDispatch *pReadyStateSink) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2735:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLHttpRequest_open_Proxy(IXMLHttpRequest *This,BSTR bstrMethod,BSTR bstrUrl,VARIANT varAsync,VARIANT bstrUser,VARIANT bstrPassword);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2736:130: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLHttpRequest_open_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2737:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLHttpRequest_setRequestHeader_Proxy(IXMLHttpRequest *This,BSTR bstrHeader,BSTR bstrValue);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2738:142: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLHttpRequest_setRequestHeader_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2739:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLHttpRequest_getResponseHeader_Proxy(IXMLHttpRequest *This,BSTR bstrHeader,BSTR *pbstrValue);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2740:143: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLHttpRequest_getResponseHeader_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2741:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLHttpRequest_getAllResponseHeaders_Proxy(IXMLHttpRequest *This,BSTR *pbstrHeaders);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2742:147: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLHttpRequest_getAllResponseHeaders_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2743:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLHttpRequest_send_Proxy(IXMLHttpRequest *This,VARIANT varBody);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2744:130: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLHttpRequest_send_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2745:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLHttpRequest_abort_Proxy(IXMLHttpRequest *This);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2746:131: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLHttpRequest_abort_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2747:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLHttpRequest_get_status_Proxy(IXMLHttpRequest *This,LONG *plStatus);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2748:136: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLHttpRequest_get_status_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2749:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLHttpRequest_get_statusText_Proxy(IXMLHttpRequest *This,BSTR *pbstrStatus);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2750:140: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLHttpRequest_get_statusText_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2751:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLHttpRequest_get_responseXML_Proxy(IXMLHttpRequest *This,IDispatch **ppBody);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2752:141: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLHttpRequest_get_responseXML_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2753:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLHttpRequest_get_responseText_Proxy(IXMLHttpRequest *This,BSTR *pbstrBody);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2754:142: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLHttpRequest_get_responseText_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2755:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLHttpRequest_get_responseBody_Proxy(IXMLHttpRequest *This,VARIANT *pvarBody);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2756:142: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLHttpRequest_get_responseBody_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2757:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLHttpRequest_get_responseStream_Proxy(IXMLHttpRequest *This,VARIANT *pvarBody);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2758:144: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLHttpRequest_get_responseStream_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2759:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLHttpRequest_get_readyState_Proxy(IXMLHttpRequest *This,LONG *plState);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2760:140: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLHttpRequest_get_readyState_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2761:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLHttpRequest_put_onreadystatechange_Proxy(IXMLHttpRequest *This,IDispatch *pReadyStateSink);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2762:148: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLHttpRequest_put_onreadystatechange_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2776:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_XMLDocument(IXMLDOMDocument **ppDoc) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2777:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI put_XMLDocument(IXMLDOMDocument *ppDoc) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2778:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_JavaDSOCompatible(WINBOOL *fJavaDSOCompatible) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2779:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI put_JavaDSOCompatible(WINBOOL fJavaDSOCompatible) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2780:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_readyState(LONG *state) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2817:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDSOControl_get_XMLDocument_Proxy(IXMLDSOControl *This,IXMLDOMDocument **ppDoc);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2818:140: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDSOControl_get_XMLDocument_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2819:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDSOControl_put_XMLDocument_Proxy(IXMLDSOControl *This,IXMLDOMDocument *ppDoc);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2820:140: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDSOControl_put_XMLDocument_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2821:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDSOControl_get_JavaDSOCompatible_Proxy(IXMLDSOControl *This,WINBOOL *fJavaDSOCompatible);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2822:146: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDSOControl_get_JavaDSOCompatible_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2823:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDSOControl_put_JavaDSOCompatible_Proxy(IXMLDSOControl *This,WINBOOL fJavaDSOCompatible);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2824:146: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDSOControl_put_JavaDSOCompatible_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2825:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDSOControl_get_readyState_Proxy(IXMLDSOControl *This,LONG *state);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2826:139: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDSOControl_get_readyState_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2840:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI put_length(LONG v) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2841:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_length(LONG *p) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2842:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get__newEnum(IUnknown **ppUnk) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2843:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI item(VARIANT var1,VARIANT var2,IDispatch **ppDisp) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2878:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLElementCollection_put_length_Proxy(IXMLElementCollection *This,LONG v);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2879:142: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLElementCollection_put_length_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2880:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLElementCollection_get_length_Proxy(IXMLElementCollection *This,LONG *p);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2881:142: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLElementCollection_get_length_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2882:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLElementCollection_get__newEnum_Proxy(IXMLElementCollection *This,IUnknown **ppUnk);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2883:144: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLElementCollection_get__newEnum_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2884:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLElementCollection_item_Proxy(IXMLElementCollection *This,VARIANT var1,VARIANT var2,IDispatch **ppDisp);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2885:136: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLElementCollection_item_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2894:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_root(IXMLElement **p) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2895:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_fileSize(BSTR *p) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2896:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_fileModifiedDate(BSTR *p) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2897:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_fileUpdatedDate(BSTR *p) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2898:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_URL(BSTR *p) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2899:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI put_URL(BSTR p) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2900:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_mimeType(BSTR *p) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2901:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_readyState(LONG *pl) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2902:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_charset(BSTR *p) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2903:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI put_charset(BSTR p) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2904:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_version(BSTR *p) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2905:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_doctype(BSTR *p) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2906:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_dtdURL(BSTR *p) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2907:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI createElement(VARIANT vType,VARIANT var1,IXMLElement **ppElem) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2962:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDocument_get_root_Proxy(IXMLDocument *This,IXMLElement **p);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2963:131: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDocument_get_root_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2964:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDocument_get_fileSize_Proxy(IXMLDocument *This,BSTR *p);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2965:135: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDocument_get_fileSize_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2966:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDocument_get_fileModifiedDate_Proxy(IXMLDocument *This,BSTR *p);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2967:143: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDocument_get_fileModifiedDate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2968:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDocument_get_fileUpdatedDate_Proxy(IXMLDocument *This,BSTR *p);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2969:142: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDocument_get_fileUpdatedDate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2970:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDocument_get_URL_Proxy(IXMLDocument *This,BSTR *p);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2971:130: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDocument_get_URL_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2972:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDocument_put_URL_Proxy(IXMLDocument *This,BSTR p);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2973:130: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDocument_put_URL_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2974:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDocument_get_mimeType_Proxy(IXMLDocument *This,BSTR *p);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2975:135: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDocument_get_mimeType_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2976:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDocument_get_readyState_Proxy(IXMLDocument *This,LONG *pl);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2977:137: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDocument_get_readyState_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2978:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDocument_get_charset_Proxy(IXMLDocument *This,BSTR *p);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2979:134: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDocument_get_charset_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2980:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDocument_put_charset_Proxy(IXMLDocument *This,BSTR p);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2981:134: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDocument_put_charset_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2982:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDocument_get_version_Proxy(IXMLDocument *This,BSTR *p);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2983:134: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDocument_get_version_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2984:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDocument_get_doctype_Proxy(IXMLDocument *This,BSTR *p);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2985:134: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDocument_get_doctype_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2986:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDocument_get_dtdURL_Proxy(IXMLDocument *This,BSTR *p);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2987:133: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDocument_get_dtdURL_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2988:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDocument_createElement_Proxy(IXMLDocument *This,VARIANT vType,VARIANT var1,IXMLElement **ppElem);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2989:136: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDocument_createElement_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2998:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_root(IXMLElement2 **p) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:2999:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_fileSize(BSTR *p) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3000:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_fileModifiedDate(BSTR *p) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3001:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_fileUpdatedDate(BSTR *p) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3002:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_URL(BSTR *p) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3003:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI put_URL(BSTR p) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3004:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_mimeType(BSTR *p) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3005:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_readyState(LONG *pl) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3006:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_charset(BSTR *p) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3007:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI put_charset(BSTR p) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3008:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_version(BSTR *p) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3009:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_doctype(BSTR *p) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3010:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_dtdURL(BSTR *p) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3011:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI createElement(VARIANT vType,VARIANT var1,IXMLElement2 **ppElem) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3012:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_async(VARIANT_BOOL *pf) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3013:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI put_async(VARIANT_BOOL f) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3072:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDocument2_get_root_Proxy(IXMLDocument2 *This,IXMLElement2 **p);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3073:132: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDocument2_get_root_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3074:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDocument2_get_fileSize_Proxy(IXMLDocument2 *This,BSTR *p);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3075:136: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDocument2_get_fileSize_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3076:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDocument2_get_fileModifiedDate_Proxy(IXMLDocument2 *This,BSTR *p);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3077:144: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDocument2_get_fileModifiedDate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3078:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDocument2_get_fileUpdatedDate_Proxy(IXMLDocument2 *This,BSTR *p);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3079:143: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDocument2_get_fileUpdatedDate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3080:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDocument2_get_URL_Proxy(IXMLDocument2 *This,BSTR *p);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3081:131: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDocument2_get_URL_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3082:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDocument2_put_URL_Proxy(IXMLDocument2 *This,BSTR p);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3083:131: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDocument2_put_URL_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3084:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDocument2_get_mimeType_Proxy(IXMLDocument2 *This,BSTR *p);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3085:136: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDocument2_get_mimeType_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3086:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDocument2_get_readyState_Proxy(IXMLDocument2 *This,LONG *pl);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3087:138: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDocument2_get_readyState_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3088:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDocument2_get_charset_Proxy(IXMLDocument2 *This,BSTR *p);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3089:135: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDocument2_get_charset_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3090:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDocument2_put_charset_Proxy(IXMLDocument2 *This,BSTR p);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3091:135: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDocument2_put_charset_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3092:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDocument2_get_version_Proxy(IXMLDocument2 *This,BSTR *p);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3093:135: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDocument2_get_version_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3094:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDocument2_get_doctype_Proxy(IXMLDocument2 *This,BSTR *p);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3095:135: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDocument2_get_doctype_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3096:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDocument2_get_dtdURL_Proxy(IXMLDocument2 *This,BSTR *p);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3097:134: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDocument2_get_dtdURL_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3098:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDocument2_createElement_Proxy(IXMLDocument2 *This,VARIANT vType,VARIANT var1,IXMLElement2 **ppElem);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3099:137: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDocument2_createElement_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3100:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDocument2_get_async_Proxy(IXMLDocument2 *This,VARIANT_BOOL *pf);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3101:133: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDocument2_get_async_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3102:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLDocument2_put_async_Proxy(IXMLDocument2 *This,VARIANT_BOOL f);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3103:133: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLDocument2_put_async_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3112:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_tagName(BSTR *p) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3113:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI put_tagName(BSTR p) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3114:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_parent(IXMLElement **ppParent) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3115:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI setAttribute(BSTR strPropertyName,VARIANT PropertyValue) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3116:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI getAttribute(BSTR strPropertyName,VARIANT *PropertyValue) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3117:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI removeAttribute(BSTR strPropertyName) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3118:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_children(IXMLElementCollection **pp) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3119:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_type(LONG *plType) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3120:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_text(BSTR *p) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3121:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI put_text(BSTR p) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3122:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI addChild(IXMLElement *pChildElem,LONG lIndex,LONG lReserved) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3123:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI removeChild(IXMLElement *pChildElem) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3174:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLElement_get_tagName_Proxy(IXMLElement *This,BSTR *p);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3175:133: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLElement_get_tagName_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3176:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLElement_put_tagName_Proxy(IXMLElement *This,BSTR p);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3177:133: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLElement_put_tagName_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3178:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLElement_get_parent_Proxy(IXMLElement *This,IXMLElement **ppParent);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3179:132: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLElement_get_parent_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3180:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLElement_setAttribute_Proxy(IXMLElement *This,BSTR strPropertyName,VARIANT PropertyValue);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3181:134: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLElement_setAttribute_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3182:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLElement_getAttribute_Proxy(IXMLElement *This,BSTR strPropertyName,VARIANT *PropertyValue);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3183:134: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLElement_getAttribute_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3184:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLElement_removeAttribute_Proxy(IXMLElement *This,BSTR strPropertyName);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3185:137: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLElement_removeAttribute_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3186:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLElement_get_children_Proxy(IXMLElement *This,IXMLElementCollection **pp);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3187:134: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLElement_get_children_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3188:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLElement_get_type_Proxy(IXMLElement *This,LONG *plType);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3189:130: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLElement_get_type_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3190:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLElement_get_text_Proxy(IXMLElement *This,BSTR *p);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3191:130: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLElement_get_text_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3192:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLElement_put_text_Proxy(IXMLElement *This,BSTR p);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3193:130: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLElement_put_text_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3194:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLElement_addChild_Proxy(IXMLElement *This,IXMLElement *pChildElem,LONG lIndex,LONG lReserved);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3195:130: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLElement_addChild_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3196:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLElement_removeChild_Proxy(IXMLElement *This,IXMLElement *pChildElem);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3197:133: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLElement_removeChild_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3206:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_tagName(BSTR *p) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3207:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI put_tagName(BSTR p) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3208:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_parent(IXMLElement2 **ppParent) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3209:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI setAttribute(BSTR strPropertyName,VARIANT PropertyValue) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3210:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI getAttribute(BSTR strPropertyName,VARIANT *PropertyValue) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3211:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI removeAttribute(BSTR strPropertyName) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3212:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_children(IXMLElementCollection **pp) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3213:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_type(LONG *plType) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3214:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_text(BSTR *p) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3215:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI put_text(BSTR p) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3216:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI addChild(IXMLElement2 *pChildElem,LONG lIndex,LONG lReserved) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3217:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI removeChild(IXMLElement2 *pChildElem) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3218:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_attributes(IXMLElementCollection **pp) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3271:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLElement2_get_tagName_Proxy(IXMLElement2 *This,BSTR *p);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3272:134: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLElement2_get_tagName_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3273:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLElement2_put_tagName_Proxy(IXMLElement2 *This,BSTR p);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3274:134: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLElement2_put_tagName_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3275:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLElement2_get_parent_Proxy(IXMLElement2 *This,IXMLElement2 **ppParent);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3276:133: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLElement2_get_parent_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3277:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLElement2_setAttribute_Proxy(IXMLElement2 *This,BSTR strPropertyName,VARIANT PropertyValue);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3278:135: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLElement2_setAttribute_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3279:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLElement2_getAttribute_Proxy(IXMLElement2 *This,BSTR strPropertyName,VARIANT *PropertyValue);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3280:135: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLElement2_getAttribute_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3281:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLElement2_removeAttribute_Proxy(IXMLElement2 *This,BSTR strPropertyName);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3282:138: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLElement2_removeAttribute_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3283:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLElement2_get_children_Proxy(IXMLElement2 *This,IXMLElementCollection **pp);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3284:135: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLElement2_get_children_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3285:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLElement2_get_type_Proxy(IXMLElement2 *This,LONG *plType);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3286:131: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLElement2_get_type_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3287:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLElement2_get_text_Proxy(IXMLElement2 *This,BSTR *p);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3288:131: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLElement2_get_text_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3289:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLElement2_put_text_Proxy(IXMLElement2 *This,BSTR p);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3290:131: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLElement2_put_text_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3291:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLElement2_addChild_Proxy(IXMLElement2 *This,IXMLElement2 *pChildElem,LONG lIndex,LONG lReserved);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3292:131: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLElement2_addChild_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3293:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLElement2_removeChild_Proxy(IXMLElement2 *This,IXMLElement2 *pChildElem);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3294:134: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLElement2_removeChild_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3295:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLElement2_get_attributes_Proxy(IXMLElement2 *This,IXMLElementCollection **pp);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3296:137: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLElement2_get_attributes_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3305:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_name(BSTR *n) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3306:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI get_value(BSTR *v) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3337:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLAttribute_get_name_Proxy(IXMLAttribute *This,BSTR *n);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3338:132: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLAttribute_get_name_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3339:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLAttribute_get_value_Proxy(IXMLAttribute *This,BSTR *v);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3340:133: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLAttribute_get_value_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3349:13: error: 'HRESULT' does not name a type
     virtual HRESULT WINAPI GetErrorInfo(XML_ERROR *pErrorReturn) = 0;
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3370:3: error: 'HRESULT' does not name a type
   HRESULT WINAPI IXMLError_GetErrorInfo_Proxy(IXMLError *This,XML_ERROR *pErrorReturn);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:3371:132: error: 'DWORD' has not been declared
   void __RPC_STUB IXMLError_GetErrorInfo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
                                                                                                                                    ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:427:1: error: 'HRESULT' does not name a type
 STDAPI CreateURLMoniker(LPMONIKER pMkCtx, LPCWSTR szURL, LPMONIKER *ppmk);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:428:1: error: 'HRESULT' does not name a type
 STDAPI CreateURLMonikerEx(LPMONIKER pMkCtx, LPCWSTR szURL, LPMONIKER *ppmk, DWORD dwFlags);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:429:1: error: 'HRESULT' does not name a type
 STDAPI GetClassURL(LPCWSTR szURL, CLSID *pClsID);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:430:1: error: 'HRESULT' does not name a type
 STDAPI CreateAsyncBindCtx(DWORD reserved, IBindStatusCallback *pBSCb, IEnumFORMATETC *pEFetc, IBindCtx **ppBC);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:434:1: error: 'HRESULT' does not name a type
 STDAPI CreateAsyncBindCtxEx(IBindCtx *pbc, DWORD dwOptions, IBindStatusCallback *pBSCb, IEnumFORMATETC *pEnum, IBindCtx **ppBC, DWORD reserved);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:435:1: error: 'HRESULT' does not name a type
 STDAPI MkParseDisplayNameEx(IBindCtx *pbc, LPCWSTR szDisplayName, ULONG *pchEaten, LPMONIKER *ppmk);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:436:1: error: 'HRESULT' does not name a type
 STDAPI RegisterBindStatusCallback(LPBC pBC, IBindStatusCallback *pBSCb, IBindStatusCallback **ppBSCBPrev, DWORD dwReserved);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:437:1: error: 'HRESULT' does not name a type
 STDAPI RevokeBindStatusCallback(LPBC pBC, IBindStatusCallback *pBSCb);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:438:1: error: 'HRESULT' does not name a type
 STDAPI GetClassFileOrMime(LPBC pBC, LPCWSTR szFilename, LPVOID pBuffer, DWORD cbSize, LPCWSTR szMime, DWORD dwReserved, CLSID *pclsid);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:439:1: error: 'HRESULT' does not name a type
 STDAPI IsValidURL(LPBC pBC, LPCWSTR szURL, DWORD dwReserved);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:440:1: error: 'HRESULT' does not name a type
 STDAPI CoGetClassObjectFromURL(REFCLSID rCLASSID, LPCWSTR szCODE, DWORD dwFileVersionMS, DWORD dwFileVersionLS, LPCWSTR szTYPE, LPBINDCTX pBindCtx, DWORD dwClsContext, LPVOID pvReserved, REFIID riid, LPVOID *ppv);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:441:1: error: 'HRESULT' does not name a type
 STDAPI IEInstallScope(LPDWORD pdwScope);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:442:1: error: 'HRESULT' does not name a type
 STDAPI FaultInIEFeature(HWND hWnd, uCLSSPEC *pClassSpec, QUERYCONTEXT *pQuery, DWORD dwFlags);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:443:1: error: 'HRESULT' does not name a type
 STDAPI GetComponentIDFromCLSSPEC(uCLSSPEC *pClassspec, LPSTR *ppszComponentID);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:449:1: error: 'HRESULT' does not name a type
 STDAPI IsAsyncMoniker(IMoniker *pmk);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:450:1: error: 'HRESULT' does not name a type
 STDAPI CreateURLBinding(LPCWSTR lpszUrl, IBindCtx *pbc, IBinding **ppBdg);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:451:1: error: 'HRESULT' does not name a type
 STDAPI RegisterMediaTypes(UINT ctypes, const LPCSTR *rgszTypes, CLIPFORMAT *rgcfTypes);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:452:1: error: 'HRESULT' does not name a type
 STDAPI FindMediaType(LPCSTR rgszTypes, CLIPFORMAT *rgcfTypes);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:453:1: error: 'HRESULT' does not name a type
 STDAPI CreateFormatEnumerator(UINT cfmtetc, FORMATETC *rgfmtetc, IEnumFORMATETC **ppenumfmtetc);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:454:1: error: 'HRESULT' does not name a type
 STDAPI RegisterFormatEnumerator(LPBC pBC, IEnumFORMATETC *pEFetc, DWORD reserved);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:455:1: error: 'HRESULT' does not name a type
 STDAPI RevokeFormatEnumerator(LPBC pBC, IEnumFORMATETC *pEFetc);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:456:1: error: 'HRESULT' does not name a type
 STDAPI RegisterMediaTypeClass(LPBC pBC,UINT ctypes, const LPCSTR *rgszTypes, CLSID *rgclsID, DWORD reserved);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:457:1: error: 'HRESULT' does not name a type
 STDAPI FindMediaTypeClass(LPBC pBC, LPCSTR szType, CLSID *pclsID, DWORD reserved);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:458:1: error: 'HRESULT' does not name a type
 STDAPI UrlMkSetSessionOption(DWORD dwOption, LPVOID pBuffer, DWORD dwBufferLength, DWORD dwReserved);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:459:1: error: 'HRESULT' does not name a type
 STDAPI UrlMkGetSessionOption(DWORD dwOption, LPVOID pBuffer, DWORD dwBufferLength, DWORD *pdwBufferLengthOut, DWORD dwReserved);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:460:1: error: 'HRESULT' does not name a type
 STDAPI FindMimeFromData(LPBC pBC, LPCWSTR pwzUrl, LPVOID pBuffer, DWORD cbSize, LPCWSTR pwzMimeProposed, DWORD dwMimeFlags, LPWSTR *ppwzMimeOut, DWORD dwReserved);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:474:1: error: 'HRESULT' does not name a type
 STDAPI ObtainUserAgentString(DWORD dwOption, LPSTR pszUAOut, DWORD *cbSize);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:475:1: error: 'HRESULT' does not name a type
 STDAPI CompareSecurityIds(BYTE *pbSecurityId1, DWORD dwLen1, BYTE *pbSecurityId2, DWORD dwLen2, DWORD dwReserved);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:476:1: error: 'HRESULT' does not name a type
 STDAPI CompatFlagsFromClsid(CLSID *pclsid, LPDWORD pdwCompatFlags, LPDWORD pdwMiscStatusFlags);
 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:163:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:599:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetClassID(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:602:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE IsDirty(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:605:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Load(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:611:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Save(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:616:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SaveCompleted(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:620:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetCurMoniker(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:727:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IPersistMoniker_GetClassID_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:734:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:735:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IPersistMoniker_IsDirty_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:741:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:742:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IPersistMoniker_Load_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:752:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:753:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IPersistMoniker_Save_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:762:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:763:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IPersistMoniker_SaveCompleted_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:771:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:772:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IPersistMoniker_GetCurMoniker_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:779:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:808:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE PutProperty(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:872:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IMonikerProp_PutProperty_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:880:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:902:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE CreateBinding(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:968:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IBindProtocol_CreateBinding_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:977:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:999:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Abort(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1002:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Suspend(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1005:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Resume(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1008:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetPriority(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1011:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetPriority(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1014:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetBindResult(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1119:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IBinding_Abort_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1125:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1126:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IBinding_Suspend_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1132:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1133:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IBinding_Resume_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1139:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1140:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IBinding_SetPriority_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1147:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1148:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IBinding_GetPriority_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1155:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1156:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IBinding_RemoteGetBindResult_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1166:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1167:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK IBinding_GetBindResult_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1173:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB IBinding_GetBindResult_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1251:5: error: 'ULONG' does not name a type
     ULONG cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1254:5: error: 'DWORD' does not name a type
     DWORD grfBindInfoF;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1255:5: error: 'DWORD' does not name a type
     DWORD dwBindVerb;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1257:5: error: 'DWORD' does not name a type
     DWORD cbstgmedData;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1258:5: error: 'DWORD' does not name a type
     DWORD dwOptions;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1259:5: error: 'DWORD' does not name a type
     DWORD dwOptionsFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1260:5: error: 'DWORD' does not name a type
     DWORD dwCodePage;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1264:5: error: 'DWORD' does not name a type
     DWORD dwReserved;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1268:5: error: 'DWORD' does not name a type
     DWORD nLength;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1269:5: error: 'DWORD' does not name a type
     DWORD lpSecurityDescriptor;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1276:5: error: 'ULONG' does not name a type
     ULONG cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1278:5: error: 'DWORD' does not name a type
     DWORD grfBindInfoF;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1279:5: error: 'DWORD' does not name a type
     DWORD dwBindVerb;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1281:5: error: 'DWORD' does not name a type
     DWORD cbstgmedData;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1282:5: error: 'DWORD' does not name a type
     DWORD dwOptions;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1283:5: error: 'DWORD' does not name a type
     DWORD dwOptionsFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1284:5: error: 'DWORD' does not name a type
     DWORD dwCodePage;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1288:5: error: 'DWORD' does not name a type
     DWORD dwReserved;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1292:5: error: 'DWORD' does not name a type
     DWORD cfFormat;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1293:5: error: 'DWORD' does not name a type
     DWORD ptd;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1294:5: error: 'DWORD' does not name a type
     DWORD dwAspect;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1295:5: error: 'LONG' does not name a type
     LONG lindex;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1296:5: error: 'DWORD' does not name a type
     DWORD tymed;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1404:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE OnStartBinding(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1408:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetPriority(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1411:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE OnLowResource(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1414:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE OnProgress(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1420:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE OnStopBinding(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1424:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetBindInfo(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1428:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE OnDataAvailable(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1434:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE OnObjectAvailable(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1563:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IBindStatusCallback_OnStartBinding_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1571:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1572:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IBindStatusCallback_GetPriority_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1579:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1580:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IBindStatusCallback_OnLowResource_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1587:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1588:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IBindStatusCallback_OnProgress_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1598:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1599:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IBindStatusCallback_OnStopBinding_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1607:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1608:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IBindStatusCallback_RemoteGetBindInfo_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1617:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1618:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IBindStatusCallback_RemoteOnDataAvailable_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1628:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1629:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IBindStatusCallback_OnObjectAvailable_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1637:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1638:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK IBindStatusCallback_GetBindInfo_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1642:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB IBindStatusCallback_GetBindInfo_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1647:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK IBindStatusCallback_OnDataAvailable_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1653:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB IBindStatusCallback_OnDataAvailable_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1708:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetBindInfoEx(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1853:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IBindStatusCallbackEx_RemoteGetBindInfoEx_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1864:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1865:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK IBindStatusCallbackEx_GetBindInfoEx_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1871:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB IBindStatusCallbackEx_GetBindInfoEx_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1899:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Authenticate(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1965:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IAuthenticate_Authenticate_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1974:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1998:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:1999:5: error: 'DWORD' does not name a type
     DWORD dwReserved;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:2007:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE AuthenticateEx(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:2088:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IAuthenticateEx_AuthenticateEx_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:2098:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:2120:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE BeginningTransaction(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:2126:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE OnResponse(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:2205:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IHttpNegotiate_BeginningTransaction_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:2215:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:2216:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IHttpNegotiate_OnResponse_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:2226:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:2248:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetRootSecurityId(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:2339:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IHttpNegotiate2_GetRootSecurityId_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:2348:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:2370:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetSerializedClientCertContext(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:2472:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IHttpNegotiate3_GetSerializedClientCertContext_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:2480:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:2502:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetHandleForUnlock(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:2506:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetDeleteFile(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:2577:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IWinInetFileStream_SetHandleForUnlock_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:2585:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:2586:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IWinInetFileStream_SetDeleteFile_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:2593:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:2615:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetWindow(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:2679:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IWindowForBindingUI_GetWindow_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:2687:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:2722:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE OnCodeInstallProblem(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:2802:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICodeInstall_OnCodeInstallProblem_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:2812:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:4268:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE QueryOption(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:4334:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IWinInetInfo_RemoteQueryOption_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:4343:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:4344:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK IWinInetInfo_QueryOption_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:4349:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB IWinInetInfo_QueryOption_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:4377:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE OnSecurityProblem(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:4451:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IHttpSecurity_OnSecurityProblem_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:4458:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:4480:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE QueryInfo(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:4563:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IWinInetHttpInfo_RemoteQueryInfo_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:4574:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:4575:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK IWinInetHttpInfo_QueryInfo_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:4582:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB IWinInetHttpInfo_QueryInfo_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:4607:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetRequestTimeouts(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:4673:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IWinInetHttpTimeouts_GetRequestTimeouts_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:4682:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:4934:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE CreateMoniker(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:4940:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE MonikerBindToStorage(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:4947:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE MonikerBindToObject(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5040:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IBindHost_CreateMoniker_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5050:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5051:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IBindHost_RemoteMonikerBindToStorage_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5062:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5063:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IBindHost_RemoteMonikerBindToObject_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5074:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5075:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK IBindHost_MonikerBindToStorage_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5082:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB IBindHost_MonikerBindToStorage_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5089:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK IBindHost_MonikerBindToObject_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5096:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB IBindHost_MonikerBindToObject_Stub(
 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5113:1: error: 'HRESULT' does not name a type
 STDAPI HlinkSimpleNavigateToString(LPCWSTR szTarget, LPCWSTR szLocation, LPCWSTR szTargetFrameName, IUnknown *pUnk, IBindCtx *pbc, IBindStatusCallback *, DWORD grfHLNF, DWORD dwReserved);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5114:1: error: 'HRESULT' does not name a type
 STDAPI HlinkSimpleNavigateToMoniker(IMoniker *pmkTarget, LPCWSTR szLocation, LPCWSTR szTargetFrameName, IUnknown *pUnk, IBindCtx *pbc, IBindStatusCallback *, DWORD grfHLNF, DWORD dwReserved);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5115:1: error: 'HRESULT' does not name a type
 STDAPI URLOpenStreamA(LPUNKNOWN,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5116:1: error: 'HRESULT' does not name a type
 STDAPI URLOpenStreamW(LPUNKNOWN,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5117:1: error: 'HRESULT' does not name a type
 STDAPI URLOpenPullStreamA(LPUNKNOWN,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5118:1: error: 'HRESULT' does not name a type
 STDAPI URLOpenPullStreamW(LPUNKNOWN,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5119:1: error: 'HRESULT' does not name a type
 STDAPI URLDownloadToFileA(LPUNKNOWN,LPCSTR,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5120:1: error: 'HRESULT' does not name a type
 STDAPI URLDownloadToFileW(LPUNKNOWN,LPCWSTR,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5121:1: error: 'HRESULT' does not name a type
 STDAPI URLDownloadToCacheFileA(LPUNKNOWN, LPCSTR,  LPSTR,  DWORD, DWORD, LPBINDSTATUSCALLBACK);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5122:1: error: 'HRESULT' does not name a type
 STDAPI URLDownloadToCacheFileW(LPUNKNOWN, LPCWSTR, LPWSTR, DWORD, DWORD, LPBINDSTATUSCALLBACK);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5123:1: error: 'HRESULT' does not name a type
 STDAPI URLOpenBlockingStreamA(LPUNKNOWN,LPCSTR,LPSTREAM*,DWORD,LPBINDSTATUSCALLBACK);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5124:1: error: 'HRESULT' does not name a type
 STDAPI URLOpenBlockingStreamW(LPUNKNOWN,LPCWSTR,LPSTREAM*,DWORD,LPBINDSTATUSCALLBACK);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5132:1: error: 'HRESULT' does not name a type
 STDAPI HlinkGoBack(IUnknown *pUnk);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5133:1: error: 'HRESULT' does not name a type
 STDAPI HlinkGoForward(IUnknown *pUnk);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5134:1: error: 'HRESULT' does not name a type
 STDAPI HlinkNavigateString(IUnknown *pUnk, LPCWSTR szTarget);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5135:1: error: 'HRESULT' does not name a type
 STDAPI HlinkNavigateMoniker(IUnknown *pUnk, IMoniker *pmkTarget);
 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:163:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5299:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetBindInfo(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5303:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetBindString(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5380:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInternetBindInfo_GetBindInfo_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5388:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5389:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInternetBindInfo_GetBindString_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5399:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5421:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetBindInfoEx(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5512:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInternetBindInfoEx_GetBindInfoEx_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5522:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5557:5: error: 'DWORD' does not name a type
     DWORD grfFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5558:5: error: 'DWORD' does not name a type
     DWORD dwState;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5560:5: error: 'ULONG' does not name a type
     ULONG cbData;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5574:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Start(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5581:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Continue(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5584:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Abort(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5588:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Terminate(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5591:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Suspend(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5594:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Resume(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5699:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInternetProtocolRoot_Start_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5710:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5711:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInternetProtocolRoot_Continue_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5718:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5719:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInternetProtocolRoot_Abort_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5727:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5728:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInternetProtocolRoot_Terminate_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5735:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5736:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInternetProtocolRoot_Suspend_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5742:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5743:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInternetProtocolRoot_Resume_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5749:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5771:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Read(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5776:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Seek(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5781:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE LockRequest(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5784:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE UnlockRequest(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5927:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInternetProtocol_Read_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5936:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5937:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInternetProtocol_Seek_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5946:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5947:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInternetProtocol_LockRequest_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5954:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5955:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInternetProtocol_UnlockRequest_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:5961:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:6177:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Switch(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:6180:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE ReportProgress(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:6184:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE ReportData(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:6189:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE ReportResult(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:6282:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInternetProtocolSink_Switch_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:6289:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:6290:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInternetProtocolSink_ReportProgress_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:6298:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:6299:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInternetProtocolSink_ReportData_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:6308:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:6309:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInternetProtocolSink_ReportResult_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:6318:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:6340:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SwitchSink(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:6343:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE CommitSwitch(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:6346:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE RollbackSwitch(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:6422:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInternetProtocolSinkStackable_SwitchSink_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:6429:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:6430:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInternetProtocolSinkStackable_CommitSwitch_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:6436:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:6437:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInternetProtocolSinkStackable_RollbackSwitch_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:6443:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:6470:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE RegisterNameSpace(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:6478:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE UnregisterNameSpace(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:6482:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE RegisterMimeFilter(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:6487:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE UnregisterMimeFilter(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:6491:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE CreateBinding(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:6499:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetSessionOption(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:6505:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetSessionOption(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:6638:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInternetSession_RegisterNameSpace_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:6650:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:6651:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInternetSession_UnregisterNameSpace_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:6659:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:6660:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInternetSession_RegisterMimeFilter_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:6669:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:6670:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInternetSession_UnregisterMimeFilter_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:6678:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:6679:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInternetSession_CreateBinding_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:6691:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:6692:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInternetSession_SetSessionOption_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:6702:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:6703:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInternetSession_GetSessionOption_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:6713:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:6735:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Prepare(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:6738:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Continue(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:6806:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInternetThreadSwitch_Prepare_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:6812:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:6813:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInternetThreadSwitch_Continue_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:6819:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:6841:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetPriority(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:6844:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetPriority(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:6914:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInternetPriority_SetPriority_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:6921:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:6922:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInternetPriority_GetPriority_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:6929:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:6997:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE ParseUrl(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:7006:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE CombineUrl(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:7015:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE CompareUrl(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:7020:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE QueryInfo(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:7132:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInternetProtocolInfo_ParseUrl_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:7145:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:7146:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInternetProtocolInfo_CombineUrl_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:7159:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:7160:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInternetProtocolInfo_CompareUrl_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:7169:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:7170:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInternetProtocolInfo_QueryInfo_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:7183:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:7242:1: error: 'HRESULT' does not name a type
 STDAPI CoInternetParseUrl(LPCWSTR pwzUrl, PARSEACTION ParseAction, DWORD dwFlags, LPWSTR pszResult, DWORD cchResult, DWORD *pcchResult, DWORD dwReserved);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:7246:1: error: 'HRESULT' does not name a type
 STDAPI CoInternetCombineUrl(LPCWSTR pwzBaseUrl, LPCWSTR pwzRelativeUrl, DWORD dwCombineFlags, LPWSTR pszResult, DWORD cchResult, DWORD *pcchResult, DWORD dwReserved);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:7251:1: error: 'HRESULT' does not name a type
 STDAPI CoInternetCompareUrl(LPCWSTR pwzUrl1, LPCWSTR pwzUrl2, DWORD dwFlags);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:7252:1: error: 'HRESULT' does not name a type
 STDAPI CoInternetGetProtocolFlags(LPCWSTR pwzUrl, DWORD *pdwFlags, DWORD dwReserved);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:7253:1: error: 'HRESULT' does not name a type
 STDAPI CoInternetQueryInfo(LPCWSTR pwzUrl, QUERYOPTION QueryOptions, DWORD dwQueryFlags, LPVOID pvBuffer, DWORD cbBuffer, DWORD *pcbBuffer, DWORD dwReserved);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:7254:1: error: 'HRESULT' does not name a type
 STDAPI CoInternetGetSession(DWORD dwSessionMode, IInternetSession **ppIInternetSession, DWORD dwReserved);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:7255:1: error: 'HRESULT' does not name a type
 STDAPI CoInternetGetSecurityUrl(LPCWSTR pwszUrl, LPWSTR *ppwszSecUrl, PSUACTION psuAction, DWORD dwReserved);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:7256:1: error: 'HRESULT' does not name a type
 STDAPI AsyncInstallDistributionUnit(LPCWSTR szDistUnit, LPCWSTR szTYPE, LPCWSTR szExt, DWORD dwFileVersionMS, DWORD dwFileVersionLS, LPCWSTR szURL,IBindCtx *pbc, LPVOID pvReserved,DWORD flags);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:7322:1: error: 'HRESULT' does not name a type
 STDAPI CopyStgMedium(const STGMEDIUM *pcstgmedSrc, STGMEDIUM *pstgmedDest);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:7323:1: error: 'HRESULT' does not name a type
 STDAPI CopyBindInfo(const BINDINFO *pcbiSrc, BINDINFO *pbiDest);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:7345:1: error: 'HRESULT' does not name a type
 STDAPI CoInternetCreateSecurityManager(IServiceProvider *pSP, IInternetSecurityManager **ppSM, DWORD dwReserved);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:7346:1: error: 'HRESULT' does not name a type
 STDAPI CoInternetCreateZoneManager(IServiceProvider *pSP, IInternetZoneManager **ppZM, DWORD dwReserved);
 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:163:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:7378:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetWindow(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:7381:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE EnableModeless(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:7451:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInternetSecurityMgrSite_GetWindow_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:7458:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:7459:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInternetSecurityMgrSite_EnableModeless_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:7466:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:7536:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetSecuritySite(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:7539:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetSecuritySite(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:7542:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE MapUrlToZone(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:7547:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetSecurityId(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:7553:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE ProcessUrlAction(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:7563:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE QueryCustomPolicy(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:7572:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetZoneMapping(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:7577:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetZoneMappings(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:7719:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInternetSecurityManager_SetSecuritySite_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:7726:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:7727:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInternetSecurityManager_GetSecuritySite_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:7734:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:7735:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInternetSecurityManager_MapUrlToZone_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:7744:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:7745:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInternetSecurityManager_GetSecurityId_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:7755:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:7756:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInternetSecurityManager_ProcessUrlAction_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:7770:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:7771:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInternetSecurityManager_QueryCustomPolicy_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:7784:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:7785:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInternetSecurityManager_SetZoneMapping_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:7794:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:7795:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInternetSecurityManager_GetZoneMappings_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:7804:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:163:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:8470:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetSecurityId(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:8475:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE ProcessUrlAction(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:8484:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE QueryCustomPolicy(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:8580:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInternetHostSecurityManager_GetSecurityId_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:8589:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:8590:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInternetHostSecurityManager_ProcessUrlAction_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:8603:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:8604:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInternetHostSecurityManager_QueryCustomPolicy_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:8616:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:8884:5: error: 'ULONG' does not name a type
     ULONG cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:8888:5: error: 'DWORD' does not name a type
     DWORD dwTemplateMinLevel;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:8889:5: error: 'DWORD' does not name a type
     DWORD dwTemplateRecommended;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:8890:5: error: 'DWORD' does not name a type
     DWORD dwTemplateCurrentLevel;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:8891:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:8907:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetZoneAttributes(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:8911:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetZoneAttributes(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:8915:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetZoneCustomPolicy(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:8922:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetZoneCustomPolicy(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:8929:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetZoneActionPolicy(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:8936:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetZoneActionPolicy(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:8943:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE PromptAction(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:8950:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE LogAction(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:8956:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE CreateZoneEnumerator(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:8961:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetZoneAt(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:8966:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE DestroyZoneEnumerator(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:8969:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE CopyTemplatePoliciesToZone(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:9152:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInternetZoneManager_GetZoneAttributes_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:9160:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:9161:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInternetZoneManager_SetZoneAttributes_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:9169:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:9170:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInternetZoneManager_GetZoneCustomPolicy_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:9181:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:9182:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInternetZoneManager_SetZoneCustomPolicy_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:9193:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:9194:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInternetZoneManager_GetZoneActionPolicy_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:9205:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:9206:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInternetZoneManager_SetZoneActionPolicy_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:9217:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:9218:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInternetZoneManager_PromptAction_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:9229:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:9230:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInternetZoneManager_LogAction_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:9240:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:9241:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInternetZoneManager_CreateZoneEnumerator_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:9250:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:9251:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInternetZoneManager_GetZoneAt_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:9260:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:9261:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInternetZoneManager_DestroyZoneEnumerator_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:9268:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:9269:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IInternetZoneManager_CopyTemplatePoliciesToZone_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:9278:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:9902:5: error: 'ULONG' does not name a type
     ULONG cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:9905:5: error: 'DWORD' does not name a type
     DWORD dwVersionMS;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:9906:5: error: 'DWORD' does not name a type
     DWORD dwVersionLS;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:9907:5: error: 'DWORD' does not name a type
     DWORD dwStyle;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:9912:5: error: 'ULONG' does not name a type
     ULONG cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:9913:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:9914:5: error: 'DWORD' does not name a type
     DWORD dwAdState;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:9918:5: error: 'DWORD' does not name a type
     DWORD dwInstalledVersionMS;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:9919:5: error: 'DWORD' does not name a type
     DWORD dwInstalledVersionLS;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:9920:5: error: 'DWORD' does not name a type
     DWORD dwUpdateVersionMS;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:9921:5: error: 'DWORD' does not name a type
     DWORD dwUpdateVersionLS;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:9922:5: error: 'DWORD' does not name a type
     DWORD dwAdvertisedVersionMS;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:9923:5: error: 'DWORD' does not name a type
     DWORD dwAdvertisedVersionLS;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:9924:5: error: 'DWORD' does not name a type
     DWORD dwReserved;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:9939:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE ProcessSoftDist(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:9944:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetFirstCodeBase(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:9948:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetNextCodeBase(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:9952:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE AsyncInstallDistributionUnit(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10048:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ISoftDistExt_ProcessSoftDist_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10057:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10058:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ISoftDistExt_GetFirstCodeBase_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10066:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10067:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ISoftDistExt_GetNextCodeBase_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10075:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10076:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ISoftDistExt_AsyncInstallDistributionUnit_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10086:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10091:1: error: 'HRESULT' does not name a type
 STDAPI GetSoftwareUpdateInfo(LPCWSTR szDistUnit, LPSOFTDISTINFO psdi);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10092:1: error: 'HRESULT' does not name a type
 STDAPI SetSoftwareUpdateAdvertisementState(LPCWSTR szDistUnit, DWORD dwAdState, DWORD dwAdvertisedVersionMS, DWORD dwAdvertisedVersionLS);
 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:163:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10111:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetCatalogFile(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10114:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetJavaTrust(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10184:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICatalogFileInfo_GetCatalogFile_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10191:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10192:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE ICatalogFileInfo_GetJavaTrust_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10199:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10221:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE DoEncode(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10232:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE DoDecode(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10243:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetEncodingLevel(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10337:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IDataFilter_DoEncode_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10352:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10353:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IDataFilter_DoDecode_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10368:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10369:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IDataFilter_SetEncodingLevel_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10376:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10386:5: error: 'DWORD' does not name a type
     DWORD cbSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10390:5: error: 'DWORD' does not name a type
     DWORD dwFilterFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10402:5: error: 'ULONG' does not name a type
     ULONG ulTotalSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10403:5: error: 'ULONG' does not name a type
     ULONG ulavrPacketSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10404:5: error: 'ULONG' does not name a type
     ULONG ulConnectSpeed;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10405:5: error: 'ULONG' does not name a type
     ULONG ulProcessorSpeed;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10413:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE FindBestFilter(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10419:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetDefaultFilter(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10496:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IEncodingFilterFactory_FindBestFilter_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10506:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10507:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IEncodingFilterFactory_GetDefaultFilter_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10516:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10530:5: error: 'DWORD' does not name a type
     DWORD dwStructSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10545:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10568:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetWrapperCode(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10632:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IWrappedProtocol_GetWrapperCode_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10640:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10668:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE GetBindHandle(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10732:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IGetBindHandle_GetBindHandle_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10740:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10772:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Redirect(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10836:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IBindCallbackRedirect_Redirect_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10844:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10853:1: error: 'ULONG' does not name a type
 ULONG           __RPC_USER STGMEDIUM_UserSize     (ULONG *, ULONG, STGMEDIUM *);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10854:52: error: redefinition of 'unsigned char* STGMEDIUM_UserMarshal'
 unsigned char * __RPC_USER STGMEDIUM_UserMarshal  (ULONG *, unsigned char *, STGMEDIUM *);
                                                    ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:66:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14820:28: note: 'unsigned char* STGMEDIUM_UserMarshal' previously defined here
 unsigned char * __RPC_USER STGMEDIUM_UserMarshal  (ULONG *, unsigned char *, STGMEDIUM *);
                            ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:163:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10854:52: error: 'ULONG' was not declared in this scope
 unsigned char * __RPC_USER STGMEDIUM_UserMarshal  (ULONG *, unsigned char *, STGMEDIUM *);
                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10854:59: error: expected primary-expression before ',' token
 unsigned char * __RPC_USER STGMEDIUM_UserMarshal  (ULONG *, unsigned char *, STGMEDIUM *);
                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10854:61: error: expected primary-expression before 'unsigned'
 unsigned char * __RPC_USER STGMEDIUM_UserMarshal  (ULONG *, unsigned char *, STGMEDIUM *);
                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10854:88: error: expected primary-expression before '*' token
 unsigned char * __RPC_USER STGMEDIUM_UserMarshal  (ULONG *, unsigned char *, STGMEDIUM *);
                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10854:89: error: expected primary-expression before ')' token
 unsigned char * __RPC_USER STGMEDIUM_UserMarshal  (ULONG *, unsigned char *, STGMEDIUM *);
                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10855:52: error: redefinition of 'unsigned char* STGMEDIUM_UserUnmarshal'
 unsigned char * __RPC_USER STGMEDIUM_UserUnmarshal(ULONG *, unsigned char *, STGMEDIUM *);
                                                    ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:66:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14821:28: note: 'unsigned char* STGMEDIUM_UserUnmarshal' previously defined here
 unsigned char * __RPC_USER STGMEDIUM_UserUnmarshal(ULONG *, unsigned char *, STGMEDIUM *);
                            ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:163:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10855:52: error: 'ULONG' was not declared in this scope
 unsigned char * __RPC_USER STGMEDIUM_UserUnmarshal(ULONG *, unsigned char *, STGMEDIUM *);
                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10855:59: error: expected primary-expression before ',' token
 unsigned char * __RPC_USER STGMEDIUM_UserUnmarshal(ULONG *, unsigned char *, STGMEDIUM *);
                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10855:61: error: expected primary-expression before 'unsigned'
 unsigned char * __RPC_USER STGMEDIUM_UserUnmarshal(ULONG *, unsigned char *, STGMEDIUM *);
                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10855:88: error: expected primary-expression before '*' token
 unsigned char * __RPC_USER STGMEDIUM_UserUnmarshal(ULONG *, unsigned char *, STGMEDIUM *);
                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10855:89: error: expected primary-expression before ')' token
 unsigned char * __RPC_USER STGMEDIUM_UserUnmarshal(ULONG *, unsigned char *, STGMEDIUM *);
                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10856:52: error: variable or field 'STGMEDIUM_UserFree' declared void
 void            __RPC_USER STGMEDIUM_UserFree     (ULONG *, STGMEDIUM *);
                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10856:52: error: 'ULONG' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10856:59: error: expected primary-expression before ',' token
 void            __RPC_USER STGMEDIUM_UserFree     (ULONG *, STGMEDIUM *);
                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10856:71: error: expected primary-expression before '*' token
 void            __RPC_USER STGMEDIUM_UserFree     (ULONG *, STGMEDIUM *);
                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10856:72: error: expected primary-expression before ')' token
 void            __RPC_USER STGMEDIUM_UserFree     (ULONG *, STGMEDIUM *);
                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10857:1: error: 'ULONG' does not name a type
 ULONG           __RPC_USER CLIPFORMAT_UserSize     (ULONG *, ULONG, CLIPFORMAT *);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10858:53: error: redefinition of 'unsigned char* CLIPFORMAT_UserMarshal'
 unsigned char * __RPC_USER CLIPFORMAT_UserMarshal  (ULONG *, unsigned char *, CLIPFORMAT *);
                                                     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:66:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14816:28: note: 'unsigned char* CLIPFORMAT_UserMarshal' previously defined here
 unsigned char * __RPC_USER CLIPFORMAT_UserMarshal  (ULONG *, unsigned char *, CLIPFORMAT *);
                            ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:163:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10858:53: error: 'ULONG' was not declared in this scope
 unsigned char * __RPC_USER CLIPFORMAT_UserMarshal  (ULONG *, unsigned char *, CLIPFORMAT *);
                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10858:60: error: expected primary-expression before ',' token
 unsigned char * __RPC_USER CLIPFORMAT_UserMarshal  (ULONG *, unsigned char *, CLIPFORMAT *);
                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10858:62: error: expected primary-expression before 'unsigned'
 unsigned char * __RPC_USER CLIPFORMAT_UserMarshal  (ULONG *, unsigned char *, CLIPFORMAT *);
                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10858:90: error: expected primary-expression before '*' token
 unsigned char * __RPC_USER CLIPFORMAT_UserMarshal  (ULONG *, unsigned char *, CLIPFORMAT *);
                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10858:91: error: expected primary-expression before ')' token
 unsigned char * __RPC_USER CLIPFORMAT_UserMarshal  (ULONG *, unsigned char *, CLIPFORMAT *);
                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10859:53: error: redefinition of 'unsigned char* CLIPFORMAT_UserUnmarshal'
 unsigned char * __RPC_USER CLIPFORMAT_UserUnmarshal(ULONG *, unsigned char *, CLIPFORMAT *);
                                                     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:66:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objidl.h:14817:28: note: 'unsigned char* CLIPFORMAT_UserUnmarshal' previously defined here
 unsigned char * __RPC_USER CLIPFORMAT_UserUnmarshal(ULONG *, unsigned char *, CLIPFORMAT *);
                            ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:163:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10859:53: error: 'ULONG' was not declared in this scope
 unsigned char * __RPC_USER CLIPFORMAT_UserUnmarshal(ULONG *, unsigned char *, CLIPFORMAT *);
                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10859:60: error: expected primary-expression before ',' token
 unsigned char * __RPC_USER CLIPFORMAT_UserUnmarshal(ULONG *, unsigned char *, CLIPFORMAT *);
                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10859:62: error: expected primary-expression before 'unsigned'
 unsigned char * __RPC_USER CLIPFORMAT_UserUnmarshal(ULONG *, unsigned char *, CLIPFORMAT *);
                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10859:90: error: expected primary-expression before '*' token
 unsigned char * __RPC_USER CLIPFORMAT_UserUnmarshal(ULONG *, unsigned char *, CLIPFORMAT *);
                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10859:91: error: expected primary-expression before ')' token
 unsigned char * __RPC_USER CLIPFORMAT_UserUnmarshal(ULONG *, unsigned char *, CLIPFORMAT *);
                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10860:53: error: variable or field 'CLIPFORMAT_UserFree' declared void
 void            __RPC_USER CLIPFORMAT_UserFree     (ULONG *, CLIPFORMAT *);
                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10860:53: error: 'ULONG' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10860:60: error: expected primary-expression before ',' token
 void            __RPC_USER CLIPFORMAT_UserFree     (ULONG *, CLIPFORMAT *);
                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10860:73: error: expected primary-expression before '*' token
 void            __RPC_USER CLIPFORMAT_UserFree     (ULONG *, CLIPFORMAT *);
                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10860:74: error: expected primary-expression before ')' token
 void            __RPC_USER CLIPFORMAT_UserFree     (ULONG *, CLIPFORMAT *);
                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10861:1: error: 'ULONG' does not name a type
 ULONG           __RPC_USER HWND_UserSize     (ULONG *, ULONG, HWND *);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10862:47: error: redefinition of 'unsigned char* HWND_UserMarshal'
 unsigned char * __RPC_USER HWND_UserMarshal  (ULONG *, unsigned char *, HWND *);
                                               ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:288:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:163,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4631:28: note: 'unsigned char* HWND_UserMarshal' previously defined here
 unsigned char * __RPC_USER HWND_UserMarshal  (ULONG *, unsigned char *, HWND *);
                            ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:163:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10862:47: error: 'ULONG' was not declared in this scope
 unsigned char * __RPC_USER HWND_UserMarshal  (ULONG *, unsigned char *, HWND *);
                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10862:54: error: expected primary-expression before ',' token
 unsigned char * __RPC_USER HWND_UserMarshal  (ULONG *, unsigned char *, HWND *);
                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10862:56: error: expected primary-expression before 'unsigned'
 unsigned char * __RPC_USER HWND_UserMarshal  (ULONG *, unsigned char *, HWND *);
                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10862:78: error: expected primary-expression before '*' token
 unsigned char * __RPC_USER HWND_UserMarshal  (ULONG *, unsigned char *, HWND *);
                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10862:79: error: expected primary-expression before ')' token
 unsigned char * __RPC_USER HWND_UserMarshal  (ULONG *, unsigned char *, HWND *);
                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10863:47: error: redefinition of 'unsigned char* HWND_UserUnmarshal'
 unsigned char * __RPC_USER HWND_UserUnmarshal(ULONG *, unsigned char *, HWND *);
                                               ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:288:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:163,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleidl.h:4632:28: note: 'unsigned char* HWND_UserUnmarshal' previously defined here
 unsigned char * __RPC_USER HWND_UserUnmarshal(ULONG *, unsigned char *, HWND *);
                            ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:163:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10863:47: error: 'ULONG' was not declared in this scope
 unsigned char * __RPC_USER HWND_UserUnmarshal(ULONG *, unsigned char *, HWND *);
                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10863:54: error: expected primary-expression before ',' token
 unsigned char * __RPC_USER HWND_UserUnmarshal(ULONG *, unsigned char *, HWND *);
                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10863:56: error: expected primary-expression before 'unsigned'
 unsigned char * __RPC_USER HWND_UserUnmarshal(ULONG *, unsigned char *, HWND *);
                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10863:78: error: expected primary-expression before '*' token
 unsigned char * __RPC_USER HWND_UserUnmarshal(ULONG *, unsigned char *, HWND *);
                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10863:79: error: expected primary-expression before ')' token
 unsigned char * __RPC_USER HWND_UserUnmarshal(ULONG *, unsigned char *, HWND *);
                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10864:47: error: variable or field 'HWND_UserFree' declared void
 void            __RPC_USER HWND_UserFree     (ULONG *, HWND *);
                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10864:47: error: 'ULONG' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10864:54: error: expected primary-expression before ',' token
 void            __RPC_USER HWND_UserFree     (ULONG *, HWND *);
                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10864:61: error: expected primary-expression before '*' token
 void            __RPC_USER HWND_UserFree     (ULONG *, HWND *);
                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10864:62: error: expected primary-expression before ')' token
 void            __RPC_USER HWND_UserFree     (ULONG *, HWND *);
                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10865:1: error: 'ULONG' does not name a type
 ULONG           __RPC_USER BSTR_UserSize     (ULONG *, ULONG, BSTR *);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10866:47: error: redefinition of 'unsigned char* BSTR_UserMarshal'
 unsigned char * __RPC_USER BSTR_UserMarshal  (ULONG *, unsigned char *, BSTR *);
                                               ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:24:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:290,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:163,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6394:28: note: 'unsigned char* BSTR_UserMarshal' previously defined here
 unsigned char * __RPC_USER BSTR_UserMarshal  (ULONG *, unsigned char *, BSTR *);
                            ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:163:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10866:47: error: 'ULONG' was not declared in this scope
 unsigned char * __RPC_USER BSTR_UserMarshal  (ULONG *, unsigned char *, BSTR *);
                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10866:54: error: expected primary-expression before ',' token
 unsigned char * __RPC_USER BSTR_UserMarshal  (ULONG *, unsigned char *, BSTR *);
                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10866:56: error: expected primary-expression before 'unsigned'
 unsigned char * __RPC_USER BSTR_UserMarshal  (ULONG *, unsigned char *, BSTR *);
                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10866:78: error: expected primary-expression before '*' token
 unsigned char * __RPC_USER BSTR_UserMarshal  (ULONG *, unsigned char *, BSTR *);
                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10866:79: error: expected primary-expression before ')' token
 unsigned char * __RPC_USER BSTR_UserMarshal  (ULONG *, unsigned char *, BSTR *);
                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10867:47: error: redefinition of 'unsigned char* BSTR_UserUnmarshal'
 unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *);
                                               ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:24:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:290,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:163,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6395:28: note: 'unsigned char* BSTR_UserUnmarshal' previously defined here
 unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *);
                            ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:163:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10867:47: error: 'ULONG' was not declared in this scope
 unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *);
                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10867:54: error: expected primary-expression before ',' token
 unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *);
                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10867:56: error: expected primary-expression before 'unsigned'
 unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *);
                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10867:78: error: expected primary-expression before '*' token
 unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *);
                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10867:79: error: expected primary-expression before ')' token
 unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *);
                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10868:47: error: variable or field 'BSTR_UserFree' declared void
 void            __RPC_USER BSTR_UserFree     (ULONG *, BSTR *);
                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10868:47: error: 'ULONG' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10868:54: error: expected primary-expression before ',' token
 void            __RPC_USER BSTR_UserFree     (ULONG *, BSTR *);
                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10868:61: error: expected primary-expression before '*' token
 void            __RPC_USER BSTR_UserFree     (ULONG *, BSTR *);
                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:10868:62: error: expected primary-expression before ')' token
 void            __RPC_USER BSTR_UserFree     (ULONG *, BSTR *);
                                                              ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:164:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:102:5: error: 'ULONG' does not name a type
     ULONG cElems;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:106:5: error: 'ULONG' does not name a type
     ULONG cElems;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:110:5: error: 'ULONG' does not name a type
     ULONG cElems;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:114:5: error: 'ULONG' does not name a type
     ULONG cElems;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:118:5: error: 'ULONG' does not name a type
     ULONG cElems;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:119:5: error: 'LONG' does not name a type
     LONG *pElems;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:122:5: error: 'ULONG' does not name a type
     ULONG cElems;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:123:5: error: 'ULONG' does not name a type
     ULONG *pElems;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:126:5: error: 'ULONG' does not name a type
     ULONG cElems;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:130:5: error: 'ULONG' does not name a type
     ULONG cElems;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:134:5: error: 'ULONG' does not name a type
     ULONG cElems;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:138:5: error: 'ULONG' does not name a type
     ULONG cElems;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:142:5: error: 'ULONG' does not name a type
     ULONG cElems;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:146:5: error: 'ULONG' does not name a type
     ULONG cElems;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:150:5: error: 'ULONG' does not name a type
     ULONG cElems;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:154:5: error: 'ULONG' does not name a type
     ULONG cElems;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:155:5: error: 'SCODE' does not name a type
     SCODE *pElems;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:158:5: error: 'ULONG' does not name a type
     ULONG cElems;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:162:5: error: 'ULONG' does not name a type
     ULONG cElems;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:166:5: error: 'ULONG' does not name a type
     ULONG cElems;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:170:5: error: 'ULONG' does not name a type
     ULONG cElems;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:174:5: error: 'ULONG' does not name a type
     ULONG cElems;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:178:5: error: 'ULONG' does not name a type
     ULONG cElems;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:182:5: error: 'ULONG' does not name a type
     ULONG cElems;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:186:5: error: 'ULONG' does not name a type
     ULONG cElems;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:215:9: error: 'LONG' does not name a type
         LONG lVal;
         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:216:9: error: 'ULONG' does not name a type
         ULONG ulVal;
         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:224:9: error: 'SCODE' does not name a type
         SCODE scode;
         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:267:9: error: 'LONG' does not name a type
         LONG *plVal;
         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:268:9: error: 'ULONG' does not name a type
         ULONG *pulVal;
         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:275:9: error: 'SCODE' does not name a type
         SCODE *pscode;
         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:405:5: error: 'ULONG' does not name a type
     ULONG ulKind;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:407:9: error: 'PROPID' does not name a type
         PROPID propid;
         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:414:5: error: 'PROPID' does not name a type
     PROPID propid;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:426:5: error: 'DWORD' does not name a type
     DWORD grfFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:430:5: error: 'DWORD' does not name a type
     DWORD dwOSVersion;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:444:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE ReadMultiple(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:449:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE WriteMultiple(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:455:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE DeleteMultiple(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:459:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE ReadPropertyNames(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:464:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE WritePropertyNames(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:469:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE DeletePropertyNames(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:473:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Commit(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:476:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Revert(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:479:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Enum(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:482:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetTimes(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:487:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE SetClass(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:490:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Stat(
             ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:164:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:652:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IPropertyStorage_ReadMultiple_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:661:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:662:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IPropertyStorage_WriteMultiple_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:672:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:673:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IPropertyStorage_DeleteMultiple_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:681:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:682:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IPropertyStorage_ReadPropertyNames_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:691:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:692:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IPropertyStorage_WritePropertyNames_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:701:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:702:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IPropertyStorage_DeletePropertyNames_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:710:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:711:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IPropertyStorage_Commit_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:718:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:719:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IPropertyStorage_Revert_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:725:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:726:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IPropertyStorage_Enum_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:733:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:734:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IPropertyStorage_SetTimes_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:743:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:744:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IPropertyStorage_SetClass_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:751:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:752:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IPropertyStorage_Stat_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:759:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:777:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Create(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:784:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Open(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:789:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Delete(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:792:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Enum(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:884:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IPropertySetStorage_Create_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:895:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:896:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IPropertySetStorage_Open_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:905:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:906:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IPropertySetStorage_Delete_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:913:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:914:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IPropertySetStorage_Enum_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:921:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:939:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Next(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:944:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Skip(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:947:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Reset(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:950:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Clone(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1037:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IEnumSTATPROPSTG_RemoteNext_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1046:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1047:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IEnumSTATPROPSTG_Skip_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1054:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1055:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IEnumSTATPROPSTG_Reset_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1061:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1062:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IEnumSTATPROPSTG_Clone_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1069:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1070:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK IEnumSTATPROPSTG_Next_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1075:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB IEnumSTATPROPSTG_Next_Stub(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1097:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Next(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1102:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Skip(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1105:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Reset(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1108:13: error: 'HRESULT' does not name a type
     virtual HRESULT STDMETHODCALLTYPE Clone(
             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1195:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IEnumSTATPROPSETSTG_RemoteNext_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1204:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1205:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IEnumSTATPROPSETSTG_Skip_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1212:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1213:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IEnumSTATPROPSETSTG_Reset_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1219:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1220:1: error: 'HRESULT' does not name a type
 HRESULT STDMETHODCALLTYPE IEnumSTATPROPSETSTG_Clone_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1227:5: error: 'DWORD' has not been declared
     DWORD* pdwStubPhase);
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1228:1: error: 'HRESULT' does not name a type
 HRESULT CALLBACK IEnumSTATPROPSETSTG_Next_Proxy(
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1233:1: error: 'HRESULT' does not name a type
 HRESULT __RPC_STUB IEnumSTATPROPSETSTG_Next_Stub(
 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:14:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1244:3: error: 'HRESULT' does not name a type
   WINOLEAPI PropVariantCopy(PROPVARIANT *pvarDest,const PROPVARIANT *pvarSrc);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1245:3: error: 'HRESULT' does not name a type
   WINOLEAPI PropVariantClear(PROPVARIANT *pvar);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1246:3: error: 'HRESULT' does not name a type
   WINOLEAPI FreePropVariantArray(ULONG cVariants, PROPVARIANT *rgvars);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1256:3: error: 'HRESULT' does not name a type
   WINOLEAPI StgCreatePropStg(IUnknown *pUnk, REFFMTID fmtid, const CLSID *pclsid, DWORD grfFlags, DWORD dwReserved, IPropertyStorage **ppPropStg);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1257:3: error: 'HRESULT' does not name a type
   WINOLEAPI StgOpenPropStg(IUnknown *pUnk, REFFMTID fmtid, DWORD grfFlags, DWORD dwReserved, IPropertyStorage **ppPropStg);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1258:3: error: 'HRESULT' does not name a type
   WINOLEAPI StgCreatePropSetStg(IStorage *pStorage, DWORD dwReserved, IPropertySetStorage **ppPropSetStg);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1262:3: error: 'HRESULT' does not name a type
   WINOLEAPI FmtIdToPropStgName(const FMTID *pfmtid, LPOLESTR oszName);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1263:3: error: 'HRESULT' does not name a type
   WINOLEAPI PropStgNameToFmtId(const LPOLESTR oszName, FMTID *pfmtid);
   ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:164:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1269:3: error: 'DWORD' does not name a type
   DWORD dwType;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1276:148: error: 'ULONG' has not been declared
 EXTERN_C SERIALIZEDPROPERTYVALUE * __stdcall StgConvertVariantToProperty(const PROPVARIANT *pvar, USHORT CodePage, SERIALIZEDPROPERTYVALUE *pprop, ULONG *pcb, PROPID pid, BOOLEAN fReserved, ULONG *pcIndirect);
                                                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1276:160: error: 'PROPID' has not been declared
 EXTERN_C SERIALIZEDPROPERTYVALUE * __stdcall StgConvertVariantToProperty(const PROPVARIANT *pvar, USHORT CodePage, SERIALIZEDPROPERTYVALUE *pprop, ULONG *pcb, PROPID pid, BOOLEAN fReserved, ULONG *pcIndirect);
                                                                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1276:191: error: 'ULONG' has not been declared
 EXTERN_C SERIALIZEDPROPERTYVALUE * __stdcall StgConvertVariantToProperty(const PROPVARIANT *pvar, USHORT CodePage, SERIALIZEDPROPERTYVALUE *pprop, ULONG *pcb, PROPID pid, BOOLEAN fReserved, ULONG *pcIndirect);
                                                                                                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1287:1: error: 'ULONG' does not name a type
 ULONG           __RPC_USER BSTR_UserSize     (ULONG *, ULONG, BSTR *);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1288:47: error: redefinition of 'unsigned char* BSTR_UserMarshal'
 unsigned char * __RPC_USER BSTR_UserMarshal  (ULONG *, unsigned char *, BSTR *);
                                               ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:24:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:290,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:163,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6394:28: note: 'unsigned char* BSTR_UserMarshal' previously defined here
 unsigned char * __RPC_USER BSTR_UserMarshal  (ULONG *, unsigned char *, BSTR *);
                            ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:164:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1288:47: error: 'ULONG' was not declared in this scope
 unsigned char * __RPC_USER BSTR_UserMarshal  (ULONG *, unsigned char *, BSTR *);
                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1288:54: error: expected primary-expression before ',' token
 unsigned char * __RPC_USER BSTR_UserMarshal  (ULONG *, unsigned char *, BSTR *);
                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1288:56: error: expected primary-expression before 'unsigned'
 unsigned char * __RPC_USER BSTR_UserMarshal  (ULONG *, unsigned char *, BSTR *);
                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1288:78: error: expected primary-expression before '*' token
 unsigned char * __RPC_USER BSTR_UserMarshal  (ULONG *, unsigned char *, BSTR *);
                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1288:79: error: expected primary-expression before ')' token
 unsigned char * __RPC_USER BSTR_UserMarshal  (ULONG *, unsigned char *, BSTR *);
                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1289:47: error: redefinition of 'unsigned char* BSTR_UserUnmarshal'
 unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *);
                                               ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/msxml.h:24:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/urlmon.h:290,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:163,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oaidl.h:6395:28: note: 'unsigned char* BSTR_UserUnmarshal' previously defined here
 unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *);
                            ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:164:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1289:47: error: 'ULONG' was not declared in this scope
 unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *);
                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1289:54: error: expected primary-expression before ',' token
 unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *);
                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1289:56: error: expected primary-expression before 'unsigned'
 unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *);
                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1289:78: error: expected primary-expression before '*' token
 unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *);
                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1289:79: error: expected primary-expression before ')' token
 unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *);
                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1290:47: error: variable or field 'BSTR_UserFree' declared void
 void            __RPC_USER BSTR_UserFree     (ULONG *, BSTR *);
                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1290:47: error: 'ULONG' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1290:54: error: expected primary-expression before ',' token
 void            __RPC_USER BSTR_UserFree     (ULONG *, BSTR *);
                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1290:61: error: expected primary-expression before '*' token
 void            __RPC_USER BSTR_UserFree     (ULONG *, BSTR *);
                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1290:62: error: expected primary-expression before ')' token
 void            __RPC_USER BSTR_UserFree     (ULONG *, BSTR *);
                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1291:1: error: 'ULONG' does not name a type
 ULONG           __RPC_USER LPSAFEARRAY_UserSize     (ULONG *, ULONG, LPSAFEARRAY *);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1292:54: error: 'ULONG' was not declared in this scope
 unsigned char * __RPC_USER LPSAFEARRAY_UserMarshal  (ULONG *, unsigned char *, LPSAFEARRAY *);
                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1292:61: error: expected primary-expression before ',' token
 unsigned char * __RPC_USER LPSAFEARRAY_UserMarshal  (ULONG *, unsigned char *, LPSAFEARRAY *);
                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1292:63: error: expected primary-expression before 'unsigned'
 unsigned char * __RPC_USER LPSAFEARRAY_UserMarshal  (ULONG *, unsigned char *, LPSAFEARRAY *);
                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1292:92: error: expected primary-expression before '*' token
 unsigned char * __RPC_USER LPSAFEARRAY_UserMarshal  (ULONG *, unsigned char *, LPSAFEARRAY *);
                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1292:93: error: expected primary-expression before ')' token
 unsigned char * __RPC_USER LPSAFEARRAY_UserMarshal  (ULONG *, unsigned char *, LPSAFEARRAY *);
                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1292:93: error: expression list treated as compound expression in initializer [-fpermissive]
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1293:54: error: 'ULONG' was not declared in this scope
 unsigned char * __RPC_USER LPSAFEARRAY_UserUnmarshal(ULONG *, unsigned char *, LPSAFEARRAY *);
                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1293:61: error: expected primary-expression before ',' token
 unsigned char * __RPC_USER LPSAFEARRAY_UserUnmarshal(ULONG *, unsigned char *, LPSAFEARRAY *);
                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1293:63: error: expected primary-expression before 'unsigned'
 unsigned char * __RPC_USER LPSAFEARRAY_UserUnmarshal(ULONG *, unsigned char *, LPSAFEARRAY *);
                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1293:92: error: expected primary-expression before '*' token
 unsigned char * __RPC_USER LPSAFEARRAY_UserUnmarshal(ULONG *, unsigned char *, LPSAFEARRAY *);
                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1293:93: error: expected primary-expression before ')' token
 unsigned char * __RPC_USER LPSAFEARRAY_UserUnmarshal(ULONG *, unsigned char *, LPSAFEARRAY *);
                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1293:93: error: expression list treated as compound expression in initializer [-fpermissive]
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1294:54: error: variable or field 'LPSAFEARRAY_UserFree' declared void
 void            __RPC_USER LPSAFEARRAY_UserFree     (ULONG *, LPSAFEARRAY *);
                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1294:54: error: 'ULONG' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1294:61: error: expected primary-expression before ',' token
 void            __RPC_USER LPSAFEARRAY_UserFree     (ULONG *, LPSAFEARRAY *);
                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1294:75: error: expected primary-expression before '*' token
 void            __RPC_USER LPSAFEARRAY_UserFree     (ULONG *, LPSAFEARRAY *);
                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/propidl.h:1294:76: error: expected primary-expression before ')' token
 void            __RPC_USER LPSAFEARRAY_UserFree     (ULONG *, LPSAFEARRAY *);
                                                                            ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:14:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:167:1: error: 'HRESULT' does not name a type
 WINOLEAPI CreateStdProgressIndicator (HWND hwndParent, LPCOLESTR pszTitle, IBindStatusCallback *pIbscCaller, IBindStatusCallback **ppIbsc);
 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:18:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:55:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI SafeArrayAllocDescriptor(UINT cDims,SAFEARRAY **ppsaOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:56:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI SafeArrayAllocDescriptorEx(VARTYPE vt,UINT cDims,SAFEARRAY **ppsaOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:57:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI SafeArrayAllocData(SAFEARRAY *psa);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:60:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI SafeArrayCopyData(SAFEARRAY *psaSource,SAFEARRAY *psaTarget);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:61:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI SafeArrayDestroyDescriptor(SAFEARRAY *psa);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:62:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI SafeArrayDestroyData(SAFEARRAY *psa);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:63:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI SafeArrayDestroy(SAFEARRAY *psa);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:64:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI SafeArrayRedim(SAFEARRAY *psa,SAFEARRAYBOUND *psaboundNew);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:67:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI SafeArrayGetUBound(SAFEARRAY *psa,UINT nDim,LONG *plUbound);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:68:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI SafeArrayGetLBound(SAFEARRAY *psa,UINT nDim,LONG *plLbound);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:69:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI SafeArrayLock(SAFEARRAY *psa);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:70:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI SafeArrayUnlock(SAFEARRAY *psa);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:71:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI SafeArrayAccessData(SAFEARRAY *psa,void HUGEP **ppvData);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:72:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI SafeArrayUnaccessData(SAFEARRAY *psa);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:73:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI SafeArrayGetElement(SAFEARRAY *psa,LONG *rgIndices,void *pv);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:74:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI SafeArrayPutElement(SAFEARRAY *psa,LONG *rgIndices,void *pv);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:75:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI SafeArrayCopy(SAFEARRAY *psa,SAFEARRAY **ppsaOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:76:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI SafeArrayPtrOfIndex(SAFEARRAY *psa,LONG *rgIndices,void **ppvData);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:77:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI SafeArraySetRecordInfo(SAFEARRAY *psa,IRecordInfo *prinfo);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:78:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI SafeArrayGetRecordInfo(SAFEARRAY *psa,IRecordInfo **prinfo);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:79:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI SafeArraySetIID(SAFEARRAY *psa,REFGUID guid);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:80:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI SafeArrayGetIID(SAFEARRAY *psa,GUID *pguid);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:81:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI SafeArrayGetVartype(SAFEARRAY *psa,VARTYPE *pvt);
 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:18:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:82:61: error: 'LONG' has not been declared
 WINOLEAUTAPI_(SAFEARRAY *) SafeArrayCreateVector(VARTYPE vt,LONG lLbound,ULONG cElements);
                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:82:74: error: 'ULONG' has not been declared
 WINOLEAUTAPI_(SAFEARRAY *) SafeArrayCreateVector(VARTYPE vt,LONG lLbound,ULONG cElements);
                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:83:63: error: 'LONG' has not been declared
 WINOLEAUTAPI_(SAFEARRAY *) SafeArrayCreateVectorEx(VARTYPE vt,LONG lLbound,ULONG cElements,PVOID pvExtra);
                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:83:76: error: 'ULONG' has not been declared
 WINOLEAUTAPI_(SAFEARRAY *) SafeArrayCreateVectorEx(VARTYPE vt,LONG lLbound,ULONG cElements,PVOID pvExtra);
                                                                            ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:18:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:85:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VariantClear(VARIANTARG *pvarg);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:86:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VariantCopy(VARIANTARG *pvargDest,VARIANTARG *pvargSrc);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:87:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VariantCopyInd(VARIANT *pvarDest,VARIANTARG *pvargSrc);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:88:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VariantChangeType(VARIANTARG *pvargDest,VARIANTARG *pvarSrc,USHORT wFlags,VARTYPE vt);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:89:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VariantChangeTypeEx(VARIANTARG *pvargDest,VARIANTARG *pvarSrc,LCID lcid,USHORT wFlags,VARTYPE vt);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:100:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VectorFromBstr (BSTR bstr,SAFEARRAY **ppsa);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:101:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI BstrFromVector (SAFEARRAY *psa,BSTR *pbstr);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:121:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUI1FromI2(SHORT sIn,BYTE *pbOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:122:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUI1FromI4(LONG lIn,BYTE *pbOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:123:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUI1FromI8(LONG64 i64In,BYTE *pbOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:124:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUI1FromR4(FLOAT fltIn,BYTE *pbOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:125:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUI1FromR8(DOUBLE dblIn,BYTE *pbOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:126:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUI1FromCy(CY cyIn,BYTE *pbOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:127:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUI1FromDate(DATE dateIn,BYTE *pbOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:128:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUI1FromStr(OLECHAR *strIn,LCID lcid,ULONG dwFlags,BYTE *pbOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:129:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUI1FromDisp(IDispatch *pdispIn,LCID lcid,BYTE *pbOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:130:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUI1FromBool(VARIANT_BOOL boolIn,BYTE *pbOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:131:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUI1FromI1(CHAR cIn,BYTE *pbOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:132:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUI1FromUI2(USHORT uiIn,BYTE *pbOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:133:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUI1FromUI4(ULONG ulIn,BYTE *pbOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:134:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUI1FromUI8(ULONG64 ui64In,BYTE *pbOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:135:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUI1FromDec(DECIMAL *pdecIn,BYTE *pbOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:136:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI2FromUI1(BYTE bIn,SHORT *psOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:137:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI2FromI4(LONG lIn,SHORT *psOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:138:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI2FromI8(LONG64 i64In,SHORT *psOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:139:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI2FromR4(FLOAT fltIn,SHORT *psOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:140:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI2FromR8(DOUBLE dblIn,SHORT *psOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:141:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI2FromCy(CY cyIn,SHORT *psOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:142:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI2FromDate(DATE dateIn,SHORT *psOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:143:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI2FromStr(OLECHAR *strIn,LCID lcid,ULONG dwFlags,SHORT *psOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:144:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI2FromDisp(IDispatch *pdispIn,LCID lcid,SHORT *psOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:145:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI2FromBool(VARIANT_BOOL boolIn,SHORT *psOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:146:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI2FromI1(CHAR cIn,SHORT *psOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:147:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI2FromUI2(USHORT uiIn,SHORT *psOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:148:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI2FromUI4(ULONG ulIn,SHORT *psOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:149:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI2FromUI8(ULONG64 ui64In,SHORT *psOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:150:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI2FromDec(DECIMAL *pdecIn,SHORT *psOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:151:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI4FromUI1(BYTE bIn,LONG *plOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:152:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI4FromI2(SHORT sIn,LONG *plOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:153:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI4FromI8(LONG64 i64In,LONG *plOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:154:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI4FromR4(FLOAT fltIn,LONG *plOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:155:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI4FromR8(DOUBLE dblIn,LONG *plOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:156:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI4FromCy(CY cyIn,LONG *plOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:157:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI4FromDate(DATE dateIn,LONG *plOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:158:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI4FromStr(OLECHAR *strIn,LCID lcid,ULONG dwFlags,LONG *plOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:159:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI4FromDisp(IDispatch *pdispIn,LCID lcid,LONG *plOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:160:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI4FromBool(VARIANT_BOOL boolIn,LONG *plOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:161:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI4FromI1(CHAR cIn,LONG *plOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:162:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI4FromUI2(USHORT uiIn,LONG *plOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:163:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI4FromUI4(ULONG ulIn,LONG *plOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:164:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI4FromUI8(ULONG64 ui64In,LONG *plOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:165:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI4FromDec(DECIMAL *pdecIn,LONG *plOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:166:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI4FromInt(INT intIn,LONG *plOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:167:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI8FromUI1(BYTE bIn,LONG64 *pi64Out);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:168:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI8FromI2(SHORT sIn,LONG64 *pi64Out);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:169:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI8FromI4(LONG lIn,LONG64 *pi64Out);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:170:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI8FromR4(FLOAT fltIn,LONG64 *pi64Out);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:171:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI8FromR8(DOUBLE dblIn,LONG64 *pi64Out);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:172:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI8FromCy(CY cyIn,LONG64 *pi64Out);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:173:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI8FromDate(DATE dateIn,LONG64 *pi64Out);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:174:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI8FromStr(OLECHAR *strIn,LCID lcid,unsigned __LONG32 dwFlags,LONG64 *pi64Out);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:175:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI8FromDisp(IDispatch *pdispIn,LCID lcid,LONG64 *pi64Out);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:176:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI8FromBool(VARIANT_BOOL boolIn,LONG64 *pi64Out);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:177:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI8FromI1(CHAR cIn,LONG64 *pi64Out);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:178:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI8FromUI2(USHORT uiIn,LONG64 *pi64Out);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:179:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI8FromUI4(ULONG ulIn,LONG64 *pi64Out);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:180:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI8FromUI8(ULONG64 ui64In,LONG64 *pi64Out);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:181:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI8FromDec(DECIMAL *pdecIn,LONG64 *pi64Out);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:182:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI8FromInt(INT intIn,LONG64 *pi64Out);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:183:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarR4FromUI1(BYTE bIn,FLOAT *pfltOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:184:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarR4FromI2(SHORT sIn,FLOAT *pfltOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:185:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarR4FromI4(LONG lIn,FLOAT *pfltOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:186:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarR4FromI8(LONG64 i64In,FLOAT *pfltOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:187:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarR4FromR8(DOUBLE dblIn,FLOAT *pfltOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:188:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarR4FromCy(CY cyIn,FLOAT *pfltOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:189:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarR4FromDate(DATE dateIn,FLOAT *pfltOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:190:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarR4FromStr(OLECHAR *strIn,LCID lcid,ULONG dwFlags,FLOAT *pfltOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:191:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarR4FromDisp(IDispatch *pdispIn,LCID lcid,FLOAT *pfltOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:192:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarR4FromBool(VARIANT_BOOL boolIn,FLOAT *pfltOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:193:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarR4FromI1(CHAR cIn,FLOAT *pfltOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:194:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarR4FromUI2(USHORT uiIn,FLOAT *pfltOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:195:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarR4FromUI4(ULONG ulIn,FLOAT *pfltOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:196:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarR4FromUI8(ULONG64 ui64In,FLOAT *pfltOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:197:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarR4FromDec(DECIMAL *pdecIn,FLOAT *pfltOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:198:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarR8FromUI1(BYTE bIn,DOUBLE *pdblOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:199:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarR8FromI2(SHORT sIn,DOUBLE *pdblOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:200:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarR8FromI4(LONG lIn,DOUBLE *pdblOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:201:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarR8FromI8(LONG64 i64In,DOUBLE *pdblOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:202:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarR8FromR4(FLOAT fltIn,DOUBLE *pdblOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:203:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarR8FromCy(CY cyIn,DOUBLE *pdblOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:204:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarR8FromDate(DATE dateIn,DOUBLE *pdblOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:205:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarR8FromStr(OLECHAR *strIn,LCID lcid,ULONG dwFlags,DOUBLE *pdblOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:206:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarR8FromDisp(IDispatch *pdispIn,LCID lcid,DOUBLE *pdblOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:207:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarR8FromBool(VARIANT_BOOL boolIn,DOUBLE *pdblOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:208:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarR8FromI1(CHAR cIn,DOUBLE *pdblOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:209:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarR8FromUI2(USHORT uiIn,DOUBLE *pdblOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:210:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarR8FromUI4(ULONG ulIn,DOUBLE *pdblOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:211:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarR8FromUI8(ULONG64 ui64In,DOUBLE *pdblOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:212:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarR8FromDec(DECIMAL *pdecIn,DOUBLE *pdblOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:213:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarDateFromUI1(BYTE bIn,DATE *pdateOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:214:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarDateFromI2(SHORT sIn,DATE *pdateOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:215:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarDateFromI4(LONG lIn,DATE *pdateOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:216:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarDateFromI8(LONG64 i64In,DATE *pdateOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:217:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarDateFromR4(FLOAT fltIn,DATE *pdateOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:218:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarDateFromR8(DOUBLE dblIn,DATE *pdateOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:219:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarDateFromCy(CY cyIn,DATE *pdateOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:220:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarDateFromStr(OLECHAR *strIn,LCID lcid,ULONG dwFlags,DATE *pdateOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:221:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarDateFromDisp(IDispatch *pdispIn,LCID lcid,DATE *pdateOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:222:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarDateFromBool(VARIANT_BOOL boolIn,DATE *pdateOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:223:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarDateFromI1(CHAR cIn,DATE *pdateOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:224:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarDateFromUI2(USHORT uiIn,DATE *pdateOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:225:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarDateFromUI4(ULONG ulIn,DATE *pdateOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:226:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarDateFromUI8(ULONG64 ui64In,DATE *pdateOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:227:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarDateFromDec(DECIMAL *pdecIn,DATE *pdateOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:228:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarCyFromUI1(BYTE bIn,CY *pcyOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:229:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarCyFromI2(SHORT sIn,CY *pcyOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:230:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarCyFromI4(LONG lIn,CY *pcyOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:231:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarCyFromI8(LONG64 i64In,CY *pcyOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:232:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarCyFromR4(FLOAT fltIn,CY *pcyOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:233:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarCyFromR8(DOUBLE dblIn,CY *pcyOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:234:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarCyFromDate(DATE dateIn,CY *pcyOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:235:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarCyFromStr(OLECHAR *strIn,LCID lcid,ULONG dwFlags,CY *pcyOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:236:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarCyFromDisp(IDispatch *pdispIn,LCID lcid,CY *pcyOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:237:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarCyFromBool(VARIANT_BOOL boolIn,CY *pcyOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:238:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarCyFromI1(CHAR cIn,CY *pcyOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:239:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarCyFromUI2(USHORT uiIn,CY *pcyOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:240:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarCyFromUI4(ULONG ulIn,CY *pcyOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:241:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarCyFromUI8(ULONG64 ui64In,CY *pcyOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:242:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarCyFromDec(DECIMAL *pdecIn,CY *pcyOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:243:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarBstrFromUI1(BYTE bVal,LCID lcid,ULONG dwFlags,BSTR *pbstrOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:244:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarBstrFromI2(SHORT iVal,LCID lcid,ULONG dwFlags,BSTR *pbstrOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:245:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarBstrFromI4(LONG lIn,LCID lcid,ULONG dwFlags,BSTR *pbstrOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:246:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarBstrFromI8(LONG64 i64In,LCID lcid,unsigned __LONG32 dwFlags,BSTR *pbstrOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:247:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarBstrFromR4(FLOAT fltIn,LCID lcid,ULONG dwFlags,BSTR *pbstrOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:248:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarBstrFromR8(DOUBLE dblIn,LCID lcid,ULONG dwFlags,BSTR *pbstrOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:249:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarBstrFromCy(CY cyIn,LCID lcid,ULONG dwFlags,BSTR *pbstrOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:250:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarBstrFromDate(DATE dateIn,LCID lcid,ULONG dwFlags,BSTR *pbstrOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:251:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarBstrFromDisp(IDispatch *pdispIn,LCID lcid,ULONG dwFlags,BSTR *pbstrOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:252:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarBstrFromBool(VARIANT_BOOL boolIn,LCID lcid,ULONG dwFlags,BSTR *pbstrOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:253:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarBstrFromI1(CHAR cIn,LCID lcid,ULONG dwFlags,BSTR *pbstrOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:254:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarBstrFromUI2(USHORT uiIn,LCID lcid,ULONG dwFlags,BSTR *pbstrOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:255:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarBstrFromUI4(ULONG ulIn,LCID lcid,ULONG dwFlags,BSTR *pbstrOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:256:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarBstrFromUI8(ULONG64 ui64In,LCID lcid,unsigned __LONG32 dwFlags,BSTR *pbstrOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:257:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarBstrFromDec(DECIMAL *pdecIn,LCID lcid,ULONG dwFlags,BSTR *pbstrOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:258:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarBoolFromUI1(BYTE bIn,VARIANT_BOOL *pboolOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:259:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarBoolFromI2(SHORT sIn,VARIANT_BOOL *pboolOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:260:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarBoolFromI4(LONG lIn,VARIANT_BOOL *pboolOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:261:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarBoolFromI8(LONG64 i64In,VARIANT_BOOL *pboolOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:262:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarBoolFromR4(FLOAT fltIn,VARIANT_BOOL *pboolOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:263:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarBoolFromR8(DOUBLE dblIn,VARIANT_BOOL *pboolOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:264:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarBoolFromDate(DATE dateIn,VARIANT_BOOL *pboolOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:265:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarBoolFromCy(CY cyIn,VARIANT_BOOL *pboolOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:266:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarBoolFromStr(OLECHAR *strIn,LCID lcid,ULONG dwFlags,VARIANT_BOOL *pboolOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:267:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarBoolFromDisp(IDispatch *pdispIn,LCID lcid,VARIANT_BOOL *pboolOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:268:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarBoolFromI1(CHAR cIn,VARIANT_BOOL *pboolOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:269:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarBoolFromUI2(USHORT uiIn,VARIANT_BOOL *pboolOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:270:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarBoolFromUI4(ULONG ulIn,VARIANT_BOOL *pboolOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:271:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarBoolFromUI8(ULONG64 i64In,VARIANT_BOOL *pboolOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:272:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarBoolFromDec(DECIMAL *pdecIn,VARIANT_BOOL *pboolOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:273:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI1FromUI1(BYTE bIn,CHAR *pcOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:274:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI1FromI2(SHORT uiIn,CHAR *pcOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:275:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI1FromI4(LONG lIn,CHAR *pcOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:276:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI1FromI8(LONG64 i64In,CHAR *pcOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:277:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI1FromR4(FLOAT fltIn,CHAR *pcOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:278:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI1FromR8(DOUBLE dblIn,CHAR *pcOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:279:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI1FromDate(DATE dateIn,CHAR *pcOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:280:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI1FromCy(CY cyIn,CHAR *pcOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:281:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI1FromStr(OLECHAR *strIn,LCID lcid,ULONG dwFlags,CHAR *pcOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:282:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI1FromDisp(IDispatch *pdispIn,LCID lcid,CHAR *pcOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:283:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI1FromBool(VARIANT_BOOL boolIn,CHAR *pcOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:284:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI1FromUI2(USHORT uiIn,CHAR *pcOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:285:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI1FromUI4(ULONG ulIn,CHAR *pcOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:286:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI1FromUI8(ULONG64 i64In,CHAR *pcOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:287:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI1FromDec(DECIMAL *pdecIn,CHAR *pcOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:288:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUI2FromUI1(BYTE bIn,USHORT *puiOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:289:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUI2FromI2(SHORT uiIn,USHORT *puiOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:290:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUI2FromI4(LONG lIn,USHORT *puiOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:291:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUI2FromI8(LONG64 i64In,USHORT *puiOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:292:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUI2FromR4(FLOAT fltIn,USHORT *puiOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:293:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUI2FromR8(DOUBLE dblIn,USHORT *puiOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:294:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUI2FromDate(DATE dateIn,USHORT *puiOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:295:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUI2FromCy(CY cyIn,USHORT *puiOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:296:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUI2FromStr(OLECHAR *strIn,LCID lcid,ULONG dwFlags,USHORT *puiOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:297:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUI2FromDisp(IDispatch *pdispIn,LCID lcid,USHORT *puiOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:298:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUI2FromBool(VARIANT_BOOL boolIn,USHORT *puiOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:299:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUI2FromI1(CHAR cIn,USHORT *puiOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:300:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUI2FromUI4(ULONG ulIn,USHORT *puiOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:301:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUI2FromUI8(ULONG64 i64In,USHORT *puiOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:302:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUI2FromDec(DECIMAL *pdecIn,USHORT *puiOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:303:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUI4FromUI1(BYTE bIn,ULONG *pulOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:304:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUI4FromI2(SHORT uiIn,ULONG *pulOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:305:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUI4FromI4(LONG lIn,ULONG *pulOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:306:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUI4FromI8(LONG64 i64In,ULONG *plOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:307:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUI4FromR4(FLOAT fltIn,ULONG *pulOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:308:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUI4FromR8(DOUBLE dblIn,ULONG *pulOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:309:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUI4FromDate(DATE dateIn,ULONG *pulOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:310:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUI4FromCy(CY cyIn,ULONG *pulOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:311:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUI4FromStr(OLECHAR *strIn,LCID lcid,ULONG dwFlags,ULONG *pulOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:312:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUI4FromDisp(IDispatch *pdispIn,LCID lcid,ULONG *pulOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:313:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUI4FromBool(VARIANT_BOOL boolIn,ULONG *pulOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:314:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUI4FromI1(CHAR cIn,ULONG *pulOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:315:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUI4FromUI2(USHORT uiIn,ULONG *pulOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:316:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUI4FromUI8(ULONG64 ui64In,ULONG *plOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:317:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUI4FromDec(DECIMAL *pdecIn,ULONG *pulOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:318:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUI8FromUI1(BYTE bIn,ULONG64 *pi64Out);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:319:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUI8FromI2(SHORT sIn,ULONG64 *pi64Out);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:320:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUI8FromI4(LONG lIn,ULONG64 *pi64Out);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:321:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUI8FromI8(LONG64 ui64In,ULONG64 *pi64Out);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:322:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUI8FromR4(FLOAT fltIn,ULONG64 *pi64Out);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:323:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUI8FromR8(DOUBLE dblIn,ULONG64 *pi64Out);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:324:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUI8FromCy(CY cyIn,ULONG64 *pi64Out);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:325:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUI8FromDate(DATE dateIn,ULONG64 *pi64Out);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:326:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUI8FromStr(OLECHAR *strIn,LCID lcid,unsigned __LONG32 dwFlags,ULONG64 *pi64Out);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:327:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUI8FromDisp(IDispatch *pdispIn,LCID lcid,ULONG64 *pi64Out);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:328:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUI8FromBool(VARIANT_BOOL boolIn,ULONG64 *pi64Out);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:329:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUI8FromI1(CHAR cIn,ULONG64 *pi64Out);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:330:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUI8FromUI2(USHORT uiIn,ULONG64 *pi64Out);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:331:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUI8FromUI4(ULONG ulIn,ULONG64 *pi64Out);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:332:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUI8FromDec(DECIMAL *pdecIn,ULONG64 *pi64Out);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:333:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUI8FromInt(INT intIn,ULONG64 *pi64Out);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:334:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarDecFromUI1(BYTE bIn,DECIMAL *pdecOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:335:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarDecFromI2(SHORT uiIn,DECIMAL *pdecOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:336:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarDecFromI4(LONG lIn,DECIMAL *pdecOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:337:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarDecFromI8(LONG64 i64In,DECIMAL *pdecOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:338:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarDecFromR4(FLOAT fltIn,DECIMAL *pdecOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:339:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarDecFromR8(DOUBLE dblIn,DECIMAL *pdecOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:340:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarDecFromDate(DATE dateIn,DECIMAL *pdecOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:341:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarDecFromCy(CY cyIn,DECIMAL *pdecOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:342:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarDecFromStr(OLECHAR *strIn,LCID lcid,ULONG dwFlags,DECIMAL *pdecOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:343:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarDecFromDisp(IDispatch *pdispIn,LCID lcid,DECIMAL *pdecOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:344:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarDecFromBool(VARIANT_BOOL boolIn,DECIMAL *pdecOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:345:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarDecFromI1(CHAR cIn,DECIMAL *pdecOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:346:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarDecFromUI2(USHORT uiIn,DECIMAL *pdecOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:347:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarDecFromUI4(ULONG ulIn,DECIMAL *pdecOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:348:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarDecFromUI8(ULONG64 ui64In,DECIMAL *pdecOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:353:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI4FromI8(LONG64 i64In,LONG *plOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:354:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarI4FromUI8(ULONG64 ui64In,LONG *plOut);
 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:18:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:424:3: error: 'ULONG' does not name a type
   ULONG dwInFlags;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:425:3: error: 'ULONG' does not name a type
   ULONG dwOutFlags;
   ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:18:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:462:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarParseNumFromStr(OLECHAR *strIn,LCID lcid,ULONG dwFlags,NUMPARSE *pnumprs,BYTE *rgbDig);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:463:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarNumFromParseNum(NUMPARSE *pnumprs,BYTE *rgbDig,ULONG dwVtBits,VARIANT *pvar);
 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:464:1: error: 'HRESULT' does not name a type
 STDAPI VarAdd(LPVARIANT pvarLeft,LPVARIANT pvarRight,LPVARIANT pvarResult);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:465:1: error: 'HRESULT' does not name a type
 STDAPI VarAnd(LPVARIANT pvarLeft,LPVARIANT pvarRight,LPVARIANT pvarResult);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:466:1: error: 'HRESULT' does not name a type
 STDAPI VarCat(LPVARIANT pvarLeft,LPVARIANT pvarRight,LPVARIANT pvarResult);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:467:1: error: 'HRESULT' does not name a type
 STDAPI VarDiv(LPVARIANT pvarLeft,LPVARIANT pvarRight,LPVARIANT pvarResult);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:468:1: error: 'HRESULT' does not name a type
 STDAPI VarEqv(LPVARIANT pvarLeft,LPVARIANT pvarRight,LPVARIANT pvarResult);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:469:1: error: 'HRESULT' does not name a type
 STDAPI VarIdiv(LPVARIANT pvarLeft,LPVARIANT pvarRight,LPVARIANT pvarResult);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:470:1: error: 'HRESULT' does not name a type
 STDAPI VarImp(LPVARIANT pvarLeft,LPVARIANT pvarRight,LPVARIANT pvarResult);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:471:1: error: 'HRESULT' does not name a type
 STDAPI VarMod(LPVARIANT pvarLeft,LPVARIANT pvarRight,LPVARIANT pvarResult);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:472:1: error: 'HRESULT' does not name a type
 STDAPI VarMul(LPVARIANT pvarLeft,LPVARIANT pvarRight,LPVARIANT pvarResult);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:473:1: error: 'HRESULT' does not name a type
 STDAPI VarOr(LPVARIANT pvarLeft,LPVARIANT pvarRight,LPVARIANT pvarResult);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:474:1: error: 'HRESULT' does not name a type
 STDAPI VarPow(LPVARIANT pvarLeft,LPVARIANT pvarRight,LPVARIANT pvarResult);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:475:1: error: 'HRESULT' does not name a type
 STDAPI VarSub(LPVARIANT pvarLeft,LPVARIANT pvarRight,LPVARIANT pvarResult);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:476:1: error: 'HRESULT' does not name a type
 STDAPI VarXor(LPVARIANT pvarLeft,LPVARIANT pvarRight,LPVARIANT pvarResult);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:477:1: error: 'HRESULT' does not name a type
 STDAPI VarAbs(LPVARIANT pvarIn,LPVARIANT pvarResult);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:478:1: error: 'HRESULT' does not name a type
 STDAPI VarFix(LPVARIANT pvarIn,LPVARIANT pvarResult);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:479:1: error: 'HRESULT' does not name a type
 STDAPI VarInt(LPVARIANT pvarIn,LPVARIANT pvarResult);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:480:1: error: 'HRESULT' does not name a type
 STDAPI VarNeg(LPVARIANT pvarIn,LPVARIANT pvarResult);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:481:1: error: 'HRESULT' does not name a type
 STDAPI VarNot(LPVARIANT pvarIn,LPVARIANT pvarResult);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:482:1: error: 'HRESULT' does not name a type
 STDAPI VarRound(LPVARIANT pvarIn,int cDecimals,LPVARIANT pvarResult);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:483:1: error: 'HRESULT' does not name a type
 STDAPI VarCmp(LPVARIANT pvarLeft,LPVARIANT pvarRight,LCID lcid,ULONG dwFlags);
 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:18:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:487:19: error: 'HRESULT' does not name a type
   static __inline HRESULT WINAPI VarCmp(LPVARIANT pvarLeft,LPVARIANT pvarRight,LCID lcid) { return VarCmp(pvarLeft,pvarRight,lcid,0); }
                   ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/minwindef.h:146:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windef.h:8,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:69,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:491:1: error: 'HRESULT' does not name a type
 STDAPI VarDecAdd(LPDECIMAL pdecLeft,LPDECIMAL pdecRight,LPDECIMAL pdecResult);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:492:1: error: 'HRESULT' does not name a type
 STDAPI VarDecDiv(LPDECIMAL pdecLeft,LPDECIMAL pdecRight,LPDECIMAL pdecResult);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:493:1: error: 'HRESULT' does not name a type
 STDAPI VarDecMul(LPDECIMAL pdecLeft,LPDECIMAL pdecRight,LPDECIMAL pdecResult);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:494:1: error: 'HRESULT' does not name a type
 STDAPI VarDecSub(LPDECIMAL pdecLeft,LPDECIMAL pdecRight,LPDECIMAL pdecResult);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:495:1: error: 'HRESULT' does not name a type
 STDAPI VarDecAbs(LPDECIMAL pdecIn,LPDECIMAL pdecResult);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:496:1: error: 'HRESULT' does not name a type
 STDAPI VarDecFix(LPDECIMAL pdecIn,LPDECIMAL pdecResult);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:497:1: error: 'HRESULT' does not name a type
 STDAPI VarDecInt(LPDECIMAL pdecIn,LPDECIMAL pdecResult);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:498:1: error: 'HRESULT' does not name a type
 STDAPI VarDecNeg(LPDECIMAL pdecIn,LPDECIMAL pdecResult);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:499:1: error: 'HRESULT' does not name a type
 STDAPI VarDecRound(LPDECIMAL pdecIn,int cDecimals,LPDECIMAL pdecResult);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:500:1: error: 'HRESULT' does not name a type
 STDAPI VarDecCmp(LPDECIMAL pdecLeft,LPDECIMAL pdecRight);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:501:1: error: 'HRESULT' does not name a type
 STDAPI VarDecCmpR8(LPDECIMAL pdecLeft,double dblRight);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:502:1: error: 'HRESULT' does not name a type
 STDAPI VarCyAdd(CY cyLeft,CY cyRight,LPCY pcyResult);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:503:1: error: 'HRESULT' does not name a type
 STDAPI VarCyMul(CY cyLeft,CY cyRight,LPCY pcyResult);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:504:1: error: 'HRESULT' does not name a type
 STDAPI VarCyMulI4(CY cyLeft,__LONG32 lRight,LPCY pcyResult);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:505:1: error: 'HRESULT' does not name a type
 STDAPI VarCyMulI8(CY cyLeft,LONG64 lRight,LPCY pcyResult);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:506:1: error: 'HRESULT' does not name a type
 STDAPI VarCySub(CY cyLeft,CY cyRight,LPCY pcyResult);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:507:1: error: 'HRESULT' does not name a type
 STDAPI VarCyAbs(CY cyIn,LPCY pcyResult);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:508:1: error: 'HRESULT' does not name a type
 STDAPI VarCyFix(CY cyIn,LPCY pcyResult);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:509:1: error: 'HRESULT' does not name a type
 STDAPI VarCyInt(CY cyIn,LPCY pcyResult);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:510:1: error: 'HRESULT' does not name a type
 STDAPI VarCyNeg(CY cyIn,LPCY pcyResult);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:511:1: error: 'HRESULT' does not name a type
 STDAPI VarCyRound(CY cyIn,int cDecimals,LPCY pcyResult);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:512:1: error: 'HRESULT' does not name a type
 STDAPI VarCyCmp(CY cyLeft,CY cyRight);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:513:1: error: 'HRESULT' does not name a type
 STDAPI VarCyCmpR8(CY cyLeft,double dblRight);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:514:1: error: 'HRESULT' does not name a type
 STDAPI VarBstrCat(BSTR bstrLeft,BSTR bstrRight,LPBSTR pbstrResult);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:515:1: error: 'HRESULT' does not name a type
 STDAPI VarBstrCmp(BSTR bstrLeft,BSTR bstrRight,LCID lcid,ULONG dwFlags);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:516:1: error: 'HRESULT' does not name a type
 STDAPI VarR8Pow(double dblLeft,double dblRight,double *pdblResult);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:517:1: error: 'HRESULT' does not name a type
 STDAPI VarR4CmpR8(float fltLeft,double dblRight);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:518:1: error: 'HRESULT' does not name a type
 STDAPI VarR8Round(double dblIn,int cDecimals,double *pdblResult);
 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:18:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:532:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarDateFromUdate(UDATE *pudateIn,ULONG dwFlags,DATE *pdateOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:533:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarDateFromUdateEx(UDATE *pudateIn,LCID lcid,ULONG dwFlags,DATE *pdateOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:534:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarUdateFromDate(DATE dateIn,ULONG dwFlags,UDATE *pudateOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:535:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI GetAltMonthNames(LCID lcid,LPOLESTR **prgp);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:536:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarFormat(LPVARIANT pvarIn,LPOLESTR pstrFormat,int iFirstDay,int iFirstWeek,ULONG dwFlags,BSTR *pbstrOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:537:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarFormatDateTime(LPVARIANT pvarIn,int iNamedFormat,ULONG dwFlags,BSTR *pbstrOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:538:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarFormatNumber(LPVARIANT pvarIn,int iNumDig,int iIncLead,int iUseParens,int iGroup,ULONG dwFlags,BSTR *pbstrOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:539:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarFormatPercent(LPVARIANT pvarIn,int iNumDig,int iIncLead,int iUseParens,int iGroup,ULONG dwFlags,BSTR *pbstrOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:540:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarFormatCurrency(LPVARIANT pvarIn,int iNumDig,int iIncLead,int iUseParens,int iGroup,ULONG dwFlags,BSTR *pbstrOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:541:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarWeekdayName(int iWeekday,int fAbbrev,int iFirstDay,ULONG dwFlags,BSTR *pbstrOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:542:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarMonthName(int iMonth,int fAbbrev,ULONG dwFlags,BSTR *pbstrOut);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:543:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarFormatFromTokens(LPVARIANT pvarIn,LPOLESTR pstrFormat,LPBYTE pbTokCur,ULONG dwFlags,BSTR *pbstrOut,LCID lcid);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:544:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI VarTokenizeFormatString(LPOLESTR pstrFormat,LPBYTE rgbTok,int cbTok,int iFirstDay,int iFirstWeek,LCID lcid,int *pcbActual);
 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:18:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:552:9: error: 'LONG' does not name a type
 typedef LONG DISPID;
         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:553:9: error: 'DISPID' does not name a type
 typedef DISPID MEMBERID;
         ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:18:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:581:1: error: 'ULONG' does not name a type
 WINOLEAUTAPI_(ULONG) LHashValOfNameSysA(SYSKIND syskind,LCID lcid,LPCSTR szName);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:582:1: error: 'ULONG' does not name a type
 WINOLEAUTAPI_(ULONG) LHashValOfNameSys(SYSKIND syskind,LCID lcid,const OLECHAR *szName);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:588:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI LoadTypeLib(const OLECHAR *szFile,ITypeLib **pptlib);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:598:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI LoadTypeLibEx(LPCOLESTR szFile,REGKIND regkind,ITypeLib **pptlib);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:599:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI LoadRegTypeLib(REFGUID rguid,WORD wVerMajor,WORD wVerMinor,LCID lcid,ITypeLib **pptlib);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:600:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI QueryPathOfRegTypeLib(REFGUID guid,USHORT wMaj,USHORT wMin,LCID lcid,LPBSTR lpbstrPathName);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:601:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI RegisterTypeLib(ITypeLib *ptlib,OLECHAR *szFullPath,OLECHAR *szHelpDir);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:602:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI UnRegisterTypeLib(REFGUID libID,WORD wVerMajor,WORD wVerMinor,LCID lcid,SYSKIND syskind);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:603:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI CreateTypeLib(SYSKIND syskind,const OLECHAR *szFile,ICreateTypeLib **ppctlib);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:604:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI CreateTypeLib2(SYSKIND syskind,LPCOLESTR szFile,ICreateTypeLib2 **ppctlib);
 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:18:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:619:3: error: 'DISPID' does not name a type
   DISPID dispid;
   ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:18:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:632:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI DispGetParam(DISPPARAMS *pdispparams,UINT position,VARTYPE vtTarg,VARIANT *pvarResult,UINT *puArgErr);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:633:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI DispGetIDsOfNames(ITypeInfo *ptinfo,OLECHAR **rgszNames,UINT cNames,DISPID *rgdispid);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:634:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI DispInvoke(void *_this,ITypeInfo *ptinfo,DISPID dispidMember,WORD wFlags,DISPPARAMS *pparams,VARIANT *pvarResult,EXCEPINFO *pexcepinfo,UINT *puArgErr);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:635:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI CreateDispTypeInfo(INTERFACEDATA *pidata,LCID lcid,ITypeInfo **pptinfo);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:636:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI CreateStdDispatch(IUnknown *punkOuter,void *pvThis,ITypeInfo *ptinfo,IUnknown **ppunkStdDisp);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:637:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI DispCallFunc(void *pvInstance,ULONG_PTR oVft,CALLCONV cc,VARTYPE vtReturn,UINT cActuals,VARTYPE *prgvt,VARIANTARG **prgpvarg,VARIANT *pvargResult);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:642:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI RegisterActiveObject(IUnknown *punk,REFCLSID rclsid,DWORD dwFlags,DWORD *pdwRegister);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:643:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI RevokeActiveObject(DWORD dwRegister,void *pvReserved);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:644:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI GetActiveObject(REFCLSID rclsid,void *pvReserved,IUnknown **ppunk);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:645:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI SetErrorInfo(ULONG dwReserved,IErrorInfo *perrinfo);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:646:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI GetErrorInfo(ULONG dwReserved,IErrorInfo **pperrinfo);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:647:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI CreateErrorInfo(ICreateErrorInfo **pperrinfo);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:648:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI GetRecordInfoFromTypeInfo(ITypeInfo *pTypeInfo,IRecordInfo **ppRecInfo);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:649:1: error: 'HRESULT' does not name a type
 WINOLEAUTAPI GetRecordInfoFromGuids(REFGUID rGuidTypeLib,ULONG uVerMajor,ULONG uVerMinor,LCID lcid,REFGUID rGuidTypeInfo,IRecordInfo **ppRecInfo);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/oleauto.h:650:1: error: 'ULONG' does not name a type
 WINOLEAUTAPI_(ULONG) OaBuildVersion(void);
 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:14:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:41:1: error: 'DWORD' does not name a type
 WINOLEAPI_ (DWORD) OleBuildVersion (VOID);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:43:1: error: 'HRESULT' does not name a type
 WINOLEAPI CreateDataAdviseHolder (LPDATAADVISEHOLDER *ppDAHolder);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:48:1: error: 'HRESULT' does not name a type
 WINOLEAPI ReadClassStg (LPSTORAGE pStg, CLSID *pclsid);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:49:1: error: 'HRESULT' does not name a type
 WINOLEAPI WriteClassStg (LPSTORAGE pStg, REFCLSID rclsid);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:50:1: error: 'HRESULT' does not name a type
 WINOLEAPI ReadClassStm (LPSTREAM pStm, CLSID *pclsid);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:51:1: error: 'HRESULT' does not name a type
 WINOLEAPI WriteClassStm (LPSTREAM pStm, REFCLSID rclsid);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:55:1: error: 'HRESULT' does not name a type
 WINOLEAPI WriteFmtUserTypeStg (LPSTORAGE pstg, CLIPFORMAT cf, LPOLESTR lpszUserType);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:56:1: error: 'HRESULT' does not name a type
 WINOLEAPI ReadFmtUserTypeStg (LPSTORAGE pstg, CLIPFORMAT *pcf, LPOLESTR *lplpszUserType);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:57:1: error: 'HRESULT' does not name a type
 WINOLEAPI OleInitialize (LPVOID pvReserved);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:59:1: error: 'HRESULT' does not name a type
 WINOLEAPI OleQueryLinkFromData (LPDATAOBJECT pSrcDataObject);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:60:1: error: 'HRESULT' does not name a type
 WINOLEAPI OleQueryCreateFromData (LPDATAOBJECT pSrcDataObject);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:61:1: error: 'HRESULT' does not name a type
 WINOLEAPI OleCreate (REFCLSID rclsid, REFIID riid, DWORD renderopt, LPFORMATETC pFormatEtc, LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, LPVOID *ppvObj);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:62:1: error: 'HRESULT' does not name a type
 WINOLEAPI OleCreateEx (REFCLSID rclsid, REFIID riid, DWORD dwFlags, DWORD renderopt, ULONG cFormats, DWORD *rgAdvf, LPFORMATETC rgFormatEtc, IAdviseSink *lpAdviseSink, DWORD *rgdwConnection, LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, LPVOID *ppvObj);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:63:1: error: 'HRESULT' does not name a type
 WINOLEAPI OleCreateFromData (LPDATAOBJECT pSrcDataObj, REFIID riid, DWORD renderopt, LPFORMATETC pFormatEtc, LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, LPVOID *ppvObj);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:64:1: error: 'HRESULT' does not name a type
 WINOLEAPI OleCreateFromDataEx (LPDATAOBJECT pSrcDataObj, REFIID riid, DWORD dwFlags, DWORD renderopt, ULONG cFormats, DWORD *rgAdvf, LPFORMATETC rgFormatEtc, IAdviseSink *lpAdviseSink, DWORD *rgdwConnection, LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, LPVOID *ppvObj);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:65:1: error: 'HRESULT' does not name a type
 WINOLEAPI OleCreateLinkFromData (LPDATAOBJECT pSrcDataObj, REFIID riid, DWORD renderopt, LPFORMATETC pFormatEtc, LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, LPVOID *ppvObj);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:66:1: error: 'HRESULT' does not name a type
 WINOLEAPI OleCreateLinkFromDataEx (LPDATAOBJECT pSrcDataObj, REFIID riid, DWORD dwFlags, DWORD renderopt, ULONG cFormats, DWORD *rgAdvf, LPFORMATETC rgFormatEtc, IAdviseSink *lpAdviseSink, DWORD *rgdwConnection, LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, LPVOID *ppvObj);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:67:1: error: 'HRESULT' does not name a type
 WINOLEAPI OleCreateStaticFromData (LPDATAOBJECT pSrcDataObj, REFIID iid, DWORD renderopt, LPFORMATETC pFormatEtc, LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, LPVOID *ppvObj);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:68:1: error: 'HRESULT' does not name a type
 WINOLEAPI OleCreateLink (LPMONIKER pmkLinkSrc, REFIID riid, DWORD renderopt, LPFORMATETC lpFormatEtc, LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, LPVOID *ppvObj);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:69:1: error: 'HRESULT' does not name a type
 WINOLEAPI OleCreateLinkEx (LPMONIKER pmkLinkSrc, REFIID riid, DWORD dwFlags, DWORD renderopt, ULONG cFormats, DWORD *rgAdvf, LPFORMATETC rgFormatEtc, IAdviseSink *lpAdviseSink, DWORD *rgdwConnection, LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, LPVOID *ppvObj);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:70:1: error: 'HRESULT' does not name a type
 WINOLEAPI OleCreateLinkToFile (LPCOLESTR lpszFileName, REFIID riid, DWORD renderopt, LPFORMATETC lpFormatEtc, LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, LPVOID *ppvObj);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:71:1: error: 'HRESULT' does not name a type
 WINOLEAPI OleCreateLinkToFileEx (LPCOLESTR lpszFileName, REFIID riid, DWORD dwFlags, DWORD renderopt, ULONG cFormats, DWORD *rgAdvf, LPFORMATETC rgFormatEtc, IAdviseSink *lpAdviseSink, DWORD *rgdwConnection, LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, LPVOID *ppvObj);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:72:1: error: 'HRESULT' does not name a type
 WINOLEAPI OleCreateFromFile (REFCLSID rclsid, LPCOLESTR lpszFileName, REFIID riid, DWORD renderopt, LPFORMATETC lpFormatEtc, LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, LPVOID *ppvObj);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:73:1: error: 'HRESULT' does not name a type
 WINOLEAPI OleCreateFromFileEx (REFCLSID rclsid, LPCOLESTR lpszFileName, REFIID riid, DWORD dwFlags, DWORD renderopt, ULONG cFormats, DWORD *rgAdvf, LPFORMATETC rgFormatEtc, IAdviseSink *lpAdviseSink, DWORD *rgdwConnection, LPOLECLIENTSITE pClientSite, LPSTORAGE pStg, LPVOID *ppvObj);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:74:1: error: 'HRESULT' does not name a type
 WINOLEAPI OleLoad (LPSTORAGE pStg, REFIID riid, LPOLECLIENTSITE pClientSite, LPVOID *ppvObj);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:75:1: error: 'HRESULT' does not name a type
 WINOLEAPI OleSave (LPPERSISTSTORAGE pPS, LPSTORAGE pStg, WINBOOL fSameAsLoad);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:76:1: error: 'HRESULT' does not name a type
 WINOLEAPI OleLoadFromStream (LPSTREAM pStm, REFIID iidInterface, LPVOID *ppvObj);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:77:1: error: 'HRESULT' does not name a type
 WINOLEAPI OleSaveToStream (LPPERSISTSTREAM pPStm, LPSTREAM pStm);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:78:1: error: 'HRESULT' does not name a type
 WINOLEAPI OleSetContainedObject (LPUNKNOWN pUnknown, WINBOOL fContained);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:79:1: error: 'HRESULT' does not name a type
 WINOLEAPI OleNoteObjectVisible (LPUNKNOWN pUnknown, WINBOOL fVisible);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:80:1: error: 'HRESULT' does not name a type
 WINOLEAPI RegisterDragDrop (HWND hwnd, LPDROPTARGET pDropTarget);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:81:1: error: 'HRESULT' does not name a type
 WINOLEAPI RevokeDragDrop (HWND hwnd);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:82:1: error: 'HRESULT' does not name a type
 WINOLEAPI DoDragDrop (LPDATAOBJECT pDataObj, LPDROPSOURCE pDropSource, DWORD dwOKEffects, LPDWORD pdwEffect);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:83:1: error: 'HRESULT' does not name a type
 WINOLEAPI OleSetClipboard (LPDATAOBJECT pDataObj);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:84:1: error: 'HRESULT' does not name a type
 WINOLEAPI OleGetClipboard (LPDATAOBJECT *ppDataObj);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:85:1: error: 'HRESULT' does not name a type
 WINOLEAPI OleFlushClipboard (void);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:86:1: error: 'HRESULT' does not name a type
 WINOLEAPI OleIsCurrentClipboard (LPDATAOBJECT pDataObj);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:88:1: error: 'HRESULT' does not name a type
 WINOLEAPI OleSetMenuDescriptor (HOLEMENU holemenu, HWND hwndFrame, HWND hwndActiveObject, LPOLEINPLACEFRAME lpFrame, LPOLEINPLACEACTIVEOBJECT lpActiveObj);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:89:1: error: 'HRESULT' does not name a type
 WINOLEAPI OleDestroyMenuDescriptor (HOLEMENU holemenu);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:90:1: error: 'HRESULT' does not name a type
 WINOLEAPI OleTranslateAccelerator (LPOLEINPLACEFRAME lpFrame, LPOLEINPLACEFRAMEINFO lpFrameInfo, LPMSG lpmsg);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:92:1: error: 'HRESULT' does not name a type
 WINOLEAPI OleDraw (LPUNKNOWN pUnknown, DWORD dwAspect, HDC hdcDraw, LPCRECT lprcBounds);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:93:1: error: 'HRESULT' does not name a type
 WINOLEAPI OleRun (LPUNKNOWN pUnknown);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:95:1: error: 'HRESULT' does not name a type
 WINOLEAPI OleLockRunning (LPUNKNOWN pUnknown, WINBOOL fLock, WINBOOL fLastUnlockCloses);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:97:1: error: 'HRESULT' does not name a type
 WINOLEAPI CreateOleAdviseHolder (LPOLEADVISEHOLDER *ppOAHolder);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:98:1: error: 'HRESULT' does not name a type
 WINOLEAPI OleCreateDefaultHandler (REFCLSID clsid, LPUNKNOWN pUnkOuter, REFIID riid, LPVOID *lplpObj);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:99:1: error: 'HRESULT' does not name a type
 WINOLEAPI OleCreateEmbeddingHelper (REFCLSID clsid, LPUNKNOWN pUnkOuter, DWORD flags, LPCLASSFACTORY pCF, REFIID riid, LPVOID *lplpObj);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:104:1: error: 'HRESULT' does not name a type
 WINOLEAPI OleRegGetUserType (REFCLSID clsid, DWORD dwFormOfType, LPOLESTR *pszUserType);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:105:1: error: 'HRESULT' does not name a type
 WINOLEAPI OleRegGetMiscStatus (REFCLSID clsid, DWORD dwAspect, DWORD *pdwStatus);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:106:1: error: 'HRESULT' does not name a type
 WINOLEAPI OleRegEnumFormatEtc (REFCLSID clsid, DWORD dwDirection, LPENUMFORMATETC *ppenum);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:107:1: error: 'HRESULT' does not name a type
 WINOLEAPI OleRegEnumVerbs (REFCLSID clsid, LPENUMOLEVERB *ppenum);
 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:112:19: error: expected identifier before '*' token
   DWORD (CALLBACK *Get) (LPOLESTREAM, void *, DWORD);
                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:112:47: error: 'DWORD' has not been declared
   DWORD (CALLBACK *Get) (LPOLESTREAM, void *, DWORD);
                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:112:52: error: 'DWORD' declared as function returning a function
   DWORD (CALLBACK *Get) (LPOLESTREAM, void *, DWORD);
                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:113:19: error: expected identifier before '*' token
   DWORD (CALLBACK *Put) (LPOLESTREAM, const void *, DWORD);
                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:113:53: error: 'DWORD' has not been declared
   DWORD (CALLBACK *Put) (LPOLESTREAM, const void *, DWORD);
                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:113:58: error: 'DWORD' declared as function returning a function
   DWORD (CALLBACK *Put) (LPOLESTREAM, const void *, DWORD);
                                                          ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:14:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:121:1: error: 'HRESULT' does not name a type
 WINOLEAPI OleConvertOLESTREAMToIStorage (LPOLESTREAM lpolestream, LPSTORAGE pstg, const DVTARGETDEVICE *ptd);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:122:1: error: 'HRESULT' does not name a type
 WINOLEAPI OleConvertIStorageToOLESTREAM (LPSTORAGE pstg, LPOLESTREAM lpolestream);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:126:1: error: 'HRESULT' does not name a type
 WINOLEAPI GetHGlobalFromILockBytes (LPLOCKBYTES plkbyt, HGLOBAL *phglobal);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:127:1: error: 'HRESULT' does not name a type
 WINOLEAPI CreateILockBytesOnHGlobal (HGLOBAL hGlobal, WINBOOL fDeleteOnRelease, LPLOCKBYTES *pplkbyt);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:131:1: error: 'HRESULT' does not name a type
 WINOLEAPI OleDoAutoConvert (LPSTORAGE pStg, LPCLSID pClsidNew);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:132:1: error: 'HRESULT' does not name a type
 WINOLEAPI OleGetAutoConvert (REFCLSID clsidOld, LPCLSID pClsidNew);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:133:1: error: 'HRESULT' does not name a type
 WINOLEAPI OleSetAutoConvert (REFCLSID clsidOld, REFCLSID clsidNew);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:137:1: error: 'HRESULT' does not name a type
 WINOLEAPI GetConvertStg (LPSTORAGE pStg);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:141:1: error: 'HRESULT' does not name a type
 WINOLEAPI SetConvertStg (LPSTORAGE pStg, WINBOOL fConvert);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:142:1: error: 'HRESULT' does not name a type
 WINOLEAPI OleConvertIStorageToOLESTREAMEx (LPSTORAGE pstg, CLIPFORMAT cfFormat, LONG lWidth, LONG lHeight, DWORD dwSize, LPSTGMEDIUM pmedium, LPOLESTREAM polestm);
 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:143:1: error: 'HRESULT' does not name a type
 WINOLEAPI OleConvertOLESTREAMToIStorageEx (LPOLESTREAM polestm, LPSTORAGE pstg, CLIPFORMAT *pcfFormat, LONG *plwWidth, LONG *plHeight, DWORD *pdwSize, LPSTGMEDIUM pmedium);
 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:11:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:198:5: error: 'DWORD' does not name a type
     DWORD Size;
     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:11:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:206:5: error: 'DWORD' does not name a type
     DEVICE_TYPE DeviceType;
     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:11:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:207:5: error: 'DWORD' does not name a type
     DWORD DeviceNumber;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:208:5: error: 'DWORD' does not name a type
     DWORD PartitionNumber;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:216:5: error: 'DWORD' does not name a type
     DWORD Length;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:228:5: error: 'DWORD' does not name a type
     DWORD MediaChangeCount;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:229:5: error: 'DWORD' does not name a type
     DWORD NewState;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:233:5: error: 'DWORD' does not name a type
     DWORD Version;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:234:5: error: 'DWORD' does not name a type
     DWORD Flags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:251:5: error: 'DWORD' does not name a type
     DWORD Operation;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:362:2: error: 'DWORD' does not name a type
  DWORD TracksPerCylinder;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:363:2: error: 'DWORD' does not name a type
  DWORD SectorsPerTrack;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:364:2: error: 'DWORD' does not name a type
  DWORD BytesPerSector;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:365:2: error: 'DWORD' does not name a type
  DWORD NumberMediaSides;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:366:2: error: 'DWORD' does not name a type
  DWORD MediaCharacteristics;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:371:2: error: 'DWORD' does not name a type
  DWORD TracksPerCylinder;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:372:2: error: 'DWORD' does not name a type
  DWORD SectorsPerTrack;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:373:2: error: 'DWORD' does not name a type
  DWORD BytesPerSector;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:374:2: error: 'DWORD' does not name a type
  DWORD NumberMediaSides;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:375:2: error: 'DWORD' does not name a type
  DWORD MediaCharacteristics;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:379:2: error: 'DWORD' does not name a type
  DWORD MediaCharacteristics;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:380:2: error: 'DWORD' does not name a type
  DWORD CurrentBlockSize;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:393:5: error: 'DWORD' does not name a type
     DWORD DeviceType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:394:5: error: 'DWORD' does not name a type
     DWORD MediaInfoCount;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:399:5: error: 'DWORD' does not name a type
     DWORD PredictFailure;
     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:11:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:499:3: error: 'DWORD' does not name a type
   DWORD StartCylinderNumber;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:500:3: error: 'DWORD' does not name a type
   DWORD EndCylinderNumber;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:501:3: error: 'DWORD' does not name a type
   DWORD StartHeadNumber;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:502:3: error: 'DWORD' does not name a type
   DWORD EndHeadNumber;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:510:3: error: 'DWORD' does not name a type
   DWORD StartCylinderNumber;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:511:3: error: 'DWORD' does not name a type
   DWORD EndCylinderNumber;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:512:3: error: 'DWORD' does not name a type
   DWORD StartHeadNumber;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:513:3: error: 'DWORD' does not name a type
   DWORD EndHeadNumber;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:522:3: error: 'DWORD' does not name a type
   DWORD TracksPerCylinder;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:523:3: error: 'DWORD' does not name a type
   DWORD SectorsPerTrack;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:524:3: error: 'DWORD' does not name a type
   DWORD BytesPerSector;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:532:3: error: 'DWORD' does not name a type
   DWORD HiddenSectors;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:533:3: error: 'DWORD' does not name a type
   DWORD PartitionNumber;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:545:3: error: 'DWORD' does not name a type
   DWORD PartitionCount;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:546:3: error: 'DWORD' does not name a type
   DWORD Signature;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:552:3: error: 'DWORD' does not name a type
   DWORD Length;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:558:3: error: 'DWORD' does not name a type
   DWORD BlockNumber[1];
   ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:11:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:591:3: error: 'DWORD' does not name a type
   DWORD HiddenSectors;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:607:3: error: 'DWORD' does not name a type
   DWORD MaxPartitionCount;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:611:3: error: 'DWORD' does not name a type
   DWORD Signature;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:630:3: error: 'DWORD' does not name a type
   DWORD PartitionNumber;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:642:3: error: 'DWORD' does not name a type
   DWORD MaxPartitionCount;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:646:3: error: 'DWORD' does not name a type
   DWORD Signature;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:650:3: error: 'DWORD' does not name a type
   DWORD PartitionStyle;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:651:3: error: 'DWORD' does not name a type
   DWORD PartitionCount;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:665:3: error: 'DWORD' does not name a type
   DWORD MaxCylinders;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:674:3: error: 'DWORD' does not name a type
   DWORD ExCylinders;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:675:3: error: 'DWORD' does not name a type
   DWORD ExHeads;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:676:3: error: 'DWORD' does not name a type
   DWORD ExSectorsPerTrack;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:683:3: error: 'DWORD' does not name a type
   DWORD SizeOfDetectInfo;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:694:3: error: 'DWORD' does not name a type
   DWORD SizeOfPartitionInfo;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:698:7: error: 'DWORD' does not name a type
       DWORD Signature;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:699:7: error: 'DWORD' does not name a type
       DWORD CheckSum;
       ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:11:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:717:3: error: 'DWORD' does not name a type
   DWORD ControllerNumber;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:718:3: error: 'DWORD' does not name a type
   DWORD DiskNumber;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:747:3: error: 'DWORD' does not name a type
   DWORD PartitionNumber;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:754:3: error: 'DWORD' does not name a type
   DWORD Reads;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:755:3: error: 'DWORD' does not name a type
   DWORD Writes;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:767:3: error: 'DWORD' does not name a type
   DWORD Granularity;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:768:3: error: 'DWORD' does not name a type
   DWORD Size;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:769:3: error: 'DWORD' does not name a type
   DWORD ReadCount;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:770:3: error: 'DWORD' does not name a type
   DWORD WriteCount;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:782:3: error: 'DWORD' does not name a type
   DWORD ReadCount;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:783:3: error: 'DWORD' does not name a type
   DWORD WriteCount;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:784:3: error: 'DWORD' does not name a type
   DWORD QueueDepth;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:785:3: error: 'DWORD' does not name a type
   DWORD SplitCount;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:787:3: error: 'DWORD' does not name a type
   DWORD StorageDeviceNumber;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:796:3: error: 'DWORD' does not name a type
   DWORD NumberOfBytes;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:804:3: error: 'DWORD' does not name a type
   DWORD BufferSize;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:822:3: error: 'DWORD' does not name a type
   DWORD NumberOfBins;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:823:3: error: 'DWORD' does not name a type
   DWORD TypeOfBin;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:829:3: error: 'DWORD' does not name a type
   DWORD BinCount;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:833:3: error: 'DWORD' does not name a type
   DWORD NumberOfBins;
   ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:11:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:843:3: error: 'DWORD' does not name a type
   DWORD fCapabilities;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:844:3: error: 'DWORD' does not name a type
   DWORD dwReserved[4];
   ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:11:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:874:3: error: 'DWORD' does not name a type
   DWORD cBufferSize;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:878:3: error: 'DWORD' does not name a type
   DWORD dwReserved[4];
   ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:11:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:888:3: error: 'DWORD' does not name a type
   DWORD dwReserved[2];
   ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:11:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:913:3: error: 'DWORD' does not name a type
   DWORD cBufferSize;
   ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:11:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:966:3: error: 'DWORD' does not name a type
   DWORD ElementAddress;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:971:3: error: 'DWORD' does not name a type
   DWORD NumberOfElements;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1037:3: error: 'DWORD' does not name a type
   DWORD Size;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1050:3: error: 'DWORD' does not name a type
   DWORD DriveCleanTimeout;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1051:3: error: 'DWORD' does not name a type
   DWORD Features0;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1052:3: error: 'DWORD' does not name a type
   DWORD Features1;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1064:3: error: 'DWORD' does not name a type
   DWORD Reserved2[2];
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1082:3: error: 'DWORD' does not name a type
   DWORD Control;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1093:3: error: 'DWORD' does not name a type
   DWORD Flags;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1094:3: error: 'DWORD' does not name a type
   DWORD ExceptionCode;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1105:3: error: 'DWORD' does not name a type
   DWORD Flags;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1106:3: error: 'DWORD' does not name a type
   DWORD ExceptionCode;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1172:3: error: 'DWORD' does not name a type
   DWORD ActionCode;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1177:3: error: 'DWORD' does not name a type
   DWORD NumberOfElements;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1302:3: error: 'DWORD' does not name a type
   DWORD PathNameLength;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1316:3: error: 'DWORD' does not name a type
   DWORD BytesPerSector;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1317:3: error: 'DWORD' does not name a type
   DWORD BytesPerCluster;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1318:3: error: 'DWORD' does not name a type
   DWORD BytesPerFileRecordSegment;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1319:3: error: 'DWORD' does not name a type
   DWORD ClustersPerFileRecordSegment;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1328:3: error: 'DWORD' does not name a type
   DWORD ByteCount;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1348:3: error: 'DWORD' does not name a type
   DWORD ExtentCount;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1362:3: error: 'DWORD' does not name a type
   DWORD FileRecordLength;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1370:3: error: 'DWORD' does not name a type
   DWORD ClusterCount;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1378:3: error: 'DWORD' does not name a type
   DWORD ClusterCount;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1383:3: error: 'DWORD' does not name a type
   DWORD Restart;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1388:3: error: 'DWORD' does not name a type
   DWORD NextEntryOffset;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1389:3: error: 'DWORD' does not name a type
   DWORD FileIndex;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1390:3: error: 'DWORD' does not name a type
   DWORD FileNameLength;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1407:3: error: 'DWORD' does not name a type
   DWORD ReasonMask;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1408:3: error: 'DWORD' does not name a type
   DWORD ReturnOnlyOnClose;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1415:3: error: 'DWORD' does not name a type
   DWORD RecordLength;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1422:3: error: 'DWORD' does not name a type
   DWORD Reason;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1423:3: error: 'DWORD' does not name a type
   DWORD SourceInfo;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1424:3: error: 'DWORD' does not name a type
   DWORD SecurityId;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1425:3: error: 'DWORD' does not name a type
   DWORD FileAttributes;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1468:3: error: 'DWORD' does not name a type
   DWORD DeleteFlags;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1477:3: error: 'DWORD' does not name a type
   DWORD UsnSourceInfo;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1479:3: error: 'DWORD' does not name a type
   DWORD HandleInfo;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1485:3: error: 'DWORD' does not name a type
   DWORD UsnSourceInfo;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1487:3: error: 'DWORD' does not name a type
   DWORD HandleInfo;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1503:3: error: 'ACCESS_MASK' does not name a type
   ACCESS_MASK DesiredAccess;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1504:3: error: 'DWORD' does not name a type
   DWORD SecurityIds[1];
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1511:3: error: 'DWORD' does not name a type
   DWORD Type;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1512:3: error: 'DWORD' does not name a type
   DWORD Count;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1521:3: error: 'DWORD' does not name a type
   DWORD SizeOfCompleteStructure;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1522:3: error: 'DWORD' does not name a type
   DWORD UserFileReads;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1523:3: error: 'DWORD' does not name a type
   DWORD UserFileReadBytes;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1524:3: error: 'DWORD' does not name a type
   DWORD UserDiskReads;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1525:3: error: 'DWORD' does not name a type
   DWORD UserFileWrites;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1526:3: error: 'DWORD' does not name a type
   DWORD UserFileWriteBytes;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1527:3: error: 'DWORD' does not name a type
   DWORD UserDiskWrites;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1528:3: error: 'DWORD' does not name a type
   DWORD MetaDataReads;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1529:3: error: 'DWORD' does not name a type
   DWORD MetaDataReadBytes;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1530:3: error: 'DWORD' does not name a type
   DWORD MetaDataDiskReads;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1531:3: error: 'DWORD' does not name a type
   DWORD MetaDataWrites;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1532:3: error: 'DWORD' does not name a type
   DWORD MetaDataWriteBytes;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1533:3: error: 'DWORD' does not name a type
   DWORD MetaDataDiskWrites;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1540:3: error: 'DWORD' does not name a type
   DWORD CreateHits;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1541:3: error: 'DWORD' does not name a type
   DWORD SuccessfulCreates;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1542:3: error: 'DWORD' does not name a type
   DWORD FailedCreates;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1543:3: error: 'DWORD' does not name a type
   DWORD NonCachedReads;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1544:3: error: 'DWORD' does not name a type
   DWORD NonCachedReadBytes;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1545:3: error: 'DWORD' does not name a type
   DWORD NonCachedWrites;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1546:3: error: 'DWORD' does not name a type
   DWORD NonCachedWriteBytes;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1547:3: error: 'DWORD' does not name a type
   DWORD NonCachedDiskReads;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1548:3: error: 'DWORD' does not name a type
   DWORD NonCachedDiskWrites;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1552:3: error: 'DWORD' does not name a type
   DWORD CreateHits;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1553:3: error: 'DWORD' does not name a type
   DWORD SuccessfulCreates;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1554:3: error: 'DWORD' does not name a type
   DWORD FailedCreates;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1555:3: error: 'DWORD' does not name a type
   DWORD NonCachedReads;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1556:3: error: 'DWORD' does not name a type
   DWORD NonCachedReadBytes;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1557:3: error: 'DWORD' does not name a type
   DWORD NonCachedWrites;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1558:3: error: 'DWORD' does not name a type
   DWORD NonCachedWriteBytes;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1559:3: error: 'DWORD' does not name a type
   DWORD NonCachedDiskReads;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1560:3: error: 'DWORD' does not name a type
   DWORD NonCachedDiskWrites;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1564:3: error: 'DWORD' does not name a type
   DWORD LogFileFullExceptions;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1565:3: error: 'DWORD' does not name a type
   DWORD OtherExceptions;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1566:3: error: 'DWORD' does not name a type
   DWORD MftReads;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1567:3: error: 'DWORD' does not name a type
   DWORD MftReadBytes;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1568:3: error: 'DWORD' does not name a type
   DWORD MftWrites;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1569:3: error: 'DWORD' does not name a type
   DWORD MftWriteBytes;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1579:3: error: 'DWORD' does not name a type
   DWORD Mft2Writes;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1580:3: error: 'DWORD' does not name a type
   DWORD Mft2WriteBytes;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1590:3: error: 'DWORD' does not name a type
   DWORD RootIndexReads;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1591:3: error: 'DWORD' does not name a type
   DWORD RootIndexReadBytes;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1592:3: error: 'DWORD' does not name a type
   DWORD RootIndexWrites;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1593:3: error: 'DWORD' does not name a type
   DWORD RootIndexWriteBytes;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1594:3: error: 'DWORD' does not name a type
   DWORD BitmapReads;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1595:3: error: 'DWORD' does not name a type
   DWORD BitmapReadBytes;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1596:3: error: 'DWORD' does not name a type
   DWORD BitmapWrites;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1597:3: error: 'DWORD' does not name a type
   DWORD BitmapWriteBytes;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1606:3: error: 'DWORD' does not name a type
   DWORD MftBitmapReads;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1607:3: error: 'DWORD' does not name a type
   DWORD MftBitmapReadBytes;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1608:3: error: 'DWORD' does not name a type
   DWORD MftBitmapWrites;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1609:3: error: 'DWORD' does not name a type
   DWORD MftBitmapWriteBytes;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1619:3: error: 'DWORD' does not name a type
   DWORD UserIndexReads;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1620:3: error: 'DWORD' does not name a type
   DWORD UserIndexReadBytes;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1621:3: error: 'DWORD' does not name a type
   DWORD UserIndexWrites;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1622:3: error: 'DWORD' does not name a type
   DWORD UserIndexWriteBytes;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1623:3: error: 'DWORD' does not name a type
   DWORD LogFileReads;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1624:3: error: 'DWORD' does not name a type
   DWORD LogFileReadBytes;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1625:3: error: 'DWORD' does not name a type
   DWORD LogFileWrites;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1626:3: error: 'DWORD' does not name a type
   DWORD LogFileWriteBytes;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1628:5: error: 'DWORD' does not name a type
     DWORD Calls;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1629:5: error: 'DWORD' does not name a type
     DWORD Clusters;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1630:5: error: 'DWORD' does not name a type
     DWORD Hints;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1631:5: error: 'DWORD' does not name a type
     DWORD RunsReturned;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1632:5: error: 'DWORD' does not name a type
     DWORD HintsHonored;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1633:5: error: 'DWORD' does not name a type
     DWORD HintsClusters;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1634:5: error: 'DWORD' does not name a type
     DWORD Cache;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1635:5: error: 'DWORD' does not name a type
     DWORD CacheClusters;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1636:5: error: 'DWORD' does not name a type
     DWORD CacheMiss;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1637:5: error: 'DWORD' does not name a type
     DWORD CacheMissClusters;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1668:3: error: 'DWORD' does not name a type
   DWORD EncryptionOperation;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1688:3: error: 'DWORD' does not name a type
   DWORD Length;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1693:3: error: 'DWORD' does not name a type
   DWORD OutputBufferOffset;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1694:3: error: 'DWORD' does not name a type
   DWORD BytesWithinFileSize;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1695:3: error: 'DWORD' does not name a type
   DWORD BytesWithinValidDataLength;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1702:3: error: 'DWORD' does not name a type
   DWORD DataBlockSize[ANYSIZE_ARRAY];
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1708:3: error: 'DWORD' does not name a type
   DWORD ByteLength;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1709:3: error: 'DWORD' does not name a type
   DWORD PlexNumber;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1713:3: error: 'DWORD' does not name a type
   DWORD SourceFileNameLength;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1714:3: error: 'DWORD' does not name a type
   DWORD DestinationFileNameLength;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1715:3: error: 'DWORD' does not name a type
   DWORD Flags;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1724:3: error: 'DWORD' does not name a type
   DWORD Version;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1725:3: error: 'DWORD' does not name a type
   DWORD Size;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1754:3: error: 'DWORD' does not name a type
   DWORD            Version;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1755:3: error: 'DWORD' does not name a type
   DWORD            Size;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1760:3: error: 'DWORD' does not name a type
   DWORD            VendorIdOffset;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1761:3: error: 'DWORD' does not name a type
   DWORD            ProductIdOffset;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1762:3: error: 'DWORD' does not name a type
   DWORD            ProductRevisionOffset;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1763:3: error: 'DWORD' does not name a type
   DWORD            SerialNumberOffset;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1765:3: error: 'DWORD' does not name a type
   DWORD            RawPropertiesLength;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1770:3: error: 'DWORD' does not name a type
   DWORD   Version;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1771:3: error: 'DWORD' does not name a type
   DWORD   Size;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1772:3: error: 'DWORD' does not name a type
   DWORD   MaximumTransferLength;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1773:3: error: 'DWORD' does not name a type
   DWORD   MaximumPhysicalPages;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1774:3: error: 'DWORD' does not name a type
   DWORD   AlignmentMask;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1785:3: error: 'DWORD' does not name a type
   DWORD Version;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1786:3: error: 'DWORD' does not name a type
   DWORD Size;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:1787:3: error: 'DWORD' does not name a type
   DWORD NumberOfIdentifiers;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:2311:3: error: 'DWORD' does not name a type
   DWORD DiskNumber;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winioctl.h:2317:3: error: 'DWORD' does not name a type
   DWORD NumberOfDiskExtents;
   ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:12:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsmcrd.h:162:5: error: 'DWORD' does not name a type
     DWORD dwProtocol;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsmcrd.h:163:5: error: 'DWORD' does not name a type
     DWORD cbPciLength;
     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:53:22: error: 'LONG' does not name a type
   extern WINSCARDAPI LONG WINAPI SCardEstablishContext(DWORD dwScope,LPCVOID pvReserved1,LPCVOID pvReserved2,LPSCARDCONTEXT phContext);
                      ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:54:22: error: 'LONG' does not name a type
   extern WINSCARDAPI LONG WINAPI SCardReleaseContext(SCARDCONTEXT hContext);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:55:22: error: 'LONG' does not name a type
   extern WINSCARDAPI LONG WINAPI SCardIsValidContext(SCARDCONTEXT hContext);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:81:22: error: 'LONG' does not name a type
   extern WINSCARDAPI LONG WINAPI SCardListReaderGroupsA(SCARDCONTEXT hContext,LPSTR mszGroups,LPDWORD pcchGroups);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:82:22: error: 'LONG' does not name a type
   extern WINSCARDAPI LONG WINAPI SCardListReaderGroupsW(SCARDCONTEXT hContext,LPWSTR mszGroups,LPDWORD pcchGroups);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:83:22: error: 'LONG' does not name a type
   extern WINSCARDAPI LONG WINAPI SCardListReadersA(SCARDCONTEXT hContext,LPCSTR mszGroups,LPSTR mszReaders,LPDWORD pcchReaders);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:84:22: error: 'LONG' does not name a type
   extern WINSCARDAPI LONG WINAPI SCardListReadersW(SCARDCONTEXT hContext,LPCWSTR mszGroups,LPWSTR mszReaders,LPDWORD pcchReaders);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:85:22: error: 'LONG' does not name a type
   extern WINSCARDAPI LONG WINAPI SCardListCardsA(SCARDCONTEXT hContext,LPCBYTE pbAtr,LPCGUID rgquidInterfaces,DWORD cguidInterfaceCount,LPSTR mszCards,LPDWORD pcchCards);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:86:22: error: 'LONG' does not name a type
   extern WINSCARDAPI LONG WINAPI SCardListCardsW(SCARDCONTEXT hContext,LPCBYTE pbAtr,LPCGUID rgquidInterfaces,DWORD cguidInterfaceCount,LPWSTR mszCards,LPDWORD pcchCards);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:88:22: error: 'LONG' does not name a type
   extern WINSCARDAPI LONG WINAPI SCardListInterfacesA(SCARDCONTEXT hContext,LPCSTR szCard,LPGUID pguidInterfaces,LPDWORD pcguidInterfaces);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:89:22: error: 'LONG' does not name a type
   extern WINSCARDAPI LONG WINAPI SCardListInterfacesW(SCARDCONTEXT hContext,LPCWSTR szCard,LPGUID pguidInterfaces,LPDWORD pcguidInterfaces);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:90:22: error: 'LONG' does not name a type
   extern WINSCARDAPI LONG WINAPI SCardGetProviderIdA(SCARDCONTEXT hContext,LPCSTR szCard,LPGUID pguidProviderId);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:91:22: error: 'LONG' does not name a type
   extern WINSCARDAPI LONG WINAPI SCardGetProviderIdW(SCARDCONTEXT hContext,LPCWSTR szCard,LPGUID pguidProviderId);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:92:22: error: 'LONG' does not name a type
   extern WINSCARDAPI LONG WINAPI SCardGetCardTypeProviderNameA(SCARDCONTEXT hContext,LPCSTR szCardName,DWORD dwProviderId,LPSTR szProvider,LPDWORD pcchProvider);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:93:22: error: 'LONG' does not name a type
   extern WINSCARDAPI LONG WINAPI SCardGetCardTypeProviderNameW(SCARDCONTEXT hContext,LPCWSTR szCardName,DWORD dwProviderId,LPWSTR szProvider,LPDWORD pcchProvider);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:94:22: error: 'LONG' does not name a type
   extern WINSCARDAPI LONG WINAPI SCardIntroduceReaderGroupA(SCARDCONTEXT hContext,LPCSTR szGroupName);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:95:22: error: 'LONG' does not name a type
   extern WINSCARDAPI LONG WINAPI SCardIntroduceReaderGroupW(SCARDCONTEXT hContext,LPCWSTR szGroupName);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:96:22: error: 'LONG' does not name a type
   extern WINSCARDAPI LONG WINAPI SCardForgetReaderGroupA(SCARDCONTEXT hContext,LPCSTR szGroupName);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:97:22: error: 'LONG' does not name a type
   extern WINSCARDAPI LONG WINAPI SCardForgetReaderGroupW(SCARDCONTEXT hContext,LPCWSTR szGroupName);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:98:22: error: 'LONG' does not name a type
   extern WINSCARDAPI LONG WINAPI SCardIntroduceReaderA(SCARDCONTEXT hContext,LPCSTR szReaderName,LPCSTR szDeviceName);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:99:22: error: 'LONG' does not name a type
   extern WINSCARDAPI LONG WINAPI SCardIntroduceReaderW(SCARDCONTEXT hContext,LPCWSTR szReaderName,LPCWSTR szDeviceName);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:100:22: error: 'LONG' does not name a type
   extern WINSCARDAPI LONG WINAPI SCardForgetReaderA(SCARDCONTEXT hContext,LPCSTR szReaderName);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:101:22: error: 'LONG' does not name a type
   extern WINSCARDAPI LONG WINAPI SCardForgetReaderW(SCARDCONTEXT hContext,LPCWSTR szReaderName);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:102:22: error: 'LONG' does not name a type
   extern WINSCARDAPI LONG WINAPI SCardAddReaderToGroupA(SCARDCONTEXT hContext,LPCSTR szReaderName,LPCSTR szGroupName);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:103:22: error: 'LONG' does not name a type
   extern WINSCARDAPI LONG WINAPI SCardAddReaderToGroupW(SCARDCONTEXT hContext,LPCWSTR szReaderName,LPCWSTR szGroupName);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:104:22: error: 'LONG' does not name a type
   extern WINSCARDAPI LONG WINAPI SCardRemoveReaderFromGroupA(SCARDCONTEXT hContext,LPCSTR szReaderName,LPCSTR szGroupName);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:105:22: error: 'LONG' does not name a type
   extern WINSCARDAPI LONG WINAPI SCardRemoveReaderFromGroupW(SCARDCONTEXT hContext,LPCWSTR szReaderName,LPCWSTR szGroupName);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:106:22: error: 'LONG' does not name a type
   extern WINSCARDAPI LONG WINAPI SCardIntroduceCardTypeA(SCARDCONTEXT hContext,LPCSTR szCardName,LPCGUID pguidPrimaryProvider,LPCGUID rgguidInterfaces,DWORD dwInterfaceCount,LPCBYTE pbAtr,LPCBYTE pbAtrMask,DWORD cbAtrLen);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:107:22: error: 'LONG' does not name a type
   extern WINSCARDAPI LONG WINAPI SCardIntroduceCardTypeW(SCARDCONTEXT hContext,LPCWSTR szCardName,LPCGUID pguidPrimaryProvider,LPCGUID rgguidInterfaces,DWORD dwInterfaceCount,LPCBYTE pbAtr,LPCBYTE pbAtrMask,DWORD cbAtrLen);
                      ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:111:22: error: 'LONG' does not name a type
   extern WINSCARDAPI LONG WINAPI SCardSetCardTypeProviderNameA(SCARDCONTEXT hContext,LPCSTR szCardName,DWORD dwProviderId,LPCSTR szProvider);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:112:22: error: 'LONG' does not name a type
   extern WINSCARDAPI LONG WINAPI SCardSetCardTypeProviderNameW(SCARDCONTEXT hContext,LPCWSTR szCardName,DWORD dwProviderId,LPCWSTR szProvider);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:113:22: error: 'LONG' does not name a type
   extern WINSCARDAPI LONG WINAPI SCardForgetCardTypeA(SCARDCONTEXT hContext,LPCSTR szCardName);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:114:22: error: 'LONG' does not name a type
   extern WINSCARDAPI LONG WINAPI SCardForgetCardTypeW(SCARDCONTEXT hContext,LPCWSTR szCardName);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:115:22: error: 'LONG' does not name a type
   extern WINSCARDAPI LONG WINAPI SCardFreeMemory(SCARDCONTEXT hContext,LPCVOID pvMem);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:122:5: error: 'DWORD' does not name a type
     DWORD dwCurrentState;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:123:5: error: 'DWORD' does not name a type
     DWORD dwEventState;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:124:5: error: 'DWORD' does not name a type
     DWORD cbAtr;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:131:5: error: 'DWORD' does not name a type
     DWORD dwCurrentState;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:132:5: error: 'DWORD' does not name a type
     DWORD dwEventState;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:133:5: error: 'DWORD' does not name a type
     DWORD cbAtr;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:167:22: error: 'LONG' does not name a type
   extern WINSCARDAPI LONG WINAPI SCardLocateCardsA(SCARDCONTEXT hContext,LPCSTR mszCards,LPSCARD_READERSTATEA rgReaderStates,DWORD cReaders);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:168:22: error: 'LONG' does not name a type
   extern WINSCARDAPI LONG WINAPI SCardLocateCardsW(SCARDCONTEXT hContext,LPCWSTR mszCards,LPSCARD_READERSTATEW rgReaderStates,DWORD cReaders);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:171:5: error: 'DWORD' does not name a type
     DWORD cbAtr;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:176:22: error: 'LONG' does not name a type
   extern WINSCARDAPI LONG WINAPI SCardLocateCardsByATRA(SCARDCONTEXT hContext,LPSCARD_ATRMASK rgAtrMasks,DWORD cAtrs,LPSCARD_READERSTATEA rgReaderStates,DWORD cReaders);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:177:22: error: 'LONG' does not name a type
   extern WINSCARDAPI LONG WINAPI SCardLocateCardsByATRW(SCARDCONTEXT hContext,LPSCARD_ATRMASK rgAtrMasks,DWORD cAtrs,LPSCARD_READERSTATEW rgReaderStates,DWORD cReaders);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:178:22: error: 'LONG' does not name a type
   extern WINSCARDAPI LONG WINAPI SCardGetStatusChangeA(SCARDCONTEXT hContext,DWORD dwTimeout,LPSCARD_READERSTATEA rgReaderStates,DWORD cReaders);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:179:22: error: 'LONG' does not name a type
   extern WINSCARDAPI LONG WINAPI SCardGetStatusChangeW(SCARDCONTEXT hContext,DWORD dwTimeout,LPSCARD_READERSTATEW rgReaderStates,DWORD cReaders);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:180:22: error: 'LONG' does not name a type
   extern WINSCARDAPI LONG WINAPI SCardCancel(SCARDCONTEXT hContext);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:191:22: error: 'LONG' does not name a type
   extern WINSCARDAPI LONG WINAPI SCardConnectA(SCARDCONTEXT hContext,LPCSTR szReader,DWORD dwShareMode,DWORD dwPreferredProtocols,LPSCARDHANDLE phCard,LPDWORD pdwActiveProtocol);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:192:22: error: 'LONG' does not name a type
   extern WINSCARDAPI LONG WINAPI SCardConnectW(SCARDCONTEXT hContext,LPCWSTR szReader,DWORD dwShareMode,DWORD dwPreferredProtocols,LPSCARDHANDLE phCard,LPDWORD pdwActiveProtocol);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:193:22: error: 'LONG' does not name a type
   extern WINSCARDAPI LONG WINAPI SCardReconnect(SCARDHANDLE hCard,DWORD dwShareMode,DWORD dwPreferredProtocols,DWORD dwInitialization,LPDWORD pdwActiveProtocol);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:194:22: error: 'LONG' does not name a type
   extern WINSCARDAPI LONG WINAPI SCardDisconnect(SCARDHANDLE hCard,DWORD dwDisposition);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:195:22: error: 'LONG' does not name a type
   extern WINSCARDAPI LONG WINAPI SCardBeginTransaction(SCARDHANDLE hCard);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:196:22: error: 'LONG' does not name a type
   extern WINSCARDAPI LONG WINAPI SCardEndTransaction(SCARDHANDLE hCard,DWORD dwDisposition);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:197:22: error: 'LONG' does not name a type
   extern WINSCARDAPI LONG WINAPI SCardCancelTransaction(SCARDHANDLE hCard);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:198:22: error: 'LONG' does not name a type
   extern WINSCARDAPI LONG WINAPI SCardState(SCARDHANDLE hCard,LPDWORD pdwState,LPDWORD pdwProtocol,LPBYTE pbAtr,LPDWORD pcbAtrLen);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:199:22: error: 'LONG' does not name a type
   extern WINSCARDAPI LONG WINAPI SCardStatusA(SCARDHANDLE hCard,LPSTR szReaderName,LPDWORD pcchReaderLen,LPDWORD pdwState,LPDWORD pdwProtocol,LPBYTE pbAtr,LPDWORD pcbAtrLen);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:200:22: error: 'LONG' does not name a type
   extern WINSCARDAPI LONG WINAPI SCardStatusW(SCARDHANDLE hCard,LPWSTR szReaderName,LPDWORD pcchReaderLen,LPDWORD pdwState,LPDWORD pdwProtocol,LPBYTE pbAtr,LPDWORD pcbAtrLen);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:201:22: error: 'LONG' does not name a type
   extern WINSCARDAPI LONG WINAPI SCardTransmit(SCARDHANDLE hCard,LPCSCARD_IO_REQUEST pioSendPci,LPCBYTE pbSendBuffer,DWORD cbSendLength,LPSCARD_IO_REQUEST pioRecvPci,LPBYTE pbRecvBuffer,LPDWORD pcbRecvLength);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:202:22: error: 'LONG' does not name a type
   extern WINSCARDAPI LONG WINAPI SCardControl(SCARDHANDLE hCard,DWORD dwControlCode,LPCVOID lpInBuffer,DWORD nInBufferSize,LPVOID lpOutBuffer,DWORD nOutBufferSize,LPDWORD lpBytesReturned);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:203:22: error: 'LONG' does not name a type
   extern WINSCARDAPI LONG WINAPI SCardGetAttrib(SCARDHANDLE hCard,DWORD dwAttrId,LPBYTE pbAttr,LPDWORD pcbAttrLen);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:207:22: error: 'LONG' does not name a type
   extern WINSCARDAPI LONG WINAPI SCardSetAttrib(SCARDHANDLE hCard,DWORD dwAttrId,LPCBYTE pbAttr,DWORD cbAttrLen);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:226:5: error: 'DWORD' does not name a type
     DWORD dwStructSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:228:5: error: 'DWORD' does not name a type
     DWORD nMaxGroupNames;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:230:5: error: 'DWORD' does not name a type
     DWORD cguidInterfaces;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:232:5: error: 'DWORD' does not name a type
     DWORD nMaxCardNames;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:237:5: error: 'DWORD' does not name a type
     DWORD dwShareMode;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:238:5: error: 'DWORD' does not name a type
     DWORD dwPreferredProtocols;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:242:5: error: 'DWORD' does not name a type
     DWORD dwStructSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:244:5: error: 'DWORD' does not name a type
     DWORD nMaxGroupNames;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:246:5: error: 'DWORD' does not name a type
     DWORD cguidInterfaces;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:248:5: error: 'DWORD' does not name a type
     DWORD nMaxCardNames;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:253:5: error: 'DWORD' does not name a type
     DWORD dwShareMode;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:254:5: error: 'DWORD' does not name a type
     DWORD dwPreferredProtocols;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:262:5: error: 'DWORD' does not name a type
     DWORD dwStructSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:265:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:272:5: error: 'DWORD' does not name a type
     DWORD dwShareMode;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:273:5: error: 'DWORD' does not name a type
     DWORD dwPreferredProtocols;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:275:5: error: 'DWORD' does not name a type
     DWORD nMaxRdr;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:277:5: error: 'DWORD' does not name a type
     DWORD nMaxCard;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:278:5: error: 'DWORD' does not name a type
     DWORD dwActiveProtocol;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:283:5: error: 'DWORD' does not name a type
     DWORD dwStructSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:286:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:293:5: error: 'DWORD' does not name a type
     DWORD dwShareMode;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:294:5: error: 'DWORD' does not name a type
     DWORD dwPreferredProtocols;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:296:5: error: 'DWORD' does not name a type
     DWORD nMaxRdr;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:298:5: error: 'DWORD' does not name a type
     DWORD nMaxCard;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:299:5: error: 'DWORD' does not name a type
     DWORD dwActiveProtocol;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:316:22: error: 'LONG' does not name a type
   extern WINSCARDAPI LONG WINAPI SCardUIDlgSelectCardA(LPOPENCARDNAMEA_EX);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:317:22: error: 'LONG' does not name a type
   extern WINSCARDAPI LONG WINAPI SCardUIDlgSelectCardW(LPOPENCARDNAMEW_EX);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:320:5: error: 'DWORD' does not name a type
     DWORD dwStructSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:324:5: error: 'DWORD' does not name a type
     DWORD nMaxGroupNames;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:326:5: error: 'DWORD' does not name a type
     DWORD nMaxCardNames;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:328:5: error: 'DWORD' does not name a type
     DWORD cguidInterfaces;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:330:5: error: 'DWORD' does not name a type
     DWORD nMaxRdr;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:332:5: error: 'DWORD' does not name a type
     DWORD nMaxCard;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:334:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:336:5: error: 'DWORD' does not name a type
     DWORD dwShareMode;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:337:5: error: 'DWORD' does not name a type
     DWORD dwPreferredProtocols;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:338:5: error: 'DWORD' does not name a type
     DWORD dwActiveProtocol;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:346:5: error: 'DWORD' does not name a type
     DWORD dwStructSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:350:5: error: 'DWORD' does not name a type
     DWORD nMaxGroupNames;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:352:5: error: 'DWORD' does not name a type
     DWORD nMaxCardNames;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:354:5: error: 'DWORD' does not name a type
     DWORD cguidInterfaces;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:356:5: error: 'DWORD' does not name a type
     DWORD nMaxRdr;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:358:5: error: 'DWORD' does not name a type
     DWORD nMaxCard;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:360:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:362:5: error: 'DWORD' does not name a type
     DWORD dwShareMode;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:363:5: error: 'DWORD' does not name a type
     DWORD dwPreferredProtocols;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:364:5: error: 'DWORD' does not name a type
     DWORD dwActiveProtocol;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:384:22: error: 'LONG' does not name a type
   extern WINSCARDAPI LONG WINAPI GetOpenCardNameA(LPOPENCARDNAMEA);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:385:22: error: 'LONG' does not name a type
   extern WINSCARDAPI LONG WINAPI GetOpenCardNameW(LPOPENCARDNAMEW);
                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:386:22: error: 'LONG' does not name a type
   extern WINSCARDAPI LONG WINAPI SCardDlgExtendedError(void);
                      ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:12:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:102,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/prsht.h:122:5: error: 'DWORD' does not name a type
     PROPSHEETPAGEA_V1_FIELDS
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/prsht.h:128:5: error: 'DWORD' does not name a type
     PROPSHEETPAGEA_V1_FIELDS
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/prsht.h:137:5: error: 'DWORD' does not name a type
     PROPSHEETPAGEA_V1_FIELDS
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/prsht.h:146:5: error: 'DWORD' does not name a type
     PROPSHEETPAGEW_V1_FIELDS
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/prsht.h:152:5: error: 'DWORD' does not name a type
     PROPSHEETPAGEW_V1_FIELDS
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/prsht.h:160:5: error: 'DWORD' does not name a type
     PROPSHEETPAGEW_V1_FIELDS
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/prsht.h:236:5: error: 'DWORD' does not name a type
     DWORD dwSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/prsht.h:237:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/prsht.h:269:5: error: 'DWORD' does not name a type
     DWORD dwSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/prsht.h:270:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:102:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:20:5: error: 'DWORD' does not name a type
     DWORD Flags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:27:5: error: 'DWORD' does not name a type
     DWORD Flags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:51:5: error: 'DWORD' does not name a type
     DWORD Attributes;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:52:5: error: 'DWORD' does not name a type
     DWORD Priority;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:53:5: error: 'DWORD' does not name a type
     DWORD DefaultPriority;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:54:5: error: 'DWORD' does not name a type
     DWORD StartTime;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:55:5: error: 'DWORD' does not name a type
     DWORD UntilTime;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:56:5: error: 'DWORD' does not name a type
     DWORD Status;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:57:5: error: 'DWORD' does not name a type
     DWORD cJobs;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:58:5: error: 'DWORD' does not name a type
     DWORD AveragePPM;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:75:5: error: 'DWORD' does not name a type
     DWORD Attributes;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:76:5: error: 'DWORD' does not name a type
     DWORD Priority;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:77:5: error: 'DWORD' does not name a type
     DWORD DefaultPriority;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:78:5: error: 'DWORD' does not name a type
     DWORD StartTime;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:79:5: error: 'DWORD' does not name a type
     DWORD UntilTime;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:80:5: error: 'DWORD' does not name a type
     DWORD Status;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:81:5: error: 'DWORD' does not name a type
     DWORD cJobs;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:82:5: error: 'DWORD' does not name a type
     DWORD AveragePPM;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:96:5: error: 'DWORD' does not name a type
     DWORD Attributes;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:102:5: error: 'DWORD' does not name a type
     DWORD Attributes;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:112:5: error: 'DWORD' does not name a type
     DWORD Attributes;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:113:5: error: 'DWORD' does not name a type
     DWORD DeviceNotSelectedTimeout;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:114:5: error: 'DWORD' does not name a type
     DWORD TransmissionRetryTimeout;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:120:5: error: 'DWORD' does not name a type
     DWORD Attributes;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:121:5: error: 'DWORD' does not name a type
     DWORD DeviceNotSelectedTimeout;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:122:5: error: 'DWORD' does not name a type
     DWORD TransmissionRetryTimeout;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:130:5: error: 'DWORD' does not name a type
     DWORD dwStatus;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:135:5: error: 'DWORD' does not name a type
     DWORD dwAction;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:140:5: error: 'DWORD' does not name a type
     DWORD dwAction;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:233:5: error: 'DWORD' does not name a type
     DWORD JobId;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:240:5: error: 'DWORD' does not name a type
     DWORD Status;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:241:5: error: 'DWORD' does not name a type
     DWORD Priority;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:242:5: error: 'DWORD' does not name a type
     DWORD Position;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:243:5: error: 'DWORD' does not name a type
     DWORD TotalPages;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:244:5: error: 'DWORD' does not name a type
     DWORD PagesPrinted;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:249:5: error: 'DWORD' does not name a type
     DWORD JobId;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:256:5: error: 'DWORD' does not name a type
     DWORD Status;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:257:5: error: 'DWORD' does not name a type
     DWORD Priority;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:258:5: error: 'DWORD' does not name a type
     DWORD Position;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:259:5: error: 'DWORD' does not name a type
     DWORD TotalPages;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:260:5: error: 'DWORD' does not name a type
     DWORD PagesPrinted;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:269:5: error: 'DWORD' does not name a type
     DWORD JobId;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:282:5: error: 'DWORD' does not name a type
     DWORD Status;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:283:5: error: 'DWORD' does not name a type
     DWORD Priority;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:284:5: error: 'DWORD' does not name a type
     DWORD Position;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:285:5: error: 'DWORD' does not name a type
     DWORD StartTime;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:286:5: error: 'DWORD' does not name a type
     DWORD UntilTime;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:287:5: error: 'DWORD' does not name a type
     DWORD TotalPages;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:288:5: error: 'DWORD' does not name a type
     DWORD Size;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:290:5: error: 'DWORD' does not name a type
     DWORD Time;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:291:5: error: 'DWORD' does not name a type
     DWORD PagesPrinted;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:295:5: error: 'DWORD' does not name a type
     DWORD JobId;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:308:5: error: 'DWORD' does not name a type
     DWORD Status;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:309:5: error: 'DWORD' does not name a type
     DWORD Priority;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:310:5: error: 'DWORD' does not name a type
     DWORD Position;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:311:5: error: 'DWORD' does not name a type
     DWORD StartTime;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:312:5: error: 'DWORD' does not name a type
     DWORD UntilTime;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:313:5: error: 'DWORD' does not name a type
     DWORD TotalPages;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:314:5: error: 'DWORD' does not name a type
     DWORD Size;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:316:5: error: 'DWORD' does not name a type
     DWORD Time;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:317:5: error: 'DWORD' does not name a type
     DWORD PagesPrinted;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:325:5: error: 'DWORD' does not name a type
     DWORD JobId;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:326:5: error: 'DWORD' does not name a type
     DWORD NextJobId;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:327:5: error: 'DWORD' does not name a type
     DWORD Reserved;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:356:5: error: 'DWORD' does not name a type
     DWORD JobId;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:361:5: error: 'DWORD' does not name a type
     DWORD JobId;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:381:5: error: 'DWORD' does not name a type
     DWORD cVersion;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:390:5: error: 'DWORD' does not name a type
     DWORD cVersion;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:403:5: error: 'DWORD' does not name a type
     DWORD cVersion;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:416:5: error: 'DWORD' does not name a type
     DWORD cVersion;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:433:5: error: 'DWORD' does not name a type
     DWORD cVersion;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:447:5: error: 'DWORD' does not name a type
     DWORD cVersion;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:465:5: error: 'DWORD' does not name a type
     DWORD cVersion;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:471:5: error: 'DWORD' does not name a type
     DWORD dwDriverAttributes;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:472:5: error: 'DWORD' does not name a type
     DWORD dwConfigVersion;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:473:5: error: 'DWORD' does not name a type
     DWORD dwDriverVersion;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:477:5: error: 'DWORD' does not name a type
     DWORD cVersion;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:483:5: error: 'DWORD' does not name a type
     DWORD dwDriverAttributes;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:484:5: error: 'DWORD' does not name a type
     DWORD dwConfigVersion;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:485:5: error: 'DWORD' does not name a type
     DWORD dwDriverVersion;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:493:5: error: 'DWORD' does not name a type
     DWORD cVersion;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:513:5: error: 'DWORD' does not name a type
     DWORD cVersion;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:566:5: error: 'DWORD' does not name a type
     DWORD Flags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:573:5: error: 'DWORD' does not name a type
     DWORD Flags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:587:5: error: 'DWORD' does not name a type
     DWORD dwMode;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:588:5: error: 'DWORD' does not name a type
     DWORD JobId;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:595:5: error: 'DWORD' does not name a type
     DWORD dwMode;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:596:5: error: 'DWORD' does not name a type
     DWORD JobId;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:610:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:617:5: error: 'DWORD' does not name a type
     DWORD dwFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:643:5: error: 'DWORD' does not name a type
     DWORD dwLevel;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:644:5: error: 'DWORD' does not name a type
     DWORD dwNupOptions;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:645:5: error: 'DWORD' does not name a type
     DWORD dwPageOrderFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:646:5: error: 'DWORD' does not name a type
     DWORD dwNumberOfCopies;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:667:5: error: 'DWORD' does not name a type
     DWORD fPortType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:668:5: error: 'DWORD' does not name a type
     DWORD Reserved;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:675:5: error: 'DWORD' does not name a type
     DWORD fPortType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:676:5: error: 'DWORD' does not name a type
     DWORD Reserved;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:689:5: error: 'DWORD' does not name a type
     DWORD dwStatus;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:691:5: error: 'DWORD' does not name a type
     DWORD dwSeverity;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:695:5: error: 'DWORD' does not name a type
     DWORD dwStatus;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:697:5: error: 'DWORD' does not name a type
     DWORD dwSeverity;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:764:5: error: 'ACCESS_MASK' does not name a type
     ACCESS_MASK DesiredAccess;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:770:5: error: 'ACCESS_MASK' does not name a type
     ACCESS_MASK DesiredAccess;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:779:5: error: 'DWORD' does not name a type
     DWORD cbValueName;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:780:5: error: 'DWORD' does not name a type
     DWORD dwType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:782:5: error: 'DWORD' does not name a type
     DWORD cbData;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:787:5: error: 'DWORD' does not name a type
     DWORD cbValueName;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:788:5: error: 'DWORD' does not name a type
     DWORD dwType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:790:5: error: 'DWORD' does not name a type
     DWORD cbData;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:799:32: error: 'DWORD' was not declared in this scope
   WINBOOL WINAPI EnumPrintersA(DWORD Flags,LPSTR Name,DWORD Level,LPBYTE pPrinterEnum,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:799:50: error: expected primary-expression before 'Name'
   WINBOOL WINAPI EnumPrintersA(DWORD Flags,LPSTR Name,DWORD Level,LPBYTE pPrinterEnum,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:799:55: error: 'DWORD' was not declared in this scope
   WINBOOL WINAPI EnumPrintersA(DWORD Flags,LPSTR Name,DWORD Level,LPBYTE pPrinterEnum,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:799:74: error: expected primary-expression before 'pPrinterEnum'
   WINBOOL WINAPI EnumPrintersA(DWORD Flags,LPSTR Name,DWORD Level,LPBYTE pPrinterEnum,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:799:87: error: 'DWORD' was not declared in this scope
   WINBOOL WINAPI EnumPrintersA(DWORD Flags,LPSTR Name,DWORD Level,LPBYTE pPrinterEnum,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:799:99: error: 'LPDWORD' was not declared in this scope
   WINBOOL WINAPI EnumPrintersA(DWORD Flags,LPSTR Name,DWORD Level,LPBYTE pPrinterEnum,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:799:117: error: 'LPDWORD' was not declared in this scope
   WINBOOL WINAPI EnumPrintersA(DWORD Flags,LPSTR Name,DWORD Level,LPBYTE pPrinterEnum,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                                                                                     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:102:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:799:135: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBOOL WINAPI EnumPrintersA(DWORD Flags,LPSTR Name,DWORD Level,LPBYTE pPrinterEnum,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:800:32: error: 'DWORD' was not declared in this scope
   WINBOOL WINAPI EnumPrintersW(DWORD Flags,LPWSTR Name,DWORD Level,LPBYTE pPrinterEnum,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:800:51: error: expected primary-expression before 'Name'
   WINBOOL WINAPI EnumPrintersW(DWORD Flags,LPWSTR Name,DWORD Level,LPBYTE pPrinterEnum,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:800:56: error: 'DWORD' was not declared in this scope
   WINBOOL WINAPI EnumPrintersW(DWORD Flags,LPWSTR Name,DWORD Level,LPBYTE pPrinterEnum,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:800:75: error: expected primary-expression before 'pPrinterEnum'
   WINBOOL WINAPI EnumPrintersW(DWORD Flags,LPWSTR Name,DWORD Level,LPBYTE pPrinterEnum,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:800:88: error: 'DWORD' was not declared in this scope
   WINBOOL WINAPI EnumPrintersW(DWORD Flags,LPWSTR Name,DWORD Level,LPBYTE pPrinterEnum,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:800:100: error: 'LPDWORD' was not declared in this scope
   WINBOOL WINAPI EnumPrintersW(DWORD Flags,LPWSTR Name,DWORD Level,LPBYTE pPrinterEnum,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:800:118: error: 'LPDWORD' was not declared in this scope
   WINBOOL WINAPI EnumPrintersW(DWORD Flags,LPWSTR Name,DWORD Level,LPBYTE pPrinterEnum,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:800:136: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBOOL WINAPI EnumPrintersW(DWORD Flags,LPWSTR Name,DWORD Level,LPBYTE pPrinterEnum,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:867:42: error: 'DWORD' has not been declared
   WINBOOL WINAPI SetJobA(HANDLE hPrinter,DWORD JobId,DWORD Level,LPBYTE pJob,DWORD Command);
                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:867:54: error: 'DWORD' has not been declared
   WINBOOL WINAPI SetJobA(HANDLE hPrinter,DWORD JobId,DWORD Level,LPBYTE pJob,DWORD Command);
                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:867:78: error: 'DWORD' has not been declared
   WINBOOL WINAPI SetJobA(HANDLE hPrinter,DWORD JobId,DWORD Level,LPBYTE pJob,DWORD Command);
                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:868:42: error: 'DWORD' has not been declared
   WINBOOL WINAPI SetJobW(HANDLE hPrinter,DWORD JobId,DWORD Level,LPBYTE pJob,DWORD Command);
                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:868:54: error: 'DWORD' has not been declared
   WINBOOL WINAPI SetJobW(HANDLE hPrinter,DWORD JobId,DWORD Level,LPBYTE pJob,DWORD Command);
                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:868:78: error: 'DWORD' has not been declared
   WINBOOL WINAPI SetJobW(HANDLE hPrinter,DWORD JobId,DWORD Level,LPBYTE pJob,DWORD Command);
                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:869:42: error: 'DWORD' has not been declared
   WINBOOL WINAPI GetJobA(HANDLE hPrinter,DWORD JobId,DWORD Level,LPBYTE pJob,DWORD cbBuf,LPDWORD pcbNeeded);
                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:869:54: error: 'DWORD' has not been declared
   WINBOOL WINAPI GetJobA(HANDLE hPrinter,DWORD JobId,DWORD Level,LPBYTE pJob,DWORD cbBuf,LPDWORD pcbNeeded);
                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:869:78: error: 'DWORD' has not been declared
   WINBOOL WINAPI GetJobA(HANDLE hPrinter,DWORD JobId,DWORD Level,LPBYTE pJob,DWORD cbBuf,LPDWORD pcbNeeded);
                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:869:90: error: 'LPDWORD' has not been declared
   WINBOOL WINAPI GetJobA(HANDLE hPrinter,DWORD JobId,DWORD Level,LPBYTE pJob,DWORD cbBuf,LPDWORD pcbNeeded);
                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:870:42: error: 'DWORD' has not been declared
   WINBOOL WINAPI GetJobW(HANDLE hPrinter,DWORD JobId,DWORD Level,LPBYTE pJob,DWORD cbBuf,LPDWORD pcbNeeded);
                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:870:54: error: 'DWORD' has not been declared
   WINBOOL WINAPI GetJobW(HANDLE hPrinter,DWORD JobId,DWORD Level,LPBYTE pJob,DWORD cbBuf,LPDWORD pcbNeeded);
                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:870:78: error: 'DWORD' has not been declared
   WINBOOL WINAPI GetJobW(HANDLE hPrinter,DWORD JobId,DWORD Level,LPBYTE pJob,DWORD cbBuf,LPDWORD pcbNeeded);
                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:870:90: error: 'LPDWORD' has not been declared
   WINBOOL WINAPI GetJobW(HANDLE hPrinter,DWORD JobId,DWORD Level,LPBYTE pJob,DWORD cbBuf,LPDWORD pcbNeeded);
                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:871:44: error: 'DWORD' has not been declared
   WINBOOL WINAPI EnumJobsA(HANDLE hPrinter,DWORD FirstJob,DWORD NoJobs,DWORD Level,LPBYTE pJob,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:871:59: error: 'DWORD' has not been declared
   WINBOOL WINAPI EnumJobsA(HANDLE hPrinter,DWORD FirstJob,DWORD NoJobs,DWORD Level,LPBYTE pJob,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:871:72: error: 'DWORD' has not been declared
   WINBOOL WINAPI EnumJobsA(HANDLE hPrinter,DWORD FirstJob,DWORD NoJobs,DWORD Level,LPBYTE pJob,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:871:96: error: 'DWORD' has not been declared
   WINBOOL WINAPI EnumJobsA(HANDLE hPrinter,DWORD FirstJob,DWORD NoJobs,DWORD Level,LPBYTE pJob,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:871:108: error: 'LPDWORD' has not been declared
   WINBOOL WINAPI EnumJobsA(HANDLE hPrinter,DWORD FirstJob,DWORD NoJobs,DWORD Level,LPBYTE pJob,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:871:126: error: 'LPDWORD' has not been declared
   WINBOOL WINAPI EnumJobsA(HANDLE hPrinter,DWORD FirstJob,DWORD NoJobs,DWORD Level,LPBYTE pJob,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:872:44: error: 'DWORD' has not been declared
   WINBOOL WINAPI EnumJobsW(HANDLE hPrinter,DWORD FirstJob,DWORD NoJobs,DWORD Level,LPBYTE pJob,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:872:59: error: 'DWORD' has not been declared
   WINBOOL WINAPI EnumJobsW(HANDLE hPrinter,DWORD FirstJob,DWORD NoJobs,DWORD Level,LPBYTE pJob,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:872:72: error: 'DWORD' has not been declared
   WINBOOL WINAPI EnumJobsW(HANDLE hPrinter,DWORD FirstJob,DWORD NoJobs,DWORD Level,LPBYTE pJob,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:872:96: error: 'DWORD' has not been declared
   WINBOOL WINAPI EnumJobsW(HANDLE hPrinter,DWORD FirstJob,DWORD NoJobs,DWORD Level,LPBYTE pJob,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:872:108: error: 'LPDWORD' has not been declared
   WINBOOL WINAPI EnumJobsW(HANDLE hPrinter,DWORD FirstJob,DWORD NoJobs,DWORD Level,LPBYTE pJob,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:872:126: error: 'LPDWORD' has not been declared
   WINBOOL WINAPI EnumJobsW(HANDLE hPrinter,DWORD FirstJob,DWORD NoJobs,DWORD Level,LPBYTE pJob,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:873:41: error: 'DWORD' has not been declared
   HANDLE WINAPI AddPrinterA(LPSTR pName,DWORD Level,LPBYTE pPrinter);
                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:874:42: error: 'DWORD' has not been declared
   HANDLE WINAPI AddPrinterW(LPWSTR pName,DWORD Level,LPBYTE pPrinter);
                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:876:46: error: 'DWORD' has not been declared
   WINBOOL WINAPI SetPrinterA(HANDLE hPrinter,DWORD Level,LPBYTE pPrinter,DWORD Command);
                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:876:74: error: 'DWORD' has not been declared
   WINBOOL WINAPI SetPrinterA(HANDLE hPrinter,DWORD Level,LPBYTE pPrinter,DWORD Command);
                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:877:46: error: 'DWORD' has not been declared
   WINBOOL WINAPI SetPrinterW(HANDLE hPrinter,DWORD Level,LPBYTE pPrinter,DWORD Command);
                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:877:74: error: 'DWORD' has not been declared
   WINBOOL WINAPI SetPrinterW(HANDLE hPrinter,DWORD Level,LPBYTE pPrinter,DWORD Command);
                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:878:46: error: 'DWORD' has not been declared
   WINBOOL WINAPI GetPrinterA(HANDLE hPrinter,DWORD Level,LPBYTE pPrinter,DWORD cbBuf,LPDWORD pcbNeeded);
                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:878:74: error: 'DWORD' has not been declared
   WINBOOL WINAPI GetPrinterA(HANDLE hPrinter,DWORD Level,LPBYTE pPrinter,DWORD cbBuf,LPDWORD pcbNeeded);
                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:878:86: error: 'LPDWORD' has not been declared
   WINBOOL WINAPI GetPrinterA(HANDLE hPrinter,DWORD Level,LPBYTE pPrinter,DWORD cbBuf,LPDWORD pcbNeeded);
                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:879:46: error: 'DWORD' has not been declared
   WINBOOL WINAPI GetPrinterW(HANDLE hPrinter,DWORD Level,LPBYTE pPrinter,DWORD cbBuf,LPDWORD pcbNeeded);
                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:879:74: error: 'DWORD' has not been declared
   WINBOOL WINAPI GetPrinterW(HANDLE hPrinter,DWORD Level,LPBYTE pPrinter,DWORD cbBuf,LPDWORD pcbNeeded);
                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:879:86: error: 'LPDWORD' has not been declared
   WINBOOL WINAPI GetPrinterW(HANDLE hPrinter,DWORD Level,LPBYTE pPrinter,DWORD cbBuf,LPDWORD pcbNeeded);
                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:880:48: error: 'DWORD' has not been declared
   WINBOOL WINAPI AddPrinterDriverA(LPSTR pName,DWORD Level,LPBYTE pDriverInfo);
                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:881:49: error: 'DWORD' has not been declared
   WINBOOL WINAPI AddPrinterDriverW(LPWSTR pName,DWORD Level,LPBYTE pDriverInfo);
                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:882:50: error: 'DWORD' has not been declared
   WINBOOL WINAPI AddPrinterDriverExA(LPSTR pName,DWORD Level,LPBYTE pDriverInfo,DWORD dwFileCopyFlags);
                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:882:81: error: 'DWORD' has not been declared
   WINBOOL WINAPI AddPrinterDriverExA(LPSTR pName,DWORD Level,LPBYTE pDriverInfo,DWORD dwFileCopyFlags);
                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:883:51: error: 'DWORD' has not been declared
   WINBOOL WINAPI AddPrinterDriverExW(LPWSTR pName,DWORD Level,LPBYTE pDriverInfo,DWORD dwFileCopyFlags);
                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:883:82: error: 'DWORD' has not been declared
   WINBOOL WINAPI AddPrinterDriverExW(LPWSTR pName,DWORD Level,LPBYTE pDriverInfo,DWORD dwFileCopyFlags);
                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:884:69: error: 'DWORD' has not been declared
   WINBOOL WINAPI EnumPrinterDriversA(LPSTR pName,LPSTR pEnvironment,DWORD Level,LPBYTE pDriverInfo,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:884:100: error: 'DWORD' has not been declared
   WINBOOL WINAPI EnumPrinterDriversA(LPSTR pName,LPSTR pEnvironment,DWORD Level,LPBYTE pDriverInfo,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:884:112: error: 'LPDWORD' has not been declared
   WINBOOL WINAPI EnumPrinterDriversA(LPSTR pName,LPSTR pEnvironment,DWORD Level,LPBYTE pDriverInfo,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:884:130: error: 'LPDWORD' has not been declared
   WINBOOL WINAPI EnumPrinterDriversA(LPSTR pName,LPSTR pEnvironment,DWORD Level,LPBYTE pDriverInfo,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:885:71: error: 'DWORD' has not been declared
   WINBOOL WINAPI EnumPrinterDriversW(LPWSTR pName,LPWSTR pEnvironment,DWORD Level,LPBYTE pDriverInfo,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:885:102: error: 'DWORD' has not been declared
   WINBOOL WINAPI EnumPrinterDriversW(LPWSTR pName,LPWSTR pEnvironment,DWORD Level,LPBYTE pDriverInfo,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:885:114: error: 'LPDWORD' has not been declared
   WINBOOL WINAPI EnumPrinterDriversW(LPWSTR pName,LPWSTR pEnvironment,DWORD Level,LPBYTE pDriverInfo,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:885:132: error: 'LPDWORD' has not been declared
   WINBOOL WINAPI EnumPrinterDriversW(LPWSTR pName,LPWSTR pEnvironment,DWORD Level,LPBYTE pDriverInfo,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:886:71: error: 'DWORD' has not been declared
   WINBOOL WINAPI GetPrinterDriverA(HANDLE hPrinter,LPSTR pEnvironment,DWORD Level,LPBYTE pDriverInfo,DWORD cbBuf,LPDWORD pcbNeeded);
                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:886:102: error: 'DWORD' has not been declared
   WINBOOL WINAPI GetPrinterDriverA(HANDLE hPrinter,LPSTR pEnvironment,DWORD Level,LPBYTE pDriverInfo,DWORD cbBuf,LPDWORD pcbNeeded);
                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:886:114: error: 'LPDWORD' has not been declared
   WINBOOL WINAPI GetPrinterDriverA(HANDLE hPrinter,LPSTR pEnvironment,DWORD Level,LPBYTE pDriverInfo,DWORD cbBuf,LPDWORD pcbNeeded);
                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:887:72: error: 'DWORD' has not been declared
   WINBOOL WINAPI GetPrinterDriverW(HANDLE hPrinter,LPWSTR pEnvironment,DWORD Level,LPBYTE pDriverInfo,DWORD cbBuf,LPDWORD pcbNeeded);
                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:887:103: error: 'DWORD' has not been declared
   WINBOOL WINAPI GetPrinterDriverW(HANDLE hPrinter,LPWSTR pEnvironment,DWORD Level,LPBYTE pDriverInfo,DWORD cbBuf,LPDWORD pcbNeeded);
                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:887:115: error: 'LPDWORD' has not been declared
   WINBOOL WINAPI GetPrinterDriverW(HANDLE hPrinter,LPWSTR pEnvironment,DWORD Level,LPBYTE pDriverInfo,DWORD cbBuf,LPDWORD pcbNeeded);
                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:888:76: error: 'DWORD' has not been declared
   WINBOOL WINAPI GetPrinterDriverDirectoryA(LPSTR pName,LPSTR pEnvironment,DWORD Level,LPBYTE pDriverDirectory,DWORD cbBuf,LPDWORD pcbNeeded);
                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:888:112: error: 'DWORD' has not been declared
   WINBOOL WINAPI GetPrinterDriverDirectoryA(LPSTR pName,LPSTR pEnvironment,DWORD Level,LPBYTE pDriverDirectory,DWORD cbBuf,LPDWORD pcbNeeded);
                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:888:124: error: 'LPDWORD' has not been declared
   WINBOOL WINAPI GetPrinterDriverDirectoryA(LPSTR pName,LPSTR pEnvironment,DWORD Level,LPBYTE pDriverDirectory,DWORD cbBuf,LPDWORD pcbNeeded);
                                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:889:78: error: 'DWORD' has not been declared
   WINBOOL WINAPI GetPrinterDriverDirectoryW(LPWSTR pName,LPWSTR pEnvironment,DWORD Level,LPBYTE pDriverDirectory,DWORD cbBuf,LPDWORD pcbNeeded);
                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:889:114: error: 'DWORD' has not been declared
   WINBOOL WINAPI GetPrinterDriverDirectoryW(LPWSTR pName,LPWSTR pEnvironment,DWORD Level,LPBYTE pDriverDirectory,DWORD cbBuf,LPDWORD pcbNeeded);
                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:889:126: error: 'LPDWORD' has not been declared
   WINBOOL WINAPI GetPrinterDriverDirectoryW(LPWSTR pName,LPWSTR pEnvironment,DWORD Level,LPBYTE pDriverDirectory,DWORD cbBuf,LPDWORD pcbNeeded);
                                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:892:90: error: 'DWORD' has not been declared
   WINBOOL WINAPI DeletePrinterDriverExA(LPSTR pName,LPSTR pEnvironment,LPSTR pDriverName,DWORD dwDeleteFlag,DWORD dwVersionFlag);
                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:892:109: error: 'DWORD' has not been declared
   WINBOOL WINAPI DeletePrinterDriverExA(LPSTR pName,LPSTR pEnvironment,LPSTR pDriverName,DWORD dwDeleteFlag,DWORD dwVersionFlag);
                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:893:93: error: 'DWORD' has not been declared
   WINBOOL WINAPI DeletePrinterDriverExW(LPWSTR pName,LPWSTR pEnvironment,LPWSTR pDriverName,DWORD dwDeleteFlag,DWORD dwVersionFlag);
                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:893:112: error: 'DWORD' has not been declared
   WINBOOL WINAPI DeletePrinterDriverExW(LPWSTR pName,LPWSTR pEnvironment,LPWSTR pDriverName,DWORD dwDeleteFlag,DWORD dwVersionFlag);
                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:896:70: error: 'DWORD' has not been declared
   WINBOOL WINAPI EnumPrintProcessorsA(LPSTR pName,LPSTR pEnvironment,DWORD Level,LPBYTE pPrintProcessorInfo,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:896:109: error: 'DWORD' has not been declared
   WINBOOL WINAPI EnumPrintProcessorsA(LPSTR pName,LPSTR pEnvironment,DWORD Level,LPBYTE pPrintProcessorInfo,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:896:121: error: 'LPDWORD' has not been declared
   WINBOOL WINAPI EnumPrintProcessorsA(LPSTR pName,LPSTR pEnvironment,DWORD Level,LPBYTE pPrintProcessorInfo,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:896:139: error: 'LPDWORD' has not been declared
   WINBOOL WINAPI EnumPrintProcessorsA(LPSTR pName,LPSTR pEnvironment,DWORD Level,LPBYTE pPrintProcessorInfo,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:897:72: error: 'DWORD' has not been declared
   WINBOOL WINAPI EnumPrintProcessorsW(LPWSTR pName,LPWSTR pEnvironment,DWORD Level,LPBYTE pPrintProcessorInfo,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:897:111: error: 'DWORD' has not been declared
   WINBOOL WINAPI EnumPrintProcessorsW(LPWSTR pName,LPWSTR pEnvironment,DWORD Level,LPBYTE pPrintProcessorInfo,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:897:123: error: 'LPDWORD' has not been declared
   WINBOOL WINAPI EnumPrintProcessorsW(LPWSTR pName,LPWSTR pEnvironment,DWORD Level,LPBYTE pPrintProcessorInfo,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:897:141: error: 'LPDWORD' has not been declared
   WINBOOL WINAPI EnumPrintProcessorsW(LPWSTR pName,LPWSTR pEnvironment,DWORD Level,LPBYTE pPrintProcessorInfo,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:898:77: error: 'DWORD' has not been declared
   WINBOOL WINAPI GetPrintProcessorDirectoryA(LPSTR pName,LPSTR pEnvironment,DWORD Level,LPBYTE pPrintProcessorInfo,DWORD cbBuf,LPDWORD pcbNeeded);
                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:898:116: error: 'DWORD' has not been declared
   WINBOOL WINAPI GetPrintProcessorDirectoryA(LPSTR pName,LPSTR pEnvironment,DWORD Level,LPBYTE pPrintProcessorInfo,DWORD cbBuf,LPDWORD pcbNeeded);
                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:898:128: error: 'LPDWORD' has not been declared
   WINBOOL WINAPI GetPrintProcessorDirectoryA(LPSTR pName,LPSTR pEnvironment,DWORD Level,LPBYTE pPrintProcessorInfo,DWORD cbBuf,LPDWORD pcbNeeded);
                                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:899:79: error: 'DWORD' has not been declared
   WINBOOL WINAPI GetPrintProcessorDirectoryW(LPWSTR pName,LPWSTR pEnvironment,DWORD Level,LPBYTE pPrintProcessorInfo,DWORD cbBuf,LPDWORD pcbNeeded);
                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:899:118: error: 'DWORD' has not been declared
   WINBOOL WINAPI GetPrintProcessorDirectoryW(LPWSTR pName,LPWSTR pEnvironment,DWORD Level,LPBYTE pPrintProcessorInfo,DWORD cbBuf,LPDWORD pcbNeeded);
                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:899:130: error: 'LPDWORD' has not been declared
   WINBOOL WINAPI GetPrintProcessorDirectoryW(LPWSTR pName,LPWSTR pEnvironment,DWORD Level,LPBYTE pPrintProcessorInfo,DWORD cbBuf,LPDWORD pcbNeeded);
                                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:900:85: error: 'DWORD' has not been declared
   WINBOOL WINAPI EnumPrintProcessorDatatypesA(LPSTR pName,LPSTR pPrintProcessorName,DWORD Level,LPBYTE pDatatypes,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:900:115: error: 'DWORD' has not been declared
   WINBOOL WINAPI EnumPrintProcessorDatatypesA(LPSTR pName,LPSTR pPrintProcessorName,DWORD Level,LPBYTE pDatatypes,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:900:127: error: 'LPDWORD' has not been declared
   WINBOOL WINAPI EnumPrintProcessorDatatypesA(LPSTR pName,LPSTR pPrintProcessorName,DWORD Level,LPBYTE pDatatypes,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:900:145: error: 'LPDWORD' has not been declared
   WINBOOL WINAPI EnumPrintProcessorDatatypesA(LPSTR pName,LPSTR pPrintProcessorName,DWORD Level,LPBYTE pDatatypes,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:901:87: error: 'DWORD' has not been declared
   WINBOOL WINAPI EnumPrintProcessorDatatypesW(LPWSTR pName,LPWSTR pPrintProcessorName,DWORD Level,LPBYTE pDatatypes,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:901:117: error: 'DWORD' has not been declared
   WINBOOL WINAPI EnumPrintProcessorDatatypesW(LPWSTR pName,LPWSTR pPrintProcessorName,DWORD Level,LPBYTE pDatatypes,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:901:129: error: 'LPDWORD' has not been declared
   WINBOOL WINAPI EnumPrintProcessorDatatypesW(LPWSTR pName,LPWSTR pPrintProcessorName,DWORD Level,LPBYTE pDatatypes,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:901:147: error: 'LPDWORD' has not been declared
   WINBOOL WINAPI EnumPrintProcessorDatatypesW(LPWSTR pName,LPWSTR pPrintProcessorName,DWORD Level,LPBYTE pDatatypes,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:904:3: error: 'DWORD' does not name a type
   DWORD WINAPI StartDocPrinterA(HANDLE hPrinter,DWORD Level,LPBYTE pDocInfo);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:905:3: error: 'DWORD' does not name a type
   DWORD WINAPI StartDocPrinterW(HANDLE hPrinter,DWORD Level,LPBYTE pDocInfo);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:907:59: error: 'DWORD' has not been declared
   WINBOOL WINAPI WritePrinter(HANDLE hPrinter,LPVOID pBuf,DWORD cbBuf,LPDWORD pcWritten);
                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:907:71: error: 'LPDWORD' has not been declared
   WINBOOL WINAPI WritePrinter(HANDLE hPrinter,LPVOID pBuf,DWORD cbBuf,LPDWORD pcWritten);
                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:908:59: error: 'DWORD' has not been declared
   WINBOOL WINAPI FlushPrinter(HANDLE hPrinter,LPVOID pBuf,DWORD cbBuf,LPDWORD pcWritten,DWORD cSleep);
                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:908:71: error: 'LPDWORD' has not been declared
   WINBOOL WINAPI FlushPrinter(HANDLE hPrinter,LPVOID pBuf,DWORD cbBuf,LPDWORD pcWritten,DWORD cSleep);
                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:908:89: error: 'DWORD' has not been declared
   WINBOOL WINAPI FlushPrinter(HANDLE hPrinter,LPVOID pBuf,DWORD cbBuf,LPDWORD pcWritten,DWORD cSleep);
                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:911:58: error: 'DWORD' has not been declared
   WINBOOL WINAPI ReadPrinter(HANDLE hPrinter,LPVOID pBuf,DWORD cbBuf,LPDWORD pNoBytesRead);
                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:911:70: error: 'LPDWORD' has not been declared
   WINBOOL WINAPI ReadPrinter(HANDLE hPrinter,LPVOID pBuf,DWORD cbBuf,LPDWORD pNoBytesRead);
                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:913:42: error: 'DWORD' has not been declared
   WINBOOL WINAPI AddJobA(HANDLE hPrinter,DWORD Level,LPBYTE pData,DWORD cbBuf,LPDWORD pcbNeeded);
                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:913:67: error: 'DWORD' has not been declared
   WINBOOL WINAPI AddJobA(HANDLE hPrinter,DWORD Level,LPBYTE pData,DWORD cbBuf,LPDWORD pcbNeeded);
                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:913:79: error: 'LPDWORD' has not been declared
   WINBOOL WINAPI AddJobA(HANDLE hPrinter,DWORD Level,LPBYTE pData,DWORD cbBuf,LPDWORD pcbNeeded);
                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:914:42: error: 'DWORD' has not been declared
   WINBOOL WINAPI AddJobW(HANDLE hPrinter,DWORD Level,LPBYTE pData,DWORD cbBuf,LPDWORD pcbNeeded);
                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:914:67: error: 'DWORD' has not been declared
   WINBOOL WINAPI AddJobW(HANDLE hPrinter,DWORD Level,LPBYTE pData,DWORD cbBuf,LPDWORD pcbNeeded);
                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:914:79: error: 'LPDWORD' has not been declared
   WINBOOL WINAPI AddJobW(HANDLE hPrinter,DWORD Level,LPBYTE pData,DWORD cbBuf,LPDWORD pcbNeeded);
                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:915:46: error: 'DWORD' has not been declared
   WINBOOL WINAPI ScheduleJob(HANDLE hPrinter,DWORD JobId);
                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:917:3: error: 'LONG' does not name a type
   LONG WINAPI DocumentPropertiesA(HWND hWnd,HANDLE hPrinter,LPSTR pDeviceName,PDEVMODEA pDevModeOutput,PDEVMODEA pDevModeInput,DWORD fMode);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:918:3: error: 'LONG' does not name a type
   LONG WINAPI DocumentPropertiesW(HWND hWnd,HANDLE hPrinter,LPWSTR pDeviceName,PDEVMODEW pDevModeOutput,PDEVMODEW pDevModeInput,DWORD fMode);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:919:3: error: 'LONG' does not name a type
   LONG WINAPI AdvancedDocumentPropertiesA(HWND hWnd,HANDLE hPrinter,LPSTR pDeviceName,PDEVMODEA pDevModeOutput,PDEVMODEA pDevModeInput);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:920:3: error: 'LONG' does not name a type
   LONG WINAPI AdvancedDocumentPropertiesW(HWND hWnd,HANDLE hPrinter,LPWSTR pDeviceName,PDEVMODEW pDevModeOutput,PDEVMODEW pDevModeInput);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:921:3: error: 'LONG' does not name a type
   LONG ExtDeviceMode(HWND hWnd,HANDLE hInst,LPDEVMODEA pDevModeOutput,LPSTR pDeviceName,LPSTR pPort,LPDEVMODEA pDevModeInput,LPSTR pProfile,DWORD fMode);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:922:3: error: 'DWORD' does not name a type
   DWORD WINAPI GetPrinterDataA(HANDLE hPrinter,LPSTR pValueName,LPDWORD pType,LPBYTE pData,DWORD nSize,LPDWORD pcbNeeded);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:923:3: error: 'DWORD' does not name a type
   DWORD WINAPI GetPrinterDataW(HANDLE hPrinter,LPWSTR pValueName,LPDWORD pType,LPBYTE pData,DWORD nSize,LPDWORD pcbNeeded);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:924:3: error: 'DWORD' does not name a type
   DWORD WINAPI GetPrinterDataExA(HANDLE hPrinter,LPCSTR pKeyName,LPCSTR pValueName,LPDWORD pType,LPBYTE pData,DWORD nSize,LPDWORD pcbNeeded);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:925:3: error: 'DWORD' does not name a type
   DWORD WINAPI GetPrinterDataExW(HANDLE hPrinter,LPCWSTR pKeyName,LPCWSTR pValueName,LPDWORD pType,LPBYTE pData,DWORD nSize,LPDWORD pcbNeeded);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:926:3: error: 'DWORD' does not name a type
   DWORD WINAPI EnumPrinterDataA(HANDLE hPrinter,DWORD dwIndex,LPSTR pValueName,DWORD cbValueName,LPDWORD pcbValueName,LPDWORD pType,LPBYTE pData,DWORD cbData,LPDWORD pcbData);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:927:3: error: 'DWORD' does not name a type
   DWORD WINAPI EnumPrinterDataW(HANDLE hPrinter,DWORD dwIndex,LPWSTR pValueName,DWORD cbValueName,LPDWORD pcbValueName,LPDWORD pType,LPBYTE pData,DWORD cbData,LPDWORD pcbData);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:928:3: error: 'DWORD' does not name a type
   DWORD WINAPI EnumPrinterDataExA(HANDLE hPrinter,LPCSTR pKeyName,LPBYTE pEnumValues,DWORD cbEnumValues,LPDWORD pcbEnumValues,LPDWORD pnEnumValues);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:929:3: error: 'DWORD' does not name a type
   DWORD WINAPI EnumPrinterDataExW(HANDLE hPrinter,LPCWSTR pKeyName,LPBYTE pEnumValues,DWORD cbEnumValues,LPDWORD pcbEnumValues,LPDWORD pnEnumValues);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:930:3: error: 'DWORD' does not name a type
   DWORD WINAPI EnumPrinterKeyA(HANDLE hPrinter,LPCSTR pKeyName,LPSTR pSubkey,DWORD cbSubkey,LPDWORD pcbSubkey);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:931:3: error: 'DWORD' does not name a type
   DWORD WINAPI EnumPrinterKeyW(HANDLE hPrinter,LPCWSTR pKeyName,LPWSTR pSubkey,DWORD cbSubkey,LPDWORD pcbSubkey);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:932:3: error: 'DWORD' does not name a type
   DWORD WINAPI SetPrinterDataA(HANDLE hPrinter,LPSTR pValueName,DWORD Type,LPBYTE pData,DWORD cbData);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:933:3: error: 'DWORD' does not name a type
   DWORD WINAPI SetPrinterDataW(HANDLE hPrinter,LPWSTR pValueName,DWORD Type,LPBYTE pData,DWORD cbData);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:934:3: error: 'DWORD' does not name a type
   DWORD WINAPI SetPrinterDataExA(HANDLE hPrinter,LPCSTR pKeyName,LPCSTR pValueName,DWORD Type,LPBYTE pData,DWORD cbData);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:935:3: error: 'DWORD' does not name a type
   DWORD WINAPI SetPrinterDataExW(HANDLE hPrinter,LPCWSTR pKeyName,LPCWSTR pValueName,DWORD Type,LPBYTE pData,DWORD cbData);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:936:3: error: 'DWORD' does not name a type
   DWORD WINAPI DeletePrinterDataA(HANDLE hPrinter,LPSTR pValueName);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:937:3: error: 'DWORD' does not name a type
   DWORD WINAPI DeletePrinterDataW(HANDLE hPrinter,LPWSTR pValueName);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:938:3: error: 'DWORD' does not name a type
   DWORD WINAPI DeletePrinterDataExA(HANDLE hPrinter,LPCSTR pKeyName,LPCSTR pValueName);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:939:3: error: 'DWORD' does not name a type
   DWORD WINAPI DeletePrinterDataExW(HANDLE hPrinter,LPCWSTR pKeyName,LPCWSTR pValueName);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:940:3: error: 'DWORD' does not name a type
   DWORD WINAPI DeletePrinterKeyA(HANDLE hPrinter,LPCSTR pKeyName);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:941:3: error: 'DWORD' does not name a type
   DWORD WINAPI DeletePrinterKeyW(HANDLE hPrinter,LPCWSTR pKeyName);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1002:5: error: 'DWORD' does not name a type
     DWORD Reserved1;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1003:5: error: 'DWORD' does not name a type
     DWORD Reserved2;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1004:5: error: 'DWORD' does not name a type
     DWORD Count;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1011:5: error: 'DWORD' does not name a type
     DWORD Version;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1012:5: error: 'DWORD' does not name a type
     DWORD Flags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1013:5: error: 'DWORD' does not name a type
     DWORD Count;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1022:5: error: 'DWORD' does not name a type
     DWORD Reserved;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1023:5: error: 'DWORD' does not name a type
     DWORD Id;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1025:7: error: 'DWORD' does not name a type
       DWORD adwData[2];
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1027:2: error: 'DWORD' does not name a type
  DWORD cbBuf;
  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1034:5: error: 'DWORD' does not name a type
     DWORD Version;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1035:5: error: 'DWORD' does not name a type
     DWORD Flags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1036:5: error: 'DWORD' does not name a type
     DWORD Count;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1041:5: error: 'DWORD' does not name a type
     DWORD cbBuf;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1046:5: error: 'DWORD' does not name a type
     DWORD dwBidiType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1049:7: error: 'LONG' does not name a type
       LONG iData;
       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1057:5: error: 'DWORD' does not name a type
     DWORD dwReqNumber;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1063:5: error: 'DWORD' does not name a type
     DWORD Version;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1064:5: error: 'DWORD' does not name a type
     DWORD Flags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1065:5: error: 'DWORD' does not name a type
     DWORD Count;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1070:5: error: 'DWORD' does not name a type
     DWORD dwResult;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1071:5: error: 'DWORD' does not name a type
     DWORD dwReqNumber;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1077:5: error: 'DWORD' does not name a type
     DWORD Version;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1078:5: error: 'DWORD' does not name a type
     DWORD Flags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1079:5: error: 'DWORD' does not name a type
     DWORD Count;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1105:3: error: 'DWORD' does not name a type
   DWORD WINAPI WaitForPrinterChange(HANDLE hPrinter,DWORD Flags);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1106:68: error: 'DWORD' has not been declared
   HANDLE WINAPI FindFirstPrinterChangeNotification(HANDLE hPrinter,DWORD fdwFlags,DWORD fdwOptions,LPVOID pPrinterNotifyOptions);
                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1106:83: error: 'DWORD' has not been declared
   HANDLE WINAPI FindFirstPrinterChangeNotification(HANDLE hPrinter,DWORD fdwFlags,DWORD fdwOptions,LPVOID pPrinterNotifyOptions);
                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1107:67: error: 'PDWORD' has not been declared
   WINBOOL WINAPI FindNextPrinterChangeNotification(HANDLE hChange,PDWORD pdwChange,LPVOID pPrinterNotifyOptions,LPVOID *ppPrinterNotifyInfo);
                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1158:3: error: 'DWORD' does not name a type
   DWORD WINAPI PrinterMessageBoxA(HANDLE hPrinter,DWORD Error,HWND hWnd,LPSTR pText,LPSTR pCaption,DWORD dwType);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1159:3: error: 'DWORD' does not name a type
   DWORD WINAPI PrinterMessageBoxW(HANDLE hPrinter,DWORD Error,HWND hWnd,LPWSTR pText,LPWSTR pCaption,DWORD dwType);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1170:43: error: 'DWORD' has not been declared
   WINBOOL WINAPI AddFormA(HANDLE hPrinter,DWORD Level,LPBYTE pForm);
                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1171:43: error: 'DWORD' has not been declared
   WINBOOL WINAPI AddFormW(HANDLE hPrinter,DWORD Level,LPBYTE pForm);
                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1174:59: error: 'DWORD' has not been declared
   WINBOOL WINAPI GetFormA(HANDLE hPrinter,LPSTR pFormName,DWORD Level,LPBYTE pForm,DWORD cbBuf,LPDWORD pcbNeeded);
                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1174:84: error: 'DWORD' has not been declared
   WINBOOL WINAPI GetFormA(HANDLE hPrinter,LPSTR pFormName,DWORD Level,LPBYTE pForm,DWORD cbBuf,LPDWORD pcbNeeded);
                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1174:96: error: 'LPDWORD' has not been declared
   WINBOOL WINAPI GetFormA(HANDLE hPrinter,LPSTR pFormName,DWORD Level,LPBYTE pForm,DWORD cbBuf,LPDWORD pcbNeeded);
                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1175:60: error: 'DWORD' has not been declared
   WINBOOL WINAPI GetFormW(HANDLE hPrinter,LPWSTR pFormName,DWORD Level,LPBYTE pForm,DWORD cbBuf,LPDWORD pcbNeeded);
                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1175:85: error: 'DWORD' has not been declared
   WINBOOL WINAPI GetFormW(HANDLE hPrinter,LPWSTR pFormName,DWORD Level,LPBYTE pForm,DWORD cbBuf,LPDWORD pcbNeeded);
                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1175:97: error: 'LPDWORD' has not been declared
   WINBOOL WINAPI GetFormW(HANDLE hPrinter,LPWSTR pFormName,DWORD Level,LPBYTE pForm,DWORD cbBuf,LPDWORD pcbNeeded);
                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1176:59: error: 'DWORD' has not been declared
   WINBOOL WINAPI SetFormA(HANDLE hPrinter,LPSTR pFormName,DWORD Level,LPBYTE pForm);
                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1177:60: error: 'DWORD' has not been declared
   WINBOOL WINAPI SetFormW(HANDLE hPrinter,LPWSTR pFormName,DWORD Level,LPBYTE pForm);
                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1178:45: error: 'DWORD' has not been declared
   WINBOOL WINAPI EnumFormsA(HANDLE hPrinter,DWORD Level,LPBYTE pForm,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1178:70: error: 'DWORD' has not been declared
   WINBOOL WINAPI EnumFormsA(HANDLE hPrinter,DWORD Level,LPBYTE pForm,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1178:82: error: 'LPDWORD' has not been declared
   WINBOOL WINAPI EnumFormsA(HANDLE hPrinter,DWORD Level,LPBYTE pForm,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1178:100: error: 'LPDWORD' has not been declared
   WINBOOL WINAPI EnumFormsA(HANDLE hPrinter,DWORD Level,LPBYTE pForm,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1179:45: error: 'DWORD' has not been declared
   WINBOOL WINAPI EnumFormsW(HANDLE hPrinter,DWORD Level,LPBYTE pForm,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1179:70: error: 'DWORD' has not been declared
   WINBOOL WINAPI EnumFormsW(HANDLE hPrinter,DWORD Level,LPBYTE pForm,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1179:82: error: 'LPDWORD' has not been declared
   WINBOOL WINAPI EnumFormsW(HANDLE hPrinter,DWORD Level,LPBYTE pForm,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1179:100: error: 'LPDWORD' has not been declared
   WINBOOL WINAPI EnumFormsW(HANDLE hPrinter,DWORD Level,LPBYTE pForm,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1180:44: error: 'DWORD' has not been declared
   WINBOOL WINAPI EnumMonitorsA(LPSTR pName,DWORD Level,LPBYTE pMonitor,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1180:72: error: 'DWORD' has not been declared
   WINBOOL WINAPI EnumMonitorsA(LPSTR pName,DWORD Level,LPBYTE pMonitor,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1180:84: error: 'LPDWORD' has not been declared
   WINBOOL WINAPI EnumMonitorsA(LPSTR pName,DWORD Level,LPBYTE pMonitor,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1180:102: error: 'LPDWORD' has not been declared
   WINBOOL WINAPI EnumMonitorsA(LPSTR pName,DWORD Level,LPBYTE pMonitor,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1181:45: error: 'DWORD' has not been declared
   WINBOOL WINAPI EnumMonitorsW(LPWSTR pName,DWORD Level,LPBYTE pMonitor,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1181:73: error: 'DWORD' has not been declared
   WINBOOL WINAPI EnumMonitorsW(LPWSTR pName,DWORD Level,LPBYTE pMonitor,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1181:85: error: 'LPDWORD' has not been declared
   WINBOOL WINAPI EnumMonitorsW(LPWSTR pName,DWORD Level,LPBYTE pMonitor,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1181:103: error: 'LPDWORD' has not been declared
   WINBOOL WINAPI EnumMonitorsW(LPWSTR pName,DWORD Level,LPBYTE pMonitor,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1182:42: error: 'DWORD' has not been declared
   WINBOOL WINAPI AddMonitorA(LPSTR pName,DWORD Level,LPBYTE pMonitorInfo);
                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1183:43: error: 'DWORD' has not been declared
   WINBOOL WINAPI AddMonitorW(LPWSTR pName,DWORD Level,LPBYTE pMonitorInfo);
                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1186:41: error: 'DWORD' has not been declared
   WINBOOL WINAPI EnumPortsA(LPSTR pName,DWORD Level,LPBYTE pPorts,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1186:67: error: 'DWORD' has not been declared
   WINBOOL WINAPI EnumPortsA(LPSTR pName,DWORD Level,LPBYTE pPorts,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1186:79: error: 'LPDWORD' has not been declared
   WINBOOL WINAPI EnumPortsA(LPSTR pName,DWORD Level,LPBYTE pPorts,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1186:97: error: 'LPDWORD' has not been declared
   WINBOOL WINAPI EnumPortsA(LPSTR pName,DWORD Level,LPBYTE pPorts,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1187:42: error: 'DWORD' has not been declared
   WINBOOL WINAPI EnumPortsW(LPWSTR pName,DWORD Level,LPBYTE pPorts,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1187:68: error: 'DWORD' has not been declared
   WINBOOL WINAPI EnumPortsW(LPWSTR pName,DWORD Level,LPBYTE pPorts,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1187:80: error: 'LPDWORD' has not been declared
   WINBOOL WINAPI EnumPortsW(LPWSTR pName,DWORD Level,LPBYTE pPorts,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1187:98: error: 'LPDWORD' has not been declared
   WINBOOL WINAPI EnumPortsW(LPWSTR pName,DWORD Level,LPBYTE pPorts,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1194:75: error: 'DWORD' has not been declared
   WINBOOL WINAPI XcvDataW(HANDLE hXcv,PCWSTR pszDataName,PBYTE pInputData,DWORD cbInputData,PBYTE pOutputData,DWORD cbOutputData,PDWORD pcbOutputNeeded,PDWORD pdwStatus);
                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1194:111: error: 'DWORD' has not been declared
   WINBOOL WINAPI XcvDataW(HANDLE hXcv,PCWSTR pszDataName,PBYTE pInputData,DWORD cbInputData,PBYTE pOutputData,DWORD cbOutputData,PDWORD pcbOutputNeeded,PDWORD pdwStatus);
                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1194:130: error: 'PDWORD' has not been declared
   WINBOOL WINAPI XcvDataW(HANDLE hXcv,PCWSTR pszDataName,PBYTE pInputData,DWORD cbInputData,PBYTE pOutputData,DWORD cbOutputData,PDWORD pcbOutputNeeded,PDWORD pdwStatus);
                                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1194:153: error: 'PDWORD' has not been declared
   WINBOOL WINAPI XcvDataW(HANDLE hXcv,PCWSTR pszDataName,PBYTE pInputData,DWORD cbInputData,PBYTE pOutputData,DWORD cbOutputData,PDWORD pcbOutputNeeded,PDWORD pdwStatus);
                                                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1198:53: error: 'LPDWORD' has not been declared
   WINBOOL WINAPI GetDefaultPrinterA(LPSTR pszBuffer,LPDWORD pcchBuffer);
                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1199:54: error: 'LPDWORD' has not been declared
   WINBOOL WINAPI GetDefaultPrinterW(LPWSTR pszBuffer,LPDWORD pcchBuffer);
                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1202:55: error: 'DWORD' has not been declared
   WINBOOL WINAPI SetPortA(LPSTR pName,LPSTR pPortName,DWORD dwLevel,LPBYTE pPortInfo);
                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1203:57: error: 'DWORD' has not been declared
   WINBOOL WINAPI SetPortW(LPWSTR pName,LPWSTR pPortName,DWORD dwLevel,LPBYTE pPortInfo);
                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1208:47: error: 'DWORD' has not been declared
   HANDLE WINAPI ConnectToPrinterDlg(HWND hwnd,DWORD Flags);
                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1242:48: error: 'DWORD' has not been declared
   WINBOOL WINAPI AddPrintProvidorA(LPSTR pName,DWORD level,LPBYTE pProvidorInfo);
                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winspool.h:1243:49: error: 'DWORD' has not been declared
   WINBOOL WINAPI AddPrintProvidorW(LPWSTR pName,DWORD level,LPBYTE pProvidorInfo);
                                                 ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:108:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:49:5: error: 'DWORD' does not name a type
     DWORD lStructSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:54:5: error: 'DWORD' does not name a type
     DWORD nMaxCustFilter;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:55:5: error: 'DWORD' does not name a type
     DWORD nFilterIndex;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:57:5: error: 'DWORD' does not name a type
     DWORD nMaxFile;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:59:5: error: 'DWORD' does not name a type
     DWORD nMaxFileTitle;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:62:5: error: 'DWORD' does not name a type
     DWORD Flags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:71:5: error: 'DWORD' does not name a type
     DWORD lStructSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:76:5: error: 'DWORD' does not name a type
     DWORD nMaxCustFilter;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:77:5: error: 'DWORD' does not name a type
     DWORD nFilterIndex;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:79:5: error: 'DWORD' does not name a type
     DWORD nMaxFile;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:81:5: error: 'DWORD' does not name a type
     DWORD nMaxFileTitle;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:84:5: error: 'DWORD' does not name a type
     DWORD Flags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:97:5: error: 'DWORD' does not name a type
     DWORD lStructSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:102:5: error: 'DWORD' does not name a type
     DWORD nMaxCustFilter;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:103:5: error: 'DWORD' does not name a type
     DWORD nFilterIndex;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:105:5: error: 'DWORD' does not name a type
     DWORD nMaxFile;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:107:5: error: 'DWORD' does not name a type
     DWORD nMaxFileTitle;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:110:5: error: 'DWORD' does not name a type
     DWORD Flags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:118:5: error: 'DWORD' does not name a type
     DWORD dwReserved;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:119:5: error: 'DWORD' does not name a type
     DWORD FlagsEx;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:122:5: error: 'DWORD' does not name a type
     DWORD lStructSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:127:5: error: 'DWORD' does not name a type
     DWORD nMaxCustFilter;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:128:5: error: 'DWORD' does not name a type
     DWORD nFilterIndex;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:130:5: error: 'DWORD' does not name a type
     DWORD nMaxFile;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:132:5: error: 'DWORD' does not name a type
     DWORD nMaxFileTitle;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:135:5: error: 'DWORD' does not name a type
     DWORD Flags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:143:5: error: 'DWORD' does not name a type
     DWORD dwReserved;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:144:5: error: 'DWORD' does not name a type
     DWORD FlagsEx;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:278:5: error: 'DWORD' does not name a type
     DWORD lStructSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:281:5: error: 'COLORREF' does not name a type
     COLORREF rgbResult;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:282:5: error: 'COLORREF' does not name a type
     COLORREF *lpCustColors;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:283:5: error: 'DWORD' does not name a type
     DWORD Flags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:289:5: error: 'DWORD' does not name a type
     DWORD lStructSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:292:5: error: 'COLORREF' does not name a type
     COLORREF rgbResult;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:293:5: error: 'COLORREF' does not name a type
     COLORREF *lpCustColors;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:294:5: error: 'DWORD' does not name a type
     DWORD Flags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:321:5: error: 'DWORD' does not name a type
     DWORD lStructSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:324:5: error: 'DWORD' does not name a type
     DWORD Flags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:335:5: error: 'DWORD' does not name a type
     DWORD lStructSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:338:5: error: 'DWORD' does not name a type
     DWORD Flags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:386:5: error: 'DWORD' does not name a type
     DWORD lStructSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:391:5: error: 'DWORD' does not name a type
     DWORD Flags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:392:5: error: 'COLORREF' does not name a type
     COLORREF rgbColors;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:405:5: error: 'DWORD' does not name a type
     DWORD lStructSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:410:5: error: 'DWORD' does not name a type
     DWORD Flags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:411:5: error: 'COLORREF' does not name a type
     COLORREF rgbColors;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:510:5: error: 'DWORD' does not name a type
     DWORD lStructSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:515:5: error: 'DWORD' does not name a type
     DWORD Flags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:532:5: error: 'DWORD' does not name a type
     DWORD lStructSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:537:5: error: 'DWORD' does not name a type
     DWORD Flags;
     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/objbase.h:14:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/ole2.h:17,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wtypes.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winscard.h:10,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:97,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:566:5: error: 'HRESULT' does not name a type
     STDMETHOD(QueryInterface) (THIS_ REFIID riid,LPVOID *ppvObj) PURE;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:567:5: error: 'ULONG' does not name a type
     STDMETHOD_(ULONG,AddRef) (THIS) PURE;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:568:5: error: 'ULONG' does not name a type
     STDMETHOD_(ULONG,Release) (THIS) PURE;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:569:5: error: 'HRESULT' does not name a type
     STDMETHOD(InitDone) (THIS) PURE;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:570:5: error: 'HRESULT' does not name a type
     STDMETHOD(SelectionChange) (THIS) PURE;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:571:5: error: 'HRESULT' does not name a type
     STDMETHOD(HandleMessage) (THIS_ HWND hDlg,UINT uMsg,WPARAM wParam,LPARAM lParam,LRESULT *pResult) PURE;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:577:5: error: 'HRESULT' does not name a type
     STDMETHOD(QueryInterface) (THIS_ REFIID riid,LPVOID *ppvObj) PURE;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:578:5: error: 'ULONG' does not name a type
     STDMETHOD_(ULONG,AddRef) (THIS) PURE;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:579:5: error: 'ULONG' does not name a type
     STDMETHOD_(ULONG,Release) (THIS) PURE;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:580:5: error: 'HRESULT' does not name a type
     STDMETHOD(GetCurrentDevMode) (THIS_ LPDEVMODE pDevMode,UINT *pcbSize) PURE;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:581:5: error: 'HRESULT' does not name a type
     STDMETHOD(GetCurrentPrinterName) (THIS_ LPTSTR pPrinterName,UINT *pcchSize) PURE;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:582:5: error: 'HRESULT' does not name a type
     STDMETHOD(GetCurrentPortName) (THIS_ LPTSTR pPortName,UINT *pcchSize) PURE;
     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:108:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:586:5: error: 'DWORD' does not name a type
     DWORD nFromPage;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:587:5: error: 'DWORD' does not name a type
     DWORD nToPage;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:591:5: error: 'DWORD' does not name a type
     DWORD lStructSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:596:5: error: 'DWORD' does not name a type
     DWORD Flags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:597:5: error: 'DWORD' does not name a type
     DWORD Flags2;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:598:5: error: 'DWORD' does not name a type
     DWORD ExclusionFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:599:5: error: 'DWORD' does not name a type
     DWORD nPageRanges;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:600:5: error: 'DWORD' does not name a type
     DWORD nMaxPageRanges;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:602:5: error: 'DWORD' does not name a type
     DWORD nMinPage;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:603:5: error: 'DWORD' does not name a type
     DWORD nMaxPage;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:604:5: error: 'DWORD' does not name a type
     DWORD nCopies;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:608:5: error: 'DWORD' does not name a type
     DWORD nPropertyPages;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:610:5: error: 'DWORD' does not name a type
     DWORD nStartPage;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:611:5: error: 'DWORD' does not name a type
     DWORD dwResultAction;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:615:5: error: 'DWORD' does not name a type
     DWORD lStructSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:620:5: error: 'DWORD' does not name a type
     DWORD Flags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:621:5: error: 'DWORD' does not name a type
     DWORD Flags2;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:622:5: error: 'DWORD' does not name a type
     DWORD ExclusionFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:623:5: error: 'DWORD' does not name a type
     DWORD nPageRanges;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:624:5: error: 'DWORD' does not name a type
     DWORD nMaxPageRanges;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:626:5: error: 'DWORD' does not name a type
     DWORD nMinPage;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:627:5: error: 'DWORD' does not name a type
     DWORD nMaxPage;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:628:5: error: 'DWORD' does not name a type
     DWORD nCopies;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:632:5: error: 'DWORD' does not name a type
     DWORD nPropertyPages;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:634:5: error: 'DWORD' does not name a type
     DWORD nStartPage;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:635:5: error: 'DWORD' does not name a type
     DWORD dwResultAction;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:641:17: error: 'HRESULT' does not name a type
   WINCOMMDLGAPI HRESULT WINAPI PrintDlgExA(LPPRINTDLGEXA);
                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:642:17: error: 'HRESULT' does not name a type
   WINCOMMDLGAPI HRESULT WINAPI PrintDlgExW(LPPRINTDLGEXW);
                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:692:17: error: 'DWORD' does not name a type
   WINCOMMDLGAPI DWORD WINAPI CommDlgExtendedError(VOID);
                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:706:5: error: 'DWORD' does not name a type
     DWORD lStructSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:710:5: error: 'DWORD' does not name a type
     DWORD Flags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:723:5: error: 'DWORD' does not name a type
     DWORD lStructSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/commdlg.h:727:5: error: 'DWORD' does not name a type
     DWORD Flags;
     ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:122:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:112:5: error: 'DWORD' does not name a type
     DWORD Delay;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:116:5: error: 'DWORD' does not name a type
     DWORD dwResetPeriod;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:119:5: error: 'DWORD' does not name a type
     DWORD cActions;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:124:5: error: 'DWORD' does not name a type
     DWORD dwResetPeriod;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:127:5: error: 'DWORD' does not name a type
     DWORD cActions;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:148:5: error: 'DWORD' does not name a type
     DWORD dwServiceType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:149:5: error: 'DWORD' does not name a type
     DWORD dwCurrentState;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:150:5: error: 'DWORD' does not name a type
     DWORD dwControlsAccepted;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:151:5: error: 'DWORD' does not name a type
     DWORD dwWin32ExitCode;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:152:5: error: 'DWORD' does not name a type
     DWORD dwServiceSpecificExitCode;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:153:5: error: 'DWORD' does not name a type
     DWORD dwCheckPoint;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:154:5: error: 'DWORD' does not name a type
     DWORD dwWaitHint;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:158:5: error: 'DWORD' does not name a type
     DWORD dwServiceType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:159:5: error: 'DWORD' does not name a type
     DWORD dwCurrentState;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:160:5: error: 'DWORD' does not name a type
     DWORD dwControlsAccepted;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:161:5: error: 'DWORD' does not name a type
     DWORD dwWin32ExitCode;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:162:5: error: 'DWORD' does not name a type
     DWORD dwServiceSpecificExitCode;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:163:5: error: 'DWORD' does not name a type
     DWORD dwCheckPoint;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:164:5: error: 'DWORD' does not name a type
     DWORD dwWaitHint;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:165:5: error: 'DWORD' does not name a type
     DWORD dwProcessId;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:166:5: error: 'DWORD' does not name a type
     DWORD dwServiceFlags;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:202:5: error: 'DWORD' does not name a type
     DWORD fIsLocked;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:204:5: error: 'DWORD' does not name a type
     DWORD dwLockDuration;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:208:5: error: 'DWORD' does not name a type
     DWORD fIsLocked;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:210:5: error: 'DWORD' does not name a type
     DWORD dwLockDuration;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:217:5: error: 'DWORD' does not name a type
     DWORD dwServiceType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:218:5: error: 'DWORD' does not name a type
     DWORD dwStartType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:219:5: error: 'DWORD' does not name a type
     DWORD dwErrorControl;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:222:5: error: 'DWORD' does not name a type
     DWORD dwTagId;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:229:5: error: 'DWORD' does not name a type
     DWORD dwServiceType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:230:5: error: 'DWORD' does not name a type
     DWORD dwStartType;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:231:5: error: 'DWORD' does not name a type
     DWORD dwErrorControl;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:234:5: error: 'DWORD' does not name a type
     DWORD dwTagId;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:243:51: error: typedef 'LPSERVICE_MAIN_FUNCTIONW' is initialized (use decltype instead)
   typedef VOID (WINAPI *LPSERVICE_MAIN_FUNCTIONW)(DWORD dwNumServicesArgs,LPWSTR *lpServiceArgVectors);
                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:243:51: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:243:82: error: expected primary-expression before '*' token
   typedef VOID (WINAPI *LPSERVICE_MAIN_FUNCTIONW)(DWORD dwNumServicesArgs,LPWSTR *lpServiceArgVectors);
                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:243:83: error: 'lpServiceArgVectors' was not declared in this scope
   typedef VOID (WINAPI *LPSERVICE_MAIN_FUNCTIONW)(DWORD dwNumServicesArgs,LPWSTR *lpServiceArgVectors);
                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:244:51: error: typedef 'LPSERVICE_MAIN_FUNCTIONA' is initialized (use decltype instead)
   typedef VOID (WINAPI *LPSERVICE_MAIN_FUNCTIONA)(DWORD dwNumServicesArgs,LPSTR *lpServiceArgVectors);
                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:244:51: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:244:81: error: expected primary-expression before '*' token
   typedef VOID (WINAPI *LPSERVICE_MAIN_FUNCTIONA)(DWORD dwNumServicesArgs,LPSTR *lpServiceArgVectors);
                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:244:82: error: 'lpServiceArgVectors' was not declared in this scope
   typedef VOID (WINAPI *LPSERVICE_MAIN_FUNCTIONA)(DWORD dwNumServicesArgs,LPSTR *lpServiceArgVectors);
                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:250:5: error: 'LPSERVICE_MAIN_FUNCTIONA' does not name a type
     LPSERVICE_MAIN_FUNCTIONA lpServiceProc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:255:5: error: 'LPSERVICE_MAIN_FUNCTIONW' does not name a type
     LPSERVICE_MAIN_FUNCTIONW lpServiceProc;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:261:45: error: typedef 'LPHANDLER_FUNCTION' is initialized (use decltype instead)
   typedef VOID (WINAPI *LPHANDLER_FUNCTION)(DWORD dwControl);
                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:261:45: error: 'DWORD' was not declared in this scope
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:262:17: error: typedef 'DWORD' is initialized (use decltype instead)
   typedef DWORD (WINAPI *LPHANDLER_FUNCTION_EX)(DWORD dwControl,DWORD dwEventType,LPVOID lpEventData,LPVOID lpContext);
                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:262:26: error: 'LPHANDLER_FUNCTION_EX' was not declared in this scope
   typedef DWORD (WINAPI *LPHANDLER_FUNCTION_EX)(DWORD dwControl,DWORD dwEventType,LPVOID lpEventData,LPVOID lpContext);
                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:282:68: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI ChangeServiceConfigA(SC_HANDLE hService,DWORD dwServiceType,DWORD dwStartType,DWORD dwErrorControl,LPCSTR lpBinaryPathName,LPCSTR lpLoadOrderGroup,LPDWORD lpdwTagId,LPCSTR lpDependencies,LPCSTR lpServiceStartName,LPCSTR lpPassword,LPCSTR lpDisplayName);
                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:282:88: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI ChangeServiceConfigA(SC_HANDLE hService,DWORD dwServiceType,DWORD dwStartType,DWORD dwErrorControl,LPCSTR lpBinaryPathName,LPCSTR lpLoadOrderGroup,LPDWORD lpdwTagId,LPCSTR lpDependencies,LPCSTR lpServiceStartName,LPCSTR lpPassword,LPCSTR lpDisplayName);
                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:282:106: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI ChangeServiceConfigA(SC_HANDLE hService,DWORD dwServiceType,DWORD dwStartType,DWORD dwErrorControl,LPCSTR lpBinaryPathName,LPCSTR lpLoadOrderGroup,LPDWORD lpdwTagId,LPCSTR lpDependencies,LPCSTR lpServiceStartName,LPCSTR lpPassword,LPCSTR lpDisplayName);
                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:282:175: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI ChangeServiceConfigA(SC_HANDLE hService,DWORD dwServiceType,DWORD dwStartType,DWORD dwErrorControl,LPCSTR lpBinaryPathName,LPCSTR lpLoadOrderGroup,LPDWORD lpdwTagId,LPCSTR lpDependencies,LPCSTR lpServiceStartName,LPCSTR lpPassword,LPCSTR lpDisplayName);
                                                                                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:283:68: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI ChangeServiceConfigW(SC_HANDLE hService,DWORD dwServiceType,DWORD dwStartType,DWORD dwErrorControl,LPCWSTR lpBinaryPathName,LPCWSTR lpLoadOrderGroup,LPDWORD lpdwTagId,LPCWSTR lpDependencies,LPCWSTR lpServiceStartName,LPCWSTR lpPassword,LPCWSTR lpDisplayName);
                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:283:88: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI ChangeServiceConfigW(SC_HANDLE hService,DWORD dwServiceType,DWORD dwStartType,DWORD dwErrorControl,LPCWSTR lpBinaryPathName,LPCWSTR lpLoadOrderGroup,LPDWORD lpdwTagId,LPCWSTR lpDependencies,LPCWSTR lpServiceStartName,LPCWSTR lpPassword,LPCWSTR lpDisplayName);
                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:283:106: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI ChangeServiceConfigW(SC_HANDLE hService,DWORD dwServiceType,DWORD dwStartType,DWORD dwErrorControl,LPCWSTR lpBinaryPathName,LPCWSTR lpLoadOrderGroup,LPDWORD lpdwTagId,LPCWSTR lpDependencies,LPCWSTR lpServiceStartName,LPCWSTR lpPassword,LPCWSTR lpDisplayName);
                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:283:177: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI ChangeServiceConfigW(SC_HANDLE hService,DWORD dwServiceType,DWORD dwStartType,DWORD dwErrorControl,LPCWSTR lpBinaryPathName,LPCWSTR lpLoadOrderGroup,LPDWORD lpdwTagId,LPCWSTR lpDependencies,LPCWSTR lpServiceStartName,LPCWSTR lpPassword,LPCWSTR lpDisplayName);
                                                                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:284:69: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI ChangeServiceConfig2A(SC_HANDLE hService,DWORD dwInfoLevel,LPVOID lpInfo);
                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:285:69: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI ChangeServiceConfig2W(SC_HANDLE hService,DWORD dwInfoLevel,LPVOID lpInfo);
                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:287:62: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI ControlService(SC_HANDLE hService,DWORD dwControl,LPSERVICE_STATUS lpServiceStatus);
                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:288:108: error: 'DWORD' has not been declared
   WINADVAPI SC_HANDLE WINAPI CreateServiceA(SC_HANDLE hSCManager,LPCSTR lpServiceName,LPCSTR lpDisplayName,DWORD dwDesiredAccess,DWORD dwServiceType,DWORD dwStartType,DWORD dwErrorControl,LPCSTR lpBinaryPathName,LPCSTR lpLoadOrderGroup,LPDWORD lpdwTagId,LPCSTR lpDependencies,LPCSTR lpServiceStartName,LPCSTR lpPassword);
                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:288:130: error: 'DWORD' has not been declared
   WINADVAPI SC_HANDLE WINAPI CreateServiceA(SC_HANDLE hSCManager,LPCSTR lpServiceName,LPCSTR lpDisplayName,DWORD dwDesiredAccess,DWORD dwServiceType,DWORD dwStartType,DWORD dwErrorControl,LPCSTR lpBinaryPathName,LPCSTR lpLoadOrderGroup,LPDWORD lpdwTagId,LPCSTR lpDependencies,LPCSTR lpServiceStartName,LPCSTR lpPassword);
                                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:288:150: error: 'DWORD' has not been declared
   WINADVAPI SC_HANDLE WINAPI CreateServiceA(SC_HANDLE hSCManager,LPCSTR lpServiceName,LPCSTR lpDisplayName,DWORD dwDesiredAccess,DWORD dwServiceType,DWORD dwStartType,DWORD dwErrorControl,LPCSTR lpBinaryPathName,LPCSTR lpLoadOrderGroup,LPDWORD lpdwTagId,LPCSTR lpDependencies,LPCSTR lpServiceStartName,LPCSTR lpPassword);
                                                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:288:168: error: 'DWORD' has not been declared
   WINADVAPI SC_HANDLE WINAPI CreateServiceA(SC_HANDLE hSCManager,LPCSTR lpServiceName,LPCSTR lpDisplayName,DWORD dwDesiredAccess,DWORD dwServiceType,DWORD dwStartType,DWORD dwErrorControl,LPCSTR lpBinaryPathName,LPCSTR lpLoadOrderGroup,LPDWORD lpdwTagId,LPCSTR lpDependencies,LPCSTR lpServiceStartName,LPCSTR lpPassword);
                                                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:288:237: error: 'LPDWORD' has not been declared
   WINADVAPI SC_HANDLE WINAPI CreateServiceA(SC_HANDLE hSCManager,LPCSTR lpServiceName,LPCSTR lpDisplayName,DWORD dwDesiredAccess,DWORD dwServiceType,DWORD dwStartType,DWORD dwErrorControl,LPCSTR lpBinaryPathName,LPCSTR lpLoadOrderGroup,LPDWORD lpdwTagId,LPCSTR lpDependencies,LPCSTR lpServiceStartName,LPCSTR lpPassword);
                                                                                                                                                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:289:110: error: 'DWORD' has not been declared
   WINADVAPI SC_HANDLE WINAPI CreateServiceW(SC_HANDLE hSCManager,LPCWSTR lpServiceName,LPCWSTR lpDisplayName,DWORD dwDesiredAccess,DWORD dwServiceType,DWORD dwStartType,DWORD dwErrorControl,LPCWSTR lpBinaryPathName,LPCWSTR lpLoadOrderGroup,LPDWORD lpdwTagId,LPCWSTR lpDependencies,LPCWSTR lpServiceStartName,LPCWSTR lpPassword);
                                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:289:132: error: 'DWORD' has not been declared
   WINADVAPI SC_HANDLE WINAPI CreateServiceW(SC_HANDLE hSCManager,LPCWSTR lpServiceName,LPCWSTR lpDisplayName,DWORD dwDesiredAccess,DWORD dwServiceType,DWORD dwStartType,DWORD dwErrorControl,LPCWSTR lpBinaryPathName,LPCWSTR lpLoadOrderGroup,LPDWORD lpdwTagId,LPCWSTR lpDependencies,LPCWSTR lpServiceStartName,LPCWSTR lpPassword);
                                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:289:152: error: 'DWORD' has not been declared
   WINADVAPI SC_HANDLE WINAPI CreateServiceW(SC_HANDLE hSCManager,LPCWSTR lpServiceName,LPCWSTR lpDisplayName,DWORD dwDesiredAccess,DWORD dwServiceType,DWORD dwStartType,DWORD dwErrorControl,LPCWSTR lpBinaryPathName,LPCWSTR lpLoadOrderGroup,LPDWORD lpdwTagId,LPCWSTR lpDependencies,LPCWSTR lpServiceStartName,LPCWSTR lpPassword);
                                                                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:289:170: error: 'DWORD' has not been declared
   WINADVAPI SC_HANDLE WINAPI CreateServiceW(SC_HANDLE hSCManager,LPCWSTR lpServiceName,LPCWSTR lpDisplayName,DWORD dwDesiredAccess,DWORD dwServiceType,DWORD dwStartType,DWORD dwErrorControl,LPCWSTR lpBinaryPathName,LPCWSTR lpLoadOrderGroup,LPDWORD lpdwTagId,LPCWSTR lpDependencies,LPCWSTR lpServiceStartName,LPCWSTR lpPassword);
                                                                                                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:289:241: error: 'LPDWORD' has not been declared
   WINADVAPI SC_HANDLE WINAPI CreateServiceW(SC_HANDLE hSCManager,LPCWSTR lpServiceName,LPCWSTR lpDisplayName,DWORD dwDesiredAccess,DWORD dwServiceType,DWORD dwStartType,DWORD dwErrorControl,LPCWSTR lpBinaryPathName,LPCWSTR lpLoadOrderGroup,LPDWORD lpdwTagId,LPCWSTR lpDependencies,LPCWSTR lpServiceStartName,LPCWSTR lpPassword);
                                                                                                                                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:291:70: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI EnumDependentServicesA(SC_HANDLE hService,DWORD dwServiceState,LPENUM_SERVICE_STATUSA lpServices,DWORD cbBufSize,LPDWORD pcbBytesNeeded,LPDWORD lpServicesReturned);
                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:291:125: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI EnumDependentServicesA(SC_HANDLE hService,DWORD dwServiceState,LPENUM_SERVICE_STATUSA lpServices,DWORD cbBufSize,LPDWORD pcbBytesNeeded,LPDWORD lpServicesReturned);
                                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:291:141: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI EnumDependentServicesA(SC_HANDLE hService,DWORD dwServiceState,LPENUM_SERVICE_STATUSA lpServices,DWORD cbBufSize,LPDWORD pcbBytesNeeded,LPDWORD lpServicesReturned);
                                                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:291:164: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI EnumDependentServicesA(SC_HANDLE hService,DWORD dwServiceState,LPENUM_SERVICE_STATUSA lpServices,DWORD cbBufSize,LPDWORD pcbBytesNeeded,LPDWORD lpServicesReturned);
                                                                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:292:70: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI EnumDependentServicesW(SC_HANDLE hService,DWORD dwServiceState,LPENUM_SERVICE_STATUSW lpServices,DWORD cbBufSize,LPDWORD pcbBytesNeeded,LPDWORD lpServicesReturned);
                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:292:125: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI EnumDependentServicesW(SC_HANDLE hService,DWORD dwServiceState,LPENUM_SERVICE_STATUSW lpServices,DWORD cbBufSize,LPDWORD pcbBytesNeeded,LPDWORD lpServicesReturned);
                                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:292:141: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI EnumDependentServicesW(SC_HANDLE hService,DWORD dwServiceState,LPENUM_SERVICE_STATUSW lpServices,DWORD cbBufSize,LPDWORD pcbBytesNeeded,LPDWORD lpServicesReturned);
                                                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:292:164: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI EnumDependentServicesW(SC_HANDLE hService,DWORD dwServiceState,LPENUM_SERVICE_STATUSW lpServices,DWORD cbBufSize,LPDWORD pcbBytesNeeded,LPDWORD lpServicesReturned);
                                                                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:293:69: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI EnumServicesStatusA(SC_HANDLE hSCManager,DWORD dwServiceType,DWORD dwServiceState,LPENUM_SERVICE_STATUSA lpServices,DWORD cbBufSize,LPDWORD pcbBytesNeeded,LPDWORD lpServicesReturned,LPDWORD lpResumeHandle);
                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:293:89: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI EnumServicesStatusA(SC_HANDLE hSCManager,DWORD dwServiceType,DWORD dwServiceState,LPENUM_SERVICE_STATUSA lpServices,DWORD cbBufSize,LPDWORD pcbBytesNeeded,LPDWORD lpServicesReturned,LPDWORD lpResumeHandle);
                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:293:144: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI EnumServicesStatusA(SC_HANDLE hSCManager,DWORD dwServiceType,DWORD dwServiceState,LPENUM_SERVICE_STATUSA lpServices,DWORD cbBufSize,LPDWORD pcbBytesNeeded,LPDWORD lpServicesReturned,LPDWORD lpResumeHandle);
                                                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:293:160: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI EnumServicesStatusA(SC_HANDLE hSCManager,DWORD dwServiceType,DWORD dwServiceState,LPENUM_SERVICE_STATUSA lpServices,DWORD cbBufSize,LPDWORD pcbBytesNeeded,LPDWORD lpServicesReturned,LPDWORD lpResumeHandle);
                                                                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:293:183: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI EnumServicesStatusA(SC_HANDLE hSCManager,DWORD dwServiceType,DWORD dwServiceState,LPENUM_SERVICE_STATUSA lpServices,DWORD cbBufSize,LPDWORD pcbBytesNeeded,LPDWORD lpServicesReturned,LPDWORD lpResumeHandle);
                                                                                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:293:210: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI EnumServicesStatusA(SC_HANDLE hSCManager,DWORD dwServiceType,DWORD dwServiceState,LPENUM_SERVICE_STATUSA lpServices,DWORD cbBufSize,LPDWORD pcbBytesNeeded,LPDWORD lpServicesReturned,LPDWORD lpResumeHandle);
                                                                                                                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:294:69: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI EnumServicesStatusW(SC_HANDLE hSCManager,DWORD dwServiceType,DWORD dwServiceState,LPENUM_SERVICE_STATUSW lpServices,DWORD cbBufSize,LPDWORD pcbBytesNeeded,LPDWORD lpServicesReturned,LPDWORD lpResumeHandle);
                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:294:89: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI EnumServicesStatusW(SC_HANDLE hSCManager,DWORD dwServiceType,DWORD dwServiceState,LPENUM_SERVICE_STATUSW lpServices,DWORD cbBufSize,LPDWORD pcbBytesNeeded,LPDWORD lpServicesReturned,LPDWORD lpResumeHandle);
                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:294:144: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI EnumServicesStatusW(SC_HANDLE hSCManager,DWORD dwServiceType,DWORD dwServiceState,LPENUM_SERVICE_STATUSW lpServices,DWORD cbBufSize,LPDWORD pcbBytesNeeded,LPDWORD lpServicesReturned,LPDWORD lpResumeHandle);
                                                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:294:160: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI EnumServicesStatusW(SC_HANDLE hSCManager,DWORD dwServiceType,DWORD dwServiceState,LPENUM_SERVICE_STATUSW lpServices,DWORD cbBufSize,LPDWORD pcbBytesNeeded,LPDWORD lpServicesReturned,LPDWORD lpResumeHandle);
                                                                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:294:183: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI EnumServicesStatusW(SC_HANDLE hSCManager,DWORD dwServiceType,DWORD dwServiceState,LPENUM_SERVICE_STATUSW lpServices,DWORD cbBufSize,LPDWORD pcbBytesNeeded,LPDWORD lpServicesReturned,LPDWORD lpResumeHandle);
                                                                                                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:294:210: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI EnumServicesStatusW(SC_HANDLE hSCManager,DWORD dwServiceType,DWORD dwServiceState,LPENUM_SERVICE_STATUSW lpServices,DWORD cbBufSize,LPDWORD pcbBytesNeeded,LPDWORD lpServicesReturned,LPDWORD lpResumeHandle);
                                                                                                                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:295:94: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI EnumServicesStatusExA(SC_HANDLE hSCManager,SC_ENUM_TYPE InfoLevel,DWORD dwServiceType,DWORD dwServiceState,LPBYTE lpServices,DWORD cbBufSize,LPDWORD pcbBytesNeeded,LPDWORD lpServicesReturned,LPDWORD lpResumeHandle,LPCSTR pszGroupName);
                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:295:114: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI EnumServicesStatusExA(SC_HANDLE hSCManager,SC_ENUM_TYPE InfoLevel,DWORD dwServiceType,DWORD dwServiceState,LPBYTE lpServices,DWORD cbBufSize,LPDWORD pcbBytesNeeded,LPDWORD lpServicesReturned,LPDWORD lpResumeHandle,LPCSTR pszGroupName);
                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:295:153: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI EnumServicesStatusExA(SC_HANDLE hSCManager,SC_ENUM_TYPE InfoLevel,DWORD dwServiceType,DWORD dwServiceState,LPBYTE lpServices,DWORD cbBufSize,LPDWORD pcbBytesNeeded,LPDWORD lpServicesReturned,LPDWORD lpResumeHandle,LPCSTR pszGroupName);
                                                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:295:169: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI EnumServicesStatusExA(SC_HANDLE hSCManager,SC_ENUM_TYPE InfoLevel,DWORD dwServiceType,DWORD dwServiceState,LPBYTE lpServices,DWORD cbBufSize,LPDWORD pcbBytesNeeded,LPDWORD lpServicesReturned,LPDWORD lpResumeHandle,LPCSTR pszGroupName);
                                                                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:295:192: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI EnumServicesStatusExA(SC_HANDLE hSCManager,SC_ENUM_TYPE InfoLevel,DWORD dwServiceType,DWORD dwServiceState,LPBYTE lpServices,DWORD cbBufSize,LPDWORD pcbBytesNeeded,LPDWORD lpServicesReturned,LPDWORD lpResumeHandle,LPCSTR pszGroupName);
                                                                                                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:295:219: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI EnumServicesStatusExA(SC_HANDLE hSCManager,SC_ENUM_TYPE InfoLevel,DWORD dwServiceType,DWORD dwServiceState,LPBYTE lpServices,DWORD cbBufSize,LPDWORD pcbBytesNeeded,LPDWORD lpServicesReturned,LPDWORD lpResumeHandle,LPCSTR pszGroupName);
                                                                                                                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:296:94: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI EnumServicesStatusExW(SC_HANDLE hSCManager,SC_ENUM_TYPE InfoLevel,DWORD dwServiceType,DWORD dwServiceState,LPBYTE lpServices,DWORD cbBufSize,LPDWORD pcbBytesNeeded,LPDWORD lpServicesReturned,LPDWORD lpResumeHandle,LPCWSTR pszGroupName);
                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:296:114: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI EnumServicesStatusExW(SC_HANDLE hSCManager,SC_ENUM_TYPE InfoLevel,DWORD dwServiceType,DWORD dwServiceState,LPBYTE lpServices,DWORD cbBufSize,LPDWORD pcbBytesNeeded,LPDWORD lpServicesReturned,LPDWORD lpResumeHandle,LPCWSTR pszGroupName);
                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:296:153: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI EnumServicesStatusExW(SC_HANDLE hSCManager,SC_ENUM_TYPE InfoLevel,DWORD dwServiceType,DWORD dwServiceState,LPBYTE lpServices,DWORD cbBufSize,LPDWORD pcbBytesNeeded,LPDWORD lpServicesReturned,LPDWORD lpResumeHandle,LPCWSTR pszGroupName);
                                                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:296:169: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI EnumServicesStatusExW(SC_HANDLE hSCManager,SC_ENUM_TYPE InfoLevel,DWORD dwServiceType,DWORD dwServiceState,LPBYTE lpServices,DWORD cbBufSize,LPDWORD pcbBytesNeeded,LPDWORD lpServicesReturned,LPDWORD lpResumeHandle,LPCWSTR pszGroupName);
                                                                                                                                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:296:192: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI EnumServicesStatusExW(SC_HANDLE hSCManager,SC_ENUM_TYPE InfoLevel,DWORD dwServiceType,DWORD dwServiceState,LPBYTE lpServices,DWORD cbBufSize,LPDWORD pcbBytesNeeded,LPDWORD lpServicesReturned,LPDWORD lpResumeHandle,LPCWSTR pszGroupName);
                                                                                                                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:296:219: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI EnumServicesStatusExW(SC_HANDLE hSCManager,SC_ENUM_TYPE InfoLevel,DWORD dwServiceType,DWORD dwServiceState,LPBYTE lpServices,DWORD cbBufSize,LPDWORD pcbBytesNeeded,LPDWORD lpServicesReturned,LPDWORD lpResumeHandle,LPCWSTR pszGroupName);
                                                                                                                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:297:109: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI GetServiceKeyNameA(SC_HANDLE hSCManager,LPCSTR lpDisplayName,LPSTR lpServiceName,LPDWORD lpcchBuffer);
                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:298:111: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI GetServiceKeyNameW(SC_HANDLE hSCManager,LPCWSTR lpDisplayName,LPWSTR lpServiceName,LPDWORD lpcchBuffer);
                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:299:113: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI GetServiceDisplayNameA(SC_HANDLE hSCManager,LPCSTR lpServiceName,LPSTR lpDisplayName,LPDWORD lpcchBuffer);
                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:300:115: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI GetServiceDisplayNameW(SC_HANDLE hSCManager,LPCWSTR lpServiceName,LPWSTR lpDisplayName,LPDWORD lpcchBuffer);
                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:303:88: error: 'DWORD' has not been declared
   WINADVAPI SC_HANDLE WINAPI OpenSCManagerA(LPCSTR lpMachineName,LPCSTR lpDatabaseName,DWORD dwDesiredAccess);
                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:304:90: error: 'DWORD' has not been declared
   WINADVAPI SC_HANDLE WINAPI OpenSCManagerW(LPCWSTR lpMachineName,LPCWSTR lpDatabaseName,DWORD dwDesiredAccess);
                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:305:85: error: 'DWORD' has not been declared
   WINADVAPI SC_HANDLE WINAPI OpenServiceA(SC_HANDLE hSCManager,LPCSTR lpServiceName,DWORD dwDesiredAccess);
                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:306:86: error: 'DWORD' has not been declared
   WINADVAPI SC_HANDLE WINAPI OpenServiceW(SC_HANDLE hSCManager,LPCWSTR lpServiceName,DWORD dwDesiredAccess);
                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:307:107: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI QueryServiceConfigA(SC_HANDLE hService,LPQUERY_SERVICE_CONFIGA lpServiceConfig,DWORD cbBufSize,LPDWORD pcbBytesNeeded);
                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:307:123: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI QueryServiceConfigA(SC_HANDLE hService,LPQUERY_SERVICE_CONFIGA lpServiceConfig,DWORD cbBufSize,LPDWORD pcbBytesNeeded);
                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:308:107: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI QueryServiceConfigW(SC_HANDLE hService,LPQUERY_SERVICE_CONFIGW lpServiceConfig,DWORD cbBufSize,LPDWORD pcbBytesNeeded);
                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:308:123: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI QueryServiceConfigW(SC_HANDLE hService,LPQUERY_SERVICE_CONFIGW lpServiceConfig,DWORD cbBufSize,LPDWORD pcbBytesNeeded);
                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:309:68: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI QueryServiceConfig2A(SC_HANDLE hService,DWORD dwInfoLevel,LPBYTE lpBuffer,DWORD cbBufSize,LPDWORD pcbBytesNeeded);
                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:309:102: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI QueryServiceConfig2A(SC_HANDLE hService,DWORD dwInfoLevel,LPBYTE lpBuffer,DWORD cbBufSize,LPDWORD pcbBytesNeeded);
                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:309:118: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI QueryServiceConfig2A(SC_HANDLE hService,DWORD dwInfoLevel,LPBYTE lpBuffer,DWORD cbBufSize,LPDWORD pcbBytesNeeded);
                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:310:68: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI QueryServiceConfig2W(SC_HANDLE hService,DWORD dwInfoLevel,LPBYTE lpBuffer,DWORD cbBufSize,LPDWORD pcbBytesNeeded);
                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:310:102: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI QueryServiceConfig2W(SC_HANDLE hService,DWORD dwInfoLevel,LPBYTE lpBuffer,DWORD cbBufSize,LPDWORD pcbBytesNeeded);
                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:310:118: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI QueryServiceConfig2W(SC_HANDLE hService,DWORD dwInfoLevel,LPBYTE lpBuffer,DWORD cbBufSize,LPDWORD pcbBytesNeeded);
                                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:311:115: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI QueryServiceLockStatusA(SC_HANDLE hSCManager,LPQUERY_SERVICE_LOCK_STATUSA lpLockStatus,DWORD cbBufSize,LPDWORD pcbBytesNeeded);
                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:311:131: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI QueryServiceLockStatusA(SC_HANDLE hSCManager,LPQUERY_SERVICE_LOCK_STATUSA lpLockStatus,DWORD cbBufSize,LPDWORD pcbBytesNeeded);
                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:312:115: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI QueryServiceLockStatusW(SC_HANDLE hSCManager,LPQUERY_SERVICE_LOCK_STATUSW lpLockStatus,DWORD cbBufSize,LPDWORD pcbBytesNeeded);
                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:312:131: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI QueryServiceLockStatusW(SC_HANDLE hSCManager,LPQUERY_SERVICE_LOCK_STATUSW lpLockStatus,DWORD cbBufSize,LPDWORD pcbBytesNeeded);
                                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:313:74: error: 'SECURITY_INFORMATION' has not been declared
   WINADVAPI WINBOOL WINAPI QueryServiceObjectSecurity(SC_HANDLE hService,SECURITY_INFORMATION dwSecurityInformation,PSECURITY_DESCRIPTOR lpSecurityDescriptor,DWORD cbBufSize,LPDWORD pcbBytesNeeded);
                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:313:159: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI QueryServiceObjectSecurity(SC_HANDLE hService,SECURITY_INFORMATION dwSecurityInformation,PSECURITY_DESCRIPTOR lpSecurityDescriptor,DWORD cbBufSize,LPDWORD pcbBytesNeeded);
                                                                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:313:175: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI QueryServiceObjectSecurity(SC_HANDLE hService,SECURITY_INFORMATION dwSecurityInformation,PSECURITY_DESCRIPTOR lpSecurityDescriptor,DWORD cbBufSize,LPDWORD pcbBytesNeeded);
                                                                                                                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:315:109: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI QueryServiceStatusEx(SC_HANDLE hService,SC_STATUS_TYPE InfoLevel,LPBYTE lpBuffer,DWORD cbBufSize,LPDWORD pcbBytesNeeded);
                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:315:125: error: 'LPDWORD' has not been declared
   WINADVAPI WINBOOL WINAPI QueryServiceStatusEx(SC_HANDLE hService,SC_STATUS_TYPE InfoLevel,LPBYTE lpBuffer,DWORD cbBufSize,LPDWORD pcbBytesNeeded);
                                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:316:91: error: 'LPHANDLER_FUNCTION' has not been declared
   WINADVAPI SERVICE_STATUS_HANDLE WINAPI RegisterServiceCtrlHandlerA(LPCSTR lpServiceName,LPHANDLER_FUNCTION lpHandlerProc);
                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:317:92: error: 'LPHANDLER_FUNCTION' has not been declared
   WINADVAPI SERVICE_STATUS_HANDLE WINAPI RegisterServiceCtrlHandlerW(LPCWSTR lpServiceName,LPHANDLER_FUNCTION lpHandlerProc);
                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:318:93: error: 'LPHANDLER_FUNCTION_EX' has not been declared
   WINADVAPI SERVICE_STATUS_HANDLE WINAPI RegisterServiceCtrlHandlerExA(LPCSTR lpServiceName,LPHANDLER_FUNCTION_EX lpHandlerProc,LPVOID lpContext);
                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:319:94: error: 'LPHANDLER_FUNCTION_EX' has not been declared
   WINADVAPI SERVICE_STATUS_HANDLE WINAPI RegisterServiceCtrlHandlerExW(LPCWSTR lpServiceName,LPHANDLER_FUNCTION_EX lpHandlerProc,LPVOID lpContext);
                                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:320:72: error: 'SECURITY_INFORMATION' has not been declared
   WINADVAPI WINBOOL WINAPI SetServiceObjectSecurity(SC_HANDLE hService,SECURITY_INFORMATION dwSecurityInformation,PSECURITY_DESCRIPTOR lpSecurityDescriptor);
                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:324:61: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI StartServiceA(SC_HANDLE hService,DWORD dwNumServiceArgs,LPCSTR *lpServiceArgVectors);
                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/winsvc.h:325:61: error: 'DWORD' has not been declared
   WINADVAPI WINBOOL WINAPI StartServiceW(SC_HANDLE hService,DWORD dwNumServiceArgs,LPCWSTR *lpServiceArgVectors);
                                                             ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:126:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mcx.h:10:3: error: 'DWORD' does not name a type
   DWORD dwActualSize;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mcx.h:11:3: error: 'DWORD' does not name a type
   DWORD dwRequiredSize;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mcx.h:12:3: error: 'DWORD' does not name a type
   DWORD dwDevSpecificOffset;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mcx.h:13:3: error: 'DWORD' does not name a type
   DWORD dwDevSpecificSize;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mcx.h:14:3: error: 'DWORD' does not name a type
   DWORD dwModemProviderVersion;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mcx.h:15:3: error: 'DWORD' does not name a type
   DWORD dwModemManufacturerOffset;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mcx.h:16:3: error: 'DWORD' does not name a type
   DWORD dwModemManufacturerSize;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mcx.h:17:3: error: 'DWORD' does not name a type
   DWORD dwModemModelOffset;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mcx.h:18:3: error: 'DWORD' does not name a type
   DWORD dwModemModelSize;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mcx.h:19:3: error: 'DWORD' does not name a type
   DWORD dwModemVersionOffset;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mcx.h:20:3: error: 'DWORD' does not name a type
   DWORD dwModemVersionSize;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mcx.h:21:3: error: 'DWORD' does not name a type
   DWORD dwDialOptions;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mcx.h:22:3: error: 'DWORD' does not name a type
   DWORD dwCallSetupFailTimer;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mcx.h:23:3: error: 'DWORD' does not name a type
   DWORD dwInactivityTimeout;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mcx.h:24:3: error: 'DWORD' does not name a type
   DWORD dwSpeakerVolume;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mcx.h:25:3: error: 'DWORD' does not name a type
   DWORD dwSpeakerMode;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mcx.h:26:3: error: 'DWORD' does not name a type
   DWORD dwModemOptions;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mcx.h:27:3: error: 'DWORD' does not name a type
   DWORD dwMaxDTERate;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mcx.h:28:3: error: 'DWORD' does not name a type
   DWORD dwMaxDCERate;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mcx.h:33:3: error: 'DWORD' does not name a type
   DWORD dwActualSize;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mcx.h:34:3: error: 'DWORD' does not name a type
   DWORD dwRequiredSize;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mcx.h:35:3: error: 'DWORD' does not name a type
   DWORD dwDevSpecificOffset;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mcx.h:36:3: error: 'DWORD' does not name a type
   DWORD dwDevSpecificSize;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mcx.h:37:3: error: 'DWORD' does not name a type
   DWORD dwCallSetupFailTimer;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mcx.h:38:3: error: 'DWORD' does not name a type
   DWORD dwInactivityTimeout;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mcx.h:39:3: error: 'DWORD' does not name a type
   DWORD dwSpeakerVolume;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mcx.h:40:3: error: 'DWORD' does not name a type
   DWORD dwSpeakerMode;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mcx.h:41:3: error: 'DWORD' does not name a type
   DWORD dwPreferredModemOptions;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mcx.h:42:3: error: 'DWORD' does not name a type
   DWORD dwNegotiatedModemOptions;
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/mcx.h:43:3: error: 'DWORD' does not name a type
   DWORD dwNegotiatedDCERate;
   ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/windows.h:130:0,
                 from fusion_sdk/file/BPMAPFileData.h:30,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:28:5: error: 'DWORD' does not name a type
     DWORD dwStyle;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:34:5: error: 'DWORD' does not name a type
     DWORD dwIndex;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:35:5: error: 'DWORD' does not name a type
     DWORD dwStyle;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:41:5: error: 'DWORD' does not name a type
     DWORD dwSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:42:5: error: 'DWORD' does not name a type
     DWORD dwStyle;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:43:5: error: 'DWORD' does not name a type
     DWORD dwCount;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:44:5: error: 'DWORD' does not name a type
     DWORD dwSelection;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:45:5: error: 'DWORD' does not name a type
     DWORD dwPageStart;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:46:5: error: 'DWORD' does not name a type
     DWORD dwPageSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:47:5: error: 'DWORD' does not name a type
     DWORD dwOffset[1];
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:66:5: error: 'DWORD' does not name a type
     DWORD dwSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:67:5: error: 'DWORD' does not name a type
     DWORD dwVersion;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:68:5: error: 'DWORD' does not name a type
     DWORD dwStrLen;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:69:5: error: 'DWORD' does not name a type
     DWORD dwStrOffset;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:70:5: error: 'DWORD' does not name a type
     DWORD dwCompStrLen;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:71:5: error: 'DWORD' does not name a type
     DWORD dwCompStrOffset;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:72:5: error: 'DWORD' does not name a type
     DWORD dwTargetStrLen;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:73:5: error: 'DWORD' does not name a type
     DWORD dwTargetStrOffset;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:79:5: error: 'DWORD' does not name a type
     DWORD dwStyle;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:84:5: error: 'DWORD' does not name a type
     DWORD dwStyle;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:102:5: error: 'DWORD' does not name a type
     DWORD dwItemData;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:114:5: error: 'DWORD' does not name a type
     DWORD dwItemData;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:125:5: error: 'DWORD' does not name a type
     DWORD dwSize;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:126:5: error: 'DWORD' does not name a type
     DWORD dwCharPos;
     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:150:3: error: 'DWORD' does not name a type
   DWORD WINAPI ImmGetProperty(HKL,DWORD);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:152:41: error: 'DWORD' has not been declared
   WINBOOL WINAPI ImmSimulateHotKey(HWND,DWORD);
                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:158:50: error: 'DWORD' has not been declared
   WINBOOL WINAPI ImmAssociateContextEx(HWND,HIMC,DWORD);
                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:159:3: error: 'LONG' does not name a type
   LONG WINAPI ImmGetCompositionStringA(HIMC,DWORD,LPVOID,DWORD);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:160:3: error: 'LONG' does not name a type
   LONG WINAPI ImmGetCompositionStringW(HIMC,DWORD,LPVOID,DWORD);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:161:48: error: 'DWORD' has not been declared
   WINBOOL WINAPI ImmSetCompositionStringA(HIMC,DWORD dwIndex,LPVOID lpComp,DWORD,LPVOID lpRead,DWORD);
                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:161:76: error: 'DWORD' has not been declared
   WINBOOL WINAPI ImmSetCompositionStringA(HIMC,DWORD dwIndex,LPVOID lpComp,DWORD,LPVOID lpRead,DWORD);
                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:161:96: error: 'DWORD' has not been declared
   WINBOOL WINAPI ImmSetCompositionStringA(HIMC,DWORD dwIndex,LPVOID lpComp,DWORD,LPVOID lpRead,DWORD);
                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:162:48: error: 'DWORD' has not been declared
   WINBOOL WINAPI ImmSetCompositionStringW(HIMC,DWORD dwIndex,LPVOID lpComp,DWORD,LPVOID lpRead,DWORD);
                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:162:76: error: 'DWORD' has not been declared
   WINBOOL WINAPI ImmSetCompositionStringW(HIMC,DWORD dwIndex,LPVOID lpComp,DWORD,LPVOID lpRead,DWORD);
                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:162:96: error: 'DWORD' has not been declared
   WINBOOL WINAPI ImmSetCompositionStringW(HIMC,DWORD dwIndex,LPVOID lpComp,DWORD,LPVOID lpRead,DWORD);
                                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:163:3: error: 'DWORD' does not name a type
   DWORD WINAPI ImmGetCandidateListCountA(HIMC,LPDWORD lpdwListCount);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:164:3: error: 'DWORD' does not name a type
   DWORD WINAPI ImmGetCandidateListCountW(HIMC,LPDWORD lpdwListCount);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:165:3: error: 'DWORD' does not name a type
   DWORD WINAPI ImmGetCandidateListA(HIMC,DWORD deIndex,LPCANDIDATELIST,DWORD dwBufLen);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:166:3: error: 'DWORD' does not name a type
   DWORD WINAPI ImmGetCandidateListW(HIMC,DWORD deIndex,LPCANDIDATELIST,DWORD dwBufLen);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:167:3: error: 'DWORD' does not name a type
   DWORD WINAPI ImmGetGuideLineA(HIMC,DWORD dwIndex,LPSTR,DWORD dwBufLen);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:168:3: error: 'DWORD' does not name a type
   DWORD WINAPI ImmGetGuideLineW(HIMC,DWORD dwIndex,LPWSTR,DWORD dwBufLen);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:169:46: error: 'LPDWORD' has not been declared
   WINBOOL WINAPI ImmGetConversionStatus(HIMC,LPDWORD,LPDWORD);
                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:169:54: error: 'LPDWORD' has not been declared
   WINBOOL WINAPI ImmGetConversionStatus(HIMC,LPDWORD,LPDWORD);
                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:170:46: error: 'DWORD' has not been declared
   WINBOOL WINAPI ImmSetConversionStatus(HIMC,DWORD,DWORD);
                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:170:52: error: 'DWORD' has not been declared
   WINBOOL WINAPI ImmSetConversionStatus(HIMC,DWORD,DWORD);
                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:185:56: error: 'DWORD' has not been declared
   typedef int (CALLBACK *REGISTERWORDENUMPROCA)(LPCSTR,DWORD,LPCSTR,LPVOID);
                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:186:57: error: 'DWORD' has not been declared
   typedef int (CALLBACK *REGISTERWORDENUMPROCW)(LPCWSTR,DWORD,LPCWSTR,LPVOID);
                                                         ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:199:44: error: 'DWORD' has not been declared
   WINBOOL WINAPI ImmConfigureIMEA(HKL,HWND,DWORD,LPVOID);
                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:200:44: error: 'DWORD' has not been declared
   WINBOOL WINAPI ImmConfigureIMEW(HKL,HWND,DWORD,LPVOID);
                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:203:3: error: 'DWORD' does not name a type
   DWORD WINAPI ImmGetConversionListA(HKL,HIMC,LPCSTR,LPCANDIDATELIST,DWORD dwBufLen,UINT uFlag);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:204:3: error: 'DWORD' does not name a type
   DWORD WINAPI ImmGetConversionListW(HKL,HIMC,LPCWSTR,LPCANDIDATELIST,DWORD dwBufLen,UINT uFlag);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:205:36: error: 'DWORD' has not been declared
   WINBOOL WINAPI ImmNotifyIME(HIMC,DWORD dwAction,DWORD dwIndex,DWORD dwValue);
                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:205:51: error: 'DWORD' has not been declared
   WINBOOL WINAPI ImmNotifyIME(HIMC,DWORD dwAction,DWORD dwIndex,DWORD dwValue);
                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:205:65: error: 'DWORD' has not been declared
   WINBOOL WINAPI ImmNotifyIME(HIMC,DWORD dwAction,DWORD dwIndex,DWORD dwValue);
                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:210:45: error: 'DWORD' has not been declared
   WINBOOL WINAPI ImmGetCandidateWindow(HIMC,DWORD,LPCANDIDATEFORM);
                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:215:58: error: 'DWORD' has not been declared
   WINBOOL WINAPI ImmRegisterWordA(HKL,LPCSTR lpszReading,DWORD,LPCSTR lpszRegister);
                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:216:59: error: 'DWORD' has not been declared
   WINBOOL WINAPI ImmRegisterWordW(HKL,LPCWSTR lpszReading,DWORD,LPCWSTR lpszRegister);
                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:217:60: error: 'DWORD' has not been declared
   WINBOOL WINAPI ImmUnregisterWordA(HKL,LPCSTR lpszReading,DWORD,LPCSTR lpszUnregister);
                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:218:61: error: 'DWORD' has not been declared
   WINBOOL WINAPI ImmUnregisterWordW(HKL,LPCWSTR lpszReading,DWORD,LPCWSTR lpszUnregister);
                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:221:81: error: 'DWORD' has not been declared
   UINT WINAPI ImmEnumRegisterWordA(HKL,REGISTERWORDENUMPROCA,LPCSTR lpszReading,DWORD,LPCSTR lpszRegister,LPVOID);
                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:222:82: error: 'DWORD' has not been declared
   UINT WINAPI ImmEnumRegisterWordW(HKL,REGISTERWORDENUMPROCW,LPCWSTR lpszReading,DWORD,LPCWSTR lpszRegister,LPVOID);
                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:223:32: error: 'DWORD' was not declared in this scope
   WINBOOL WINAPI ImmDisableIME(DWORD);
                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:224:38: error: 'DWORD' was not declared in this scope
   WINBOOL WINAPI ImmEnumInputContext(DWORD idThread,IMCENUMPROC lpfn,LPARAM lParam);
                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:224:65: error: expected primary-expression before 'lpfn'
   WINBOOL WINAPI ImmEnumInputContext(DWORD idThread,IMCENUMPROC lpfn,LPARAM lParam);
                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:224:77: error: expected primary-expression before 'lParam'
   WINBOOL WINAPI ImmEnumInputContext(DWORD idThread,IMCENUMPROC lpfn,LPARAM lParam);
                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:224:83: error: expression list treated as compound expression in initializer [-fpermissive]
   WINBOOL WINAPI ImmEnumInputContext(DWORD idThread,IMCENUMPROC lpfn,LPARAM lParam);
                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:225:3: error: 'DWORD' does not name a type
   DWORD WINAPI ImmGetImeMenuItemsA(HIMC,DWORD,DWORD,LPIMEMENUITEMINFOA,LPIMEMENUITEMINFOA,DWORD);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:226:3: error: 'DWORD' does not name a type
   DWORD WINAPI ImmGetImeMenuItemsW(HIMC,DWORD,DWORD,LPIMEMENUITEMINFOW,LPIMEMENUITEMINFOW,DWORD);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/imm.h:227:45: error: 'DWORD' was not declared in this scope
   WINBOOL WINAPI ImmDisableTextFrameService(DWORD idThread);
                                             ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wchar.h:1040:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/c++/cwchar:44,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/c++/bits/postypes.h:40,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/c++/bits/char_traits.h:40,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/c++/string:40,
                 from fusion_sdk/file/BPMAPFileData.h:35,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/wchar_s.h:43:46: error: 'vswprintf_s' is not a type
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_2(int, vswprintf_s, wchar_t, _Dst, const wchar_t*, _Format, va_list, _ArgList)
                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/wchar_s.h:43:68: error: '_Dst' has not been declared
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_2(int, vswprintf_s, wchar_t, _Dst, const wchar_t*, _Format, va_list, _ArgList)
                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/wchar_s.h:43:90: error: '_Format' has not been declared
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_2(int, vswprintf_s, wchar_t, _Dst, const wchar_t*, _Format, va_list, _ArgList)
                                                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/wchar_s.h:43:108: error: '_ArgList' has not been declared
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_2(int, vswprintf_s, wchar_t, _Dst, const wchar_t*, _Format, va_list, _ArgList)
                                                                                                            ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/wchar_s.h:45:3: error: expected constructor, destructor, or type conversion before 'int'
   int __cdecl swprintf_s(wchar_t *_Dst,size_t _SizeInWords,const wchar_t *_Format,...);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/wchar_s.h:46:53: error: 'swprintf_s' has not been declared
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1_ARGLIST(int,swprintf_s,vswprintf_s,wchar_t,_Dst,const wchar_t*,_Format)
                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/wchar_s.h:46:64: error: 'vswprintf_s' is not a type
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1_ARGLIST(int,swprintf_s,vswprintf_s,wchar_t,_Dst,const wchar_t*,_Format)
                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/wchar_s.h:46:84: error: '_Dst' has not been declared
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1_ARGLIST(int,swprintf_s,vswprintf_s,wchar_t,_Dst,const wchar_t*,_Format)
                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/wchar_s.h:46:104: error: '_Format' has not been declared
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1_ARGLIST(int,swprintf_s,vswprintf_s,wchar_t,_Dst,const wchar_t*,_Format)
                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/wchar_s.h:48:11: error: expected constructor, destructor, or type conversion before 'int'
   _CRTIMP int __cdecl _vsnwprintf_s(wchar_t *_DstBuf,size_t _DstSizeInWords,size_t _MaxCount,const wchar_t *_Format,va_list _ArgList);
           ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/wchar.h:1040:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/c++/cwchar:44,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/c++/bits/postypes.h:40,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/c++/bits/char_traits.h:40,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/c++/string:40,
                 from fusion_sdk/file/BPMAPFileData.h:35,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/wchar_s.h:49:45: error: '_vsnwprintf_s' has not been declared
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_3(int,_vsnwprintf_s,wchar_t,_DstBuf,size_t,_MaxCount,const wchar_t*,_Format,va_list,_ArgList)
                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/wchar_s.h:49:67: error: '_DstBuf' has not been declared
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_3(int,_vsnwprintf_s,wchar_t,_DstBuf,size_t,_MaxCount,const wchar_t*,_Format,va_list,_ArgList)
                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/wchar_s.h:49:82: error: '_MaxCount' has not been declared
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_3(int,_vsnwprintf_s,wchar_t,_DstBuf,size_t,_MaxCount,const wchar_t*,_Format,va_list,_ArgList)
                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/wchar_s.h:49:107: error: '_Format' has not been declared
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_3(int,_vsnwprintf_s,wchar_t,_DstBuf,size_t,_MaxCount,const wchar_t*,_Format,va_list,_ArgList)
                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/wchar_s.h:49:123: error: '_ArgList' has not been declared
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_3(int,_vsnwprintf_s,wchar_t,_DstBuf,size_t,_MaxCount,const wchar_t*,_Format,va_list,_ArgList)
                                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/wchar_s.h:51:11: error: expected constructor, destructor, or type conversion before 'int'
   _CRTIMP int __cdecl _snwprintf_s(wchar_t *_DstBuf,size_t _DstSizeInWords,size_t _MaxCount,const wchar_t *_Format,...);
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/wchar_s.h:52:53: error: '_snwprintf_s' has not been declared
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_2_ARGLIST(int,_snwprintf_s,_vsnwprintf_s,wchar_t,_DstBuf,size_t,_MaxCount,const char*,_Format)
                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/wchar_s.h:52:66: error: '_vsnwprintf_s' has not been declared
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_2_ARGLIST(int,_snwprintf_s,_vsnwprintf_s,wchar_t,_DstBuf,size_t,_MaxCount,const char*,_Format)
                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/wchar_s.h:52:88: error: '_DstBuf' has not been declared
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_2_ARGLIST(int,_snwprintf_s,_vsnwprintf_s,wchar_t,_DstBuf,size_t,_MaxCount,const char*,_Format)
                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/wchar_s.h:52:103: error: '_MaxCount' has not been declared
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_2_ARGLIST(int,_snwprintf_s,_vsnwprintf_s,wchar_t,_DstBuf,size_t,_MaxCount,const char*,_Format)
                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/wchar_s.h:52:125: error: '_Format' has not been declared
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_2_ARGLIST(int,_snwprintf_s,_vsnwprintf_s,wchar_t,_DstBuf,size_t,_MaxCount,const char*,_Format)
                                                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/wchar_s.h:54:11: error: expected constructor, destructor, or type conversion before 'int'
   _CRTIMP int __cdecl _wprintf_s_l(const wchar_t *_Format,_locale_t _Locale,...);
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/wchar_s.h:151:49: error: 'mbsrtowcs_s' is not a type
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_1_3(errno_t,mbsrtowcs_s,size_t*,_Retval,wchar_t,_Dst,const char**,_PSrc,size_t,_N,mbstate_t,_State)
                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/wchar_s.h:151:69: error: '_Retval' has not been declared
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_1_3(errno_t,mbsrtowcs_s,size_t*,_Retval,wchar_t,_Dst,const char**,_PSrc,size_t,_N,mbstate_t,_State)
                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/wchar_s.h:151:85: error: '_Dst' has not been declared
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_1_3(errno_t,mbsrtowcs_s,size_t*,_Retval,wchar_t,_Dst,const char**,_PSrc,size_t,_N,mbstate_t,_State)
                                                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/wchar_s.h:151:103: error: '_PSrc' has not been declared
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_1_3(errno_t,mbsrtowcs_s,size_t*,_Retval,wchar_t,_Dst,const char**,_PSrc,size_t,_N,mbstate_t,_State)
                                                                                                       ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/wchar_s.h:151:116: error: '_N' has not been declared
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_1_3(errno_t,mbsrtowcs_s,size_t*,_Retval,wchar_t,_Dst,const char**,_PSrc,size_t,_N,mbstate_t,_State)
                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/wchar_s.h:151:129: error: '_State' has not been declared
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_1_3(errno_t,mbsrtowcs_s,size_t*,_Retval,wchar_t,_Dst,const char**,_PSrc,size_t,_N,mbstate_t,_State)
                                                                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/wchar_s.h:153:11: error: expected constructor, destructor, or type conversion before 'errno_t'
   _CRTIMP errno_t __cdecl wcrtomb_s(size_t *_Retval,char *_Dst,size_t _SizeInBytes,wchar_t _Ch,mbstate_t *_State);
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/wchar_s.h:154:49: error: 'wcrtomb_s' has not been declared
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_1_2(errno_t,wcrtomb_s,size_t*,_Retval,char,_Dst,wchar_t,_Ch,mbstate_t,_State)
                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/wchar_s.h:154:67: error: '_Retval' has not been declared
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_1_2(errno_t,wcrtomb_s,size_t*,_Retval,char,_Dst,wchar_t,_Ch,mbstate_t,_State)
                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/wchar_s.h:154:80: error: '_Dst' has not been declared
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_1_2(errno_t,wcrtomb_s,size_t*,_Retval,char,_Dst,wchar_t,_Ch,mbstate_t,_State)
                                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/wchar_s.h:154:93: error: '_Ch' has not been declared
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_1_2(errno_t,wcrtomb_s,size_t*,_Retval,char,_Dst,wchar_t,_Ch,mbstate_t,_State)
                                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/wchar_s.h:154:107: error: '_State' has not been declared
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_1_2(errno_t,wcrtomb_s,size_t*,_Retval,char,_Dst,wchar_t,_Ch,mbstate_t,_State)
                                                                                                           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/wchar_s.h:156:11: error: expected constructor, destructor, or type conversion before 'errno_t'
   _CRTIMP errno_t __cdecl wcsrtombs_s(size_t *_Retval,char *_Dst,size_t _SizeInBytes,const wchar_t **_Src,size_t _Size,mbstate_t *_State);
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/wchar_s.h:157:49: error: 'wcsrtombs_s' has not been declared
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_1_3(errno_t,wcsrtombs_s,size_t,_Retval,char,_Dst,const wchar_t**,_Src,size_t,_Size,mbstate_t,_State)
                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/wchar_s.h:157:68: error: '_Retval' has not been declared
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_1_3(errno_t,wcsrtombs_s,size_t,_Retval,char,_Dst,const wchar_t**,_Src,size_t,_Size,mbstate_t,_State)
                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/wchar_s.h:157:81: error: '_Dst' has not been declared
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_1_3(errno_t,wcsrtombs_s,size_t,_Retval,char,_Dst,const wchar_t**,_Src,size_t,_Size,mbstate_t,_State)
                                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/wchar_s.h:157:102: error: '_Src' has not been declared
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_1_3(errno_t,wcsrtombs_s,size_t,_Retval,char,_Dst,const wchar_t**,_Src,size_t,_Size,mbstate_t,_State)
                                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/wchar_s.h:157:114: error: '_Size' has not been declared
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_1_3(errno_t,wcsrtombs_s,size_t,_Retval,char,_Dst,const wchar_t**,_Src,size_t,_Size,mbstate_t,_State)
                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/wchar_s.h:157:130: error: '_State' has not been declared
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_1_3(errno_t,wcsrtombs_s,size_t,_Retval,char,_Dst,const wchar_t**,_Src,size_t,_Size,mbstate_t,_State)
                                                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/wchar_s.h:159:11: error: expected constructor, destructor, or type conversion before 'errno_t'
   _CRTIMP errno_t __cdecl wmemcpy_s (wchar_t *_dest,size_t _numberOfElements,const wchar_t *_src,size_t _count);
           ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/stdio.h:959:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/locale.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/c++/clocale:42,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/c++locale.h:41,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/c++/bits/localefwd.h:40,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/c++/string:43,
                 from fusion_sdk/file/BPMAPFileData.h:35,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:39:45: error: 'vsnprintf_s' is not a type
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_3(int,vsnprintf_s,char,_DstBuf,size_t,_MaxCount,const char*,_Format,va_list,_ArgList)
                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:39:62: error: '_DstBuf' has not been declared
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_3(int,vsnprintf_s,char,_DstBuf,size_t,_MaxCount,const char*,_Format,va_list,_ArgList)
                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:39:77: error: '_MaxCount' has not been declared
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_3(int,vsnprintf_s,char,_DstBuf,size_t,_MaxCount,const char*,_Format,va_list,_ArgList)
                                                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:39:99: error: '_Format' has not been declared
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_3(int,vsnprintf_s,char,_DstBuf,size_t,_MaxCount,const char*,_Format,va_list,_ArgList)
                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:39:115: error: '_ArgList' has not been declared
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_3(int,vsnprintf_s,char,_DstBuf,size_t,_MaxCount,const char*,_Format,va_list,_ArgList)
                                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:41:11: error: expected constructor, destructor, or type conversion before 'int'
   _CRTIMP int __cdecl _vsnprintf_s(char *_DstBuf,size_t _DstSize,size_t _MaxCount,const char *_Format,va_list _ArgList);
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:42:45: error: '_vsnprintf_s' has not been declared
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_3(int,_vsnprintf_s,char,_DstBuf,size_t,_MaxCount,const char*,_Format,va_list,_ArgList)
                                             ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:42:63: error: '_DstBuf' has not been declared
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_3(int,_vsnprintf_s,char,_DstBuf,size_t,_MaxCount,const char*,_Format,va_list,_ArgList)
                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:42:78: error: '_MaxCount' has not been declared
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_3(int,_vsnprintf_s,char,_DstBuf,size_t,_MaxCount,const char*,_Format,va_list,_ArgList)
                                                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:42:100: error: '_Format' has not been declared
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_3(int,_vsnprintf_s,char,_DstBuf,size_t,_MaxCount,const char*,_Format,va_list,_ArgList)
                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:42:116: error: '_ArgList' has not been declared
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_3(int,_vsnprintf_s,char,_DstBuf,size_t,_MaxCount,const char*,_Format,va_list,_ArgList)
                                                                                                                    ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:44:3: error: expected constructor, destructor, or type conversion before 'int'
   int __cdecl vsprintf_s(char *_DstBuf,size_t _Size,const char *_Format,va_list _ArgList);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:45:46: error: 'vsprintf_s' has not been declared
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_2(int, vsprintf_s, char, _DstBuf, const char*, _Format, va_list, _ArgList)
                                              ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:45:64: error: '_DstBuf' has not been declared
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_2(int, vsprintf_s, char, _DstBuf, const char*, _Format, va_list, _ArgList)
                                                                ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:45:86: error: '_Format' has not been declared
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_2(int, vsprintf_s, char, _DstBuf, const char*, _Format, va_list, _ArgList)
                                                                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:45:104: error: '_ArgList' has not been declared
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_2(int, vsprintf_s, char, _DstBuf, const char*, _Format, va_list, _ArgList)
                                                                                                        ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:47:3: error: expected constructor, destructor, or type conversion before 'int'
   int __cdecl sprintf_s(char *_DstBuf,size_t _DstSize,const char *_Format,...);
   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:48:53: error: 'sprintf_s' has not been declared
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1_ARGLIST(int,sprintf_s,vsprintf_s,char,_DstBuf,const char*,_Format)
                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:48:63: error: 'vsprintf_s' has not been declared
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1_ARGLIST(int,sprintf_s,vsprintf_s,char,_DstBuf,const char*,_Format)
                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:48:79: error: '_DstBuf' has not been declared
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1_ARGLIST(int,sprintf_s,vsprintf_s,char,_DstBuf,const char*,_Format)
                                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:48:99: error: '_Format' has not been declared
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_1_ARGLIST(int,sprintf_s,vsprintf_s,char,_DstBuf,const char*,_Format)
                                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:50:11: error: expected constructor, destructor, or type conversion before 'int'
   _CRTIMP int __cdecl _snprintf_s(char *_DstBuf,size_t _DstSize,size_t _MaxCount,const char *_Format,...);
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:51:53: error: '_snprintf_s' has not been declared
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_2_ARGLIST(int,_snprintf_s,_vsnprintf_s,char,_DstBuf,size_t,_MaxCount,const char*,_Format)
                                                     ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:51:65: error: '_vsnprintf_s' has not been declared
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_2_ARGLIST(int,_snprintf_s,_vsnprintf_s,char,_DstBuf,size_t,_MaxCount,const char*,_Format)
                                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:51:83: error: '_DstBuf' has not been declared
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_2_ARGLIST(int,_snprintf_s,_vsnprintf_s,char,_DstBuf,size_t,_MaxCount,const char*,_Format)
                                                                                   ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:51:98: error: '_MaxCount' has not been declared
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_2_ARGLIST(int,_snprintf_s,_vsnprintf_s,char,_DstBuf,size_t,_MaxCount,const char*,_Format)
                                                                                                  ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:51:120: error: '_Format' has not been declared
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_2_ARGLIST(int,_snprintf_s,_vsnprintf_s,char,_DstBuf,size_t,_MaxCount,const char*,_Format)
                                                                                                                        ^
In file included from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/stdio.h:959:0,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/locale.h:12,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/c++/clocale:42,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/c++locale.h:41,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/c++/bits/localefwd.h:40,
                 from C:/Rtools/mingw_64/x86_64-w64-mingw32/include/c++/string:43,
                 from fusion_sdk/file/BPMAPFileData.h:35,
                 from fusion_sdk/file/BPMAPFileData.cpp:20:
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:53:11: error: expected constructor, destructor, or type conversion before 'int'
   _CRTIMP int __cdecl _fprintf_p(FILE *_File,const char *_Format,...);
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:91:38: error: 'rsize_t' has not been declared
   _CRTIMP char* __cdecl gets_s(char*,rsize_t);
                                      ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:92:47: error: 'get_s' has not been declared
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_0(char*,get_s,char,_DstBuf)
                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:92:58: error: '_DstBuf' has not been declared
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_0(char*,get_s,char,_DstBuf)
                                                          ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:94:11: error: expected constructor, destructor, or type conversion before 'errno_t'
   _CRTIMP errno_t __cdecl tmpnam_s(char*,rsize_t);
           ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:95:49: error: 'tmpnam_s' has not been declared
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_0(errno_t,tmpnam_s,char,_DstBuf)
                                                 ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:95:63: error: '_DstBuf' has not been declared
   __DEFINE_CPP_OVERLOAD_SECURE_FUNC_0_0(errno_t,tmpnam_s,char,_DstBuf)
                                                               ^
C:/Rtools/mingw_64/x86_64-w64-mingw32/include/sec_api/stdio_s.h:175:11: error: expected constructor, destructor, or type conversion before 'size_t'
   _CRTIMP size_t __cdecl _fread_nolock_s(void *_DstBuf,size_t _DstSize,size_t _ElementSize,size_t _Count,FILE *_File);
           ^
fusion_sdk/file/BPMAPFileData.cpp: In member function 'bool affxbpmap::CBPMAPFileData::ReadDataSection()':
fusion_sdk/file/BPMAPFileData.cpp:370:16: warning: unused variable 'probeIn' [-Wunused-variable]
  unsigned char probeIn[PROBE_STORAGE_BUFFER_LENGTH]="";
                ^
fusion_sdk/file/BPMAPFileData.cpp:371:7: warning: unused variable 'probeOut' [-Wunused-variable]
  char probeOut[probeBufSize]="";
       ^
make: *** [fusion_sdk/file/BPMAPFileData.o] Error 1
Warning: running command 'make -f "Makevars.win" -f "D:/biocbld/BBS-3˜1.4-B/R/etc/x64/Makeconf" -f "D:/biocbld/BBS-3˜1.4-B/R/share/make/winshlib.mk" SHLIB_LDFLAGS='$(SHLIB_CXXLDFLAGS)' SHLIB_LD='$(SHLIB_CXXLD)' SHLIB="AffyTiling.dll" WIN=64 TCLBIN=64 ' had status 2
ERROR: compilation failed for package 'AffyTiling'
* removing 'D:/biocbld/bbs-3.4-bioc/tmpdir/RtmpARNvBX/Rinst1bc829196bd8/AffyTiling'
      -----------------------------------
ERROR: package installation failed