microsoft / Windows-driver-samples

This repo contains driver samples prepared for use with Microsoft Visual Studio and the Windows Driver Kit (WDK). It contains both Universal Windows Driver and desktop-only driver samples.
Microsoft Public License
6.76k stars 4.89k forks source link

Fix TrEE Sample #1124

Closed JakobL-MSFT closed 4 months ago

JakobL-MSFT commented 4 months ago

The TrEE sample is literally the last sample on our .\exclusion.csv list. Let's get it to build!!

This fix does narrow fixes to achieve exactly that and at same time adds arm64 as a target OS.

More specifically:

How tested:

Note: There is no suitable header file currently available that defines CHAR16:

C:\Program Files (x86)\Windows Kits\10\Include>findstr /s /m CHAR16 *
10.0.22621.0\km\treevariableservice.h
10.0.22621.0\um\icu.h
10.0.22621.0\um\icucommon.h
10.0.22621.0\um\mi.h
10.0.22621.0\um\WbemCli.h
10.0.22621.0\um\WbemCli.Idl
JakobL-MSFT commented 4 months ago

I am going to complete this PR as I would like it my build for tonight and clearly we are better off with this change than without. More feedback is welcome after completion.