Share via


Buffer3D.Buffer3D(IntPtr,Buffer) Constructor (Microsoft.DirectX.DirectSound)

Initializes a new instance of the Buffer3D class.

Definition

Visual Basic Public Sub New( _
    ByVal lp As IntPtrLeave Site, _
    ByVal buff As Buffer _
)
C# public Buffer3D(
    IntPtrLeave Site lp,
    Buffer buff
);
C++ public:
 Buffer3D(
    IntPtrLeave Site lp,
    Bufferbuff
);
JScript public function Buffer3D(
    lp : IntPtrLeave Site,
    buff : Buffer
);

Parameters

lp System.IntPtr
Pointer to the unmanaged Component Object Model (COM) interface, IDirectSound3DBuffer8, which allows unmanaged COM clients to create an instance of the managed buffer class. Not supported.
buff Microsoft.DirectX.DirectSound.Buffer
A Buffer 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.