| 1 | /* | 
|---|
| 2 | * Copyright 2015 Steve Lhomme | 
|---|
| 3 | * | 
|---|
| 4 | * This library is free software; you can redistribute it and/or | 
|---|
| 5 | * modify it under the terms of the GNU Lesser General Public | 
|---|
| 6 | * License as published by the Free Software Foundation; either | 
|---|
| 7 | * version 2.1 of the License, or (at your option) any later version. | 
|---|
| 8 | * | 
|---|
| 9 | * This library is distributed in the hope that it will be useful, | 
|---|
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 
|---|
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU | 
|---|
| 12 | * Lesser General Public License for more details. | 
|---|
| 13 | * | 
|---|
| 14 | * You should have received a copy of the GNU Lesser General Public | 
|---|
| 15 | * License along with this library; if not, write to the Free Software | 
|---|
| 16 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA | 
|---|
| 17 | */ | 
|---|
| 18 |  | 
|---|
| 19 | import "oaidl.idl"; | 
|---|
| 20 |  | 
|---|
| 21 | cpp_quote("DEFINE_GUID(DXGI_DEBUG_ALL,   0xe48ae283, 0xda80, 0x490b,0x87, 0xe6, 0x43, 0xe9, 0xa9, 0xcf, 0xda, 0x08);") | 
|---|
| 22 | cpp_quote("DEFINE_GUID(DXGI_DEBUG_DX,    0x35cdd7fc, 0x13b2, 0x421d,0xa5, 0xd7, 0x7e, 0x44, 0x51, 0x28, 0x7d, 0x64);") | 
|---|
| 23 | cpp_quote("DEFINE_GUID(DXGI_DEBUG_DXGI,  0x25cddaa4, 0xb1c6, 0x47e1,0xac, 0x3e, 0x98, 0x87, 0x5b, 0x5a, 0x2e, 0x2a);") | 
|---|
| 24 | cpp_quote("DEFINE_GUID(DXGI_DEBUG_APP,   0x06cd6e01, 0x4219, 0x4ebd,0x87, 0x90, 0x27, 0xed, 0x23, 0x36, 0x0c, 0x62);") | 
|---|
| 25 |  | 
|---|
| 26 | typedef enum DXGI_DEBUG_RLO_FLAGS { | 
|---|
| 27 | DXGI_DEBUG_RLO_SUMMARY         = 0x0001, | 
|---|
| 28 | DXGI_DEBUG_RLO_DETAIL          = 0x0002, | 
|---|
| 29 | DXGI_DEBUG_RLO_IGNORE_INTERNAL = 0x0004, | 
|---|
| 30 | DXGI_DEBUG_RLO_ALL             = 0x0007 | 
|---|
| 31 | } DXGI_DEBUG_RLO_FLAGS; | 
|---|
| 32 |  | 
|---|
| 33 | [ | 
|---|
| 34 | object, | 
|---|
| 35 | local, | 
|---|
| 36 | uuid(119e7452-de9e-40fe-8806-88f90c12b441) | 
|---|
| 37 | ] | 
|---|
| 38 | interface IDXGIDebug : IUnknown | 
|---|
| 39 | { | 
|---|
| 40 | HRESULT ReportLiveObjects( | 
|---|
| 41 | [in] GUID apiid, | 
|---|
| 42 | [in] DXGI_DEBUG_RLO_FLAGS flags); | 
|---|
| 43 | } | 
|---|