From 2e1e098465a677305dce1ba9ff1aa5ce146e0ba7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B3zef=20Kucia?= Date: Mon, 17 Oct 2016 14:24:22 +0200 Subject: [PATCH] include: Add defines for some DXGI errors. --- include/dxgibase.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/dxgibase.h b/include/dxgibase.h index 1477f539..eb2ba265 100644 --- a/include/dxgibase.h +++ b/include/dxgibase.h @@ -23,6 +23,9 @@ #ifndef __DXGI_BASE_H #define __DXGI_BASE_H +#define DXGI_ERROR_INVALID_CALL _HRESULT_TYPEDEF_(0x887A0001) +#define DXGI_ERROR_DEVICE_REMOVED _HRESULT_TYPEDEF_(0x887A0005) + typedef struct DXGI_SAMPLE_DESC { UINT Count;