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