Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Product Lifecycle
  3. Collaboration / Beta Testing
  4. A very urgent problem

A very urgent problem

Scheduled Pinned Locked Moved Collaboration / Beta Testing
helpquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    momer
    wrote on last edited by
    #1

    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

    P 1 Reply Last reply
    0
    • M momer

      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

      P Offline
      P Offline
      Paul Conrad
      wrote on last edited by
      #2

      Urgent is not the magic word here :)

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups