https://git.reactos.org/?p=reactos.git;a=commitdiff;h=e763bec6cdb0fa73fae2f…
commit e763bec6cdb0fa73fae2f74d7e029a2cf73f6903
Author: Hervé Poussineau <hpoussin(a)reactos.org>
AuthorDate: Sun Jul 18 15:36:30 2021 +0200
Commit: Hervé Poussineau <hpoussin(a)reactos.org>
CommitDate: Thu Aug 5 23:45:20 2021 +0200
[PSDK] Add DRIVER_UNTRUSTED_RANK define
---
sdk/include/psdk/setupapi.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/sdk/include/psdk/setupapi.h b/sdk/include/psdk/setupapi.h
index d11e36a464a..efe15a7b0bf 100644
--- a/sdk/include/psdk/setupapi.h
+++ b/sdk/include/psdk/setupapi.h
@@ -272,6 +272,11 @@ extern "C" {
#define DPROMPT_BUFFERTOOSMALL 3
#define DPROMPT_OUTOFMEMORY 4
#define DRIVER_HARDWAREID_RANK 0x00000FFF
+#if (_SETUPAPI_VER >= 0x0600)
+#define DRIVER_UNTRUSTED_RANK 0x80000000
+#else
+#define DRIVER_UNTRUSTED_RANK 0x00008000
+#endif
#define DYNAWIZ_FLAG_PAGESADDED 0x00000001
#define DYNAWIZ_FLAG_INSTALLDET_NEXT 0x00000002
#define DYNAWIZ_FLAG_INSTALLDET_PREV 0x00000004