Microsoft DirectX 9.0 SDK Update (Summer 2004) |
IDirectMusicSegment8::SetGraph
The SetGraph method assigns a toolgraph to the segment.
Syntax
HRESULT SetGraph(
IDirectMusicGraph* pGraph
);
Parameters
pGraph
Toolgraph pointer. Can be set to NULL to clear the segment graph.
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 toolgraph are deleted.
The graph's reference count is incremented, so it is safe to release the original reference.
Requirements
Header: Declared in dmusici.h.
See Also
© 2004 Microsoft Corporation. All rights reserved.