Microsoft DirectX 8.0 (C++)

IDirectMusicPerformance8::GetGraph

Retrieves the toolgraph of a performance.

HRESULT GetGraph(
  IDirectMusicGraph** ppGraph
);

Parameters

ppGraph
Address of a variable that receives a pointer to the toolgraph.

Return Values

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

Remarks

The reference count of the graph is incremented.

Requirements

  Header: Declared in dmusici.h.

See Also

IDirectMusicPerformance8::SetGraph, IDirectMusicSegment8::GetGraph, IDirectMusicPerformance8::SendPMsg