Copyright © 2006-2016 MultiMedia Soft

VerifyDirectSoundInputDevice method

Previous pageReturn to chapter overviewNext page

Remarks

 

Verifies if the given DirectSound input device can be used for recording.

 

 

Syntax

 

[Visual Basic]

Public Function VerifyDirectSoundInputDevice (

nInputDevice as Int16

) as enumErrorCodes


 

[C#]

public enumErrorCodes VerifyDirectSoundInputDevice (

Int16 nInputDevice

);


 

[C++]

public: enumErrorCodes VerifyDirectSoundInputDevice (

Int16 nInputDevice

);


 

 

Parameter

Description

 

 

nInputDevice

Number representing the zero-based index of the input device

 

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred, check the LastError property value in order to see the error code meaning

enumErrorCodes.ERR_NOERROR (0)

The method call was successful.