Microsoft DirectX 8.0 (C++) |
Replaces the performance's toolgraph.
HRESULT SetGraph( IDirectMusicGraph* pGraph );
If the method succeeds, the return value is S_OK.
If it fails, the method can return E_POINTER.
Any messages flowing through tools in the current toolgraph are deleted.
Because the graph's reference count is incremented by this method, it is safe to release the original reference.
Header: Declared in dmusici.h.
IDirectMusicSegment8::SetGraph, IDirectMusicPerformance8::GetGraph, IDirectMusicPerformance8::SendPMsg