Signed-off-by: Zebediah Figura z.figura12@gmail.com --- include/setupapi.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+)
diff --git a/include/setupapi.h b/include/setupapi.h index ac789ae215b..e52dc253afd 100644 --- a/include/setupapi.h +++ b/include/setupapi.h @@ -1218,7 +1218,26 @@ DECL_WINELIB_SETUPAPI_TYPE_AW(PSP_INF_SIGNER_INFO) #define ERROR_SET_SYSTEM_RESTORE_POINT (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x236) #define ERROR_INCORRECTLY_COPIED_INF (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x237) #define ERROR_SCE_DISABLED (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x238) +#define ERROR_UNKNOWN_EXCEPTION (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x239) +#define ERROR_PNP_REGISTRY_ERROR (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x23A) +#define ERROR_REMOTE_REQUEST_UNSUPPORTED (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x23B) +#define ERROR_NOT_AN_INSTALLED_OEM_INF (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x23C) +#define ERROR_INF_IN_USE_BY_DEVICES (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x23D) +#define ERROR_DI_FUNCTION_OBSOLETE (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x23E) +#define ERROR_NO_AUTHENTICODE_CATALOG (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x23F) +#define ERROR_AUTHENTICODE_DISALLOWED (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x240) +#define ERROR_AUTHENTICODE_TRUSTED_PUBLISHER (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x241) +#define ERROR_AUTHENTICODE_TRUST_NOT_ESTABLISHED (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x242) +#define ERROR_AUTHENTICODE_PUBLISHER_NOT_TRUSTED (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x243) +#define ERROR_SIGNATURE_OSATTRIBUTE_MISMATCH (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x244) +#define ERROR_ONLY_VALIDATE_VIA_AUTHENTICODE (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x245) +#define ERROR_DEVICE_INSTALLER_NOT_READY (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x246) +#define ERROR_DRIVER_STORE_ADD_FAILED (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x247) +#define ERROR_DEVICE_INSTALL_BLOCKED (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x248) +#define ERROR_DRIVER_INSTALL_BLOCKED (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x249) #define ERROR_WRONG_INF_TYPE (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x24A) +#define ERROR_FILE_HASH_NOT_IN_CATALOG (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x24B) +#define ERROR_DRIVER_STORE_DELETE_FAILED (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x24C) #define ERROR_NO_DEFAULT_INTERFACE_DEVICE ERROR_NO_DEFAULT_DEVICE_INTERFACE #define ERROR_INTERFACE_DEVICE_ACTIVE ERROR_DEVICE_INTERFACE_ACTIVE #define ERROR_INTERFACE_DEVICE_REMOVED ERROR_DEVICE_INTERFACE_REMOVED
Signed-off-by: Zebediah Figura z.figura12@gmail.com --- include/mssip.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/include/mssip.h b/include/mssip.h index ee225f1cbe5..d002f961233 100644 --- a/include/mssip.h +++ b/include/mssip.h @@ -32,9 +32,11 @@ typedef CRYPT_HASH_BLOB CRYPT_DIGEST_DATA; #define MSSIP_FLAGS_PROHIBIT_RESIZE_ON_CREATE 0x00010000 #define MSSIP_FLAGS_USE_CATALOG 0x00020000
-#define SPC_INC_PE_RESOURCES_FLAG 0x80 -#define SPC_INC_PE_DEBUG_INFO_FLAG 0x40 -#define SPC_INC_PE_IMPORT_ADDR_TABLE_FLAG 0x20 +#define SPC_EXC_PE_PAGE_HASHES_FLAG 0x010 +#define SPC_INC_PE_IMPORT_ADDR_TABLE_FLAG 0x020 +#define SPC_INC_PE_DEBUG_INFO_FLAG 0x040 +#define SPC_INC_PE_RESOURCES_FLAG 0x080 +#define SPC_INC_PE_PAGE_HASHES_FLAG 0x100
#define MSSIP_ADDINFO_NONE 0 #define MSSIP_ADDINFO_FLAT 1
Signed-off-by: Zebediah Figura z.figura12@gmail.com --- dlls/mssign32/mssign32_private.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/dlls/mssign32/mssign32_private.h b/dlls/mssign32/mssign32_private.h index a4e5d360a75..bcbaa65d85b 100644 --- a/dlls/mssign32/mssign32_private.h +++ b/dlls/mssign32/mssign32_private.h @@ -19,12 +19,7 @@ #include "windef.h" #include "winbase.h" #include "wincrypt.h" - -#define SPC_EXC_PE_PAGE_HASHES_FLAG 0x10 -#define SPC_INC_PE_IMPORT_ADDR_TABLE_FLAG 0x20 -#define SPC_INC_PE_DEBUG_INFO_FLAG 0x40 -#define SPC_INC_PE_RESOURCES_FLAG 0x80 -#define SPC_INC_PE_PAGE_HASHES_FLAG 0x100 +#include "mssip.h"
#define SIGNER_CERT_SPC_FILE 1 #define SIGNER_CERT_STORE 2
Signed-off-by: Zebediah Figura z.figura12@gmail.com --- include/mscat.h | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/include/mscat.h b/include/mscat.h index 6a718ef3d04..4571a0b2647 100644 --- a/include/mscat.h +++ b/include/mscat.h @@ -54,6 +54,9 @@ extern "C" { #define CRYPTCAT_E_CDF_ATTR_TOOFEWVALUES 0x00020002 #define CRYPTCAT_E_CDF_ATTR_TYPECOMBO 0x00020004
+#define CRYPTCAT_VERSION_1 0x100 +#define CRYPTCAT_VERSION_2 0x200 + #include <pshpack8.h>
typedef struct CRYPTCATATTRIBUTE_