Resources for IT Professionals > Forums Home > Windows Academic Forums > Windows Academic: Kernel > No implementation of IoInvalidateDeviceRelations in WRK
Ask a questionAsk a question
 

General DiscussionNo implementation of IoInvalidateDeviceRelations in WRK

  • Thursday, February 05, 2009 9:26 AMdkg0414 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Does anybody having any idea where IoInvalidateDeviceRelations implementation is in WRK code.

    I can't find it code base.

    Regards
    Deepak

All Replies

  • Thursday, February 05, 2009 9:32 PMA. Schmidt Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi Deepak,

    the WRK does not contain the implementation of IoInvalidateDeviceRelations in its code base. It is part of the pre-built static library ntoswrk.lib that is shipped with the WRK. You can find this library in the base\ntos\BUILD\PREBUILT\<architecture> directory.

    Regards,
    Alex

    http://www.dcl.hpi.uni-potsdam.de/research/WRK
  • Saturday, February 07, 2009 7:26 AMdkg0414 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Alex,

    Thanks for the response.
    Your response is really appreciated.

    I wanted to some thing about IoInvalidateDeviceRelations implementations.

    I am surprised why they have not provided sources some of these kernel functions.
    I see alot of other functions too in pre-build static library.

    When they have provided the kernel sources in the form of WRK then why to hide the some of the pnp manager's implementations.

    Is there any other resource from where I can see get it's implementation.

    Regards
    Deepak


  • Sunday, February 08, 2009 12:53 PMA. Schmidt Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Deepak,

    Of course, we all want to see the complete code base :)

    As far as I remember, the main idea for the WRK is to support teaching OS curses and thus complementing the Microsoft Windows Internals Curriculum Resource Kit (CRK). According to this, I would agree that dealing with Windows PnP Manager is a little overkill for undergraduates. However, there has been no policy published so far that states what becomes part of the WRK and what doesn't.

    As for your last question: The only officially available information about IoInvalidateDeviceRelations is contained in the Windows Driver Kit (WDK): http://msdn.microsoft.com/en-us/library/ms801471.aspx. But of course, there is no source code available there ...

    Maybe, we should start a new thread, a call for features, proposing a wishlist for prospective features of the next version of the WRK :)

    Regards,
    Alex



    http://www.dcl.hpi.uni-potsdam.de/research/WRK
  • Sunday, February 08, 2009 6:29 PMdkg0414 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Alex,

    Thanks a lot.

    BTW, PnP Manager (along with user mode PnP and confgmgr) is the one of the most interesting part of Windows which makes it different
    from it's counter protected mode operating systems.
    Students should learn more about it.

    Regards
    Deepak