
Machine Vision Camera SDK (C) Developer Guide
4.1.11 MV_CC_CloseDevice
Shut down the device.
API Definition
int MV_CC_CloseDevice(
void *handle
);
Parameters
handle
[IN] Device handle, which is returned by MV_CC_CreateHandle or
MV_CC_CreateHandleWithoutLog .
Return Value
Return MV_OK(0) on success, and return Error Code on failure.
Remarks
After connecting to device via calling API MV_CC_OpenDevice , you can call this API to disconnect
and release resources.
See Also
MV_CC_OpenDevice
4.1.12 MV_CC_GetDeviceInfo
Get the device information.
API Definition
int MV_CC_GetDeviceInfo(
void
*handle,
MV_CC_DEVICE_INFO *pstDevInfo
);
Parameters
handle
[IN] Device handle, which is returned by MV_CC_CreateHandle or
MV_CC_CreateHandleWithoutLog .
pstDevInfo
[OUT] Device information, see the structure MV_CC_DEVICE_INFO for details.
27



































































































































































































































































































































































































