Sweden-Number/dlls/d3dxof/d3dxof_private.h

82 lines
2.4 KiB
C
Raw Normal View History

2004-06-03 02:03:23 +02:00
/*
* DirectX File private interfaces (D3DXOF.DLL)
*
* Copyright 2004 Christian Costa
*
* This file contains the (internal) driver registration functions,
* driver enumeration APIs and DirectDraw creation functions.
*
* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef __D3DXOF_PRIVATE_INCLUDED__
#define __D3DXOF_PRIVATE_INCLUDED__
#define CONST_VTABLE
2004-06-03 02:03:23 +02:00
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wtypes.h"
#include "wingdi.h"
#include "winuser.h"
#include "dxfile.h"
typedef struct {
IDirectXFile lpVtbl;
ULONG ref;
2004-06-03 02:03:23 +02:00
} IDirectXFileImpl;
typedef struct {
IDirectXFileBinary lpVtbl;
ULONG ref;
2004-06-03 02:03:23 +02:00
} IDirectXFileBinaryImpl;
typedef struct {
IDirectXFileData lpVtbl;
ULONG ref;
2004-06-03 02:03:23 +02:00
} IDirectXFileDataImpl;
typedef struct {
IDirectXFileDataReference lpVtbl;
ULONG ref;
2004-06-03 02:03:23 +02:00
} IDirectXFileDataReferenceImpl;
typedef struct {
IDirectXFileObject lpVtbl;
ULONG ref;
2004-06-03 02:03:23 +02:00
} IDirectXFileObjectImpl;
typedef struct {
IDirectXFileEnumObject lpVtbl;
ULONG ref;
2004-06-03 02:03:23 +02:00
} IDirectXFileEnumObjectImpl;
typedef struct {
IDirectXFileSaveObject lpVtbl;
ULONG ref;
2004-06-03 02:03:23 +02:00
} IDirectXFileSaveObjectImpl;
HRESULT IDirectXFileImpl_Create(IUnknown *pUnkOuter, LPVOID *ppObj);
HRESULT IDirectXFileBinaryImpl_Create(IDirectXFileBinaryImpl** ppObj);
HRESULT IDirectXFileDataImpl_Create(IDirectXFileDataImpl** ppObj);
HRESULT IDirectXFileDataReferenceImpl_Create(IDirectXFileDataReferenceImpl** ppObj);
HRESULT IDirectXFileEnumObjectImpl_Create(IDirectXFileEnumObjectImpl** ppObj);
HRESULT IDirectXFileFileObjectImpl_Create(IDirectXFileObjectImpl** ppObj);
HRESULT IDirectXFileFileSaveObjectImpl_Create(IDirectXFileSaveObjectImpl** ppObj);
2004-06-03 02:03:23 +02:00
#endif /* __D3DXOF_PRIVATE_INCLUDED__ */