text: #pragma once
  
  namespace DX9Commands
  {
  	enum CommandsId
  	{
  		// IDirect3DDevice9 methods
  		idTestCooperativeLevel,
  		idGetAvailableTextureMem,
  		idEvictManagedResources,
  		idGetDirect3D,
  		idGetDeviceCaps,
  		idGetDisplayMode,
  		idGetCreationParameters,
  		idSetCursorProperties,
  		idSetCursorPosition,
  		idShowCursor,
  		idCreateAdditionalSwapChain,
  		idGetSwapChain,
  		idGetNumberOfSwapChains,
  		idReset,
  		idPresent,
  		idGetBackBuffer,
  		idGetRasterStatus,
  		idSetDialogBoxMode,
  		idSetGammaRamp,
  		idGetGammaRamp,
  		idCreateTexture,
  		idCreateVolumeTexture,
  		idCreateCubeTexture,
  		idCreateVertexBuffer,
  		idCreateIndexBuffer,
  		idCreateRenderTarget,
  		idCreateDepthStencilSurface,
  		idUpdateSurface,
  		idUpdateTexture,
  		idGetRenderTargetData,
  		idGetFrontBufferData,
  		idStretchRect,
  		idColorFill,
  		idCreateOffscreenPlainSurface,
  		idSetRenderTarget,
  		idGetRenderTarget,
  		idSetDepthStencilSurface,
  		idGetDepthStencilSurface,
  		idBeginScene,
  		idEndScene,
  		idClear,
  		idSetTransform,
  		idGetTransform,
  		idMultiplyTransform,
  		idSetViewport,
  		idGetViewport,
  		idSetMaterial,
  		idGetMaterial,
  		idSetLight,
  		idGetLight,
  		idLightEnable,
  		idGetLightEnable,
  		idSetClipPlane,
  		idGetClipPlane,
  		idSetRenderState,
  		idGetRenderState,
  		idCreateStateBlock,
  		idBeginStateBlock,
  		idEndStateBlock,
  		idSetClipStatus,
  		idGetClipStatus,
  		idGetTexture,
  		idSetTexture,
  		idGetTextureStageState,
  		idSetTextureStageState,
  		idGetSamplerState,
  		idSetSamplerState,
  		idValidateDevice,
  		idSetPaletteEntries,
  		idGetPaletteEntries,
  		idSetCurrentTexturePalette,
  		idGetCurrentTexturePalette,
  		idSetScissorRect,
  		idGetScissorRect,
  		idSetSoftwareVertexProcessing,
  		idGetSoftwareVertexProcessing,
  		idSetNPatchMode,
  		idGetNPatchMode,
  		idDrawPrimitive,
  		idDrawIndexedPrimitive,
  		idDrawPrimitiveUP,
  		idDrawIndexedPrimitiveUP,
  		idProcessVertices,
  		idCreateVertexDeclaration,
  		idSetVertexDeclaration,
  		idGetVertexDeclaration,
  		idSetFVF,
  		idGetFVF,
  		idCreateVertexShader,
  		idSetVertexShader,
  		idGetVertexShader,
  		idSetVertexShaderConstantF,
  		idGetVertexShaderConstantF,
  		idSetVertexShaderConstantI,
  		idGetVertexShaderConstantI,
  		idSetVertexShaderConstantB,
  		idGetVertexShaderConstantB,
  		idSetStreamSource,
  		idGetStreamSource,
  		idSetStreamSourceFreq,
  		idGetStreamSourceFreq,
  		idSetIndices,
  		idGetIndices,
  		idCreatePixelShader,
  		idSetPixelShader,
  		idGetPixelShader,
  		idSetPixelShaderConstantF,
  		idGetPixelShaderConstantF,
  		idSetPixelShaderConstantI,
  		idGetPixelShaderConstantI,
  		idSetPixelShaderConstantB,
  		idGetPixelShaderConstantB,
  		idDrawRectPatch,
  		idDrawTriPatch,
  		idDeletePatch,
  		idCreateQuery,
  
  		// IDirect3DDevice9Ex methods
  		idSetConvolutionMonoKernel,
  		idComposeRects,
  		idPresentEx,
  		idGetGPUThreadPriority,
  		idSetGPUThreadPriority,
  		idWaitForVBlank,
  		idCheckResourceResidency,
  		idSetMaximumFrameLatency,
  		idGetMaximumFrameLatency,
  		idCheckDeviceState,
  		idCreateRenderTargetEx,
  		idCreateOffscreenPlainSurfaceEx,
  		idCreateDepthStencilSurfaceEx,
  		idResetEx,
  		idGetDisplayModeEx,
  
  		idCreateDevice,
  		idDestroyDevice,
  		idBeginDeviceState,
  		idEndDeviceState,
  		idBeginDumpResources,
  		idEndDumpResources,
  		idGetSurfaceLevel,
  		idGetCubeMapSurface,
  		idGetVolumeLevel,
  		idSetDeviceGammaRamp,
  		idResourceUpdateBuffer,
  		idResourceUpdateTexture2,
  		idResourceUpdateCubeTexture2,
  		idResourceUpdateVolumeTexture,
  		idStateBlock_Apply,
  		idStateBlock_Capture,
  
  		idCommandsCount
  	};
  }
  
  