13 #ifndef DIRECT3D_VERSION 14 #define DIRECT3D_VERSION 0x0900 18 #if(DIRECT3D_VERSION >= 0x0900) 27 #define D3D_SDK_VERSION 31 32 #define COM_NO_WINDOWS_H 37 #if !defined(HMONITOR_DECLARED) && (WINVER < 0x0500) 38 #define HMONITOR_DECLARED 47 #if defined( _WIN32 ) && !defined( _NO_COM) 51 DEFINE_GUID(IID_IDirect3D9, 0x81bdcbca, 0x64d4, 0x426d, 0xae, 0x8d, 0xad, 0x1, 0x47, 0xf4, 0x27, 0x5c);
55 DEFINE_GUID(IID_IDirect3DDevice9, 0xd0223b96, 0xbf7a, 0x43fd, 0x92, 0xbd, 0xa4, 0x3b, 0xd, 0x82, 0xb9, 0xeb);
59 DEFINE_GUID(IID_IDirect3DResource9, 0x5eec05d, 0x8f7d, 0x4362, 0xb9, 0x99, 0xd1, 0xba, 0xf3, 0x57, 0xc7, 0x4);
63 DEFINE_GUID(IID_IDirect3DBaseTexture9, 0x580ca87e, 0x1d3c, 0x4d54, 0x99, 0x1d, 0xb7, 0xd3, 0xe3, 0xc2, 0x98, 0xce);
67 DEFINE_GUID(IID_IDirect3DTexture9, 0x85c31227, 0x3de5, 0x4f00, 0x9b, 0x3a, 0xf1, 0x1a, 0xc3, 0x8c, 0x18, 0xb5);
71 DEFINE_GUID(IID_IDirect3DCubeTexture9, 0xfff32f81, 0xd953, 0x473a, 0x92, 0x23, 0x93, 0xd6, 0x52, 0xab, 0xa9, 0x3f);
75 DEFINE_GUID(IID_IDirect3DVolumeTexture9, 0x2518526c, 0xe789, 0x4111, 0xa7, 0xb9, 0x47, 0xef, 0x32, 0x8d, 0x13, 0xe6);
79 DEFINE_GUID(IID_IDirect3DVertexBuffer9, 0xb64bb1b5, 0xfd70, 0x4df6, 0xbf, 0x91, 0x19, 0xd0, 0xa1, 0x24, 0x55, 0xe3);
83 DEFINE_GUID(IID_IDirect3DIndexBuffer9, 0x7c9dd65e, 0xd3f7, 0x4529, 0xac, 0xee, 0x78, 0x58, 0x30, 0xac, 0xde, 0x35);
87 DEFINE_GUID(IID_IDirect3DSurface9, 0xcfbaf3a, 0x9ff6, 0x429a, 0x99, 0xb3, 0xa2, 0x79, 0x6a, 0xf8, 0xb8, 0x9b);
91 DEFINE_GUID(IID_IDirect3DVolume9, 0x24f416e6, 0x1f67, 0x4aa7, 0xb8, 0x8e, 0xd3, 0x3f, 0x6f, 0x31, 0x28, 0xa1);
95 DEFINE_GUID(IID_IDirect3DSwapChain9, 0x794950f2, 0xadfc, 0x458a, 0x90, 0x5e, 0x10, 0xa1, 0xb, 0xb, 0x50, 0x3b);
99 DEFINE_GUID(IID_IDirect3DVertexDeclaration9, 0xdd13c59c, 0x36fa, 0x4098, 0xa8, 0xfb, 0xc7, 0xed, 0x39, 0xdc, 0x85, 0x46);
103 DEFINE_GUID(IID_IDirect3DVertexShader9, 0xefc5557e, 0x6265, 0x4613, 0x8a, 0x94, 0x43, 0x85, 0x78, 0x89, 0xeb, 0x36);
107 DEFINE_GUID(IID_IDirect3DPixelShader9, 0x6d3bdbdc, 0x5b02, 0x4415, 0xb8, 0x52, 0xce, 0x5e, 0x8b, 0xcc, 0xb2, 0x89);
111 DEFINE_GUID(IID_IDirect3DStateBlock9, 0xb07c4fe5, 0x310d, 0x4ba8, 0xa2, 0x3c, 0x4f, 0xf, 0x20, 0x6f, 0x21, 0x8b);
115 DEFINE_GUID(IID_IDirect3DQuery9, 0xd9771460, 0xa695, 0x4f26, 0xbb, 0xd3, 0x27, 0xb8, 0x40, 0xb5, 0x41, 0xcc);
122 #ifndef DECLSPEC_UUID 124 #define DECLSPEC_UUID(x) __declspec(uuid(x)) 126 #define DECLSPEC_UUID(x) 153 #if defined(_COM_SMARTPTR_TYPEDEF) 225 #define INTERFACE IDirect3D9 230 STDMETHOD(QueryInterface)(THIS_ REFIID riid,
void** ppvObj) PURE;
231 STDMETHOD_(ULONG,AddRef)(THIS) PURE;
232 STDMETHOD_(ULONG,
Release)(THIS) PURE;
235 STDMETHOD(RegisterSoftwareDevice)(THIS_
void* pInitializeFunction) PURE;
236 STDMETHOD_(
UINT, GetAdapterCount)(THIS) PURE;
247 STDMETHOD_(HMONITOR, GetAdapterMonitor)(THIS_
UINT Adapter) PURE;
253 #if !defined(__cplusplus) || defined(CINTERFACE) 254 #define IDirect3D9_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) 255 #define IDirect3D9_AddRef(p) (p)->lpVtbl->AddRef(p) 256 #define IDirect3D9_Release(p) (p)->lpVtbl->Release(p) 257 #define IDirect3D9_RegisterSoftwareDevice(p,a) (p)->lpVtbl->RegisterSoftwareDevice(p,a) 258 #define IDirect3D9_GetAdapterCount(p) (p)->lpVtbl->GetAdapterCount(p) 259 #define IDirect3D9_GetAdapterIdentifier(p,a,b,c) (p)->lpVtbl->GetAdapterIdentifier(p,a,b,c) 260 #define IDirect3D9_GetAdapterModeCount(p,a,b) (p)->lpVtbl->GetAdapterModeCount(p,a,b) 261 #define IDirect3D9_EnumAdapterModes(p,a,b,c,d) (p)->lpVtbl->EnumAdapterModes(p,a,b,c,d) 262 #define IDirect3D9_GetAdapterDisplayMode(p,a,b) (p)->lpVtbl->GetAdapterDisplayMode(p,a,b) 263 #define IDirect3D9_CheckDeviceType(p,a,b,c,d,e) (p)->lpVtbl->CheckDeviceType(p,a,b,c,d,e) 264 #define IDirect3D9_CheckDeviceFormat(p,a,b,c,d,e,f) (p)->lpVtbl->CheckDeviceFormat(p,a,b,c,d,e,f) 265 #define IDirect3D9_CheckDeviceMultiSampleType(p,a,b,c,d,e,f) (p)->lpVtbl->CheckDeviceMultiSampleType(p,a,b,c,d,e,f) 266 #define IDirect3D9_CheckDepthStencilMatch(p,a,b,c,d,e) (p)->lpVtbl->CheckDepthStencilMatch(p,a,b,c,d,e) 267 #define IDirect3D9_CheckDeviceFormatConversion(p,a,b,c,d) (p)->lpVtbl->CheckDeviceFormatConversion(p,a,b,c,d) 268 #define IDirect3D9_GetDeviceCaps(p,a,b,c) (p)->lpVtbl->GetDeviceCaps(p,a,b,c) 269 #define IDirect3D9_GetAdapterMonitor(p,a) (p)->lpVtbl->GetAdapterMonitor(p,a) 270 #define IDirect3D9_CreateDevice(p,a,b,c,d,e,f) (p)->lpVtbl->CreateDevice(p,a,b,c,d,e,f) 272 #define IDirect3D9_QueryInterface(p,a,b) (p)->QueryInterface(a,b) 273 #define IDirect3D9_AddRef(p) (p)->AddRef() 274 #define IDirect3D9_Release(p) (p)->Release() 275 #define IDirect3D9_RegisterSoftwareDevice(p,a) (p)->RegisterSoftwareDevice(a) 276 #define IDirect3D9_GetAdapterCount(p) (p)->GetAdapterCount() 277 #define IDirect3D9_GetAdapterIdentifier(p,a,b,c) (p)->GetAdapterIdentifier(a,b,c) 278 #define IDirect3D9_GetAdapterModeCount(p,a,b) (p)->GetAdapterModeCount(a,b) 279 #define IDirect3D9_EnumAdapterModes(p,a,b,c,d) (p)->EnumAdapterModes(a,b,c,d) 280 #define IDirect3D9_GetAdapterDisplayMode(p,a,b) (p)->GetAdapterDisplayMode(a,b) 281 #define IDirect3D9_CheckDeviceType(p,a,b,c,d,e) (p)->CheckDeviceType(a,b,c,d,e) 282 #define IDirect3D9_CheckDeviceFormat(p,a,b,c,d,e,f) (p)->CheckDeviceFormat(a,b,c,d,e,f) 283 #define IDirect3D9_CheckDeviceMultiSampleType(p,a,b,c,d,e,f) (p)->CheckDeviceMultiSampleType(a,b,c,d,e,f) 284 #define IDirect3D9_CheckDepthStencilMatch(p,a,b,c,d,e) (p)->CheckDepthStencilMatch(a,b,c,d,e) 285 #define IDirect3D9_CheckDeviceFormatConversion(p,a,b,c,d) (p)->CheckDeviceFormatConversion(a,b,c,d) 286 #define IDirect3D9_GetDeviceCaps(p,a,b,c) (p)->GetDeviceCaps(a,b,c) 287 #define IDirect3D9_GetAdapterMonitor(p,a) (p)->GetAdapterMonitor(a) 288 #define IDirect3D9_CreateDevice(p,a,b,c,d,e,f) (p)->CreateDevice(a,b,c,d,e,f) 314 #define INTERFACE IDirect3DDevice9 319 STDMETHOD(QueryInterface)(THIS_ REFIID riid,
void** ppvObj) PURE;
320 STDMETHOD_(ULONG,AddRef)(THIS) PURE;
321 STDMETHOD_(ULONG,
Release)(THIS) PURE;
324 STDMETHOD(TestCooperativeLevel)(THIS) PURE;
325 STDMETHOD_(
UINT, GetAvailableTextureMem)(THIS) PURE;
326 STDMETHOD(EvictManagedResources)(THIS) PURE;
327 STDMETHOD(GetDirect3D)(THIS_
IDirect3D9** ppD3D9) PURE;
328 STDMETHOD(GetDeviceCaps)(THIS_
D3DCAPS9* pCaps) PURE;
332 STDMETHOD_(
void, SetCursorPosition)(THIS_
int X,
int Y,DWORD Flags) PURE;
333 STDMETHOD_(
BOOL, ShowCursor)(THIS_
BOOL bShow) PURE;
336 STDMETHOD_(
UINT, GetNumberOfSwapChains)(THIS) PURE;
338 STDMETHOD(Present)(THIS_
CONST RECT* pSourceRect,
CONST RECT* pDestRect,HWND hDestWindowOverride,
CONST RGNDATA* pDirtyRegion) PURE;
341 STDMETHOD(SetDialogBoxMode)(THIS_
BOOL bEnableDialogs) PURE;
343 STDMETHOD_(
void, GetGammaRamp)(THIS_
UINT iSwapChain,
D3DGAMMARAMP* pRamp) PURE;
358 STDMETHOD(SetRenderTarget)(THIS_ DWORD RenderTargetIndex,
IDirect3DSurface9* pRenderTarget) PURE;
359 STDMETHOD(GetRenderTarget)(THIS_ DWORD RenderTargetIndex,
IDirect3DSurface9** ppRenderTarget) PURE;
361 STDMETHOD(GetDepthStencilSurface)(THIS_
IDirect3DSurface9** ppZStencilSurface) PURE;
362 STDMETHOD(BeginScene)(THIS) PURE;
363 STDMETHOD(EndScene)(THIS) PURE;
364 STDMETHOD(Clear)(THIS_ DWORD Count,
CONST D3DRECT* pRects,DWORD Flags,
D3DCOLOR Color,
float Z,DWORD Stencil) PURE;
369 STDMETHOD(GetViewport)(THIS_
D3DVIEWPORT9* pViewport) PURE;
371 STDMETHOD(GetMaterial)(THIS_
D3DMATERIAL9* pMaterial) PURE;
373 STDMETHOD(GetLight)(THIS_ DWORD Index,
D3DLIGHT9*) PURE;
374 STDMETHOD(LightEnable)(THIS_ DWORD Index,
BOOL Enable) PURE;
375 STDMETHOD(GetLightEnable)(THIS_ DWORD Index,
BOOL* pEnable) PURE;
376 STDMETHOD(SetClipPlane)(THIS_ DWORD Index,
CONST float* pPlane) PURE;
377 STDMETHOD(GetClipPlane)(THIS_ DWORD Index,
float* pPlane) PURE;
381 STDMETHOD(BeginStateBlock)(THIS) PURE;
391 STDMETHOD(ValidateDevice)(THIS_ DWORD* pNumPasses) PURE;
392 STDMETHOD(SetPaletteEntries)(THIS_
UINT PaletteNumber,
CONST PALETTEENTRY* pEntries) PURE;
393 STDMETHOD(GetPaletteEntries)(THIS_
UINT PaletteNumber,PALETTEENTRY* pEntries) PURE;
394 STDMETHOD(SetCurrentTexturePalette)(THIS_
UINT PaletteNumber) PURE;
395 STDMETHOD(GetCurrentTexturePalette)(THIS_
UINT *PaletteNumber) PURE;
396 STDMETHOD(SetScissorRect)(THIS_
CONST RECT* pRect) PURE;
397 STDMETHOD(GetScissorRect)(THIS_ RECT* pRect) PURE;
398 STDMETHOD(SetSoftwareVertexProcessing)(THIS_
BOOL bSoftware) PURE;
399 STDMETHOD_(
BOOL, GetSoftwareVertexProcessing)(THIS) PURE;
400 STDMETHOD(SetNPatchMode)(THIS_
float nSegments) PURE;
401 STDMETHOD_(
float, GetNPatchMode)(THIS) PURE;
404 STDMETHOD(DrawPrimitiveUP)(THIS_
D3DPRIMITIVETYPE PrimitiveType,
UINT PrimitiveCount,
CONST void* pVertexStreamZeroData,
UINT VertexStreamZeroStride) PURE;
410 STDMETHOD(SetFVF)(THIS_ DWORD FVF) PURE;
411 STDMETHOD(GetFVF)(THIS_ DWORD* pFVF) PURE;
415 STDMETHOD(SetVertexShaderConstantF)(THIS_
UINT StartRegister,
CONST float* pConstantData,
UINT Vector4fCount) PURE;
416 STDMETHOD(GetVertexShaderConstantF)(THIS_
UINT StartRegister,
float* pConstantData,
UINT Vector4fCount) PURE;
417 STDMETHOD(SetVertexShaderConstantI)(THIS_
UINT StartRegister,
CONST int* pConstantData,
UINT Vector4iCount) PURE;
418 STDMETHOD(GetVertexShaderConstantI)(THIS_
UINT StartRegister,
int* pConstantData,
UINT Vector4iCount) PURE;
419 STDMETHOD(SetVertexShaderConstantB)(THIS_
UINT StartRegister,
CONST BOOL* pConstantData,
UINT BoolCount) PURE;
420 STDMETHOD(GetVertexShaderConstantB)(THIS_
UINT StartRegister,
BOOL* pConstantData,
UINT BoolCount) PURE;
423 STDMETHOD(SetStreamSourceFreq)(THIS_
UINT StreamNumber,
UINT Divider) PURE;
424 STDMETHOD(GetStreamSourceFreq)(THIS_
UINT StreamNumber,
UINT* Divider) PURE;
430 STDMETHOD(SetPixelShaderConstantF)(THIS_
UINT StartRegister,
CONST float* pConstantData,
UINT Vector4fCount) PURE;
431 STDMETHOD(GetPixelShaderConstantF)(THIS_
UINT StartRegister,
float* pConstantData,
UINT Vector4fCount) PURE;
432 STDMETHOD(SetPixelShaderConstantI)(THIS_
UINT StartRegister,
CONST int* pConstantData,
UINT Vector4iCount) PURE;
433 STDMETHOD(GetPixelShaderConstantI)(THIS_
UINT StartRegister,
int* pConstantData,
UINT Vector4iCount) PURE;
434 STDMETHOD(SetPixelShaderConstantB)(THIS_
UINT StartRegister,
CONST BOOL* pConstantData,
UINT BoolCount) PURE;
435 STDMETHOD(GetPixelShaderConstantB)(THIS_
UINT StartRegister,
BOOL* pConstantData,
UINT BoolCount) PURE;
438 STDMETHOD(DeletePatch)(THIS_
UINT Handle) PURE;
444 #if !defined(__cplusplus) || defined(CINTERFACE) 445 #define IDirect3DDevice9_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) 446 #define IDirect3DDevice9_AddRef(p) (p)->lpVtbl->AddRef(p) 447 #define IDirect3DDevice9_Release(p) (p)->lpVtbl->Release(p) 448 #define IDirect3DDevice9_TestCooperativeLevel(p) (p)->lpVtbl->TestCooperativeLevel(p) 449 #define IDirect3DDevice9_GetAvailableTextureMem(p) (p)->lpVtbl->GetAvailableTextureMem(p) 450 #define IDirect3DDevice9_EvictManagedResources(p) (p)->lpVtbl->EvictManagedResources(p) 451 #define IDirect3DDevice9_GetDirect3D(p,a) (p)->lpVtbl->GetDirect3D(p,a) 452 #define IDirect3DDevice9_GetDeviceCaps(p,a) (p)->lpVtbl->GetDeviceCaps(p,a) 453 #define IDirect3DDevice9_GetDisplayMode(p,a,b) (p)->lpVtbl->GetDisplayMode(p,a,b) 454 #define IDirect3DDevice9_GetCreationParameters(p,a) (p)->lpVtbl->GetCreationParameters(p,a) 455 #define IDirect3DDevice9_SetCursorProperties(p,a,b,c) (p)->lpVtbl->SetCursorProperties(p,a,b,c) 456 #define IDirect3DDevice9_SetCursorPosition(p,a,b,c) (p)->lpVtbl->SetCursorPosition(p,a,b,c) 457 #define IDirect3DDevice9_ShowCursor(p,a) (p)->lpVtbl->ShowCursor(p,a) 458 #define IDirect3DDevice9_CreateAdditionalSwapChain(p,a,b) (p)->lpVtbl->CreateAdditionalSwapChain(p,a,b) 459 #define IDirect3DDevice9_GetSwapChain(p,a,b) (p)->lpVtbl->GetSwapChain(p,a,b) 460 #define IDirect3DDevice9_GetNumberOfSwapChains(p) (p)->lpVtbl->GetNumberOfSwapChains(p) 461 #define IDirect3DDevice9_Reset(p,a) (p)->lpVtbl->Reset(p,a) 462 #define IDirect3DDevice9_Present(p,a,b,c,d) (p)->lpVtbl->Present(p,a,b,c,d) 463 #define IDirect3DDevice9_GetBackBuffer(p,a,b,c,d) (p)->lpVtbl->GetBackBuffer(p,a,b,c,d) 464 #define IDirect3DDevice9_GetRasterStatus(p,a,b) (p)->lpVtbl->GetRasterStatus(p,a,b) 465 #define IDirect3DDevice9_SetDialogBoxMode(p,a) (p)->lpVtbl->SetDialogBoxMode(p,a) 466 #define IDirect3DDevice9_SetGammaRamp(p,a,b,c) (p)->lpVtbl->SetGammaRamp(p,a,b,c) 467 #define IDirect3DDevice9_GetGammaRamp(p,a,b) (p)->lpVtbl->GetGammaRamp(p,a,b) 468 #define IDirect3DDevice9_CreateTexture(p,a,b,c,d,e,f,g,h) (p)->lpVtbl->CreateTexture(p,a,b,c,d,e,f,g,h) 469 #define IDirect3DDevice9_CreateVolumeTexture(p,a,b,c,d,e,f,g,h,i) (p)->lpVtbl->CreateVolumeTexture(p,a,b,c,d,e,f,g,h,i) 470 #define IDirect3DDevice9_CreateCubeTexture(p,a,b,c,d,e,f,g) (p)->lpVtbl->CreateCubeTexture(p,a,b,c,d,e,f,g) 471 #define IDirect3DDevice9_CreateVertexBuffer(p,a,b,c,d,e,f) (p)->lpVtbl->CreateVertexBuffer(p,a,b,c,d,e,f) 472 #define IDirect3DDevice9_CreateIndexBuffer(p,a,b,c,d,e,f) (p)->lpVtbl->CreateIndexBuffer(p,a,b,c,d,e,f) 473 #define IDirect3DDevice9_CreateRenderTarget(p,a,b,c,d,e,f,g,h) (p)->lpVtbl->CreateRenderTarget(p,a,b,c,d,e,f,g,h) 474 #define IDirect3DDevice9_CreateDepthStencilSurface(p,a,b,c,d,e,f,g,h) (p)->lpVtbl->CreateDepthStencilSurface(p,a,b,c,d,e,f,g,h) 475 #define IDirect3DDevice9_UpdateSurface(p,a,b,c,d) (p)->lpVtbl->UpdateSurface(p,a,b,c,d) 476 #define IDirect3DDevice9_UpdateTexture(p,a,b) (p)->lpVtbl->UpdateTexture(p,a,b) 477 #define IDirect3DDevice9_GetRenderTargetData(p,a,b) (p)->lpVtbl->GetRenderTargetData(p,a,b) 478 #define IDirect3DDevice9_GetFrontBufferData(p,a,b) (p)->lpVtbl->GetFrontBufferData(p,a,b) 479 #define IDirect3DDevice9_StretchRect(p,a,b,c,d,e) (p)->lpVtbl->StretchRect(p,a,b,c,d,e) 480 #define IDirect3DDevice9_ColorFill(p,a,b,c) (p)->lpVtbl->ColorFill(p,a,b,c) 481 #define IDirect3DDevice9_CreateOffscreenPlainSurface(p,a,b,c,d,e,f) (p)->lpVtbl->CreateOffscreenPlainSurface(p,a,b,c,d,e,f) 482 #define IDirect3DDevice9_SetRenderTarget(p,a,b) (p)->lpVtbl->SetRenderTarget(p,a,b) 483 #define IDirect3DDevice9_GetRenderTarget(p,a,b) (p)->lpVtbl->GetRenderTarget(p,a,b) 484 #define IDirect3DDevice9_SetDepthStencilSurface(p,a) (p)->lpVtbl->SetDepthStencilSurface(p,a) 485 #define IDirect3DDevice9_GetDepthStencilSurface(p,a) (p)->lpVtbl->GetDepthStencilSurface(p,a) 486 #define IDirect3DDevice9_BeginScene(p) (p)->lpVtbl->BeginScene(p) 487 #define IDirect3DDevice9_EndScene(p) (p)->lpVtbl->EndScene(p) 488 #define IDirect3DDevice9_Clear(p,a,b,c,d,e,f) (p)->lpVtbl->Clear(p,a,b,c,d,e,f) 489 #define IDirect3DDevice9_SetTransform(p,a,b) (p)->lpVtbl->SetTransform(p,a,b) 490 #define IDirect3DDevice9_GetTransform(p,a,b) (p)->lpVtbl->GetTransform(p,a,b) 491 #define IDirect3DDevice9_MultiplyTransform(p,a,b) (p)->lpVtbl->MultiplyTransform(p,a,b) 492 #define IDirect3DDevice9_SetViewport(p,a) (p)->lpVtbl->SetViewport(p,a) 493 #define IDirect3DDevice9_GetViewport(p,a) (p)->lpVtbl->GetViewport(p,a) 494 #define IDirect3DDevice9_SetMaterial(p,a) (p)->lpVtbl->SetMaterial(p,a) 495 #define IDirect3DDevice9_GetMaterial(p,a) (p)->lpVtbl->GetMaterial(p,a) 496 #define IDirect3DDevice9_SetLight(p,a,b) (p)->lpVtbl->SetLight(p,a,b) 497 #define IDirect3DDevice9_GetLight(p,a,b) (p)->lpVtbl->GetLight(p,a,b) 498 #define IDirect3DDevice9_LightEnable(p,a,b) (p)->lpVtbl->LightEnable(p,a,b) 499 #define IDirect3DDevice9_GetLightEnable(p,a,b) (p)->lpVtbl->GetLightEnable(p,a,b) 500 #define IDirect3DDevice9_SetClipPlane(p,a,b) (p)->lpVtbl->SetClipPlane(p,a,b) 501 #define IDirect3DDevice9_GetClipPlane(p,a,b) (p)->lpVtbl->GetClipPlane(p,a,b) 502 #define IDirect3DDevice9_SetRenderState(p,a,b) (p)->lpVtbl->SetRenderState(p,a,b) 503 #define IDirect3DDevice9_GetRenderState(p,a,b) (p)->lpVtbl->GetRenderState(p,a,b) 504 #define IDirect3DDevice9_CreateStateBlock(p,a,b) (p)->lpVtbl->CreateStateBlock(p,a,b) 505 #define IDirect3DDevice9_BeginStateBlock(p) (p)->lpVtbl->BeginStateBlock(p) 506 #define IDirect3DDevice9_EndStateBlock(p,a) (p)->lpVtbl->EndStateBlock(p,a) 507 #define IDirect3DDevice9_SetClipStatus(p,a) (p)->lpVtbl->SetClipStatus(p,a) 508 #define IDirect3DDevice9_GetClipStatus(p,a) (p)->lpVtbl->GetClipStatus(p,a) 509 #define IDirect3DDevice9_GetTexture(p,a,b) (p)->lpVtbl->GetTexture(p,a,b) 510 #define IDirect3DDevice9_SetTexture(p,a,b) (p)->lpVtbl->SetTexture(p,a,b) 511 #define IDirect3DDevice9_GetTextureStageState(p,a,b,c) (p)->lpVtbl->GetTextureStageState(p,a,b,c) 512 #define IDirect3DDevice9_SetTextureStageState(p,a,b,c) (p)->lpVtbl->SetTextureStageState(p,a,b,c) 513 #define IDirect3DDevice9_GetSamplerState(p,a,b,c) (p)->lpVtbl->GetSamplerState(p,a,b,c) 514 #define IDirect3DDevice9_SetSamplerState(p,a,b,c) (p)->lpVtbl->SetSamplerState(p,a,b,c) 515 #define IDirect3DDevice9_ValidateDevice(p,a) (p)->lpVtbl->ValidateDevice(p,a) 516 #define IDirect3DDevice9_SetPaletteEntries(p,a,b) (p)->lpVtbl->SetPaletteEntries(p,a,b) 517 #define IDirect3DDevice9_GetPaletteEntries(p,a,b) (p)->lpVtbl->GetPaletteEntries(p,a,b) 518 #define IDirect3DDevice9_SetCurrentTexturePalette(p,a) (p)->lpVtbl->SetCurrentTexturePalette(p,a) 519 #define IDirect3DDevice9_GetCurrentTexturePalette(p,a) (p)->lpVtbl->GetCurrentTexturePalette(p,a) 520 #define IDirect3DDevice9_SetScissorRect(p,a) (p)->lpVtbl->SetScissorRect(p,a) 521 #define IDirect3DDevice9_GetScissorRect(p,a) (p)->lpVtbl->GetScissorRect(p,a) 522 #define IDirect3DDevice9_SetSoftwareVertexProcessing(p,a) (p)->lpVtbl->SetSoftwareVertexProcessing(p,a) 523 #define IDirect3DDevice9_GetSoftwareVertexProcessing(p) (p)->lpVtbl->GetSoftwareVertexProcessing(p) 524 #define IDirect3DDevice9_SetNPatchMode(p,a) (p)->lpVtbl->SetNPatchMode(p,a) 525 #define IDirect3DDevice9_GetNPatchMode(p) (p)->lpVtbl->GetNPatchMode(p) 526 #define IDirect3DDevice9_DrawPrimitive(p,a,b,c) (p)->lpVtbl->DrawPrimitive(p,a,b,c) 527 #define IDirect3DDevice9_DrawIndexedPrimitive(p,a,b,c,d,e,f) (p)->lpVtbl->DrawIndexedPrimitive(p,a,b,c,d,e,f) 528 #define IDirect3DDevice9_DrawPrimitiveUP(p,a,b,c,d) (p)->lpVtbl->DrawPrimitiveUP(p,a,b,c,d) 529 #define IDirect3DDevice9_DrawIndexedPrimitiveUP(p,a,b,c,d,e,f,g,h) (p)->lpVtbl->DrawIndexedPrimitiveUP(p,a,b,c,d,e,f,g,h) 530 #define IDirect3DDevice9_ProcessVertices(p,a,b,c,d,e,f) (p)->lpVtbl->ProcessVertices(p,a,b,c,d,e,f) 531 #define IDirect3DDevice9_CreateVertexDeclaration(p,a,b) (p)->lpVtbl->CreateVertexDeclaration(p,a,b) 532 #define IDirect3DDevice9_SetVertexDeclaration(p,a) (p)->lpVtbl->SetVertexDeclaration(p,a) 533 #define IDirect3DDevice9_GetVertexDeclaration(p,a) (p)->lpVtbl->GetVertexDeclaration(p,a) 534 #define IDirect3DDevice9_SetFVF(p,a) (p)->lpVtbl->SetFVF(p,a) 535 #define IDirect3DDevice9_GetFVF(p,a) (p)->lpVtbl->GetFVF(p,a) 536 #define IDirect3DDevice9_CreateVertexShader(p,a,b) (p)->lpVtbl->CreateVertexShader(p,a,b) 537 #define IDirect3DDevice9_SetVertexShader(p,a) (p)->lpVtbl->SetVertexShader(p,a) 538 #define IDirect3DDevice9_GetVertexShader(p,a) (p)->lpVtbl->GetVertexShader(p,a) 539 #define IDirect3DDevice9_SetVertexShaderConstantF(p,a,b,c) (p)->lpVtbl->SetVertexShaderConstantF(p,a,b,c) 540 #define IDirect3DDevice9_GetVertexShaderConstantF(p,a,b,c) (p)->lpVtbl->GetVertexShaderConstantF(p,a,b,c) 541 #define IDirect3DDevice9_SetVertexShaderConstantI(p,a,b,c) (p)->lpVtbl->SetVertexShaderConstantI(p,a,b,c) 542 #define IDirect3DDevice9_GetVertexShaderConstantI(p,a,b,c) (p)->lpVtbl->GetVertexShaderConstantI(p,a,b,c) 543 #define IDirect3DDevice9_SetVertexShaderConstantB(p,a,b,c) (p)->lpVtbl->SetVertexShaderConstantB(p,a,b,c) 544 #define IDirect3DDevice9_GetVertexShaderConstantB(p,a,b,c) (p)->lpVtbl->GetVertexShaderConstantB(p,a,b,c) 545 #define IDirect3DDevice9_SetStreamSource(p,a,b,c,d) (p)->lpVtbl->SetStreamSource(p,a,b,c,d) 546 #define IDirect3DDevice9_GetStreamSource(p,a,b,c,d) (p)->lpVtbl->GetStreamSource(p,a,b,c,d) 547 #define IDirect3DDevice9_SetStreamSourceFreq(p,a,b) (p)->lpVtbl->SetStreamSourceFreq(p,a,b) 548 #define IDirect3DDevice9_GetStreamSourceFreq(p,a,b) (p)->lpVtbl->GetStreamSourceFreq(p,a,b) 549 #define IDirect3DDevice9_SetIndices(p,a) (p)->lpVtbl->SetIndices(p,a) 550 #define IDirect3DDevice9_GetIndices(p,a) (p)->lpVtbl->GetIndices(p,a) 551 #define IDirect3DDevice9_CreatePixelShader(p,a,b) (p)->lpVtbl->CreatePixelShader(p,a,b) 552 #define IDirect3DDevice9_SetPixelShader(p,a) (p)->lpVtbl->SetPixelShader(p,a) 553 #define IDirect3DDevice9_GetPixelShader(p,a) (p)->lpVtbl->GetPixelShader(p,a) 554 #define IDirect3DDevice9_SetPixelShaderConstantF(p,a,b,c) (p)->lpVtbl->SetPixelShaderConstantF(p,a,b,c) 555 #define IDirect3DDevice9_GetPixelShaderConstantF(p,a,b,c) (p)->lpVtbl->GetPixelShaderConstantF(p,a,b,c) 556 #define IDirect3DDevice9_SetPixelShaderConstantI(p,a,b,c) (p)->lpVtbl->SetPixelShaderConstantI(p,a,b,c) 557 #define IDirect3DDevice9_GetPixelShaderConstantI(p,a,b,c) (p)->lpVtbl->GetPixelShaderConstantI(p,a,b,c) 558 #define IDirect3DDevice9_SetPixelShaderConstantB(p,a,b,c) (p)->lpVtbl->SetPixelShaderConstantB(p,a,b,c) 559 #define IDirect3DDevice9_GetPixelShaderConstantB(p,a,b,c) (p)->lpVtbl->GetPixelShaderConstantB(p,a,b,c) 560 #define IDirect3DDevice9_DrawRectPatch(p,a,b,c) (p)->lpVtbl->DrawRectPatch(p,a,b,c) 561 #define IDirect3DDevice9_DrawTriPatch(p,a,b,c) (p)->lpVtbl->DrawTriPatch(p,a,b,c) 562 #define IDirect3DDevice9_DeletePatch(p,a) (p)->lpVtbl->DeletePatch(p,a) 563 #define IDirect3DDevice9_CreateQuery(p,a,b) (p)->lpVtbl->CreateQuery(p,a,b) 565 #define IDirect3DDevice9_QueryInterface(p,a,b) (p)->QueryInterface(a,b) 566 #define IDirect3DDevice9_AddRef(p) (p)->AddRef() 567 #define IDirect3DDevice9_Release(p) (p)->Release() 568 #define IDirect3DDevice9_TestCooperativeLevel(p) (p)->TestCooperativeLevel() 569 #define IDirect3DDevice9_GetAvailableTextureMem(p) (p)->GetAvailableTextureMem() 570 #define IDirect3DDevice9_EvictManagedResources(p) (p)->EvictManagedResources() 571 #define IDirect3DDevice9_GetDirect3D(p,a) (p)->GetDirect3D(a) 572 #define IDirect3DDevice9_GetDeviceCaps(p,a) (p)->GetDeviceCaps(a) 573 #define IDirect3DDevice9_GetDisplayMode(p,a,b) (p)->GetDisplayMode(a,b) 574 #define IDirect3DDevice9_GetCreationParameters(p,a) (p)->GetCreationParameters(a) 575 #define IDirect3DDevice9_SetCursorProperties(p,a,b,c) (p)->SetCursorProperties(a,b,c) 576 #define IDirect3DDevice9_SetCursorPosition(p,a,b,c) (p)->SetCursorPosition(a,b,c) 577 #define IDirect3DDevice9_ShowCursor(p,a) (p)->ShowCursor(a) 578 #define IDirect3DDevice9_CreateAdditionalSwapChain(p,a,b) (p)->CreateAdditionalSwapChain(a,b) 579 #define IDirect3DDevice9_GetSwapChain(p,a,b) (p)->GetSwapChain(a,b) 580 #define IDirect3DDevice9_GetNumberOfSwapChains(p) (p)->GetNumberOfSwapChains() 581 #define IDirect3DDevice9_Reset(p,a) (p)->Reset(a) 582 #define IDirect3DDevice9_Present(p,a,b,c,d) (p)->Present(a,b,c,d) 583 #define IDirect3DDevice9_GetBackBuffer(p,a,b,c,d) (p)->GetBackBuffer(a,b,c,d) 584 #define IDirect3DDevice9_GetRasterStatus(p,a,b) (p)->GetRasterStatus(a,b) 585 #define IDirect3DDevice9_SetDialogBoxMode(p,a) (p)->SetDialogBoxMode(a) 586 #define IDirect3DDevice9_SetGammaRamp(p,a,b,c) (p)->SetGammaRamp(a,b,c) 587 #define IDirect3DDevice9_GetGammaRamp(p,a,b) (p)->GetGammaRamp(a,b) 588 #define IDirect3DDevice9_CreateTexture(p,a,b,c,d,e,f,g,h) (p)->CreateTexture(a,b,c,d,e,f,g,h) 589 #define IDirect3DDevice9_CreateVolumeTexture(p,a,b,c,d,e,f,g,h,i) (p)->CreateVolumeTexture(a,b,c,d,e,f,g,h,i) 590 #define IDirect3DDevice9_CreateCubeTexture(p,a,b,c,d,e,f,g) (p)->CreateCubeTexture(a,b,c,d,e,f,g) 591 #define IDirect3DDevice9_CreateVertexBuffer(p,a,b,c,d,e,f) (p)->CreateVertexBuffer(a,b,c,d,e,f) 592 #define IDirect3DDevice9_CreateIndexBuffer(p,a,b,c,d,e,f) (p)->CreateIndexBuffer(a,b,c,d,e,f) 593 #define IDirect3DDevice9_CreateRenderTarget(p,a,b,c,d,e,f,g,h) (p)->CreateRenderTarget(a,b,c,d,e,f,g,h) 594 #define IDirect3DDevice9_CreateDepthStencilSurface(p,a,b,c,d,e,f,g,h) (p)->CreateDepthStencilSurface(a,b,c,d,e,f,g,h) 595 #define IDirect3DDevice9_UpdateSurface(p,a,b,c,d) (p)->UpdateSurface(a,b,c,d) 596 #define IDirect3DDevice9_UpdateTexture(p,a,b) (p)->UpdateTexture(a,b) 597 #define IDirect3DDevice9_GetRenderTargetData(p,a,b) (p)->GetRenderTargetData(a,b) 598 #define IDirect3DDevice9_GetFrontBufferData(p,a,b) (p)->GetFrontBufferData(a,b) 599 #define IDirect3DDevice9_StretchRect(p,a,b,c,d,e) (p)->StretchRect(a,b,c,d,e) 600 #define IDirect3DDevice9_ColorFill(p,a,b,c) (p)->ColorFill(a,b,c) 601 #define IDirect3DDevice9_CreateOffscreenPlainSurface(p,a,b,c,d,e,f) (p)->CreateOffscreenPlainSurface(a,b,c,d,e,f) 602 #define IDirect3DDevice9_SetRenderTarget(p,a,b) (p)->SetRenderTarget(a,b) 603 #define IDirect3DDevice9_GetRenderTarget(p,a,b) (p)->GetRenderTarget(a,b) 604 #define IDirect3DDevice9_SetDepthStencilSurface(p,a) (p)->SetDepthStencilSurface(a) 605 #define IDirect3DDevice9_GetDepthStencilSurface(p,a) (p)->GetDepthStencilSurface(a) 606 #define IDirect3DDevice9_BeginScene(p) (p)->BeginScene() 607 #define IDirect3DDevice9_EndScene(p) (p)->EndScene() 608 #define IDirect3DDevice9_Clear(p,a,b,c,d,e,f) (p)->Clear(a,b,c,d,e,f) 609 #define IDirect3DDevice9_SetTransform(p,a,b) (p)->SetTransform(a,b) 610 #define IDirect3DDevice9_GetTransform(p,a,b) (p)->GetTransform(a,b) 611 #define IDirect3DDevice9_MultiplyTransform(p,a,b) (p)->MultiplyTransform(a,b) 612 #define IDirect3DDevice9_SetViewport(p,a) (p)->SetViewport(a) 613 #define IDirect3DDevice9_GetViewport(p,a) (p)->GetViewport(a) 614 #define IDirect3DDevice9_SetMaterial(p,a) (p)->SetMaterial(a) 615 #define IDirect3DDevice9_GetMaterial(p,a) (p)->GetMaterial(a) 616 #define IDirect3DDevice9_SetLight(p,a,b) (p)->SetLight(a,b) 617 #define IDirect3DDevice9_GetLight(p,a,b) (p)->GetLight(a,b) 618 #define IDirect3DDevice9_LightEnable(p,a,b) (p)->LightEnable(a,b) 619 #define IDirect3DDevice9_GetLightEnable(p,a,b) (p)->GetLightEnable(a,b) 620 #define IDirect3DDevice9_SetClipPlane(p,a,b) (p)->SetClipPlane(a,b) 621 #define IDirect3DDevice9_GetClipPlane(p,a,b) (p)->GetClipPlane(a,b) 622 #define IDirect3DDevice9_SetRenderState(p,a,b) (p)->SetRenderState(a,b) 623 #define IDirect3DDevice9_GetRenderState(p,a,b) (p)->GetRenderState(a,b) 624 #define IDirect3DDevice9_CreateStateBlock(p,a,b) (p)->CreateStateBlock(a,b) 625 #define IDirect3DDevice9_BeginStateBlock(p) (p)->BeginStateBlock() 626 #define IDirect3DDevice9_EndStateBlock(p,a) (p)->EndStateBlock(a) 627 #define IDirect3DDevice9_SetClipStatus(p,a) (p)->SetClipStatus(a) 628 #define IDirect3DDevice9_GetClipStatus(p,a) (p)->GetClipStatus(a) 629 #define IDirect3DDevice9_GetTexture(p,a,b) (p)->GetTexture(a,b) 630 #define IDirect3DDevice9_SetTexture(p,a,b) (p)->SetTexture(a,b) 631 #define IDirect3DDevice9_GetTextureStageState(p,a,b,c) (p)->GetTextureStageState(a,b,c) 632 #define IDirect3DDevice9_SetTextureStageState(p,a,b,c) (p)->SetTextureStageState(a,b,c) 633 #define IDirect3DDevice9_GetSamplerState(p,a,b,c) (p)->GetSamplerState(a,b,c) 634 #define IDirect3DDevice9_SetSamplerState(p,a,b,c) (p)->SetSamplerState(a,b,c) 635 #define IDirect3DDevice9_ValidateDevice(p,a) (p)->ValidateDevice(a) 636 #define IDirect3DDevice9_SetPaletteEntries(p,a,b) (p)->SetPaletteEntries(a,b) 637 #define IDirect3DDevice9_GetPaletteEntries(p,a,b) (p)->GetPaletteEntries(a,b) 638 #define IDirect3DDevice9_SetCurrentTexturePalette(p,a) (p)->SetCurrentTexturePalette(a) 639 #define IDirect3DDevice9_GetCurrentTexturePalette(p,a) (p)->GetCurrentTexturePalette(a) 640 #define IDirect3DDevice9_SetScissorRect(p,a) (p)->SetScissorRect(a) 641 #define IDirect3DDevice9_GetScissorRect(p,a) (p)->GetScissorRect(a) 642 #define IDirect3DDevice9_SetSoftwareVertexProcessing(p,a) (p)->SetSoftwareVertexProcessing(a) 643 #define IDirect3DDevice9_GetSoftwareVertexProcessing(p) (p)->GetSoftwareVertexProcessing() 644 #define IDirect3DDevice9_SetNPatchMode(p,a) (p)->SetNPatchMode(a) 645 #define IDirect3DDevice9_GetNPatchMode(p) (p)->GetNPatchMode() 646 #define IDirect3DDevice9_DrawPrimitive(p,a,b,c) (p)->DrawPrimitive(a,b,c) 647 #define IDirect3DDevice9_DrawIndexedPrimitive(p,a,b,c,d,e,f) (p)->DrawIndexedPrimitive(a,b,c,d,e,f) 648 #define IDirect3DDevice9_DrawPrimitiveUP(p,a,b,c,d) (p)->DrawPrimitiveUP(a,b,c,d) 649 #define IDirect3DDevice9_DrawIndexedPrimitiveUP(p,a,b,c,d,e,f,g,h) (p)->DrawIndexedPrimitiveUP(a,b,c,d,e,f,g,h) 650 #define IDirect3DDevice9_ProcessVertices(p,a,b,c,d,e,f) (p)->ProcessVertices(a,b,c,d,e,f) 651 #define IDirect3DDevice9_CreateVertexDeclaration(p,a,b) (p)->CreateVertexDeclaration(a,b) 652 #define IDirect3DDevice9_SetVertexDeclaration(p,a) (p)->SetVertexDeclaration(a) 653 #define IDirect3DDevice9_GetVertexDeclaration(p,a) (p)->GetVertexDeclaration(a) 654 #define IDirect3DDevice9_SetFVF(p,a) (p)->SetFVF(a) 655 #define IDirect3DDevice9_GetFVF(p,a) (p)->GetFVF(a) 656 #define IDirect3DDevice9_CreateVertexShader(p,a,b) (p)->CreateVertexShader(a,b) 657 #define IDirect3DDevice9_SetVertexShader(p,a) (p)->SetVertexShader(a) 658 #define IDirect3DDevice9_GetVertexShader(p,a) (p)->GetVertexShader(a) 659 #define IDirect3DDevice9_SetVertexShaderConstantF(p,a,b,c) (p)->SetVertexShaderConstantF(a,b,c) 660 #define IDirect3DDevice9_GetVertexShaderConstantF(p,a,b,c) (p)->GetVertexShaderConstantF(a,b,c) 661 #define IDirect3DDevice9_SetVertexShaderConstantI(p,a,b,c) (p)->SetVertexShaderConstantI(a,b,c) 662 #define IDirect3DDevice9_GetVertexShaderConstantI(p,a,b,c) (p)->GetVertexShaderConstantI(a,b,c) 663 #define IDirect3DDevice9_SetVertexShaderConstantB(p,a,b,c) (p)->SetVertexShaderConstantB(a,b,c) 664 #define IDirect3DDevice9_GetVertexShaderConstantB(p,a,b,c) (p)->GetVertexShaderConstantB(a,b,c) 665 #define IDirect3DDevice9_SetStreamSource(p,a,b,c,d) (p)->SetStreamSource(a,b,c,d) 666 #define IDirect3DDevice9_GetStreamSource(p,a,b,c,d) (p)->GetStreamSource(a,b,c,d) 667 #define IDirect3DDevice9_SetStreamSourceFreq(p,a,b) (p)->SetStreamSourceFreq(a,b) 668 #define IDirect3DDevice9_GetStreamSourceFreq(p,a,b) (p)->GetStreamSourceFreq(a,b) 669 #define IDirect3DDevice9_SetIndices(p,a) (p)->SetIndices(a) 670 #define IDirect3DDevice9_GetIndices(p,a) (p)->GetIndices(a) 671 #define IDirect3DDevice9_CreatePixelShader(p,a,b) (p)->CreatePixelShader(a,b) 672 #define IDirect3DDevice9_SetPixelShader(p,a) (p)->SetPixelShader(a) 673 #define IDirect3DDevice9_GetPixelShader(p,a) (p)->GetPixelShader(a) 674 #define IDirect3DDevice9_SetPixelShaderConstantF(p,a,b,c) (p)->SetPixelShaderConstantF(a,b,c) 675 #define IDirect3DDevice9_GetPixelShaderConstantF(p,a,b,c) (p)->GetPixelShaderConstantF(a,b,c) 676 #define IDirect3DDevice9_SetPixelShaderConstantI(p,a,b,c) (p)->SetPixelShaderConstantI(a,b,c) 677 #define IDirect3DDevice9_GetPixelShaderConstantI(p,a,b,c) (p)->GetPixelShaderConstantI(a,b,c) 678 #define IDirect3DDevice9_SetPixelShaderConstantB(p,a,b,c) (p)->SetPixelShaderConstantB(a,b,c) 679 #define IDirect3DDevice9_GetPixelShaderConstantB(p,a,b,c) (p)->GetPixelShaderConstantB(a,b,c) 680 #define IDirect3DDevice9_DrawRectPatch(p,a,b,c) (p)->DrawRectPatch(a,b,c) 681 #define IDirect3DDevice9_DrawTriPatch(p,a,b,c) (p)->DrawTriPatch(a,b,c) 682 #define IDirect3DDevice9_DeletePatch(p,a) (p)->DeletePatch(a) 683 #define IDirect3DDevice9_CreateQuery(p,a,b) (p)->CreateQuery(a,b) 688 #define INTERFACE IDirect3DStateBlock9 693 STDMETHOD(QueryInterface)(THIS_ REFIID riid,
void** ppvObj) PURE;
694 STDMETHOD_(ULONG,AddRef)(THIS) PURE;
695 STDMETHOD_(ULONG,
Release)(THIS) PURE;
699 STDMETHOD(Capture)(THIS) PURE;
700 STDMETHOD(Apply)(THIS) PURE;
705 #if !defined(__cplusplus) || defined(CINTERFACE) 706 #define IDirect3DStateBlock9_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) 707 #define IDirect3DStateBlock9_AddRef(p) (p)->lpVtbl->AddRef(p) 708 #define IDirect3DStateBlock9_Release(p) (p)->lpVtbl->Release(p) 709 #define IDirect3DStateBlock9_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a) 710 #define IDirect3DStateBlock9_Capture(p) (p)->lpVtbl->Capture(p) 711 #define IDirect3DStateBlock9_Apply(p) (p)->lpVtbl->Apply(p) 713 #define IDirect3DStateBlock9_QueryInterface(p,a,b) (p)->QueryInterface(a,b) 714 #define IDirect3DStateBlock9_AddRef(p) (p)->AddRef() 715 #define IDirect3DStateBlock9_Release(p) (p)->Release() 716 #define IDirect3DStateBlock9_GetDevice(p,a) (p)->GetDevice(a) 717 #define IDirect3DStateBlock9_Capture(p) (p)->Capture() 718 #define IDirect3DStateBlock9_Apply(p) (p)->Apply() 724 #define INTERFACE IDirect3DSwapChain9 729 STDMETHOD(QueryInterface)(THIS_ REFIID riid,
void** ppvObj) PURE;
730 STDMETHOD_(ULONG,AddRef)(THIS) PURE;
731 STDMETHOD_(ULONG,
Release)(THIS) PURE;
734 STDMETHOD(Present)(THIS_
CONST RECT* pSourceRect,
CONST RECT* pDestRect,HWND hDestWindowOverride,
CONST RGNDATA* pDirtyRegion,DWORD dwFlags) PURE;
745 #if !defined(__cplusplus) || defined(CINTERFACE) 746 #define IDirect3DSwapChain9_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) 747 #define IDirect3DSwapChain9_AddRef(p) (p)->lpVtbl->AddRef(p) 748 #define IDirect3DSwapChain9_Release(p) (p)->lpVtbl->Release(p) 749 #define IDirect3DSwapChain9_Present(p,a,b,c,d,e) (p)->lpVtbl->Present(p,a,b,c,d,e) 750 #define IDirect3DSwapChain9_GetFrontBufferData(p,a) (p)->lpVtbl->GetFrontBufferData(p,a) 751 #define IDirect3DSwapChain9_GetBackBuffer(p,a,b,c) (p)->lpVtbl->GetBackBuffer(p,a,b,c) 752 #define IDirect3DSwapChain9_GetRasterStatus(p,a) (p)->lpVtbl->GetRasterStatus(p,a) 753 #define IDirect3DSwapChain9_GetDisplayMode(p,a) (p)->lpVtbl->GetDisplayMode(p,a) 754 #define IDirect3DSwapChain9_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a) 755 #define IDirect3DSwapChain9_GetPresentParameters(p,a) (p)->lpVtbl->GetPresentParameters(p,a) 757 #define IDirect3DSwapChain9_QueryInterface(p,a,b) (p)->QueryInterface(a,b) 758 #define IDirect3DSwapChain9_AddRef(p) (p)->AddRef() 759 #define IDirect3DSwapChain9_Release(p) (p)->Release() 760 #define IDirect3DSwapChain9_Present(p,a,b,c,d,e) (p)->Present(a,b,c,d,e) 761 #define IDirect3DSwapChain9_GetFrontBufferData(p,a) (p)->GetFrontBufferData(a) 762 #define IDirect3DSwapChain9_GetBackBuffer(p,a,b,c) (p)->GetBackBuffer(a,b,c) 763 #define IDirect3DSwapChain9_GetRasterStatus(p,a) (p)->GetRasterStatus(a) 764 #define IDirect3DSwapChain9_GetDisplayMode(p,a) (p)->GetDisplayMode(a) 765 #define IDirect3DSwapChain9_GetDevice(p,a) (p)->GetDevice(a) 766 #define IDirect3DSwapChain9_GetPresentParameters(p,a) (p)->GetPresentParameters(a) 772 #define INTERFACE IDirect3DResource9 777 STDMETHOD(QueryInterface)(THIS_ REFIID riid,
void** ppvObj) PURE;
778 STDMETHOD_(ULONG,AddRef)(THIS) PURE;
779 STDMETHOD_(ULONG,
Release)(THIS) PURE;
783 STDMETHOD(SetPrivateData)(THIS_ REFGUID refguid,
CONST void* pData,DWORD SizeOfData,DWORD Flags) PURE;
784 STDMETHOD(GetPrivateData)(THIS_ REFGUID refguid,
void* pData,DWORD* pSizeOfData) PURE;
785 STDMETHOD(FreePrivateData)(THIS_ REFGUID refguid) PURE;
786 STDMETHOD_(DWORD, SetPriority)(THIS_ DWORD PriorityNew) PURE;
787 STDMETHOD_(DWORD, GetPriority)(THIS) PURE;
788 STDMETHOD_(
void, PreLoad)(THIS) PURE;
794 #if !defined(__cplusplus) || defined(CINTERFACE) 795 #define IDirect3DResource9_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) 796 #define IDirect3DResource9_AddRef(p) (p)->lpVtbl->AddRef(p) 797 #define IDirect3DResource9_Release(p) (p)->lpVtbl->Release(p) 798 #define IDirect3DResource9_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a) 799 #define IDirect3DResource9_SetPrivateData(p,a,b,c,d) (p)->lpVtbl->SetPrivateData(p,a,b,c,d) 800 #define IDirect3DResource9_GetPrivateData(p,a,b,c) (p)->lpVtbl->GetPrivateData(p,a,b,c) 801 #define IDirect3DResource9_FreePrivateData(p,a) (p)->lpVtbl->FreePrivateData(p,a) 802 #define IDirect3DResource9_SetPriority(p,a) (p)->lpVtbl->SetPriority(p,a) 803 #define IDirect3DResource9_GetPriority(p) (p)->lpVtbl->GetPriority(p) 804 #define IDirect3DResource9_PreLoad(p) (p)->lpVtbl->PreLoad(p) 805 #define IDirect3DResource9_GetType(p) (p)->lpVtbl->GetType(p) 807 #define IDirect3DResource9_QueryInterface(p,a,b) (p)->QueryInterface(a,b) 808 #define IDirect3DResource9_AddRef(p) (p)->AddRef() 809 #define IDirect3DResource9_Release(p) (p)->Release() 810 #define IDirect3DResource9_GetDevice(p,a) (p)->GetDevice(a) 811 #define IDirect3DResource9_SetPrivateData(p,a,b,c,d) (p)->SetPrivateData(a,b,c,d) 812 #define IDirect3DResource9_GetPrivateData(p,a,b,c) (p)->GetPrivateData(a,b,c) 813 #define IDirect3DResource9_FreePrivateData(p,a) (p)->FreePrivateData(a) 814 #define IDirect3DResource9_SetPriority(p,a) (p)->SetPriority(a) 815 #define IDirect3DResource9_GetPriority(p) (p)->GetPriority() 816 #define IDirect3DResource9_PreLoad(p) (p)->PreLoad() 817 #define IDirect3DResource9_GetType(p) (p)->GetType() 823 #define INTERFACE IDirect3DVertexDeclaration9 828 STDMETHOD(QueryInterface)(THIS_ REFIID riid,
void** ppvObj) PURE;
829 STDMETHOD_(ULONG,AddRef)(THIS) PURE;
830 STDMETHOD_(ULONG,
Release)(THIS) PURE;
839 #if !defined(__cplusplus) || defined(CINTERFACE) 840 #define IDirect3DVertexDeclaration9_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) 841 #define IDirect3DVertexDeclaration9_AddRef(p) (p)->lpVtbl->AddRef(p) 842 #define IDirect3DVertexDeclaration9_Release(p) (p)->lpVtbl->Release(p) 843 #define IDirect3DVertexDeclaration9_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a) 844 #define IDirect3DVertexDeclaration9_GetDeclaration(p,a,b) (p)->lpVtbl->GetDeclaration(p,a,b) 846 #define IDirect3DVertexDeclaration9_QueryInterface(p,a,b) (p)->QueryInterface(a,b) 847 #define IDirect3DVertexDeclaration9_AddRef(p) (p)->AddRef() 848 #define IDirect3DVertexDeclaration9_Release(p) (p)->Release() 849 #define IDirect3DVertexDeclaration9_GetDevice(p,a) (p)->GetDevice(a) 850 #define IDirect3DVertexDeclaration9_GetDeclaration(p,a,b) (p)->GetDeclaration(a,b) 856 #define INTERFACE IDirect3DVertexShader9 861 STDMETHOD(QueryInterface)(THIS_ REFIID riid,
void** ppvObj) PURE;
862 STDMETHOD_(ULONG,AddRef)(THIS) PURE;
863 STDMETHOD_(ULONG,
Release)(THIS) PURE;
867 STDMETHOD(GetFunction)(THIS_
void*,
UINT* pSizeOfData) PURE;
872 #if !defined(__cplusplus) || defined(CINTERFACE) 873 #define IDirect3DVertexShader9_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) 874 #define IDirect3DVertexShader9_AddRef(p) (p)->lpVtbl->AddRef(p) 875 #define IDirect3DVertexShader9_Release(p) (p)->lpVtbl->Release(p) 876 #define IDirect3DVertexShader9_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a) 877 #define IDirect3DVertexShader9_GetFunction(p,a,b) (p)->lpVtbl->GetFunction(p,a,b) 879 #define IDirect3DVertexShader9_QueryInterface(p,a,b) (p)->QueryInterface(a,b) 880 #define IDirect3DVertexShader9_AddRef(p) (p)->AddRef() 881 #define IDirect3DVertexShader9_Release(p) (p)->Release() 882 #define IDirect3DVertexShader9_GetDevice(p,a) (p)->GetDevice(a) 883 #define IDirect3DVertexShader9_GetFunction(p,a,b) (p)->GetFunction(a,b) 889 #define INTERFACE IDirect3DPixelShader9 894 STDMETHOD(QueryInterface)(THIS_ REFIID riid,
void** ppvObj) PURE;
895 STDMETHOD_(ULONG,AddRef)(THIS) PURE;
896 STDMETHOD_(ULONG,
Release)(THIS) PURE;
900 STDMETHOD(GetFunction)(THIS_
void*,
UINT* pSizeOfData) PURE;
905 #if !defined(__cplusplus) || defined(CINTERFACE) 906 #define IDirect3DPixelShader9_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) 907 #define IDirect3DPixelShader9_AddRef(p) (p)->lpVtbl->AddRef(p) 908 #define IDirect3DPixelShader9_Release(p) (p)->lpVtbl->Release(p) 909 #define IDirect3DPixelShader9_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a) 910 #define IDirect3DPixelShader9_GetFunction(p,a,b) (p)->lpVtbl->GetFunction(p,a,b) 912 #define IDirect3DPixelShader9_QueryInterface(p,a,b) (p)->QueryInterface(a,b) 913 #define IDirect3DPixelShader9_AddRef(p) (p)->AddRef() 914 #define IDirect3DPixelShader9_Release(p) (p)->Release() 915 #define IDirect3DPixelShader9_GetDevice(p,a) (p)->GetDevice(a) 916 #define IDirect3DPixelShader9_GetFunction(p,a,b) (p)->GetFunction(a,b) 923 #define INTERFACE IDirect3DBaseTexture9 928 STDMETHOD(QueryInterface)(THIS_ REFIID riid,
void** ppvObj) PURE;
929 STDMETHOD_(ULONG,AddRef)(THIS) PURE;
930 STDMETHOD_(ULONG,
Release)(THIS) PURE;
934 STDMETHOD(SetPrivateData)(THIS_ REFGUID refguid,
CONST void* pData,DWORD SizeOfData,DWORD Flags) PURE;
935 STDMETHOD(GetPrivateData)(THIS_ REFGUID refguid,
void* pData,DWORD* pSizeOfData) PURE;
936 STDMETHOD(FreePrivateData)(THIS_ REFGUID refguid) PURE;
937 STDMETHOD_(DWORD, SetPriority)(THIS_ DWORD PriorityNew) PURE;
938 STDMETHOD_(DWORD, GetPriority)(THIS) PURE;
939 STDMETHOD_(
void, PreLoad)(THIS) PURE;
941 STDMETHOD_(DWORD, SetLOD)(THIS_ DWORD LODNew) PURE;
942 STDMETHOD_(DWORD, GetLOD)(THIS) PURE;
943 STDMETHOD_(DWORD, GetLevelCount)(THIS) PURE;
946 STDMETHOD_(
void, GenerateMipSubLevels)(THIS) PURE;
951 #if !defined(__cplusplus) || defined(CINTERFACE) 952 #define IDirect3DBaseTexture9_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) 953 #define IDirect3DBaseTexture9_AddRef(p) (p)->lpVtbl->AddRef(p) 954 #define IDirect3DBaseTexture9_Release(p) (p)->lpVtbl->Release(p) 955 #define IDirect3DBaseTexture9_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a) 956 #define IDirect3DBaseTexture9_SetPrivateData(p,a,b,c,d) (p)->lpVtbl->SetPrivateData(p,a,b,c,d) 957 #define IDirect3DBaseTexture9_GetPrivateData(p,a,b,c) (p)->lpVtbl->GetPrivateData(p,a,b,c) 958 #define IDirect3DBaseTexture9_FreePrivateData(p,a) (p)->lpVtbl->FreePrivateData(p,a) 959 #define IDirect3DBaseTexture9_SetPriority(p,a) (p)->lpVtbl->SetPriority(p,a) 960 #define IDirect3DBaseTexture9_GetPriority(p) (p)->lpVtbl->GetPriority(p) 961 #define IDirect3DBaseTexture9_PreLoad(p) (p)->lpVtbl->PreLoad(p) 962 #define IDirect3DBaseTexture9_GetType(p) (p)->lpVtbl->GetType(p) 963 #define IDirect3DBaseTexture9_SetLOD(p,a) (p)->lpVtbl->SetLOD(p,a) 964 #define IDirect3DBaseTexture9_GetLOD(p) (p)->lpVtbl->GetLOD(p) 965 #define IDirect3DBaseTexture9_GetLevelCount(p) (p)->lpVtbl->GetLevelCount(p) 966 #define IDirect3DBaseTexture9_SetAutoGenFilterType(p,a) (p)->lpVtbl->SetAutoGenFilterType(p,a) 967 #define IDirect3DBaseTexture9_GetAutoGenFilterType(p) (p)->lpVtbl->GetAutoGenFilterType(p) 968 #define IDirect3DBaseTexture9_GenerateMipSubLevels(p) (p)->lpVtbl->GenerateMipSubLevels(p) 970 #define IDirect3DBaseTexture9_QueryInterface(p,a,b) (p)->QueryInterface(a,b) 971 #define IDirect3DBaseTexture9_AddRef(p) (p)->AddRef() 972 #define IDirect3DBaseTexture9_Release(p) (p)->Release() 973 #define IDirect3DBaseTexture9_GetDevice(p,a) (p)->GetDevice(a) 974 #define IDirect3DBaseTexture9_SetPrivateData(p,a,b,c,d) (p)->SetPrivateData(a,b,c,d) 975 #define IDirect3DBaseTexture9_GetPrivateData(p,a,b,c) (p)->GetPrivateData(a,b,c) 976 #define IDirect3DBaseTexture9_FreePrivateData(p,a) (p)->FreePrivateData(a) 977 #define IDirect3DBaseTexture9_SetPriority(p,a) (p)->SetPriority(a) 978 #define IDirect3DBaseTexture9_GetPriority(p) (p)->GetPriority() 979 #define IDirect3DBaseTexture9_PreLoad(p) (p)->PreLoad() 980 #define IDirect3DBaseTexture9_GetType(p) (p)->GetType() 981 #define IDirect3DBaseTexture9_SetLOD(p,a) (p)->SetLOD(a) 982 #define IDirect3DBaseTexture9_GetLOD(p) (p)->GetLOD() 983 #define IDirect3DBaseTexture9_GetLevelCount(p) (p)->GetLevelCount() 984 #define IDirect3DBaseTexture9_SetAutoGenFilterType(p,a) (p)->SetAutoGenFilterType(a) 985 #define IDirect3DBaseTexture9_GetAutoGenFilterType(p) (p)->GetAutoGenFilterType() 986 #define IDirect3DBaseTexture9_GenerateMipSubLevels(p) (p)->GenerateMipSubLevels() 994 #define INTERFACE IDirect3DTexture9 999 STDMETHOD(QueryInterface)(THIS_ REFIID riid,
void** ppvObj) PURE;
1000 STDMETHOD_(ULONG,AddRef)(THIS) PURE;
1001 STDMETHOD_(ULONG,
Release)(THIS) PURE;
1005 STDMETHOD(SetPrivateData)(THIS_ REFGUID refguid,
CONST void* pData,DWORD SizeOfData,DWORD Flags) PURE;
1006 STDMETHOD(GetPrivateData)(THIS_ REFGUID refguid,
void* pData,DWORD* pSizeOfData) PURE;
1007 STDMETHOD(FreePrivateData)(THIS_ REFGUID refguid) PURE;
1008 STDMETHOD_(DWORD, SetPriority)(THIS_ DWORD PriorityNew) PURE;
1009 STDMETHOD_(DWORD, GetPriority)(THIS) PURE;
1010 STDMETHOD_(
void, PreLoad)(THIS) PURE;
1012 STDMETHOD_(DWORD, SetLOD)(THIS_ DWORD LODNew) PURE;
1013 STDMETHOD_(DWORD, GetLOD)(THIS) PURE;
1014 STDMETHOD_(DWORD, GetLevelCount)(THIS) PURE;
1017 STDMETHOD_(
void, GenerateMipSubLevels)(THIS) PURE;
1021 STDMETHOD(UnlockRect)(THIS_
UINT Level) PURE;
1022 STDMETHOD(AddDirtyRect)(THIS_
CONST RECT* pDirtyRect) PURE;
1027 #if !defined(__cplusplus) || defined(CINTERFACE) 1028 #define IDirect3DTexture9_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) 1029 #define IDirect3DTexture9_AddRef(p) (p)->lpVtbl->AddRef(p) 1030 #define IDirect3DTexture9_Release(p) (p)->lpVtbl->Release(p) 1031 #define IDirect3DTexture9_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a) 1032 #define IDirect3DTexture9_SetPrivateData(p,a,b,c,d) (p)->lpVtbl->SetPrivateData(p,a,b,c,d) 1033 #define IDirect3DTexture9_GetPrivateData(p,a,b,c) (p)->lpVtbl->GetPrivateData(p,a,b,c) 1034 #define IDirect3DTexture9_FreePrivateData(p,a) (p)->lpVtbl->FreePrivateData(p,a) 1035 #define IDirect3DTexture9_SetPriority(p,a) (p)->lpVtbl->SetPriority(p,a) 1036 #define IDirect3DTexture9_GetPriority(p) (p)->lpVtbl->GetPriority(p) 1037 #define IDirect3DTexture9_PreLoad(p) (p)->lpVtbl->PreLoad(p) 1038 #define IDirect3DTexture9_GetType(p) (p)->lpVtbl->GetType(p) 1039 #define IDirect3DTexture9_SetLOD(p,a) (p)->lpVtbl->SetLOD(p,a) 1040 #define IDirect3DTexture9_GetLOD(p) (p)->lpVtbl->GetLOD(p) 1041 #define IDirect3DTexture9_GetLevelCount(p) (p)->lpVtbl->GetLevelCount(p) 1042 #define IDirect3DTexture9_SetAutoGenFilterType(p,a) (p)->lpVtbl->SetAutoGenFilterType(p,a) 1043 #define IDirect3DTexture9_GetAutoGenFilterType(p) (p)->lpVtbl->GetAutoGenFilterType(p) 1044 #define IDirect3DTexture9_GenerateMipSubLevels(p) (p)->lpVtbl->GenerateMipSubLevels(p) 1045 #define IDirect3DTexture9_GetLevelDesc(p,a,b) (p)->lpVtbl->GetLevelDesc(p,a,b) 1046 #define IDirect3DTexture9_GetSurfaceLevel(p,a,b) (p)->lpVtbl->GetSurfaceLevel(p,a,b) 1047 #define IDirect3DTexture9_LockRect(p,a,b,c,d) (p)->lpVtbl->LockRect(p,a,b,c,d) 1048 #define IDirect3DTexture9_UnlockRect(p,a) (p)->lpVtbl->UnlockRect(p,a) 1049 #define IDirect3DTexture9_AddDirtyRect(p,a) (p)->lpVtbl->AddDirtyRect(p,a) 1051 #define IDirect3DTexture9_QueryInterface(p,a,b) (p)->QueryInterface(a,b) 1052 #define IDirect3DTexture9_AddRef(p) (p)->AddRef() 1053 #define IDirect3DTexture9_Release(p) (p)->Release() 1054 #define IDirect3DTexture9_GetDevice(p,a) (p)->GetDevice(a) 1055 #define IDirect3DTexture9_SetPrivateData(p,a,b,c,d) (p)->SetPrivateData(a,b,c,d) 1056 #define IDirect3DTexture9_GetPrivateData(p,a,b,c) (p)->GetPrivateData(a,b,c) 1057 #define IDirect3DTexture9_FreePrivateData(p,a) (p)->FreePrivateData(a) 1058 #define IDirect3DTexture9_SetPriority(p,a) (p)->SetPriority(a) 1059 #define IDirect3DTexture9_GetPriority(p) (p)->GetPriority() 1060 #define IDirect3DTexture9_PreLoad(p) (p)->PreLoad() 1061 #define IDirect3DTexture9_GetType(p) (p)->GetType() 1062 #define IDirect3DTexture9_SetLOD(p,a) (p)->SetLOD(a) 1063 #define IDirect3DTexture9_GetLOD(p) (p)->GetLOD() 1064 #define IDirect3DTexture9_GetLevelCount(p) (p)->GetLevelCount() 1065 #define IDirect3DTexture9_SetAutoGenFilterType(p,a) (p)->SetAutoGenFilterType(a) 1066 #define IDirect3DTexture9_GetAutoGenFilterType(p) (p)->GetAutoGenFilterType() 1067 #define IDirect3DTexture9_GenerateMipSubLevels(p) (p)->GenerateMipSubLevels() 1068 #define IDirect3DTexture9_GetLevelDesc(p,a,b) (p)->GetLevelDesc(a,b) 1069 #define IDirect3DTexture9_GetSurfaceLevel(p,a,b) (p)->GetSurfaceLevel(a,b) 1070 #define IDirect3DTexture9_LockRect(p,a,b,c,d) (p)->LockRect(a,b,c,d) 1071 #define IDirect3DTexture9_UnlockRect(p,a) (p)->UnlockRect(a) 1072 #define IDirect3DTexture9_AddDirtyRect(p,a) (p)->AddDirtyRect(a) 1080 #define INTERFACE IDirect3DVolumeTexture9 1085 STDMETHOD(QueryInterface)(THIS_ REFIID riid,
void** ppvObj) PURE;
1086 STDMETHOD_(ULONG,AddRef)(THIS) PURE;
1087 STDMETHOD_(ULONG,
Release)(THIS) PURE;
1091 STDMETHOD(SetPrivateData)(THIS_ REFGUID refguid,
CONST void* pData,DWORD SizeOfData,DWORD Flags) PURE;
1092 STDMETHOD(GetPrivateData)(THIS_ REFGUID refguid,
void* pData,DWORD* pSizeOfData) PURE;
1093 STDMETHOD(FreePrivateData)(THIS_ REFGUID refguid) PURE;
1094 STDMETHOD_(DWORD, SetPriority)(THIS_ DWORD PriorityNew) PURE;
1095 STDMETHOD_(DWORD, GetPriority)(THIS) PURE;
1096 STDMETHOD_(
void, PreLoad)(THIS) PURE;
1098 STDMETHOD_(DWORD, SetLOD)(THIS_ DWORD LODNew) PURE;
1099 STDMETHOD_(DWORD, GetLOD)(THIS) PURE;
1100 STDMETHOD_(DWORD, GetLevelCount)(THIS) PURE;
1103 STDMETHOD_(
void, GenerateMipSubLevels)(THIS) PURE;
1107 STDMETHOD(UnlockBox)(THIS_
UINT Level) PURE;
1108 STDMETHOD(AddDirtyBox)(THIS_
CONST D3DBOX* pDirtyBox) PURE;
1113 #if !defined(__cplusplus) || defined(CINTERFACE) 1114 #define IDirect3DVolumeTexture9_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) 1115 #define IDirect3DVolumeTexture9_AddRef(p) (p)->lpVtbl->AddRef(p) 1116 #define IDirect3DVolumeTexture9_Release(p) (p)->lpVtbl->Release(p) 1117 #define IDirect3DVolumeTexture9_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a) 1118 #define IDirect3DVolumeTexture9_SetPrivateData(p,a,b,c,d) (p)->lpVtbl->SetPrivateData(p,a,b,c,d) 1119 #define IDirect3DVolumeTexture9_GetPrivateData(p,a,b,c) (p)->lpVtbl->GetPrivateData(p,a,b,c) 1120 #define IDirect3DVolumeTexture9_FreePrivateData(p,a) (p)->lpVtbl->FreePrivateData(p,a) 1121 #define IDirect3DVolumeTexture9_SetPriority(p,a) (p)->lpVtbl->SetPriority(p,a) 1122 #define IDirect3DVolumeTexture9_GetPriority(p) (p)->lpVtbl->GetPriority(p) 1123 #define IDirect3DVolumeTexture9_PreLoad(p) (p)->lpVtbl->PreLoad(p) 1124 #define IDirect3DVolumeTexture9_GetType(p) (p)->lpVtbl->GetType(p) 1125 #define IDirect3DVolumeTexture9_SetLOD(p,a) (p)->lpVtbl->SetLOD(p,a) 1126 #define IDirect3DVolumeTexture9_GetLOD(p) (p)->lpVtbl->GetLOD(p) 1127 #define IDirect3DVolumeTexture9_GetLevelCount(p) (p)->lpVtbl->GetLevelCount(p) 1128 #define IDirect3DVolumeTexture9_SetAutoGenFilterType(p,a) (p)->lpVtbl->SetAutoGenFilterType(p,a) 1129 #define IDirect3DVolumeTexture9_GetAutoGenFilterType(p) (p)->lpVtbl->GetAutoGenFilterType(p) 1130 #define IDirect3DVolumeTexture9_GenerateMipSubLevels(p) (p)->lpVtbl->GenerateMipSubLevels(p) 1131 #define IDirect3DVolumeTexture9_GetLevelDesc(p,a,b) (p)->lpVtbl->GetLevelDesc(p,a,b) 1132 #define IDirect3DVolumeTexture9_GetVolumeLevel(p,a,b) (p)->lpVtbl->GetVolumeLevel(p,a,b) 1133 #define IDirect3DVolumeTexture9_LockBox(p,a,b,c,d) (p)->lpVtbl->LockBox(p,a,b,c,d) 1134 #define IDirect3DVolumeTexture9_UnlockBox(p,a) (p)->lpVtbl->UnlockBox(p,a) 1135 #define IDirect3DVolumeTexture9_AddDirtyBox(p,a) (p)->lpVtbl->AddDirtyBox(p,a) 1137 #define IDirect3DVolumeTexture9_QueryInterface(p,a,b) (p)->QueryInterface(a,b) 1138 #define IDirect3DVolumeTexture9_AddRef(p) (p)->AddRef() 1139 #define IDirect3DVolumeTexture9_Release(p) (p)->Release() 1140 #define IDirect3DVolumeTexture9_GetDevice(p,a) (p)->GetDevice(a) 1141 #define IDirect3DVolumeTexture9_SetPrivateData(p,a,b,c,d) (p)->SetPrivateData(a,b,c,d) 1142 #define IDirect3DVolumeTexture9_GetPrivateData(p,a,b,c) (p)->GetPrivateData(a,b,c) 1143 #define IDirect3DVolumeTexture9_FreePrivateData(p,a) (p)->FreePrivateData(a) 1144 #define IDirect3DVolumeTexture9_SetPriority(p,a) (p)->SetPriority(a) 1145 #define IDirect3DVolumeTexture9_GetPriority(p) (p)->GetPriority() 1146 #define IDirect3DVolumeTexture9_PreLoad(p) (p)->PreLoad() 1147 #define IDirect3DVolumeTexture9_GetType(p) (p)->GetType() 1148 #define IDirect3DVolumeTexture9_SetLOD(p,a) (p)->SetLOD(a) 1149 #define IDirect3DVolumeTexture9_GetLOD(p) (p)->GetLOD() 1150 #define IDirect3DVolumeTexture9_GetLevelCount(p) (p)->GetLevelCount() 1151 #define IDirect3DVolumeTexture9_SetAutoGenFilterType(p,a) (p)->SetAutoGenFilterType(a) 1152 #define IDirect3DVolumeTexture9_GetAutoGenFilterType(p) (p)->GetAutoGenFilterType() 1153 #define IDirect3DVolumeTexture9_GenerateMipSubLevels(p) (p)->GenerateMipSubLevels() 1154 #define IDirect3DVolumeTexture9_GetLevelDesc(p,a,b) (p)->GetLevelDesc(a,b) 1155 #define IDirect3DVolumeTexture9_GetVolumeLevel(p,a,b) (p)->GetVolumeLevel(a,b) 1156 #define IDirect3DVolumeTexture9_LockBox(p,a,b,c,d) (p)->LockBox(a,b,c,d) 1157 #define IDirect3DVolumeTexture9_UnlockBox(p,a) (p)->UnlockBox(a) 1158 #define IDirect3DVolumeTexture9_AddDirtyBox(p,a) (p)->AddDirtyBox(a) 1166 #define INTERFACE IDirect3DCubeTexture9 1171 STDMETHOD(QueryInterface)(THIS_ REFIID riid,
void** ppvObj) PURE;
1172 STDMETHOD_(ULONG,AddRef)(THIS) PURE;
1173 STDMETHOD_(ULONG,
Release)(THIS) PURE;
1177 STDMETHOD(SetPrivateData)(THIS_ REFGUID refguid,
CONST void* pData,DWORD SizeOfData,DWORD Flags) PURE;
1178 STDMETHOD(GetPrivateData)(THIS_ REFGUID refguid,
void* pData,DWORD* pSizeOfData) PURE;
1179 STDMETHOD(FreePrivateData)(THIS_ REFGUID refguid) PURE;
1180 STDMETHOD_(DWORD, SetPriority)(THIS_ DWORD PriorityNew) PURE;
1181 STDMETHOD_(DWORD, GetPriority)(THIS) PURE;
1182 STDMETHOD_(
void, PreLoad)(THIS) PURE;
1184 STDMETHOD_(DWORD, SetLOD)(THIS_ DWORD LODNew) PURE;
1185 STDMETHOD_(DWORD, GetLOD)(THIS) PURE;
1186 STDMETHOD_(DWORD, GetLevelCount)(THIS) PURE;
1189 STDMETHOD_(
void, GenerateMipSubLevels)(THIS) PURE;
1199 #if !defined(__cplusplus) || defined(CINTERFACE) 1200 #define IDirect3DCubeTexture9_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) 1201 #define IDirect3DCubeTexture9_AddRef(p) (p)->lpVtbl->AddRef(p) 1202 #define IDirect3DCubeTexture9_Release(p) (p)->lpVtbl->Release(p) 1203 #define IDirect3DCubeTexture9_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a) 1204 #define IDirect3DCubeTexture9_SetPrivateData(p,a,b,c,d) (p)->lpVtbl->SetPrivateData(p,a,b,c,d) 1205 #define IDirect3DCubeTexture9_GetPrivateData(p,a,b,c) (p)->lpVtbl->GetPrivateData(p,a,b,c) 1206 #define IDirect3DCubeTexture9_FreePrivateData(p,a) (p)->lpVtbl->FreePrivateData(p,a) 1207 #define IDirect3DCubeTexture9_SetPriority(p,a) (p)->lpVtbl->SetPriority(p,a) 1208 #define IDirect3DCubeTexture9_GetPriority(p) (p)->lpVtbl->GetPriority(p) 1209 #define IDirect3DCubeTexture9_PreLoad(p) (p)->lpVtbl->PreLoad(p) 1210 #define IDirect3DCubeTexture9_GetType(p) (p)->lpVtbl->GetType(p) 1211 #define IDirect3DCubeTexture9_SetLOD(p,a) (p)->lpVtbl->SetLOD(p,a) 1212 #define IDirect3DCubeTexture9_GetLOD(p) (p)->lpVtbl->GetLOD(p) 1213 #define IDirect3DCubeTexture9_GetLevelCount(p) (p)->lpVtbl->GetLevelCount(p) 1214 #define IDirect3DCubeTexture9_SetAutoGenFilterType(p,a) (p)->lpVtbl->SetAutoGenFilterType(p,a) 1215 #define IDirect3DCubeTexture9_GetAutoGenFilterType(p) (p)->lpVtbl->GetAutoGenFilterType(p) 1216 #define IDirect3DCubeTexture9_GenerateMipSubLevels(p) (p)->lpVtbl->GenerateMipSubLevels(p) 1217 #define IDirect3DCubeTexture9_GetLevelDesc(p,a,b) (p)->lpVtbl->GetLevelDesc(p,a,b) 1218 #define IDirect3DCubeTexture9_GetCubeMapSurface(p,a,b,c) (p)->lpVtbl->GetCubeMapSurface(p,a,b,c) 1219 #define IDirect3DCubeTexture9_LockRect(p,a,b,c,d,e) (p)->lpVtbl->LockRect(p,a,b,c,d,e) 1220 #define IDirect3DCubeTexture9_UnlockRect(p,a,b) (p)->lpVtbl->UnlockRect(p,a,b) 1221 #define IDirect3DCubeTexture9_AddDirtyRect(p,a,b) (p)->lpVtbl->AddDirtyRect(p,a,b) 1223 #define IDirect3DCubeTexture9_QueryInterface(p,a,b) (p)->QueryInterface(a,b) 1224 #define IDirect3DCubeTexture9_AddRef(p) (p)->AddRef() 1225 #define IDirect3DCubeTexture9_Release(p) (p)->Release() 1226 #define IDirect3DCubeTexture9_GetDevice(p,a) (p)->GetDevice(a) 1227 #define IDirect3DCubeTexture9_SetPrivateData(p,a,b,c,d) (p)->SetPrivateData(a,b,c,d) 1228 #define IDirect3DCubeTexture9_GetPrivateData(p,a,b,c) (p)->GetPrivateData(a,b,c) 1229 #define IDirect3DCubeTexture9_FreePrivateData(p,a) (p)->FreePrivateData(a) 1230 #define IDirect3DCubeTexture9_SetPriority(p,a) (p)->SetPriority(a) 1231 #define IDirect3DCubeTexture9_GetPriority(p) (p)->GetPriority() 1232 #define IDirect3DCubeTexture9_PreLoad(p) (p)->PreLoad() 1233 #define IDirect3DCubeTexture9_GetType(p) (p)->GetType() 1234 #define IDirect3DCubeTexture9_SetLOD(p,a) (p)->SetLOD(a) 1235 #define IDirect3DCubeTexture9_GetLOD(p) (p)->GetLOD() 1236 #define IDirect3DCubeTexture9_GetLevelCount(p) (p)->GetLevelCount() 1237 #define IDirect3DCubeTexture9_SetAutoGenFilterType(p,a) (p)->SetAutoGenFilterType(a) 1238 #define IDirect3DCubeTexture9_GetAutoGenFilterType(p) (p)->GetAutoGenFilterType() 1239 #define IDirect3DCubeTexture9_GenerateMipSubLevels(p) (p)->GenerateMipSubLevels() 1240 #define IDirect3DCubeTexture9_GetLevelDesc(p,a,b) (p)->GetLevelDesc(a,b) 1241 #define IDirect3DCubeTexture9_GetCubeMapSurface(p,a,b,c) (p)->GetCubeMapSurface(a,b,c) 1242 #define IDirect3DCubeTexture9_LockRect(p,a,b,c,d,e) (p)->LockRect(a,b,c,d,e) 1243 #define IDirect3DCubeTexture9_UnlockRect(p,a,b) (p)->UnlockRect(a,b) 1244 #define IDirect3DCubeTexture9_AddDirtyRect(p,a,b) (p)->AddDirtyRect(a,b) 1251 #define INTERFACE IDirect3DVertexBuffer9 1256 STDMETHOD(QueryInterface)(THIS_ REFIID riid,
void** ppvObj) PURE;
1257 STDMETHOD_(ULONG,AddRef)(THIS) PURE;
1258 STDMETHOD_(ULONG,
Release)(THIS) PURE;
1262 STDMETHOD(SetPrivateData)(THIS_ REFGUID refguid,
CONST void* pData,DWORD SizeOfData,DWORD Flags) PURE;
1263 STDMETHOD(GetPrivateData)(THIS_ REFGUID refguid,
void* pData,DWORD* pSizeOfData) PURE;
1264 STDMETHOD(FreePrivateData)(THIS_ REFGUID refguid) PURE;
1265 STDMETHOD_(DWORD, SetPriority)(THIS_ DWORD PriorityNew) PURE;
1266 STDMETHOD_(DWORD, GetPriority)(THIS) PURE;
1267 STDMETHOD_(
void, PreLoad)(THIS) PURE;
1269 STDMETHOD(Lock)(THIS_
UINT OffsetToLock,
UINT SizeToLock,
void** ppbData,DWORD Flags) PURE;
1270 STDMETHOD(Unlock)(THIS) PURE;
1276 #if !defined(__cplusplus) || defined(CINTERFACE) 1277 #define IDirect3DVertexBuffer9_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) 1278 #define IDirect3DVertexBuffer9_AddRef(p) (p)->lpVtbl->AddRef(p) 1279 #define IDirect3DVertexBuffer9_Release(p) (p)->lpVtbl->Release(p) 1280 #define IDirect3DVertexBuffer9_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a) 1281 #define IDirect3DVertexBuffer9_SetPrivateData(p,a,b,c,d) (p)->lpVtbl->SetPrivateData(p,a,b,c,d) 1282 #define IDirect3DVertexBuffer9_GetPrivateData(p,a,b,c) (p)->lpVtbl->GetPrivateData(p,a,b,c) 1283 #define IDirect3DVertexBuffer9_FreePrivateData(p,a) (p)->lpVtbl->FreePrivateData(p,a) 1284 #define IDirect3DVertexBuffer9_SetPriority(p,a) (p)->lpVtbl->SetPriority(p,a) 1285 #define IDirect3DVertexBuffer9_GetPriority(p) (p)->lpVtbl->GetPriority(p) 1286 #define IDirect3DVertexBuffer9_PreLoad(p) (p)->lpVtbl->PreLoad(p) 1287 #define IDirect3DVertexBuffer9_GetType(p) (p)->lpVtbl->GetType(p) 1288 #define IDirect3DVertexBuffer9_Lock(p,a,b,c,d) (p)->lpVtbl->Lock(p,a,b,c,d) 1289 #define IDirect3DVertexBuffer9_Unlock(p) (p)->lpVtbl->Unlock(p) 1290 #define IDirect3DVertexBuffer9_GetDesc(p,a) (p)->lpVtbl->GetDesc(p,a) 1292 #define IDirect3DVertexBuffer9_QueryInterface(p,a,b) (p)->QueryInterface(a,b) 1293 #define IDirect3DVertexBuffer9_AddRef(p) (p)->AddRef() 1294 #define IDirect3DVertexBuffer9_Release(p) (p)->Release() 1295 #define IDirect3DVertexBuffer9_GetDevice(p,a) (p)->GetDevice(a) 1296 #define IDirect3DVertexBuffer9_SetPrivateData(p,a,b,c,d) (p)->SetPrivateData(a,b,c,d) 1297 #define IDirect3DVertexBuffer9_GetPrivateData(p,a,b,c) (p)->GetPrivateData(a,b,c) 1298 #define IDirect3DVertexBuffer9_FreePrivateData(p,a) (p)->FreePrivateData(a) 1299 #define IDirect3DVertexBuffer9_SetPriority(p,a) (p)->SetPriority(a) 1300 #define IDirect3DVertexBuffer9_GetPriority(p) (p)->GetPriority() 1301 #define IDirect3DVertexBuffer9_PreLoad(p) (p)->PreLoad() 1302 #define IDirect3DVertexBuffer9_GetType(p) (p)->GetType() 1303 #define IDirect3DVertexBuffer9_Lock(p,a,b,c,d) (p)->Lock(a,b,c,d) 1304 #define IDirect3DVertexBuffer9_Unlock(p) (p)->Unlock() 1305 #define IDirect3DVertexBuffer9_GetDesc(p,a) (p)->GetDesc(a) 1312 #define INTERFACE IDirect3DIndexBuffer9 1317 STDMETHOD(QueryInterface)(THIS_ REFIID riid,
void** ppvObj) PURE;
1318 STDMETHOD_(ULONG,AddRef)(THIS) PURE;
1319 STDMETHOD_(ULONG,
Release)(THIS) PURE;
1323 STDMETHOD(SetPrivateData)(THIS_ REFGUID refguid,
CONST void* pData,DWORD SizeOfData,DWORD Flags) PURE;
1324 STDMETHOD(GetPrivateData)(THIS_ REFGUID refguid,
void* pData,DWORD* pSizeOfData) PURE;
1325 STDMETHOD(FreePrivateData)(THIS_ REFGUID refguid) PURE;
1326 STDMETHOD_(DWORD, SetPriority)(THIS_ DWORD PriorityNew) PURE;
1327 STDMETHOD_(DWORD, GetPriority)(THIS) PURE;
1328 STDMETHOD_(
void, PreLoad)(THIS) PURE;
1330 STDMETHOD(Lock)(THIS_
UINT OffsetToLock,
UINT SizeToLock,
void** ppbData,DWORD Flags) PURE;
1331 STDMETHOD(Unlock)(THIS) PURE;
1337 #if !defined(__cplusplus) || defined(CINTERFACE) 1338 #define IDirect3DIndexBuffer9_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) 1339 #define IDirect3DIndexBuffer9_AddRef(p) (p)->lpVtbl->AddRef(p) 1340 #define IDirect3DIndexBuffer9_Release(p) (p)->lpVtbl->Release(p) 1341 #define IDirect3DIndexBuffer9_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a) 1342 #define IDirect3DIndexBuffer9_SetPrivateData(p,a,b,c,d) (p)->lpVtbl->SetPrivateData(p,a,b,c,d) 1343 #define IDirect3DIndexBuffer9_GetPrivateData(p,a,b,c) (p)->lpVtbl->GetPrivateData(p,a,b,c) 1344 #define IDirect3DIndexBuffer9_FreePrivateData(p,a) (p)->lpVtbl->FreePrivateData(p,a) 1345 #define IDirect3DIndexBuffer9_SetPriority(p,a) (p)->lpVtbl->SetPriority(p,a) 1346 #define IDirect3DIndexBuffer9_GetPriority(p) (p)->lpVtbl->GetPriority(p) 1347 #define IDirect3DIndexBuffer9_PreLoad(p) (p)->lpVtbl->PreLoad(p) 1348 #define IDirect3DIndexBuffer9_GetType(p) (p)->lpVtbl->GetType(p) 1349 #define IDirect3DIndexBuffer9_Lock(p,a,b,c,d) (p)->lpVtbl->Lock(p,a,b,c,d) 1350 #define IDirect3DIndexBuffer9_Unlock(p) (p)->lpVtbl->Unlock(p) 1351 #define IDirect3DIndexBuffer9_GetDesc(p,a) (p)->lpVtbl->GetDesc(p,a) 1353 #define IDirect3DIndexBuffer9_QueryInterface(p,a,b) (p)->QueryInterface(a,b) 1354 #define IDirect3DIndexBuffer9_AddRef(p) (p)->AddRef() 1355 #define IDirect3DIndexBuffer9_Release(p) (p)->Release() 1356 #define IDirect3DIndexBuffer9_GetDevice(p,a) (p)->GetDevice(a) 1357 #define IDirect3DIndexBuffer9_SetPrivateData(p,a,b,c,d) (p)->SetPrivateData(a,b,c,d) 1358 #define IDirect3DIndexBuffer9_GetPrivateData(p,a,b,c) (p)->GetPrivateData(a,b,c) 1359 #define IDirect3DIndexBuffer9_FreePrivateData(p,a) (p)->FreePrivateData(a) 1360 #define IDirect3DIndexBuffer9_SetPriority(p,a) (p)->SetPriority(a) 1361 #define IDirect3DIndexBuffer9_GetPriority(p) (p)->GetPriority() 1362 #define IDirect3DIndexBuffer9_PreLoad(p) (p)->PreLoad() 1363 #define IDirect3DIndexBuffer9_GetType(p) (p)->GetType() 1364 #define IDirect3DIndexBuffer9_Lock(p,a,b,c,d) (p)->Lock(a,b,c,d) 1365 #define IDirect3DIndexBuffer9_Unlock(p) (p)->Unlock() 1366 #define IDirect3DIndexBuffer9_GetDesc(p,a) (p)->GetDesc(a) 1373 #define INTERFACE IDirect3DSurface9 1378 STDMETHOD(QueryInterface)(THIS_ REFIID riid,
void** ppvObj) PURE;
1379 STDMETHOD_(ULONG,AddRef)(THIS) PURE;
1380 STDMETHOD_(ULONG,
Release)(THIS) PURE;
1384 STDMETHOD(SetPrivateData)(THIS_ REFGUID refguid,
CONST void* pData,DWORD SizeOfData,DWORD Flags) PURE;
1385 STDMETHOD(GetPrivateData)(THIS_ REFGUID refguid,
void* pData,DWORD* pSizeOfData) PURE;
1386 STDMETHOD(FreePrivateData)(THIS_ REFGUID refguid) PURE;
1387 STDMETHOD_(DWORD, SetPriority)(THIS_ DWORD PriorityNew) PURE;
1388 STDMETHOD_(DWORD, GetPriority)(THIS) PURE;
1389 STDMETHOD_(
void, PreLoad)(THIS) PURE;
1391 STDMETHOD(GetContainer)(THIS_ REFIID riid,
void** ppContainer) PURE;
1393 STDMETHOD(LockRect)(THIS_
D3DLOCKED_RECT* pLockedRect,
CONST RECT* pRect,DWORD Flags) PURE;
1394 STDMETHOD(UnlockRect)(THIS) PURE;
1395 STDMETHOD(GetDC)(THIS_ HDC *phdc) PURE;
1396 STDMETHOD(ReleaseDC)(THIS_ HDC hdc) PURE;
1401 #if !defined(__cplusplus) || defined(CINTERFACE) 1402 #define IDirect3DSurface9_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) 1403 #define IDirect3DSurface9_AddRef(p) (p)->lpVtbl->AddRef(p) 1404 #define IDirect3DSurface9_Release(p) (p)->lpVtbl->Release(p) 1405 #define IDirect3DSurface9_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a) 1406 #define IDirect3DSurface9_SetPrivateData(p,a,b,c,d) (p)->lpVtbl->SetPrivateData(p,a,b,c,d) 1407 #define IDirect3DSurface9_GetPrivateData(p,a,b,c) (p)->lpVtbl->GetPrivateData(p,a,b,c) 1408 #define IDirect3DSurface9_FreePrivateData(p,a) (p)->lpVtbl->FreePrivateData(p,a) 1409 #define IDirect3DSurface9_SetPriority(p,a) (p)->lpVtbl->SetPriority(p,a) 1410 #define IDirect3DSurface9_GetPriority(p) (p)->lpVtbl->GetPriority(p) 1411 #define IDirect3DSurface9_PreLoad(p) (p)->lpVtbl->PreLoad(p) 1412 #define IDirect3DSurface9_GetType(p) (p)->lpVtbl->GetType(p) 1413 #define IDirect3DSurface9_GetContainer(p,a,b) (p)->lpVtbl->GetContainer(p,a,b) 1414 #define IDirect3DSurface9_GetDesc(p,a) (p)->lpVtbl->GetDesc(p,a) 1415 #define IDirect3DSurface9_LockRect(p,a,b,c) (p)->lpVtbl->LockRect(p,a,b,c) 1416 #define IDirect3DSurface9_UnlockRect(p) (p)->lpVtbl->UnlockRect(p) 1417 #define IDirect3DSurface9_GetDC(p,a) (p)->lpVtbl->GetDC(p,a) 1418 #define IDirect3DSurface9_ReleaseDC(p,a) (p)->lpVtbl->ReleaseDC(p,a) 1420 #define IDirect3DSurface9_QueryInterface(p,a,b) (p)->QueryInterface(a,b) 1421 #define IDirect3DSurface9_AddRef(p) (p)->AddRef() 1422 #define IDirect3DSurface9_Release(p) (p)->Release() 1423 #define IDirect3DSurface9_GetDevice(p,a) (p)->GetDevice(a) 1424 #define IDirect3DSurface9_SetPrivateData(p,a,b,c,d) (p)->SetPrivateData(a,b,c,d) 1425 #define IDirect3DSurface9_GetPrivateData(p,a,b,c) (p)->GetPrivateData(a,b,c) 1426 #define IDirect3DSurface9_FreePrivateData(p,a) (p)->FreePrivateData(a) 1427 #define IDirect3DSurface9_SetPriority(p,a) (p)->SetPriority(a) 1428 #define IDirect3DSurface9_GetPriority(p) (p)->GetPriority() 1429 #define IDirect3DSurface9_PreLoad(p) (p)->PreLoad() 1430 #define IDirect3DSurface9_GetType(p) (p)->GetType() 1431 #define IDirect3DSurface9_GetContainer(p,a,b) (p)->GetContainer(a,b) 1432 #define IDirect3DSurface9_GetDesc(p,a) (p)->GetDesc(a) 1433 #define IDirect3DSurface9_LockRect(p,a,b,c) (p)->LockRect(a,b,c) 1434 #define IDirect3DSurface9_UnlockRect(p) (p)->UnlockRect() 1435 #define IDirect3DSurface9_GetDC(p,a) (p)->GetDC(a) 1436 #define IDirect3DSurface9_ReleaseDC(p,a) (p)->ReleaseDC(a) 1443 #define INTERFACE IDirect3DVolume9 1448 STDMETHOD(QueryInterface)(THIS_ REFIID riid,
void** ppvObj) PURE;
1449 STDMETHOD_(ULONG,AddRef)(THIS) PURE;
1450 STDMETHOD_(ULONG,
Release)(THIS) PURE;
1454 STDMETHOD(SetPrivateData)(THIS_ REFGUID refguid,
CONST void* pData,DWORD SizeOfData,DWORD Flags) PURE;
1455 STDMETHOD(GetPrivateData)(THIS_ REFGUID refguid,
void* pData,DWORD* pSizeOfData) PURE;
1456 STDMETHOD(FreePrivateData)(THIS_ REFGUID refguid) PURE;
1457 STDMETHOD(GetContainer)(THIS_ REFIID riid,
void** ppContainer) PURE;
1460 STDMETHOD(UnlockBox)(THIS) PURE;
1465 #if !defined(__cplusplus) || defined(CINTERFACE) 1466 #define IDirect3DVolume9_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) 1467 #define IDirect3DVolume9_AddRef(p) (p)->lpVtbl->AddRef(p) 1468 #define IDirect3DVolume9_Release(p) (p)->lpVtbl->Release(p) 1469 #define IDirect3DVolume9_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a) 1470 #define IDirect3DVolume9_SetPrivateData(p,a,b,c,d) (p)->lpVtbl->SetPrivateData(p,a,b,c,d) 1471 #define IDirect3DVolume9_GetPrivateData(p,a,b,c) (p)->lpVtbl->GetPrivateData(p,a,b,c) 1472 #define IDirect3DVolume9_FreePrivateData(p,a) (p)->lpVtbl->FreePrivateData(p,a) 1473 #define IDirect3DVolume9_GetContainer(p,a,b) (p)->lpVtbl->GetContainer(p,a,b) 1474 #define IDirect3DVolume9_GetDesc(p,a) (p)->lpVtbl->GetDesc(p,a) 1475 #define IDirect3DVolume9_LockBox(p,a,b,c) (p)->lpVtbl->LockBox(p,a,b,c) 1476 #define IDirect3DVolume9_UnlockBox(p) (p)->lpVtbl->UnlockBox(p) 1478 #define IDirect3DVolume9_QueryInterface(p,a,b) (p)->QueryInterface(a,b) 1479 #define IDirect3DVolume9_AddRef(p) (p)->AddRef() 1480 #define IDirect3DVolume9_Release(p) (p)->Release() 1481 #define IDirect3DVolume9_GetDevice(p,a) (p)->GetDevice(a) 1482 #define IDirect3DVolume9_SetPrivateData(p,a,b,c,d) (p)->SetPrivateData(a,b,c,d) 1483 #define IDirect3DVolume9_GetPrivateData(p,a,b,c) (p)->GetPrivateData(a,b,c) 1484 #define IDirect3DVolume9_FreePrivateData(p,a) (p)->FreePrivateData(a) 1485 #define IDirect3DVolume9_GetContainer(p,a,b) (p)->GetContainer(a,b) 1486 #define IDirect3DVolume9_GetDesc(p,a) (p)->GetDesc(a) 1487 #define IDirect3DVolume9_LockBox(p,a,b,c) (p)->LockBox(a,b,c) 1488 #define IDirect3DVolume9_UnlockBox(p) (p)->UnlockBox() 1494 #define INTERFACE IDirect3DQuery9 1499 STDMETHOD(QueryInterface)(THIS_ REFIID riid,
void** ppvObj) PURE;
1500 STDMETHOD_(ULONG,AddRef)(THIS) PURE;
1501 STDMETHOD_(ULONG,
Release)(THIS) PURE;
1506 STDMETHOD_(DWORD, GetDataSize)(THIS) PURE;
1507 STDMETHOD(Issue)(THIS_ DWORD dwIssueFlags) PURE;
1508 STDMETHOD(GetData)(THIS_
void* pData,DWORD dwSize,DWORD dwGetDataFlags) PURE;
1513 #if !defined(__cplusplus) || defined(CINTERFACE) 1514 #define IDirect3DQuery9_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b) 1515 #define IDirect3DQuery9_AddRef(p) (p)->lpVtbl->AddRef(p) 1516 #define IDirect3DQuery9_Release(p) (p)->lpVtbl->Release(p) 1517 #define IDirect3DQuery9_GetDevice(p,a) (p)->lpVtbl->GetDevice(p,a) 1518 #define IDirect3DQuery9_GetType(p) (p)->lpVtbl->GetType(p) 1519 #define IDirect3DQuery9_GetDataSize(p) (p)->lpVtbl->GetDataSize(p) 1520 #define IDirect3DQuery9_Issue(p,a) (p)->lpVtbl->Issue(p,a) 1521 #define IDirect3DQuery9_GetData(p,a,b,c) (p)->lpVtbl->GetData(p,a,b,c) 1523 #define IDirect3DQuery9_QueryInterface(p,a,b) (p)->QueryInterface(a,b) 1524 #define IDirect3DQuery9_AddRef(p) (p)->AddRef() 1525 #define IDirect3DQuery9_Release(p) (p)->Release() 1526 #define IDirect3DQuery9_GetDevice(p,a) (p)->GetDevice(a) 1527 #define IDirect3DQuery9_GetType(p) (p)->GetType() 1528 #define IDirect3DQuery9_GetDataSize(p) (p)->GetDataSize() 1529 #define IDirect3DQuery9_Issue(p,a) (p)->Issue(a) 1530 #define IDirect3DQuery9_GetData(p,a,b,c) (p)->GetData(a,b,c) 1543 #define D3DSPD_IUNKNOWN 0x00000001L 1551 #define D3DCREATE_FPU_PRESERVE 0x00000002L 1552 #define D3DCREATE_MULTITHREADED 0x00000004L 1554 #define D3DCREATE_PUREDEVICE 0x00000010L 1555 #define D3DCREATE_SOFTWARE_VERTEXPROCESSING 0x00000020L 1556 #define D3DCREATE_HARDWARE_VERTEXPROCESSING 0x00000040L 1557 #define D3DCREATE_MIXED_VERTEXPROCESSING 0x00000080L 1559 #define D3DCREATE_DISABLE_DRIVER_MANAGEMENT 0x00000100L 1560 #define D3DCREATE_ADAPTERGROUP_DEVICE 0x00000200L 1569 #define D3DADAPTER_DEFAULT 0 1577 #define D3DENUM_WHQL_LEVEL 0x00000002L 1585 #define D3DPRESENT_BACK_BUFFERS_MAX 3L 1593 #define D3DSGR_NO_CALIBRATION 0x00000000L 1594 #define D3DSGR_CALIBRATE 0x00000001L 1602 #define D3DCURSOR_IMMEDIATE_UPDATE 0x00000001L 1610 #define D3DPRESENT_DONOTWAIT 0x00000001L 1611 #define D3DPRESENT_LINEAR_CONTENT 0x00000002L 1624 #define _FACD3D 0x876 1625 #define MAKE_D3DHRESULT( code ) MAKE_HRESULT( 1, _FACD3D, code ) 1626 #define MAKE_D3DSTATUS( code ) MAKE_HRESULT( 0, _FACD3D, code ) 1633 #define D3DERR_WRONGTEXTUREFORMAT MAKE_D3DHRESULT(2072) 1634 #define D3DERR_UNSUPPORTEDCOLOROPERATION MAKE_D3DHRESULT(2073) 1635 #define D3DERR_UNSUPPORTEDCOLORARG MAKE_D3DHRESULT(2074) 1636 #define D3DERR_UNSUPPORTEDALPHAOPERATION MAKE_D3DHRESULT(2075) 1637 #define D3DERR_UNSUPPORTEDALPHAARG MAKE_D3DHRESULT(2076) 1638 #define D3DERR_TOOMANYOPERATIONS MAKE_D3DHRESULT(2077) 1639 #define D3DERR_CONFLICTINGTEXTUREFILTER MAKE_D3DHRESULT(2078) 1640 #define D3DERR_UNSUPPORTEDFACTORVALUE MAKE_D3DHRESULT(2079) 1641 #define D3DERR_CONFLICTINGRENDERSTATE MAKE_D3DHRESULT(2081) 1642 #define D3DERR_UNSUPPORTEDTEXTUREFILTER MAKE_D3DHRESULT(2082) 1643 #define D3DERR_CONFLICTINGTEXTUREPALETTE MAKE_D3DHRESULT(2086) 1644 #define D3DERR_DRIVERINTERNALERROR MAKE_D3DHRESULT(2087) 1646 #define D3DERR_NOTFOUND MAKE_D3DHRESULT(2150) 1647 #define D3DERR_MOREDATA MAKE_D3DHRESULT(2151) 1648 #define D3DERR_DEVICELOST MAKE_D3DHRESULT(2152) 1649 #define D3DERR_DEVICENOTRESET MAKE_D3DHRESULT(2153) 1650 #define D3DERR_NOTAVAILABLE MAKE_D3DHRESULT(2154) 1651 #define D3DERR_OUTOFVIDEOMEMORY MAKE_D3DHRESULT(380) 1652 #define D3DERR_INVALIDDEVICE MAKE_D3DHRESULT(2155) 1653 #define D3DERR_INVALIDCALL MAKE_D3DHRESULT(2156) 1654 #define D3DERR_DRIVERINVALIDCALL MAKE_D3DHRESULT(2157) 1655 #define D3DERR_WASSTILLDRAWING MAKE_D3DHRESULT(540) 1656 #define D3DOK_NOAUTOGEN MAKE_D3DSTATUS(2159) Definition: d3d9types.h:1780
GenericValue< UTF8<> > Value
GenericValue with UTF8 encoding.
Definition: document.h:2010
enum _D3DPRIMITIVETYPE D3DPRIMITIVETYPE
enum _D3DTEXTUREFILTERTYPE D3DTEXTUREFILTERTYPE
interface IDirect3DVolume9 IDirect3DVolume9
Definition: d3d9.h:194
DECLARE_INTERFACE_(IDirect3D9, IUnknown)
Definition: d3d9.h:227
enum _D3DTEXTURESTAGESTATETYPE D3DTEXTURESTAGESTATETYPE
struct IDirect3DBaseTexture9 * PDIRECT3DBASETEXTURE9
Definition: d3d9.h:949
const char * pValue
Definition: jsonsax_full.h:952
Definition: d3d8types.h:77
Definition: stb_vorbis.h:340
struct IDirect3DBaseTexture9 * LPDIRECT3DBASETEXTURE9
Definition: d3d9.h:949
struct IDirect3DVertexShader9 * PDIRECT3DVERTEXSHADER9
Definition: d3d9.h:870
Filter
Definition: vulkan.hpp:7586
#define F2(x, y, z)
Definition: md5.c:41
struct IDirect3DVolumeTexture9 * PDIRECT3DVOLUMETEXTURE9
Definition: d3d9.h:1111
DEFINE_GUID(IID_ID3DXBuffer, 0x932e6a7e, 0xc68e, 0x45dd, 0xa7, 0xbf, 0x53, 0xd1, 0x9c, 0x86, 0xdb, 0x1f)
interface IDirect3DVertexShader9 IDirect3DVertexShader9
Definition: d3d9.h:184
interface IDirect3DResource9 IDirect3DResource9
Definition: d3d9.h:186
struct IDirect3D9 * LPDIRECT3D9
Definition: d3d9.h:251
struct IDirect3DDevice9 * PDIRECT3DDEVICE9
Definition: d3d9.h:442
interface IDirect3DIndexBuffer9 IDirect3DIndexBuffer9
Definition: d3d9.h:192
struct IDirect3DVolume9 * LPDIRECT3DVOLUME9
Definition: d3d9.h:1463
interface IDirect3DTexture9 IDirect3DTexture9
Definition: d3d9.h:188
struct IDirect3DVertexDeclaration9 * LPDIRECT3DVERTEXDECLARATION9
Definition: d3d9.h:837
struct IDirect3DIndexBuffer9 * PDIRECT3DINDEXBUFFER9
Definition: d3d9.h:1335
struct IDirect3DSurface9 * LPDIRECT3DSURFACE9
Definition: d3d9.h:1399
Unknown compiler Device disconnected from port File already exists Saving to backup buffer Got connection Public address Setting disk in tray You have left the game You have joined with input devices *s *s has joined as player u A netplay connection attempt failed because the peer is not running or is running an old version of RetroArch use the same version use the same version This core does not support inter architecture netplay Incorrect password A netplay client has disconnected You do not have permission to play The input devices requested are not available Netplay peer s paused Give hardware rendered cores their own private context Avoids having to assume hardware state changes inbetween frames Adjusts menu screen appearance settings Improves performance at the cost of latency and more video stuttering Use only if you cannot obtain full speed otherwise Autodetect Capabilities Connecting to port Password Username Accounts List Endpoint Achievements Scan Content Import content Ask Block Frames نظام تشغيل الصوت Audio Enable Turbo Deadzone Audio Maximum Timing Skew Audio Output Dynamic Audio Rate Control الصوت Audio Volume WASAPI Exclusive Mode WASAPI Shared Buffer Length Load Override Files Automatically Load Shader Presets Automatically Confirm Quit Scroll Up Toggle Keyboard Basic menu controls Info Scroll Up Toggle Keyboard Don t overwrite SaveRAM on loading savestate Buildbot Assets URL Allow Camera Cheat Cheat File Load Cheat File Cheat Passes Hardcore Mode Achievement Badges Locked Test Unofficial Achievements Unlocked Verbose Mode Config ملفات التكوين Collections Content Allow to remove entries Downloads Cheats Show core name Authors Core label Permissions System manufacturer Controls Options Start a Core Automatically Buildbot Cores URL Updater CPU Cursor Custom Ratio Database Selection Start directory< Default > Directory not found Disk Cycle Tray Status Disk Index Don t care Download Core DPI Override Enable أنظمة التشغيل Check for Missing Firmware Before Loading Dynamic Backgrounds Menu entry hover color False Favorites Limit Maximum Run Speed Frontend Counters Create game options file مساعدة Changing Virtual Gamepad Overlay مساعدة Scanning For Content History List Enable Horizontal Menu معلومات Analog To Digital Type Left Analog X Left analog Left Analog Y Left analog Y(down)") MSG_HASH(MENU_ENUM_LABEL_VALUE_INPUT_ANALOG_RIGHT_X
enum _D3DRESOURCETYPE D3DRESOURCETYPE
struct IDirect3DVertexDeclaration9 * PDIRECT3DVERTEXDECLARATION9
Definition: d3d9.h:837
interface IDirect3DPixelShader9 IDirect3DPixelShader9
Definition: d3d9.h:185
enum _D3DDEVTYPE D3DDEVTYPE
enum _D3DCUBEMAP_FACES D3DCUBEMAP_FACES
struct IDirect3DCubeTexture9 * LPDIRECT3DCUBETEXTURE9
Definition: d3d9.h:1197
struct IDirect3DSwapChain9 * LPDIRECT3DSWAPCHAIN9
Definition: d3d9.h:743
struct IDirect3DPixelShader9 * PDIRECT3DPIXELSHADER9
Definition: d3d9.h:903
interface IDirect3DSwapChain9 IDirect3DSwapChain9
Definition: d3d9.h:195
Definition: d3d8types.h:1321
interface IDirect3DQuery9 IDirect3DQuery9
Definition: d3d9.h:196
enum _D3DFORMAT D3DFORMAT
interface IDirect3D9 IDirect3D9
Definition: d3d9.h:180
IDirect3D9 *WINAPI Direct3DCreate9(UINT SDKVersion)
Definition: d3d9caps.h:123
interface IDirect3DSurface9 IDirect3DSurface9
Definition: d3d9.h:193
interface IDirect3DCubeTexture9 IDirect3DCubeTexture9
Definition: d3d9.h:190
struct IDirect3DQuery9 * LPDIRECT3DQUERY9
Definition: d3d9.h:1511
struct IDirect3DIndexBuffer9 * LPDIRECT3DINDEXBUFFER9
Definition: d3d9.h:1335
struct IDirect3DVertexBuffer9 * LPDIRECT3DVERTEXBUFFER9
Definition: d3d9.h:1274
interface DECLSPEC_UUID("C530AD7D-9B16-4395-A979-BA2ECFF83ADD") ID3D10ShaderReflectionType
Definition: d3d8types.h:1479
interface IDirect3DVolumeTexture9 IDirect3DVolumeTexture9
Definition: d3d9.h:189
Definition: d3d9types.h:159
struct IDirect3DVertexShader9 * LPDIRECT3DVERTEXSHADER9
Definition: d3d9.h:870
struct IDirect3DQuery9 * PDIRECT3DQUERY9
Definition: d3d9.h:1511
struct IDirect3DTexture9 * PDIRECT3DTEXTURE9
Definition: d3d9.h:1025
interface IDirect3DVertexDeclaration9 IDirect3DVertexDeclaration9
Definition: d3d9.h:183
DWORD D3DCOLOR
Definition: d3d8types.h:32
Unknown compiler Device disconnected from port File already exists Saving to backup buffer Got connection Public address Setting disk in tray You have left the game You have joined with input devices *s *s has joined as player u A netplay connection attempt failed because the peer is not running or is running an old version of RetroArch use the same version use the same version This core does not support inter architecture netplay Incorrect password A netplay client has disconnected You do not have permission to play The input devices requested are not available Netplay peer s paused Give hardware rendered cores their own private context Avoids having to assume hardware state changes inbetween frames Adjusts menu screen appearance settings Improves performance at the cost of latency and more video stuttering Use only if you cannot obtain full speed otherwise Autodetect Capabilities Connecting to port Password Username Accounts List Endpoint Achievements Scan Content Import content Ask Block Frames نظام تشغيل الصوت Audio Enable Turbo Deadzone Audio Maximum Timing Skew Audio Output Dynamic Audio Rate Control الصوت Audio Volume Level(dB)" ) MSG_HASH( MENU_ENUM_LABEL_VALUE_AUDIO_WASAPI_EXCLUSIVE_MODE
enum _D3DSTATEBLOCKTYPE D3DSTATEBLOCKTYPE
struct IDirect3DStateBlock9 * LPDIRECT3DSTATEBLOCK9
Definition: d3d9.h:703
struct IDirect3DPixelShader9 * LPDIRECT3DPIXELSHADER9
Definition: d3d9.h:903
struct IDirect3DTexture9 * LPDIRECT3DTEXTURE9
Definition: d3d9.h:1025
Definition: d3d8types.h:1387
Definition: d3d8types.h:67
std::pair< Type, bool > State
Definition: spirv_reflect.cpp:33
Definition: d3d8types.h:1312
struct IDirect3DVolumeTexture9 * LPDIRECT3DVOLUMETEXTURE9
Definition: d3d9.h:1111
static INLINE ULONG Release(void *object)
Definition: dxgi_common.h:253
struct IDirect3D9 * PDIRECT3D9
Definition: d3d9.h:251
unsigned int BOOL
Definition: gctypes.h:51
struct IDirect3DDevice9 * LPDIRECT3DDEVICE9
Definition: d3d9.h:442
struct IDirect3DSurface9 * PDIRECT3DSURFACE9
Definition: d3d9.h:1399
Stage
Definition: glslang.hpp:10
struct IDirect3DResource9 * PDIRECT3DRESOURCE9
Definition: d3d9.h:792
GLuint color
Definition: glext.h:6883
struct IDirect3DVertexBuffer9 * PDIRECT3DVERTEXBUFFER9
Definition: d3d9.h:1274
Definition: d3d8types.h:1506
interface IDirect3DDevice9 IDirect3DDevice9
Definition: d3d9.h:181
struct IDirect3DVolume9 * PDIRECT3DVOLUME9
Definition: d3d9.h:1463
interface IDirect3DVertexBuffer9 IDirect3DVertexBuffer9
Definition: d3d9.h:191
Definition: d3d8types.h:1468
Definition: glslang_tab.cpp:135
Definition: d3d9types.h:761
enum _D3DMULTISAMPLE_TYPE D3DMULTISAMPLE_TYPE
static UINT SDKVersion
Definition: d3d8_common.c:42
struct IDirect3DSwapChain9 * PDIRECT3DSWAPCHAIN9
Definition: d3d9.h:743
Format
Definition: vulkan.hpp:7957
Definition: glslang_tab.cpp:136
Definition: d3d8types.h:1358
#define X(a, b)
Definition: bba.c:185
Definition: d3d9types.h:154
Definition: glslang_tab.cpp:133
enum _D3DRENDERSTATETYPE D3DRENDERSTATETYPE
Definition: d3d8types.h:1549
struct IDirect3DResource9 * LPDIRECT3DRESOURCE9
Definition: d3d9.h:792
struct IDirect3DStateBlock9 * PDIRECT3DSTATEBLOCK9
Definition: d3d9.h:703
Type
Type of JSON value.
Definition: rapidjson.h:603
Definition: d3d8types.h:1523
interface IDirect3DBaseTexture9 IDirect3DBaseTexture9
Definition: d3d9.h:187
Definition: d3d8types.h:1492
Definition: d3d8types.h:1455
Definition: d3d9types.h:174
enum _D3DTRANSFORMSTATETYPE D3DTRANSFORMSTATETYPE
Definition: d3d9types.h:100
enum _D3DQUERYTYPE D3DQUERYTYPE
enum _D3DBACKBUFFER_TYPE D3DBACKBUFFER_TYPE
interface IDirect3DStateBlock9 IDirect3DStateBlock9
Definition: d3d9.h:182
Definition: d3d8types.h:1585
struct IDirect3DCubeTexture9 * PDIRECT3DCUBETEXTURE9
Definition: d3d9.h:1197
GLboolean GLboolean GLboolean GLboolean a
Definition: glext.h:6844
Definition: d3d8types.h:1538
enum _D3DSAMPLERSTATETYPE D3DSAMPLERSTATETYPE
Definition: d3d8types.h:1513