Search This Blog

Wednesday, October 26, 2011

How do I hide the "Devices and Printers" of hardware component in Windows 7

For example: want to remove the camera device in devices and printers
Just need to add red part in device ASL code.

Device(PRT3) {  
     Name(_ADR, 0x00000003)
               Name(_UPC, package() {
                                       0x00,
                                              0xFF,
                              0x00000000,
                                           0x00000000
                })
                //
                // Using method _RMV remove component
                //
                Method(_RMV,0)
                {
                     Return(0x00)  // 0 : Unremovable 1: Removable
                }
          }

No comments:

Post a Comment