IDirectMusicPerformance::SetGraph
This method replaces the performance's tool graph.
HRESULT SetGraph(
IDirectMusicGraph* pGraph
);
Parameters
- pGraph
Tool graph to be set. Can be set to NULL to clear the graph from the performance.
Return Values
If the method succeeds, the return value is S_OK.
If it fails, the method can return E_POINTER.
Remarks
Any messages flowing through tools in the current tool graph are deleted.
The graph's reference count is incremented by this method, so it is safe to release the original reference.
Requirements
OS Versions: Windows CE .NET 4.0 and Windows CE .NET 4.1.
Header: Dmusici.h.
Link Library: Dmusic.lib.
See Also
IDirectMusicPerformance::GetGraph | IDirectMusicPerformance::SendPMsg | IDirectMusicSegment::SetGraph
Last updated on Monday, April 12, 2004
© 1992-2002 Microsoft Corporation. All rights reserved.