|
敬爱的版主,
我在调试OV9650的时候在C0V9650_TestDlg::Play()里添加了这一行代码,编辑就会报错
代码:ret = DeviceIoControl(hCam,IOCTL_CAM_CONT,NULL,NULL,NULL,NULL,NULL,NULL);
报错:
1>正在编译...
1>OV9650_TestDlg.cpp
1>.\OV9650_TestDlg.cpp(236) : error C2065: 'FILE_DEVICE_VIDEO' : undeclared identifier
1>.\OV9650_TestDlg.cpp(236) : error C2065: 'METHOD_NEITHER' : undeclared identifier
1>.\OV9650_TestDlg.cpp(236) : error C2065: 'FILE_ANY_ACCESS' : undeclared identifier
1>.\OV9650_TestDlg.cpp(236) : error C3861: 'CTL_CODE': identifier not found
1>生成日志保存在“file://d:\Program Files\Microsoft Visual Studio 8\VC\Myproject\OV9650_Test\OV9650_Test\TQ2440A (ARMV4I)\Debug\BuildLog.htm”
1>OV9650_Test - 4 个错误,0 个警告
========== 生成: 0 已成功, 1 已失败, 0 最新, 0 已跳过 ==========
请问这是什么问题,去掉这一行就没事了,很困扰,请帮忙看看是怎么回事,THANKU.
From:Pinocchio |
|