UC480IMAGEINFO ImageInfo;
// Read out camera timestamp
INT nRet = is_GetImageInfo( m_hCam,
m_lMemoryId, &ImageInfo, sizeof
(ImageInfo));
if (nRet == IS_SUCCESS)
{
unsigned long long u64TimestampDevice;
u64TimestampDevice = ImageInfo.u64TimestampDevice;
CString Str; // Read out timestamp in system time
Str.Format("%02d.%02d.%04d, %02d:%02d:%02d:%03d",
ImageInfo.TimestampSystem.wDay,
ImageInfo.TimestampSystem.wMonth,
ImageInfo.TimestampSystem.wYear,
ImageInfo.TimestampSystem.wHour,
ImageInfo.TimestampSystem.wMinute,
ImageInfo.TimestampSystem.wSecond,
ImageInfo.TimestampSystem.wMilliseconds);
DWORD dwTotalBuffers = ImageInfo.dwImageBuffers;
DWORD dwUsedBuffers = ImageInfo.dwImageBuffersInUse;
}