problem with IOCTL_KS_READ_STREAM

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi All,

In my project i want use define IOCTL_KS_READ_STREAM so i include ks.h, but
when i build project then it have alot of error following:
I have not know why, anybody can help me how to use IOCTL_KS_READ_STREAM,
Thanks very much.

David,

C:\WINDDK\3790~1.183>d:

D:\>cd D:\WORKSPACE\DriverFilter\USBCameraFilter\usbcamerafilter

D:\WORKSPACE\DriverFilter\USBCameraFilter\usbcamerafilter>build -zc
BUILD: Adding /Y to COPYCMD so xcopy ops won't hang.
BUILD: Using 2 child processes
BUILD: Object root set to: ==> objfre_wxp_x86
BUILD: Compile and Link for i386
BUILD: Examining d:\workspace\driverfilter\usbcamerafilter\usbcamerafilter
direc
tory for files to compile.
BUILD: Compiling (NoSync)
d:\workspace\driverfilter\usbcamerafilter\usbcamerafil
ter directory
1>Compiling - usbcamerafilter.c for i386
1>errors in directory
d:\workspace\driverfilter\usbcamerafilter\usbcamerafilter
1>c:\winddk\3790.1830\inc\wxp\ks.h(50) : error C2054: expected '(' to follow
'EX
TERN_C'
1>c:\winddk\3790.1830\inc\wxp\ks.h(50) : error C2085: 'CDECL' : not in
formal pa
rameter list
1>c:\winddk\3790.1830\inc\wxp\ks.h(50) : error C2146: syntax error : missing
','
before identifier 'GUID'
1>c:\winddk\3790.1830\inc\wxp\ks.h(50) : error C2146: syntax error : missing
','
before identifier 'GUID_NULL'
......


.



Relevant Pages

  • Re: hid.dll & VC++ 6
    ... but never to compile code based upon any current WDK. ... I'm tasked with writing an application to communicate with a USB card ... missing ')' before identifier 'HIDP_REPORT_TYPE' ... pointed it at the headers and libraries and it worked for a bit until i ...
    (microsoft.public.win32.programmer.kernel)
  • Re: hid.dll & VC++ 6
    ... but never to compile code based upon any current WDK. ... I'm tasked with writing an application to communicate with a USB card ... missing ')' before identifier 'HIDP_REPORT_TYPE' ... pointed it at the headers and libraries and it worked for a bit until i ...
    (microsoft.public.win32.programmer.kernel)
  • OpenGL and FreePascal
    ... I'm trying to compile the SDL-OpenGL sample program from the JEDI-SDL package but it doesn't work. ... dglGLX.pasError: Identifier not found "XID" ... dglGLX.pasError: Error in type definition ...
    (comp.lang.pascal.misc)
  • Re: Wizard #if, #define on VC++ 6.0 vs. Visual Studio
    ... exsiting code under VS 5.0 without many problems. ... This include statement creates some strange errors on compile, ... This IDD_XXXXXX dialog identifier is not new - there are no compile ... This is a dialog template ID. ...
    (microsoft.public.vc.mfc)
  • Re: hid.dll & VC++ 6
    ... VC6 is too old. ... Many of the headers in the current WDK will not compile ... missing ')' before identifier 'HIDP_REPORT_TYPE' ...
    (microsoft.public.win32.programmer.kernel)