|
|
|
IDirectSoundFXParamEq8 Interface |
|
' ***************************************************************************************
' IDirectSoundFXParamEq8 Interface
' The IDirectSoundFXParamEq8 interface is used to set and retrieve effect parameters on a
' buffer that supports parametric equalizer effects.
' ***************************************************************************************
' ***************************************************************************************
'DECLARE_INTERFACE_(IDirectSoundFXParamEq, IUnknown)
'{
' // IUnknown methods
' 0. STDMETHOD(QueryInterface) (THIS_ REFIID, LPVOID *) PURE;
' 1. STDMETHOD_(ULONG,AddRef) (THIS) PURE;
' 2. STDMETHOD_(ULONG,Release) (THIS) PURE;
' // IDirectSoundFXParamEq methods
' 3. STDMETHOD(SetAllParameters) (THIS_ LPCDSFXParamEq pcDsFxParamEq) PURE;
' 4. STDMETHOD(GetAllParameters) (THIS_ LPDSFXParamEq pDsFxParamEq) PURE;
'};
' ***************************************************************************************
' ***************************************************************************************
' SetAllParameters
' The SetAllParameters method sets the parametric equalizer parameters of a buffer.
' HRESULT SetAllParameters(
' LPCDSFXParamEq pcDsFxParamEq
' );
' ***************************************************************************************
FUNCTION IDirectSoundFXParamEq8_SetAllParameters ALIAS "IDirectSoundFXParamEq8_SetAllParameters" ( _
BYVAL pthis AS DWORD PTR, BYREF pcDsFxParamEq AS DSFXParamEq) EXPORT AS LONG
LOCAL HRESULT AS LONG
IF pthis = %NULL THEN FUNCTION = %E_POINTER : EXIT FUNCTION
CALL DWORD @@pthis[3] USING IDirectSoundFXParamEq8_SetAllParameters(pthis, pcDsFxParamEq) TO HRESULT
FUNCTION = HRESULT
END FUNCTION
' ***************************************************************************************
' ***************************************************************************************
' GetAllParameters
' The GetAllParameters method retrieves the parametric equalizer parameters of a buffer.
' HRESULT GetAllParameters(
' LPDSFXParamEq pDsFxParamEq
' );
' ***************************************************************************************
FUNCTION IDirectSoundFXParamEq8_GetAllParameters ALIAS "IDirectSoundFXParamEq8_GetAllParameters" ( _
BYVAL pthis AS DWORD PTR, BYREF pDsFxParamEq AS DSFXParamEq) EXPORT AS LONG
LOCAL HRESULT AS LONG
IF pthis = %NULL THEN FUNCTION = %E_POINTER : EXIT FUNCTION
CALL DWORD @@pthis[4] USING IDirectSoundFXParamEq8_GetAllParameters(pthis, pDsFxParamEq) TO HRESULT
FUNCTION = HRESULT
END FUNCTION
' ***************************************************************************************
|
Page last updated on Wednesday, 15 March 2006 01:38:00 +0100