Microsoft DirectX 8.0 (C++) |
Retrieves the segment's toolgraph.
HRESULT GetGraph( IDirectMusicGraph** ppGraph );
If the method succeeds, the return value is S_OK.
If it fails, the method can return one of the following error values:
DMUS_E_NOT_FOUND |
E_POINTER |
If there is no graph in the segment, the method returns DMUS_E_NOT_FOUND.
The reference count of the toolgraph is incremented.
Header: Declared in dmusici.h.