Here is their Vtable indexes for d3d.
(I don't know shit about coding, just thought this may help some guys)
D3D 8
QueryInterface // 0 AddRef // 1 Release // 2 TestCooperativeLevel // 3 GetAvailableTextureMem // 4 ResourceManagerDiscardBytes // 5 GetDirect3D // 6 GetDeviceCaps // 7 GetDisplayMode // 8 GetCreationParameters // 9 SetCursorProperties // 10 SetCursorPosition // 11 ShowCursor // 12 CreateAdditionalSwapChain // 13 Reset // 14 Present // 15 GetBackBuffer // 16 GetRasterStatus // 17 SetGammaRamp // 18 GetGammaRamp // 19 CreateTexture // 20 CreateVolumeTexture // 21 CreateCubeTexture // 22 CreateVertexBuffer // 23 CreateIndexBuffer // 24 CreateRenderTarget // 25 CreateDepthStencilSurface // 26 CreateImageSurface // 27 CopyRects // 28 UpdateTexture // 29 GetFrontBuffer // 30 SetRenderTarget // 31 GetRenderTarget // 32 GetDepthStencilSurface // 33 BeginScene // 34 EndScene // 35 Clear // 36 SetTransform // 37 GetTransform // 38 MultiplyTransform // 39 SetViewport // 40 GetViewport // 41 SetMaterial // 42 GetMaterial // 43 SetLight // 44 GetLight // 45 LightEnable // 46 GetLightEnable // 47 SetClipPlane // 48 GetClipPlane // 49 SetRenderState // 50 GetRenderState // 51 BeginStateBlock // 52 EndStateBlock // 53 ApplyStateBlock // 54 CaptureStateBlock // 55 DeleteStateBlock // 56 CreateStateBlock // 57 SetClipStatus // 58 GetClipStatus // 59 GetTexture // 60 SetTexture // 61 GetTextureStageState // 62 SetTextureStageState // 63 ValidateDevice // 64 GetInfo // 65 SetPaletteEntries // 66 GetPaletteEntries // 67 SetCurrentTexturePalette // 68 GetCurrentTexturePalette // 69 DrawPrimitive // 70 DrawIndexedPrimitive // 71 DrawPrimitiveUP // 72 DrawIndexedPrimitiveUP // 73 ProcessVertices // 74 CreateVertexShader // 75 SetVertexShader // 76 GetVertexShader // 77 DeleteVertexShader // 78 SetVertexShaderConstant // 79 GetVertexShaderConstant // 80 GetVertexShaderDeclaration // 81 GetVertexShaderFunction // 82 SetStreamSource // 83 GetStreamSource // 84 SetIndices // 85 GetIndices // 86 CreatePixelShader // 87 SetPixelShader // 88 GetPixelShader // 89 DeletePixelShader // 90 SetPixelShaderConstant // 91 GetPixelShaderConstant // 92 GetPixelShaderFunction // 93 DrawRectPatch // 94 DrawTriPatch // 95 DeletePatch // 96
D3D 9
QueryInterface // 0 AddRef // 1 Release // 2 TestCooperativeLevel // 3 GetAvailableTextureMem // 4 EvictManagedResources // 5 GetDirect3D // 6 GetDeviceCaps // 7 GetDisplayMode // 8 GetCreationParameters // 9 SetCursorProperties // 10 SetCursorPosition // 11 ShowCursor // 12 CreateAdditionalSwapChain // 13 GetSwapChain // 14 GetNumberOfSwapChains // 15 Reset // 16 Present // 17 GetBackBuffer // 18 GetRasterStatus // 19 SetDialogBoxMode // 20 SetGammaRamp // 21 GetGammaRamp // 22 CreateTexture // 23 CreateVolumeTexture // 24 CreateCubeTexture // 25 CreateVertexBuffer // 26 CreateIndexBuffer // 27 CreateRenderTarget // 28 CreateDepthStencilSurface // 29 UpdateSurface // 30 UpdateTexture // 31 GetRenderTargetData // 32 GetFrontBufferData // 33 StretchRect // 34 ColorFill // 35 CreateOffscreenPlainSurface // 36 SetRenderTarget // 37 GetRenderTarget // 38 SetDepthStencilSurface // 39 GetDepthStencilSurface // 40 BeginScene // 41 EndScene // 42 Clear // 43 SetTransform // 44 GetTransform // 45 MultiplyTransform // 46 SetViewport // 47 GetViewport // 48 SetMaterial // 49 GetMaterial // 50 SetLight // 51 GetLight // 52 LightEnable // 53 GetLightEnable // 54 SetClipPlane // 55 GetClipPlane // 56 SetRenderState // 57 GetRenderState // 58 CreateStateBlock // 59 BeginStateBlock // 60 EndStateBlock // 61 SetClipStatus // 62 GetClipStatus // 63 GetTexture // 64 SetTexture // 65 GetTextureStageState // 66 SetTextureStageState // 67 GetSamplerState // 68 SetSamplerState // 69 ValidateDevice // 70 SetPaletteEntries // 71 GetPaletteEntries // 72 SetCurrentTexturePalette // 73 GetCurrentTexturePalette // 74 SetScissorRect // 75 GetScissorRect // 76 SetSoftwareVertexProcessing // 77 GetSoftwareVertexProcessing // 78 SetNPatchMode // 79 GetNPatchMode // 80 DrawPrimitive // 81 DrawIndexedPrimitive // 82 DrawPrimitiveUP // 83 DrawIndexedPrimitiveUP // 84 ProcessVertices // 85 CreateVertexDeclaration // 86 SetVertexDeclaration // 87 GetVertexDeclaration // 88 SetFVF // 89 GetFVF // 90 CreateVertexShader // 91 SetVertexShader // 92 GetVertexShader // 93 SetVertexShaderConstantF // 94 GetVertexShaderConstantF // 95 SetVertexShaderConstantI // 96 GetVertexShaderConstantI // 97 SetVertexShaderConstantB // 98 GetVertexShaderConstantB // 99 SetStreamSource // 100 GetStreamSource // 101 SetStreamSourceFreq // 102 GetStreamSourceFreq // 103 SetIndices // 104 GetIndices // 105 CreatePixelShader // 106 SetPixelShader // 107 GetPixelShader // 108 SetPixelShaderConstantF // 109 GetPixelShaderConstantF // 110 SetPixelShaderConstantI // 111 GetPixelShaderConstantI // 112 SetPixelShaderConstantB // 113 GetPixelShaderConstantB // 114 DrawRectPatch // 115 DrawTriPatch // 116 DeletePatch // 117 CreateQuery // 118
ID3D11DeviceContext Vtable
d3d11.dll ID3D11DeviceContext Index: 0 | QueryInterface Index: 1 | Addref Index: 2 | Release Index: 3 | GetDevice Index: 4 | GetPrivateData Index: 5 | SetPrivateData Index: 6 | SetPrivateDataInterface Index: 7 | VSSetConstantBuffers Index: 8 | PSSetShaderResources Index: 9 | PSSetShader Index: 10 | SetSamplers Index: 11 | SetShader Index: 12 | DrawIndexed Index: 13 | Draw Index: 14 | Map Index: 15 | Unmap Index: 16 | PSSetConstantBuffer Index: 17 | IASetInputLayout Index: 18 | IASetVertexBuffers Index: 19 | IASetIndexBuffer Index: 20 | DrawIndexedInstanced Index: 21 | DrawInstanced Index: 22 | GSSetConstantBuffers Index: 23 | GSSetShader Index: 24 | IASetPrimitiveTopology Index: 25 | VSSetShaderResources Index: 26 | VSSetSamplers Index: 27 | Begin Index: 28 | End Index: 29 | GetData Index: 30 | GSSetPredication Index: 31 | GSSetShaderResources Index: 32 | GSSetSamplers Index: 33 | OMSetRenderTargets Index: 34 | OMSetRenderTargetsAndUnorderedAccessViews Index: 35 | OMSetBlendState Index: 36 | OMSetDepthStencilState Index: 37 | SOSetTargets Index: 38 | DrawAuto Index: 39 | DrawIndexedInstancedIndirect Index: 40 | DrawInstancedIndirect Index: 41 | Dispatch Index: 42 | DispatchIndirect Index: 43 | RSSetState Index: 44 | RSSetViewports Index: 45 | RSSetScissorRects Index: 46 | CopySubresourceRegion Index: 47 | CopyResource Index: 48 | UpdateSubresource Index: 49 | CopyStructureCount Index: 50 | ClearRenderTargetView Index: 51 | ClearUnorderedAccessViewUint Index: 52 | ClearUnorderedAccessViewFloat Index: 53 | ClearDepthStencilView Index: 54 | GenerateMips Index: 55 | SetResourceMinLOD Index: 56 | GetResourceMinLOD Index: 57 | ResolveSubresource Index: 58 | ExecuteCommandList Index: 59 | HSSetShaderResources Index: 60 | HSSetShader Index: 61 | HSSetSamplers Index: 62 | HSSetConstantBuffers Index: 63 | DSSetShaderResources Index: 64 | DSSetShader Index: 65 | DSSetSamplers Index: 66 | DSSetConstantBuffers Index: 67 | DSSetShaderResources Index: 68 | CSSetUnorderedAccessViews Index: 69 | CSSetShader Index: 70 | CSSetSamplers Index: 71 | CSSetConstantBuffers Index: 72 | VSGetConstantBuffers Index: 73 | PSGetShaderResources Index: 74 | PSGetShader Index: 75 | PSGetSamplers Index: 76 | VSGetShader Index: 77 | PSGetConstantBuffers Index: 78 | IAGetInputLayout Index: 79 | IAGetVertexBuffers Index: 80 | IAGetIndexBuffer Index: 81 | GSGetConstantBuffers Index: 82 | GSGetShader Index: 83 | IAGetPrimitiveTopology Index: 84 | VSGetShaderResources Index: 85 | VSGetSamplers Index: 86 | GetPredication Index: 87 | GSGetShaderResources Index: 88 | GSGetSamplers Index: 89 | OMGetRenderTargets Index: 90 | OMGetRenderTargetsAndUnorderedAccessViews Index: 91 | OMGetBlendState Index: 92 | OMGetDepthStencilState Index: 93 | SOGetTargets Index: 94 | RSGetState Index: 95 | RSGetViewports Index: 96 | RSGetScissorRects Index: 97 | HSGetShaderResources Index: 98 | HSGetShader Index: 99 | HSGetSamplers Index: 100 | HSGetConstantBuffers Index: 101 | DSGetShaderResources Index: 102 | DSGetShader Index: 103 | DSGetSamplers Index: 104 | DSGetConstantBuffers Index: 105 | CSGetShaderResources Index: 106 | CSGetUnorderedAccessViews Index: 107 | CSGetShader Index: 108 | CSGetSamplers Index: 109 | CSGetConstantBuffers Index: 110 | ClearState Index: 111 | Flush Index: 112 | GetType Index: 113 | GetContextFlags Index: 114 | FinishCommandList
d3d10_1core.dll ID3D10Device
Index: 0 | QueryInterface Index: 1 | AddRef Index: 2 | Release Index: 3 | VSSetConstantBuffers Index: 4 | PSSetShaderResources Index: 5 | PSSetShader Index: 6 | PSSetSamplers Index: 7 | VSSetShader Index: 8 | DrawIndexed Index: 9 | Draw Index: 10 | PSSetConstantBuffers Index: 11 | IASetInputLayout Index: 12 | IASetVertexBuffers Index: 13 | D0IASetIndexBuffer Index: 14 | DrawIndexedInstanced Index: 15 | DrawInstanced Index: 16 | GSSetConstantBuffers Index: 17 | GSSetShader Index: 18 | IASetPrimitiveTopology Index: 19 | VSSetShaderResources Index: 20 | VSSetSamplers Index: 21 | SetPredication Index: 22 | GSSetShaderResources Index: 23 | GSSetSamplers Index: 24 | OMSetRenderTargets Index: 25 | OMSetBlendState Index: 26 | OMSetDepthStencilState Index: 27 | SOSetTargets Index: 28 | DrawAuto Index: 29 | RSSetState Index: 30 | RSSetViewports Index: 31 | RSSetScissorRects Index: 32 | CopySubresourceRegion Index: 33 | CopyResource Index: 34 | UpdateSubresource Index: 35 | ClearRenderTargetView Index: 36 | ClearDepthStencilView Index: 37 | GenerateMips Index: 38 | ResolveSubresource Index: 39 | DVSGetConstantBuffers Index: 40 | PSGetShaderResources Index: 41 | PSGetShader Index: 42 | PSGetSamplers Index: 43 | VSGetShader Index: 44 | PSGetConstantBuffers Index: 45 | IAGetInputLayout Index: 46 | IAGetVertexBuffers Index: 47 | IAGetIndexBuffer Index: 48 | GSGetConstantBuffers Index: 49 | GSGetShader Index: 50 | IAGetPrimitiveTopology Index: 51 | VSGetShaderResources Index: 52 | VSGetSamplers Index: 53 | GetPredication Index: 54 | GSGetShaderResources Index: 55 | GSGetSamplers Index: 56 | OMGetRenderTargets Index: 57 | OMGetBlendState Index: 58 | OMGetDepthStencilState Index: 59 | SOGetTargets Index: 60 | RSGetState Index: 61 | RSGetViewports Index: 62 | RSGetScissorRects Index: 63 | GetDeviceRemovedReason Index: 64 | SetExceptionMode Index: 65 | GetExceptionMode Index: 66 | GetPrivateData Index: 67 | SetPrivateData Index: 68 | SetPrivateDataInterface Index: 69 | ClearState Index: 70 | Flush Index: 71 | CreateBuffer Index: 72 | CreateTexture1D Index: 73 | CreateTexture2D Index: 74 | CreateTexture3D Index: 75 | CreateShaderResourceView Index: 76 | CreateRenderTargetView Index: 77 | CreateDepthStencilView Index: 78 | CreateInputLayout Index: 79 | CreateVertexShader Index: 80 | CreateGeometryShader Index: 81 | CreateGeometryShaderWithStreamOutput Index: 82 | CreatePixelShader Index: 83 | CreateBlendState Index: 84 | CreateDepthStencilState Index: 85 | CreateRasterizerState Index: 86 | CreateSamplerState Index: 87 | CreateQuery Index: 88 | CreatePredicate Index: 89 | CreateCounter Index: 90 | CheckFormatSupport Index: 91 | CheckMultisampleQualityLevels Index: 92 | CheckCounterInfo Index: 93 | CheckCounter Index: 94 | GetCreationFlags Index: 95 | OpenSharedResource Index: 96 | SetTextFilterSize Index: 97 | GetTextFilterSize Index: 98 | CreateShaderResourceView1 Index: 99 | CreateBlendState1 Index: 100 | GetFeatureLevel
Comment