FullDuplex.FullDuplex Constructor
|
Language: |
Note: This documentation is preliminary and is subject to change.
Initializes a new instance of the FullDuplex class.
Definition
Visual Basic .NET |
Public Sub New( _ ByVal guidCapture As Guid, _ ByVal guidRender As Guid, _ ByVal captureDesc As CaptureBufferDescription, _ ByVal bufferDesc As BufferDescription, _ ByVal owner As Control, _ ByVal level As CooperativeLevel, _ ByRef captureBuffer As CaptureBuffer, _ ByRef buffer As SecondaryBuffer _ ) |
C# |
public FullDuplex( Guid guidCapture, Guid guidRender, CaptureBufferDescription captureDesc, BufferDescription bufferDesc, Control owner, CooperativeLevel level, ref CaptureBuffer captureBuffer, ref SecondaryBuffer buffer ); |
Managed C++ |
public: FullDuplex( Guid guidCapture, Guid guidRender, CaptureBufferDescription captureDesc, BufferDescription *bufferDesc, Control *owner, CooperativeLevel level, CaptureBuffer **captureBuffer, SecondaryBuffer **buffer ); |
JScript .NET |
public function FullDuplex( guidCapture : Guid, guidRender : Guid, captureDesc : CaptureBufferDescription, bufferDesc : BufferDescription, owner : Control, level : CooperativeLevel, captureBuffer : CaptureBuffer, buffer : SecondaryBuffer ); |
Parameters
Remarks
Exceptions
AllocatedException
|
The request failed because resources, such as a priority level, were already in use by another caller. |
ArgumentException  |
An invalid parameter was passed to the called method. |
InvalidCallException
|
The method call is invalid for the current state of this object. |
NoAggregationException
|
The object does not support aggregation. |
NoDriverException
|
No sound driver is available for use, or the given globally unique identifier (GUID) is not a valid Microsoft® DirectSound® device identifier (ID). |
OutOfMemoryException  |
DirectSound could not allocate sufficient memory to complete the call. |
© 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