OGLESS
May 19th, 2006, 03:59 PM
Hi all,
I have the output from DeviceIOControl when trying to take a picture using a camera; something like this:
if (DeviceIoControl(Camera_FileHandle, IOCTL_OEM_CAM_CAPTURE, &vinFrame, sizeof(VINFRAMEINFO), Camera_CaptureYUV2, CAMERA_CAPTURE_SIZEBYTES, &cbRet, NULL))
return true;
}
I can also dump the output as a file, but how can I convert this into a picture ?
Thanks in advance,
OGLESS
I have the output from DeviceIOControl when trying to take a picture using a camera; something like this:
if (DeviceIoControl(Camera_FileHandle, IOCTL_OEM_CAM_CAPTURE, &vinFrame, sizeof(VINFRAMEINFO), Camera_CaptureYUV2, CAMERA_CAPTURE_SIZEBYTES, &cbRet, NULL))
return true;
}
I can also dump the output as a file, but how can I convert this into a picture ?
Thanks in advance,
OGLESS