SmcWExit


Function

Performs ending process of the device.

 

Format

Ret = SmcWExit( Id )

 

Parameters

Id [ C, C++: short ] [ Python: ctypes.c_short ]

Specify the device ID retrieved by SmcWInit function.

 

Return Value

Ret [ C, C++: long ] [ Python: ctypes.c_long ]

0

Terminated normally

Non-zero

Terminated abnormally

See also: Error code details

 

Remarks

This function can be executed even if the device is in operation.

 

Example

C, C++

long Ret;

Ret = SmcWExit( Id );

 

Python

Ret = ctypes.c_long()

Ret.value = csmc.SmcWExit( Id )

 

See Also

SmcWinit