
Frame Grabber SDK (Windows-C) Developer Guide
Return Value
Return MV_FG_SUCCESS on success, and return Error Code on failure.
Remarks
This API must be called before any frame grabber operations are performed. The internal list of frame
grabbers will only be updated when this API is called.
3.2.2 MV_FG_ReleaseTLayerResource
Release the frame grabber resource of the specified type.
API Definition
int MV_FG_ReleaseTLayerResource(
unsigned int nTLayerType
);
Parameters
nTLayerType
[IN] Frame grabber type. See Frame Grabber Type for details.
Return Value
Return MV_FG_SUCCESS on success, and return Error Code on failure.
Remarks
● Before releasing the library MvFGControl.dll, you need to call this API to release all frame grabbers
resources.
● All frame grabbers of the specified type should be disabled before calling this API.
● After disabling the used GigE Vision frame grabber, you need to call this API to release the CTI
resources of frame grabber. Otherwise, the GigE Vision frame grabber cannot be enabled by another
process since the CTI resources are occupied.
3.2.3 MV_FG_GetNumInterfaces
Get the number of frame grabbers.
API Definition
int MV_FG_GetNumInterfaces(
unsigned int *pnNumIfaces
);
Parameters
pnNumIfaces
[OUT] Number of frame grabbers.
Return Value
Return MV_FG_SUCCESS on success, and return Error Code on failure.
6





















































































































































