include: Don't use idl file for dxgitype.h.

This commit is contained in:
Jacek Caban 2011-06-18 15:08:08 +02:00 committed by Alexandre Julliard
parent a1d55ee77b
commit 82282185a9
4 changed files with 11 additions and 6 deletions

1
.gitignore vendored
View File

@ -171,7 +171,6 @@ include/docobj.h
include/docobjectservice.h include/docobjectservice.h
include/downloadmgr.h include/downloadmgr.h
include/dxgi.h include/dxgi.h
include/dxgitype.h
include/endpointvolume.h include/endpointvolume.h
include/exdisp.h include/exdisp.h
include/fusion.h include/fusion.h

View File

@ -32,7 +32,6 @@ PUBLIC_IDL_H_SRCS = \
docobjectservice.idl \ docobjectservice.idl \
downloadmgr.idl \ downloadmgr.idl \
dxgi.idl \ dxgi.idl \
dxgitype.idl \
endpointvolume.idl \ endpointvolume.idl \
exdisp.idl \ exdisp.idl \
fusion.idl \ fusion.idl \
@ -257,6 +256,7 @@ SRCDIR_INCLUDES = \
dxerr9.h \ dxerr9.h \
dxfile.h \ dxfile.h \
dxgiformat.h \ dxgiformat.h \
dxgitype.h \
dyngraph.idl \ dyngraph.idl \
errorrep.h \ errorrep.h \
errors.h \ errors.h \

View File

@ -16,7 +16,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
import "dxgitype.idl"; import "oaidl.idl";
import "ocidl.idl";
import "dxgitype.h";
const UINT _FACDXGI = 0x87a; const UINT _FACDXGI = 0x87a;

View File

@ -15,9 +15,11 @@
* License along with this library; if not, write to the Free Software * License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
import "oaidl.idl";
import "ocidl.idl"; #ifndef __dxgitype_h__
import "dxgiformat.h"; #define __dxgitype_h__
#include "dxgiformat.h"
typedef struct DXGI_SAMPLE_DESC { typedef struct DXGI_SAMPLE_DESC {
UINT Count; UINT Count;
@ -78,3 +80,5 @@ typedef struct DXGI_GAMMA_CONTROL {
DXGI_RGB Offset; DXGI_RGB Offset;
DXGI_RGB GammaCurve[1025]; DXGI_RGB GammaCurve[1025];
} DXGI_GAMMA_CONTROL; } DXGI_GAMMA_CONTROL;
#endif