Module: wine Branch: master Commit: d36aba067fb26524189b55827af0b25a1d6b0a8e URL: http://source.winehq.org/git/wine.git/?a=commit;h=d36aba067fb26524189b55827a...
Author: Matteo Bruni matteo.mystral@gmail.com Date: Mon Jul 26 21:56:00 2010 +0200
include: Add the ID3D10Blob interface.
---
.gitignore | 1 + include/Makefile.in | 1 + include/d3dcommon.idl | 35 +++++++++++++++++++++++++++++++++++ 3 files changed, 37 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore index 7e67d59..0ab469f 100644 --- a/.gitignore +++ b/.gitignore @@ -153,6 +153,7 @@ include/control.h include/ctfutb.h include/ctxtcall.h include/d3d10.h +include/d3dcommon.h include/ddstream.h include/devicetopology.h include/dimm.h diff --git a/include/Makefile.in b/include/Makefile.in index b228795..153272d 100644 --- a/include/Makefile.in +++ b/include/Makefile.in @@ -26,6 +26,7 @@ PUBLIC_IDL_H_SRCS = \ ctfutb.idl \ ctxtcall.idl \ d3d10.idl \ + d3dcommon.idl \ ddstream.idl \ devicetopology.idl \ dimm.idl \ diff --git a/include/d3dcommon.idl b/include/d3dcommon.idl new file mode 100644 index 0000000..b9cdf0e --- /dev/null +++ b/include/d3dcommon.idl @@ -0,0 +1,35 @@ +/* + * Copyright 2010 Matteo Bruni for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "oaidl.idl"; +import "ocidl.idl"; + +[ + object, + local, + uuid(8ba5fb08-5195-40e2-ac58-0d989c3a0102) +] +interface ID3D10Blob : IUnknown +{ + void *GetBufferPointer(); + DWORD GetBufferSize(); +} + +typedef ID3D10Blob* LPD3D10BLOB; +typedef ID3D10Blob ID3DBlob; +typedef ID3DBlob* LPD3DBLOB;