Microsoft DirectX 9.0 SDK Update (October 2004)

GargleEffect.GargleEffect Constructor

Language:

Note: This documentation is preliminary and is subject to change.

Initializes a new instance of the GargleEffect class. This method supports the .NET Framework Infrastructure and is not intended to be used directly in your code.

Definition

Visual Basic .NET Public Sub New( _
    ByVal lp As IntPtr, _
    ByVal source As SecondaryBuffer _
)
C# public GargleEffect(
    IntPtr lp,
    SecondaryBuffer source
);
Managed C++ public: GargleEffect(
    IntPtr lp,
    SecondaryBuffer *source
);
JScript .NET public function GargleEffect(
    lp : IntPtr,
    source : SecondaryBuffer
);

Parameters

lp System.IntPtr. Pointer to the unmanaged Component Object Model (COM) interface, IDirectSoundFXGargle8 Interface, which allows unmanaged COM clients to create an instance of the managed GargleEffect class. Not supported.
source Microsoft.DirectX.DirectSound.SecondaryBuffer. The SecondaryBuffer that is using this effect.

Remarks

Obtain the GargleEffect object by calling on the GetEffects or GetObjectInPath method of the SecondaryBuffer object that is using the effect.

See Also


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center