[PATCH 3/4] include: Add TBS_E_* to winerror.h

Alex Henrie alexhenrie24 at gmail.com
Tue Jun 29 21:33:47 CDT 2021


Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
---
 include/winerror.h | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/include/winerror.h b/include/winerror.h
index 8765e177029..ff1765212ab 100644
--- a/include/winerror.h
+++ b/include/winerror.h
@@ -3639,6 +3639,30 @@ static inline HRESULT HRESULT_FROM_WIN32(unsigned int x)
 #define DWM_E_ADAPTER_NOT_FOUND                            _HRESULT_TYPEDEF_(0x80263005)
 #define DWM_S_GDI_REDIRECTION_SURFACE                      _HRESULT_TYPEDEF_(0x00263005)
 
+/* Trusted Platform Module Base System error codes */
+#define TBS_E_INTERNAL_ERROR                               _HRESULT_TYPEDEF_(0x80284001L)
+#define TBS_E_BAD_PARAMETER                                _HRESULT_TYPEDEF_(0x80284002L)
+#define TBS_E_INVALID_OUTPUT_POINTER                       _HRESULT_TYPEDEF_(0x80284003L)
+#define TBS_E_INVALID_CONTEXT                              _HRESULT_TYPEDEF_(0x80284004L)
+#define TBS_E_INSUFFICIENT_BUFFER                          _HRESULT_TYPEDEF_(0x80284005L)
+#define TBS_E_IOERROR                                      _HRESULT_TYPEDEF_(0x80284006L)
+#define TBS_E_INVALID_CONTEXT_PARAM                        _HRESULT_TYPEDEF_(0x80284007L)
+#define TBS_E_SERVICE_NOT_RUNNING                          _HRESULT_TYPEDEF_(0x80284008L)
+#define TBS_E_TOO_MANY_TBS_CONTEXTS                        _HRESULT_TYPEDEF_(0x80284009L)
+#define TBS_E_TOO_MANY_RESOURCES                           _HRESULT_TYPEDEF_(0x8028400aL)
+#define TBS_E_SERVICE_START_PENDING                        _HRESULT_TYPEDEF_(0x8028400bL)
+#define TBS_E_PPI_NOT_SUPPORTED                            _HRESULT_TYPEDEF_(0x8028400cL)
+#define TBS_E_COMMAND_CANCELED                             _HRESULT_TYPEDEF_(0x8028400dL)
+#define TBS_E_BUFFER_TOO_LARGE                             _HRESULT_TYPEDEF_(0x8028400eL)
+#define TBS_E_TPM_NOT_FOUND                                _HRESULT_TYPEDEF_(0x8028400fL)
+#define TBS_E_SERVICE_DISABLED                             _HRESULT_TYPEDEF_(0x80284010L)
+#define TBS_E_NO_EVENT_LOG                                 _HRESULT_TYPEDEF_(0x80284011L)
+#define TBS_E_ACCESS_DENIED                                _HRESULT_TYPEDEF_(0x80284012L)
+#define TBS_E_PROVISIONING_NOT_ALLOWED                     _HRESULT_TYPEDEF_(0x80284013L)
+#define TBS_E_PPI_FUNCTION_UNSUPPORTED                     _HRESULT_TYPEDEF_(0x80284014L)
+#define TBS_E_OWNERAUTH_NOT_FOUND                          _HRESULT_TYPEDEF_(0x80284015L)
+#define TBS_E_PROVISIONING_INCOMPLETE                      _HRESULT_TYPEDEF_(0x80284016L)
+
 #define UI_E_CREATE_FAILED                                 _HRESULT_TYPEDEF_(0x802a0001)
 #define UI_E_SHUTDOWN_CALLED                               _HRESULT_TYPEDEF_(0x802a0002)
 #define UI_E_ILLEGAL_REENTRANCY                            _HRESULT_TYPEDEF_(0x802a0003)
-- 
2.32.0.94.ge083fb24f6




More information about the wine-devel mailing list