Buffer3D.Buffer3D Constructor

Language:

Initializes a new instance of the Buffer3D class.

Definition

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

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.SecondaryBuffer
A SecondaryBuffer object to associate with a new instance of the Buffer3D.

Remarks

Exceptions
ArgumentException Leave Site An invalid parameter was passed to the called method.
ArgumentNullException Leave Site One or more of the parameters is null.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

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