|Microsoft DirectX 9.0|
The GetTool method retrieves a tool by index.
HRESULT GetTool( DWORD dwIndex, IDirectMusicTool** ppTool );
Zero-based index of the requested tool in the graph.
Address of a variable that receives a pointer to the tool.
If the method succeeds, the return value is S_OK.
If it fails, the method can return one of the error values shown in the following table.
The application is responsible for releasing the retrieved tool.
Header: Declared in dmusici.h.