mirror of https://github.com/lianthony/NT4.0
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
71 lines
2.4 KiB
71 lines
2.4 KiB
/*==========================================================================;
|
|
*
|
|
* Copyright (C) 1995,1996 Microsoft Corporation. All Rights Reserved.
|
|
*
|
|
* File: ddd3dapi.h
|
|
* Content: Interface between DirectDraw and Direct3D.
|
|
*@@BEGIN_MSINTERNAL
|
|
*
|
|
* $Id$
|
|
*
|
|
* History:
|
|
* Date By Reason
|
|
* ==== == ======
|
|
* 02/17/96 colinmc Created this file from the obsolete d3dapi.h
|
|
* 03/23/96 colinmc Added process termination cleanup code
|
|
* 04/17/96 colinmc Bug 17008: DirectDraw/Direct3D deadlock
|
|
* 04/25/96 stevela Bug 16803: Name of Direct3D DLL changed.
|
|
* 04/29/96 colinmc Bug 19954: Must query for Direct3D before texture
|
|
* or device
|
|
*@@END_MSINTERNAL
|
|
*
|
|
***************************************************************************/
|
|
|
|
#ifndef _DDD3DAPI_H_
|
|
#define _DDD3DAPI_H_
|
|
|
|
/*
|
|
* File name of the Direct3D DLL.
|
|
*/
|
|
#define D3D_DLLNAME "D3DIM.DLL"
|
|
|
|
/*
|
|
* Entry points exported by the Direct3D DLL.
|
|
*/
|
|
#define D3DCREATE_PROCNAME "Direct3DCreate"
|
|
#define D3DCREATEDEVICE_PROCNAME "Direct3DCreateDevice"
|
|
#define D3DCREATETEXTURE_PROCNAME "Direct3DCreateTexture"
|
|
|
|
|
|
#ifdef USE_D3D_CSECT
|
|
typedef HRESULT (WINAPI * D3DCreateProc)(LPUNKNOWN* lplpD3D,
|
|
IUnknown* pUnkOuter);
|
|
#else /* USE_D3D_CSECT */
|
|
typedef HRESULT (WINAPI * D3DCreateProc)(LPCRITICAL_SECTION lpDDCSect,
|
|
LPUNKNOWN* lplpD3D,
|
|
IUnknown* pUnkOuter);
|
|
#endif /* USE_D3D_CSECT */
|
|
|
|
typedef HRESULT (WINAPI * D3DCreateTextProc)(REFIID riid,
|
|
LPDIRECTDRAWSURFACE lpDDS,
|
|
LPUNKNOWN* lplpD3DText,
|
|
IUnknown* pUnkOuter);
|
|
typedef HRESULT (WINAPI * D3DCreateDeviceProc)(REFIID riid,
|
|
LPUNKNOWN lpDirect3D,
|
|
LPDIRECTDRAWSURFACE lpDDS,
|
|
LPUNKNOWN* lplpD3DDevice,
|
|
IUnknown* pUnkOuter);
|
|
|
|
/*
|
|
* File name of the Direct3D HAL driver DLL.
|
|
*/
|
|
#define D3DHALDRV_DLLNAME "D3DHALF.DLL"
|
|
|
|
/*
|
|
* Entry points exported by the Direct3D HAL driver DLL.
|
|
*/
|
|
#define D3DHALCLEANUP_PROCNAME "D3DHAL_CleanUp"
|
|
|
|
typedef HRESULT (WINAPI * D3DHALCleanUpProc)(DWORD dwHALTable, DWORD dwPID);
|
|
|
|
#endif /* _DDD3DAPI_H_ */
|