tools: update ntstatus.bat, winerror.bat for latest SDK's

This commit is contained in:
Bill Zissimopoulos 2020-05-21 15:23:21 -07:00
parent dcf83b6d64
commit b663cfdca5
2 changed files with 12 additions and 2 deletions

View File

@ -11,4 +11,9 @@ for /f "tokens=2,*" %%i in ('reg query %RegKey% /v %RegVal% ^| findstr %RegVal%'
set KitRoot=%%j
)
findstr /R /I "\<0*[Xx]*%1[Ll]*\>" "%KitRoot%Include\10.0.10586.0\shared\%~n0.h"
set KitVer=10.0.10586.0
for /f "tokens=*" %%i in ('dir /ad/b "%KitRoot%Include\10.*"') do (
set KitVer=%%i
)
findstr /R /I "\<0*[Xx]*%1[Ll]*\>" "%KitRoot%Include\%KitVer%\shared\%~n0.h"

View File

@ -11,4 +11,9 @@ for /f "tokens=2,*" %%i in ('reg query %RegKey% /v %RegVal% ^| findstr %RegVal%'
set KitRoot=%%j
)
findstr /R /I "\<0*[Xx]*%1[Ll]*\>" "%KitRoot%Include\10.0.10586.0\shared\%~n0.h"
set KitVer=10.0.10586.0
for /f "tokens=*" %%i in ('dir /ad/b "%KitRoot%Include\10.*"') do (
set KitVer=%%i
)
findstr /R /I "\<0*[Xx]*%1[Ll]*\>" "%KitRoot%Include\%KitVer%\shared\%~n0.h"