The IDirect3D interface supports the use of execute buffers. It is provided for compatibility with existing code. New applications should use the IDirect3D3 interface (see IDirect3D3 Interface).
If your application uses execute buffers, it must obtain a pointer to the IDirect3D interface from a DirectDraw object using the QueryInterface method.