Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Home NTDEV

Before Posting...

Please check out the Community Guidelines in the Announcements and Administration Category.

More Info on Driver Writing and Debugging


The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.


Check out The OSR Learning Library at: https://www.osr.com/osr-learning-library/


Recall: RE: Query - WDM streaming.

Mohammad_Iqbal_P_AMohammad_Iqbal_P_A Member Posts: 14
MOHAMMAD IQBAL would like to recall the message, "[ntdev] RE: Query - WDM
streaming.".

Comments

  • OSR_Community_UserOSR_Community_User Member Posts: 110,217
    Hi Iqbal,

    I can answer your question from a WDM audio point of view
    I don't know how right they are from the Video point of view

    >>>1) Is it possible to create a file object of the minidriver, and
    >>> contact it directly?
    Here is the rough architecture,
    the minidriver is a collection of miniports. say like a audio minidriver
    may contain wave miniport, midi miniport etc.
    You can directly enumerate nodes of the miniport objects from a directX
    application and make the pin connections between the nodes.
    So in effect if I want to play a wave file,
    If it is an DirectX enabled application, it can enumerate the nodes and make
    the connections,
    else if it is a plain application (with no directx support), the OS will
    make the connectivity for you.


    >>> 2) If a custom IOCTL is given to the stream class
    >>driver, will it be
    >>> passed down to the mini driver?
    >>>
    I believe this will be equivalent to defining yuor own custom property.
    You can still enumerate it from a DirectX enabled application,
    but I think , Application with no directX support will not be able to use
    the property.


    Warm Regards
    Jeseem S
    mailto: [email protected]
  • OSR_Community_UserOSR_Community_User Member Posts: 110,217
    > 1) Is it possible to create a file object of the minidriver, and
    > contact it directly?
    > 2) If a custom IOCTL is given to the stream class driver, will it be
    > passed down to the mini driver?

    Why not use the property sets and get/set property semantics provided by
    the KS? IIRC the property can be of any datatype including the complex
    structures.

    Max
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. Sign in or register to get started.

Upcoming OSR Seminars
OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!
Kernel Debugging 13-17 May 2024 Live, Online
Developing Minifilters 1-5 Apr 2024 Live, Online
Internals & Software Drivers 11-15 Mar 2024 Live, Online
Writing WDF Drivers 20-24 May 2024 Live, Online