Microsoft DirectX 9.0 SDK Update (October 2004)

Buffer3D.Buffer3D Constructor

Language:

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

Initializes a new instance of the Buffer3D class.

Definition

Visual Basic .NET Public Sub New( _
    ByVal lp As IntPtr, _
    ByVal buff As Buffer _
)
C# public Buffer3D(
    IntPtr lp,
    Buffer buff
);
Managed C++ public: Buffer3D(
    IntPtr lp,
    Buffer *buff
);
JScript .NET public function Buffer3D(
    lp : IntPtr,
    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
ArgumentException Leave Site An invalid parameter was passed to the called method.
ArgumentNullException Leave Site One or more of the parameters is null.


© 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