A very urgent problem
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
Hi! :) Now I wanna sent 4 bytes data by calling DeviceIoControl() from my directshow application to my streaming minidriver.First,I call the CreateFile() to get a device handle,and the minidriver can receive a IRP_MJ_CREATE IRP,and the CreateFile() returns nonzero.But when the app runs to DeviceIoControl(),the minidriver does not recieve any SRB.The DeviveIoControl() returns zero,and GetlastError() returns 50,which says:"The request is not supposed." I difined my own IOCTL command in my driver and app. What causes the error 50 or if there is any other way to send data to steaming minidriver from directshow application? Thanks for any help! :) momer