Microsoft DirectX 9.0 SDK Update (October 2004)

Capture.Capture Constructor

Language:

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

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 .NET Public Sub New( _
    ByVal lp As IntPtr _
)
C# public Capture(
    IntPtr lp
);
Managed C++ public: Capture(
    IntPtr lp
);
JScript .NET 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.


© 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