Fix VS15 build errors

Fix 8.1 SDK missing definition, fix VS15 runtime support.
This commit is contained in:
hfiref0x 2019-01-31 23:27:12 +07:00
parent 957b09cf0f
commit 4193d6be16
3 changed files with 21 additions and 9 deletions

View File

@ -1,12 +1,12 @@
/*******************************************************************************
*
* (C) COPYRIGHT AUTHORS, 2018
* (C) COPYRIGHT AUTHORS, 2019
*
* TITLE: EXTRASPSLIST.C
*
* VERSION: 1.70
* VERSION: 1.71
*
* DATE: 30 Nov 2018
* DATE: 31 Jan 2019
*
* THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
* ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED
@ -501,6 +501,17 @@ HTREEITEM FindParentItem(
htiRoot, FindItemMatchCallback, (ULONG_PTR)ParentProcessId);
}
//
// These constants missing in Windows SDK 8.1
//
#ifndef SERVICE_USER_SERVICE
#define SERVICE_USER_SERVICE 0x00000040
#endif
#ifndef SERVICE_USERSERVICE_INSTANCE
#define SERVICE_USERSERVICE_INSTANCE 0x00000080
#endif
/*
* CreateProcessTreeList
*

View File

@ -1,12 +1,12 @@
/*******************************************************************************
*
* (C) COPYRIGHT AUTHORS, 2015 - 2018
* (C) COPYRIGHT AUTHORS, 2015 - 2019
*
* TITLE: GLOBAL.H
*
* VERSION: 1.70
* VERSION: 1.71
*
* DATE: 30 Nov 2018
* DATE: 31 Jan 2019
*
* Common header file for the Windows Object Explorer.
*
@ -35,6 +35,7 @@
#pragma warning(disable: 6255 6263) // alloca
#pragma warning(disable: 6320) // Exception-filter expression is the constant EXCEPTION_EXECUTE_HANDLER. This might mask exceptions that were not intended to be handled.
#if (_MSC_VER >= 1900)
#pragma warning(disable: 4054) // 'type cast': from function pointer %s to data pointer %s
#pragma warning(disable: 4091) // 'typedef ': ignored on left of '' when no variable is declared
#pragma warning(disable: 4311) // 'type cast': pointer truncation from %s to %s
#pragma warning(disable: 4312) // 'type cast': conversion from %s to %s of greater size
@ -51,7 +52,7 @@
#pragma comment(lib, "Version.lib")
#if defined (_MSC_VER)
#if (_MSC_VER >= 1910)
#if (_MSC_VER >= 1900)
#ifdef _DEBUG
#pragma comment(lib, "vcruntimed.lib")
#pragma comment(lib, "ucrtd.lib")

View File

@ -31,7 +31,7 @@ ba8dddb70f735eb298320c63a0a27ff8b0c0394c7f5b1ed002bccbc2f032b985 *Source\WinObjE
100c2f0dedfb35e356474d943635fea498a5cd9b3fc909d722e40c0ced3960d0 *Source\WinObjEx64\extapi.h
738fc0632dd9d1581ac87597e3f952cec3a8424a637e54d989847faa80c8ea5e *Source\WinObjEx64\findDlg.c
8cc5a4ba98d74221405a13cde0f357db970500a4b44c711b5fd97d30cce904e8 *Source\WinObjEx64\findDlg.h
9bbb561c7a7bba584f6210950ba16c4ba064e2d72bbb7af429992daf4fd2a9fc *Source\WinObjEx64\global.h
f99ece56cf6280f34e7d4be584196c27ca372918ee5093bf1f6e9e867e81cb8c *Source\WinObjEx64\global.h
530b49b87a69ae214ebbb6ba5ca8d3f922b9772ee20e3907bcb48b1ac1c8084e *Source\WinObjEx64\instdrv.c
5ab4e6a630152e02897f0ff346dcf0ae22fdbf2092f1243b9a0ce4e10fadaddd *Source\WinObjEx64\instdrv.h
b345322eabe17a9c662c61a6fe60b0e72455e85ab319ce6b071b69ccc76ad47c *Source\WinObjEx64\kldbg.c
@ -63,7 +63,7 @@ d27ee8b778adf45ad5187e96b4d4c8f6712e3b5758af450f673a0742d628b4fc *Source\WinObjE
d21e27bf35c5add1eedec3234fb358fbbc4c585c3de22326ac9581b59a8983d0 *Source\WinObjEx64\extras\extrasIPC.h
a79123df6a08dead27d757985fab61f5eb784e619e375373523248fb24015e60 *Source\WinObjEx64\extras\extrasPN.c
64e75cbaa0ce129f674a9a441a3045f37e74f853f34fd93caac5533bb174a019 *Source\WinObjEx64\extras\extrasPN.h
15cd77131e7726a24f45ab31bb3fcabada8d24925bc7b438e199d0710c6bfb1a *Source\WinObjEx64\extras\extrasPSList.c
2b70c9cedac01733cbc02e39d2597cf250062a4450c277feb16bad6d4b5273d6 *Source\WinObjEx64\extras\extrasPSList.c
fa879292d7bd5850c0ea3912bdb7490e14fcd81d4deaa9ea8b450539143c43b4 *Source\WinObjEx64\extras\extrasPSList.h
6c4909c8d72adcf4032c96d0efa0a108578a02124b346257f26fee42d4dcc3c3 *Source\WinObjEx64\extras\extrasSSDT.c
cb534bcebbee49f4f9178e5e291bb43edae6af77b15919532539eb19d3ee23ac *Source\WinObjEx64\extras\extrasSSDT.h