ddraw: Avoid LPD3DDEVICEDESC.
This commit is contained in:
parent
ab55448069
commit
725ec0323e
|
@ -937,7 +937,7 @@ DECLARE_INTERFACE_(IDirect3DDevice,IUnknown)
|
|||
STDMETHOD_(ULONG,Release)(THIS) PURE;
|
||||
/*** IDirect3DDevice methods ***/
|
||||
STDMETHOD(Initialize)(THIS_ IDirect3D *d3d, GUID *guid, D3DDEVICEDESC *desc) PURE;
|
||||
STDMETHOD(GetCaps)(THIS_ LPD3DDEVICEDESC lpD3DHWDevDesc, LPD3DDEVICEDESC lpD3DHELDevDesc) PURE;
|
||||
STDMETHOD(GetCaps)(THIS_ D3DDEVICEDESC *hal_desc, D3DDEVICEDESC *hel_desc) PURE;
|
||||
STDMETHOD(SwapTextureHandles)(THIS_ IDirect3DTexture *tex1, IDirect3DTexture *tex2) PURE;
|
||||
STDMETHOD(CreateExecuteBuffer)(THIS_ D3DEXECUTEBUFFERDESC *desc,
|
||||
IDirect3DExecuteBuffer **buffer, IUnknown *outer) PURE;
|
||||
|
@ -1026,7 +1026,7 @@ DECLARE_INTERFACE_(IDirect3DDevice2,IUnknown)
|
|||
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
|
||||
STDMETHOD_(ULONG,Release)(THIS) PURE;
|
||||
/*** IDirect3DDevice2 methods ***/
|
||||
STDMETHOD(GetCaps)(THIS_ LPD3DDEVICEDESC lpD3DHWDevDesc, LPD3DDEVICEDESC lpD3DHELDevDesc) PURE;
|
||||
STDMETHOD(GetCaps)(THIS_ D3DDEVICEDESC *hal_desc, D3DDEVICEDESC *hel_desc) PURE;
|
||||
STDMETHOD(SwapTextureHandles)(THIS_ IDirect3DTexture2 *tex1, IDirect3DTexture2 *tex2) PURE;
|
||||
STDMETHOD(GetStats)(THIS_ LPD3DSTATS lpD3DStats) PURE;
|
||||
STDMETHOD(AddViewport)(THIS_ IDirect3DViewport2 *viewport) PURE;
|
||||
|
@ -1146,7 +1146,7 @@ DECLARE_INTERFACE_(IDirect3DDevice3,IUnknown)
|
|||
STDMETHOD_(ULONG,AddRef)(THIS) PURE;
|
||||
STDMETHOD_(ULONG,Release)(THIS) PURE;
|
||||
/*** IDirect3DDevice3 methods ***/
|
||||
STDMETHOD(GetCaps)(THIS_ LPD3DDEVICEDESC lpD3DHWDevDesc, LPD3DDEVICEDESC lpD3DHELDevDesc) PURE;
|
||||
STDMETHOD(GetCaps)(THIS_ D3DDEVICEDESC *hal_desc, D3DDEVICEDESC *hel_desc) PURE;
|
||||
STDMETHOD(GetStats)(THIS_ LPD3DSTATS lpD3DStats) PURE;
|
||||
STDMETHOD(AddViewport)(THIS_ IDirect3DViewport3 *viewport) PURE;
|
||||
STDMETHOD(DeleteViewport)(THIS_ IDirect3DViewport3 *viewport) PURE;
|
||||
|
|
|
@ -347,7 +347,8 @@ typedef struct _D3DDeviceDesc7 {
|
|||
#define D3DVTXPCAPS_POSITIONALLIGHTS 0x00000010
|
||||
#define D3DVTXPCAPS_LOCALVIEWER 0x00000020
|
||||
|
||||
typedef HRESULT (CALLBACK *LPD3DENUMDEVICESCALLBACK)(LPGUID lpGuid,LPSTR lpDeviceDescription,LPSTR lpDeviceName,LPD3DDEVICEDESC,LPD3DDEVICEDESC,LPVOID);
|
||||
typedef HRESULT (CALLBACK *LPD3DENUMDEVICESCALLBACK)(GUID *guid, char *description, char *name,
|
||||
D3DDEVICEDESC *hal_desc, D3DDEVICEDESC *hel_desc, void *ctx);
|
||||
typedef HRESULT (CALLBACK *LPD3DENUMDEVICESCALLBACK7)(LPSTR lpDeviceDescription, LPSTR lpDeviceName, LPD3DDEVICEDESC7, LPVOID);
|
||||
|
||||
#define D3DFDS_COLORMODEL 0x00000001
|
||||
|
|
Loading…
Reference in New Issue