Microsoft DirectX 8.0 (C++) |
Retrieves global values from the performance.
HRESULT GetGlobalParam( REFGUID rguidType, void* pParam, DWORD dwSize );
If the method succeeds, the return value is S_OK.
If it fails, the method can return one of the following error values:
E_INVALIDARG |
E_POINTER |
If SetGlobalParam has never been called for rguidType, the parameter might not be in the list of global data being handled by this performance, and the method might return E_INVALIDARG. In other words, do not assume that any parameter has a default value that can be retrieved by using GetGlobalParam.
Header: Declared in dmusici.h.
IDirectMusicPerformance8::SetGlobalParam, IDirectMusicPerformance8::GetParam, Performance Parameters