Capture.Capture Constructor

Language:

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 IntPtr _
)
C# public Capture(
    IntPtr lp
);
C++ public:
 Capture(
    IntPtr lp
);
JScript public function Capture(
    lp : IntPtr
);

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
ArgumentException Leave Site An invalid parameter was passed to the called method.
OutOfMemoryException Leave 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.


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