Capture.Capture(IntPtr) Constructor (Microsoft.DirectX.DirectSound)

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

Definition

Visual Basic Public Sub New( _
    ByVal lp As IntPtrLeave Site _
)
C# public Capture(
    IntPtrLeave Site lp
);
C++ public:
 Capture(
    IntPtrLeave Site lp
);
JScript public function Capture(
    lp : IntPtrLeave Site
);

Parameters

lp System.IntPtr
Pointer to the unmanaged Component Object Model (COM) interface, IDirectSoundCapture8, which allows unmanaged COM clients to create an instance of the managed Capture class. Not supported.

Remarks

Exceptions

ArgumentExceptionLeave Site

An invalid parameter was passed to the called method.

OutOfMemoryExceptionLeave Site

Microsoft DirectSound could not allocate sufficient memory to complete the call.

AllocatedException

The request failed because resources, such as a priority level, were already in use by another caller.

NoAggregationException

The object does not support aggregation.