|
|
|
IDirectSoundFXChorus8 Interface |
|
' ***************************************************************************************
' IDirectSoundFXChorus8 Interface
' The IDirectSoundFXChorus8 interface is used to set and retrieve effect parameters on a
' buffer that supports chorus.
' This interface is obtained by calling IDirectSoundBuffer8::GetObjectInPath on the buffer
' that supports the effect.
' ***************************************************************************************
' ***************************************************************************************
'DECLARE_INTERFACE_(IDirectSoundFXChorus, IUnknown)
'{
' // IUnknown methods
' 0. STDMETHOD(QueryInterface) (THIS_ REFIID, LPVOID *) PURE;
' 1. STDMETHOD_(ULONG,AddRef) (THIS) PURE;
' 2. STDMETHOD_(ULONG,Release) (THIS) PURE;
' // IDirectSoundFXChorus methods
' 3. STDMETHOD(SetAllParameters) (THIS_ LPCDSFXChorus pcDsFxChorus) PURE;
' 4. STDMETHOD(GetAllParameters) (THIS_ LPDSFXChorus pDsFxChorus) PURE;
'};
' ***************************************************************************************
' ***************************************************************************************
' SetAllParameters
' The GetAllParameters method retrieves the flange parameters of a buffer.
' HRESULT SetAllParameters(
' LPCDSFXChorus pcDsFxChorus
' );
' ***************************************************************************************
FUNCTION IDirectSoundFXChorus8_SetAllParameters ALIAS "IDirectSoundFXChorus8_SetAllParameters" ( _
BYVAL pthis AS DWORD PTR, BYREF pcDsFxChorus AS DSFXChorus) EXPORT AS LONG
LOCAL HRESULT AS LONG
IF pthis = %NULL THEN FUNCTION = %E_POINTER : EXIT FUNCTION
CALL DWORD @@pthis[3] USING IDirectSoundFXChorus8_SetAllParameters(pthis, pcDsFxChorus) TO HRESULT
FUNCTION = HRESULT
END FUNCTION
' ***************************************************************************************
' ***************************************************************************************
' GetAllParameters
' The GetAllParameters method retrieves the chorus parameters of a buffer.
' HRESULT GetAllParameters(
' LPDSFXChorus pDsFxChorus
' );
' ***************************************************************************************
FUNCTION IDirectSoundFXChorus8_GetAllParameters ALIAS "IDirectSoundFXChorus8_GetAllParameters" ( _
BYVAL pthis AS DWORD PTR, BYREF pDsFxChorus AS DSFXChorus) EXPORT AS LONG
LOCAL HRESULT AS LONG
IF pthis = %NULL THEN FUNCTION = %E_POINTER : EXIT FUNCTION
CALL DWORD @@pthis[4] USING IDirectSoundFXChorus8_GetAllParameters(pthis, pDsFxChorus) TO HRESULT
FUNCTION = HRESULT
END FUNCTION
' ***************************************************************************************
|
Page last updated on Wednesday, 15 March 2006 01:23:47 +0100