none
What is the use of Class ? RRS feed

Answers

  • There are no preprocessor directives in INF, nor is it declaring access since INF's do not access services.  If you install a driver with device manager, it will ask you what device setup class you are installing (or you can choose all) to allow you to be selective on the list of drivers for installation, this is the primary way things are seen by users.  This also is used for class co-installers so that you can add special steps to the installation.  See https://msdn.microsoft.com/en-us/library/windows/hardware/ff549491(v=vs.85).aspx for more info.


    Don Burn Windows Driver Consulting Website: http://www.windrvr.com

    • Marked as answer by Thomas Hopes Saturday, January 16, 2016 1:17 PM
    Saturday, January 16, 2016 1:12 PM
  • If the class is one you are defining i.e. not a system defined class such as NetService then a new key is created as HKLM\SYSTEM\CurrentControlSet\Control\Class\{xxx} where xxx is the ClassGuid.


    Don Burn Windows Driver Consulting Website: http://www.windrvr.com

    • Marked as answer by Thomas Hopes Saturday, January 16, 2016 2:36 PM
    Saturday, January 16, 2016 1:58 PM
  • AS HAS BEEN REPEATEDLY TOLD TO YOU, YOU HAVE TO USE AN INF TO INSTALL A DRIVER.


    Don Burn Windows Driver Consulting Website: http://www.windrvr.com

    Saturday, January 16, 2016 7:04 PM

All replies

  • Class and ClassGUID define the setup class of the device see https://msdn.microsoft.com/en-us/library/windows/hardware/ff553426(v=vs.85).aspxNetService includes network services, such as redirectors and servers.

      

    Don Burn Windows Driver Consulting Website: http://www.windrvr.com

    Saturday, January 16, 2016 12:46 PM
  • My Question this INF file What exactly is going to do with this class ? I mean the Implementation. 

    Is this is a pre processor directive ? or there the INF file declaring it to access Network services? 

    Saturday, January 16, 2016 1:04 PM
  • There are no preprocessor directives in INF, nor is it declaring access since INF's do not access services.  If you install a driver with device manager, it will ask you what device setup class you are installing (or you can choose all) to allow you to be selective on the list of drivers for installation, this is the primary way things are seen by users.  This also is used for class co-installers so that you can add special steps to the installation.  See https://msdn.microsoft.com/en-us/library/windows/hardware/ff549491(v=vs.85).aspx for more info.


    Don Burn Windows Driver Consulting Website: http://www.windrvr.com

    • Marked as answer by Thomas Hopes Saturday, January 16, 2016 1:17 PM
    Saturday, January 16, 2016 1:12 PM
  • To Do This Procedure is there any key or sub key Created in Registry Netservice ?
    Saturday, January 16, 2016 1:24 PM
  • If the class is one you are defining i.e. not a system defined class such as NetService then a new key is created as HKLM\SYSTEM\CurrentControlSet\Control\Class\{xxx} where xxx is the ClassGuid.


    Don Burn Windows Driver Consulting Website: http://www.windrvr.com

    • Marked as answer by Thomas Hopes Saturday, January 16, 2016 2:36 PM
    Saturday, January 16, 2016 1:58 PM
  • If i want it to Implement It Programmatically instead of using INF file how come i able to use this Class ? 

    Thanks 

    Saturday, January 16, 2016 6:32 PM
  • AS HAS BEEN REPEATEDLY TOLD TO YOU, YOU HAVE TO USE AN INF TO INSTALL A DRIVER.


    Don Burn Windows Driver Consulting Website: http://www.windrvr.com

    Saturday, January 16, 2016 7:04 PM
  • ok.......
    Saturday, January 16, 2016 7:13 PM
  • Don't Get Mad at me. i am just playing around and learning stuff i did not know. 

    Saturday, January 16, 2016 7:14 PM
  • The Anti malware / anti virus program begs me to ask this question where is their INF file to install their NDIS driver ? 

    Is it Embedded? Can you Show me Prove ? 

    Saturday, January 16, 2016 7:19 PM