天嵌 ARM开发社区

 找回密码
 注册
查看: 1803|回复: 0

请教WINCE的OV9650问题

[复制链接]
dr_pinocchio 发表于 2011-1-25 10:24:04 | 显示全部楼层 |阅读模式
敬爱的版主,
我在调试OV9650的时候在C0V9650_TestDlg:lay()里添加了这一行代码,编辑就会报错
代码: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.

                                                                                                      Frominocchio
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号 )

GMT+8, 2024-5-16 21:34 , Processed in 1.062500 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表