summaryrefslogtreecommitdiff
path: root/TrEE/Miniport/SampleMiniport.c
diff options
context:
space:
mode:
authorJakobL-MSFT <[email protected]>2024-02-20 23:44:03 -0800
committerGitHub <[email protected]>2024-02-20 23:44:03 -0800
commitcfeff01cef9b504195cee104fc67eee4e1834811 (patch)
tree671c5a832ea20f477b2a1508726a804d596c191b /TrEE/Miniport/SampleMiniport.c
parentee0a1ee73dde5be876dbd25ee5ab4b467530a215 (diff)
Fix TrEE Sample (#1124)
* Fix TrEE sample * Fix TrEE sample
Diffstat (limited to 'TrEE/Miniport/SampleMiniport.c')
-rw-r--r--TrEE/Miniport/SampleMiniport.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/TrEE/Miniport/SampleMiniport.c b/TrEE/Miniport/SampleMiniport.c
index 55bfa60a..eae22c7c 100644
--- a/TrEE/Miniport/SampleMiniport.c
+++ b/TrEE/Miniport/SampleMiniport.c
@@ -22,11 +22,17 @@ Environment:
#include <wdmguid.h>
#include <ntstrsafe.h>
#include <TrustedRuntimeClx.h>
-#include <ntefi.h>
+
+//
+// Header file <TrEEVariableService.h> requires prior definition of a CHAR16.
+// For now we need to define this in sample.
+//
+typedef UINT16 CHAR16;
+
#include <TrEEVariableService.h>
#include "sampleminiport.h"
-#include <SampleSecureService.h>
-#include <SampleOSService.h>
+#include "..\inc\SampleSecureService.h"
+#include "..\inc\SampleOSService.h"
#define SDDL_SAMPLE_TEST2_SERVICE L"D:P(A;;FRFW;;;WD)(A;;FRFW;;;RC)(A;;FRFW;;;AC)"