AioExit

Function

Terminates device.

 

Format

Ret = AioExit ( Id )

 

Parameter

Id [VB.NET:Short C,C++:short C#:short]

Specifies the device ID retrieved from AioInit.

 

Return Value

Ret [VB.NET:Integer C,C++:long C#:int]

Define

Value

Description

AIO_ERR_SUCCESS

0

Normality completion

AIO_ERR_DLL_INVALID_ID

10001

Invalid ID was specified.

AIO_ERR_DLL_CLOSE_FILE

10004

Failed in the closing of the handle.

 

See also: Error Code Details

 

Remark

Perform this function when terminate application.

Releases all memory and threads used by the driver.

Device cannot be accessed after this function is performed, until AioInit function is performed.

 

Example

VB.NET   Ret = AioExit ( Id )

C,C++     Ret = AioExit ( Id );

C#          Ret = AIO.ccapaio.AioExit( Id );

 

See Also

AioInit