Copyright © 2006-2019 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]

control.VerifyDirectSoundInputDevice (

nInputDevice as integer

) as enumErrorCodes


 

[C++]

short control.VerifyDirectSoundInputDevice (

short nInputDevice

);


 

 

Parameter

Description

 

 

nInputDevice

Number representing the zero-based index of the DirectSound 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.