Share via


Buffer3D.Buffer3D(SecondaryBuffer) Constructor (Microsoft.DirectX.DirectSound)

Initializes a new instance of the Buffer3D class.

Definition

Visual Basic Public Sub New( _
    ByVal lp As SecondaryBuffer _
)
C# public Buffer3D(
    SecondaryBuffer lp
);
C++ public:
 Buffer3D(
    SecondaryBufferlp
);
JScript public function Buffer3D(
    lp : SecondaryBuffer
);

Parameters

lp Microsoft.DirectX.DirectSound.SecondaryBuffer
A SecondaryBuffer object to associate with a new instance of the Buffer3D.

Remarks

Exceptions

ArgumentExceptionLeave Site

An invalid parameter was passed to the called method.

ArgumentNullExceptionLeave Site

One or more of the parameters is null.