Frame Grabber SDK (Windows-C) Developer Guide
3.3.4 MV_FG_OpenDevice
Open the device according to index.
API Definition
int MV_FG_OpenDevice(
IFHANDLE
hIface,
unsigned int
nIndex,
DEVHANDLE*
phDevice
);
Parameters
hIface
[IN] Frame grabber handle.
nIndex
[IN] Device index, which starts from 0.
phDevice
[OUT] Device handle.
Return Value
Return MV_FG_SUCCESS on success, and return Error Code on failure.
3.3.5 MV_FG_OpenDeviceByID
Open the device according to device ID.
API Definition
int MV_FG_OpenDevice(
IFHANDLE
hIface,
char
*pcDeviceID,
DEVHANDLE
*phDevice
);
Parameters
hIface
[IN] Frame grabber handle.
pcDeviceID
[IN] Device ID.
phDevice
[OUT] Device handle.
Return Value
Return MV_FG_SUCCESS on success, and return Error Code on failure.
11
    "