/ Check-in [eb29e2d9]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:When not compiling for WinRT, skip using a couple Win32 APIs unavailable when compiling with MinGW.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | winrt
Files: files | file ages | folders
SHA1: eb29e2d93984c29756430b55c08501d7e1783df0
User & Date: mistachkin 2012-06-04 05:18:32
Context
2012-06-05
02:24
Correct docs regarding use of malloc and free by the Windows VFS layer. No changes to code. Closed-Leaf check-in: 8e8590a4 user: mistachkin tags: winrt
2012-06-04
05:18
When not compiling for WinRT, skip using a couple Win32 APIs unavailable when compiling with MinGW. check-in: eb29e2d9 user: mistachkin tags: winrt
2012-05-31
22:12
Update several APIs to enable compilation with newer revisions of WinRT. check-in: 54de739f user: mistachkin tags: winrt
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/os_win.c.

   680    680           LPCSTR,LPBOOL))aSyscall[57].pCurrent)
   681    681   
   682    682     { "WriteFile",               (SYSCALL)WriteFile,               0 },
   683    683   
   684    684   #define osWriteFile ((BOOL(WINAPI*)(HANDLE,LPCVOID,DWORD,LPDWORD, \
   685    685           LPOVERLAPPED))aSyscall[58].pCurrent)
   686    686   
   687         -#if !SQLITE_OS_WINCE
          687  +#if SQLITE_OS_WINRT
   688    688     { "CreateEventExW",          (SYSCALL)CreateEventExW,          0 },
   689    689   #else
   690    690     { "CreateEventExW",          (SYSCALL)0,                       0 },
   691    691   #endif
   692    692   
   693    693   #define osCreateEventExW ((HANDLE(WINAPI*)(LPSECURITY_ATTRIBUTES,LPCWSTR, \
   694    694           DWORD,DWORD))aSyscall[59].pCurrent)
................................................................................
   716    716   #else
   717    717     { "SetFilePointerEx",        (SYSCALL)0,                       0 },
   718    718   #endif
   719    719   
   720    720   #define osSetFilePointerEx ((BOOL(WINAPI*)(HANDLE,LARGE_INTEGER, \
   721    721           PLARGE_INTEGER,DWORD))aSyscall[62].pCurrent)
   722    722   
   723         -#if !SQLITE_OS_WINCE
          723  +#if SQLITE_OS_WINRT
   724    724     { "GetFileInformationByHandleEx", (SYSCALL)GetFileInformationByHandleEx, 0 },
   725    725   #else
   726    726     { "GetFileInformationByHandleEx", (SYSCALL)0,                  0 },
   727    727   #endif
   728    728   
   729    729   #define osGetFileInformationByHandleEx ((BOOL(WINAPI*)(HANDLE, \
   730    730           FILE_INFO_BY_HANDLE_CLASS,LPVOID,DWORD))aSyscall[63].pCurrent)