mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
73 lines
1.9 KiB
C
73 lines
1.9 KiB
C
/*
|
|
* Direct3D X 8 private include file
|
|
*
|
|
* Copyright 2002 Raphael Junqueira
|
|
*
|
|
* 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
|
|
*/
|
|
|
|
#ifndef __WINE_D3DX8CORE_PRIVATE_H
|
|
#define __WINE_D3DX8CORE_PRIVATE_H
|
|
|
|
#include <stdarg.h>
|
|
|
|
#include "windef.h"
|
|
#include "winbase.h"
|
|
#include "d3dx8core.h"
|
|
|
|
/* Interfaces */
|
|
typedef struct ID3DXBufferImpl ID3DXBufferImpl;
|
|
typedef struct ID3DXFontImpl ID3DXFontImpl;
|
|
|
|
/* ----------- */
|
|
/* ID3DXBuffer */
|
|
/* ----------- */
|
|
|
|
/*****************************************************************************
|
|
* Predeclare the interface implementation structures
|
|
*/
|
|
extern const ID3DXBufferVtbl D3DXBuffer_Vtbl;
|
|
|
|
/*****************************************************************************
|
|
* ID3DXBufferImpl implementation structure
|
|
*/
|
|
struct ID3DXBufferImpl
|
|
{
|
|
/* IUnknown fields */
|
|
const ID3DXBufferVtbl *lpVtbl;
|
|
LONG ref;
|
|
|
|
/* ID3DXBuffer fields */
|
|
DWORD *buffer;
|
|
DWORD bufferSize;
|
|
};
|
|
|
|
/* --------- */
|
|
/* ID3DXFont */
|
|
/* --------- */
|
|
|
|
/*****************************************************************************
|
|
* ID3DXFontImpl implementation structure
|
|
*/
|
|
struct ID3DXFontImpl
|
|
{
|
|
/* IUnknown fields */
|
|
const ID3DXFontVtbl *lpVtbl;
|
|
LONG ref;
|
|
|
|
/* ID3DXFont fields */
|
|
};
|
|
|
|
#endif /*__WINE_D3DX8CORE_PRIVATE_H */
|