Skip to content

Commit 4dadd41

Browse files
committed
Driver: added support for win10 19H2
1 parent 8052910 commit 4dadd41

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/BlackBoneDrv/BlackBoneDrv.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ NTSTATUS BBInitDynamicData( IN OUT PDYNAMIC_DATA pData )
269269
if (ver_short != WINVER_81)
270270
return STATUS_NOT_SUPPORTED;
271271
#elif defined (_WIN10_)
272-
if (ver_short < WINVER_10 || WINVER_10_RS6 < ver_short)
272+
if (ver_short < WINVER_10 || WINVER_10_RS7 < ver_short)
273273
return STATUS_NOT_SUPPORTED;
274274
#endif
275275

@@ -443,9 +443,9 @@ NTSTATUS BBInitDynamicData( IN OUT PDYNAMIC_DATA pData )
443443
pData->ExRemoveTable -= 0x34;
444444
break;
445445
}
446-
else if (verInfo.dwBuildNumber == 18362)
446+
else if (verInfo.dwBuildNumber == 18362 || verInfo.dwBuildNumber == 18363)
447447
{
448-
pData->ver = WINVER_10_RS6;
448+
pData->ver = verInfo.dwBuildNumber == 18362 ? WINVER_10_RS6 : WINVER_10_RS7;
449449
pData->KExecOpt = 0x1C3;
450450
pData->Protection = 0x6FA;
451451
pData->EProcessFlags2 = 0x850; // MitigationFlags offset

src/BlackBoneDrv/Private.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,8 @@ typedef enum _WinVer
162162
WINVER_10_RS3 = 0x0A03, // Fall creators update
163163
WINVER_10_RS4 = 0x0A04, // Spring creators update
164164
WINVER_10_RS5 = 0x0A05, // October 2018 update
165-
WINVER_10_RS6 = 0x0A06, // May 2019 update
165+
WINVER_10_RS6 = 0x0A06, // May 2019 update 19H1
166+
WINVER_10_RS7 = 0x0A07, // 19H2 update
166167
} WinVer;
167168

168169
extern PLIST_ENTRY PsLoadedModuleList;

0 commit comments

Comments
 (0)