Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Windos
win32.3rdparty
win32.directx.audio
win32.directx.ddk
win32.directx.graphics
win32.directx.input
win32.directx.managed
win32.directx.misc
win32.directx.networking
win32.directx.sdk
win32.directx.video
win32.dirx.grap.shaders
win32.gdi
win32.international
win32.kernel
win32.messaging
win32.mmedia
win32.networks
win32.ole
win32.rtc
win32.tapi
win32.tapi.beta
win32.tools
win32.ui
win32.wince
win32.wmi
windows.mediacenter
winfx.aero
winfx.announcements
winfx.avalon
winfx.collaboration
winfx.fundamentals
winfx.general
winfx.indigo
winfx.sdk
winfx.winfs
  
 
date: Fri, 29 Aug 2008 03:19:14 -0700 (PDT),    group: microsoft.public.win32.programmer.wmi        back       


Is it possible to capture plugging/unplugging events of Devices in WMI while the computer is ON   
hello,
         We wanted to know whether it is possible to capture events
like if a keyboard is removed while the computer is still ON. We tried
out a couple of classes like Win32_Keyboard (used C#) , but it gave
only static information i.e eventhough the keyboard was disconnected
the Win32_Keyboard class showed that it is connected.We also tried to
use some of the Event classes like Win32_DeviceChangeEvent but this
class also works for only USB devices like pendrives. Actually we are
using PS/2 keyboard and Mouse. Does WMI support the Events generated
by PS/2 devices?
                      We are also confused about a fact that,  whether
plugging and unplugging of a Keyboard is termed as Plug and Play? or
is it called as Hot plugging?  If one removes a Keyboard or a mouse
while the Computer is still ON, does the Windows Operating System
recieve some Hardware Event, if it gets such an event from where can
we get the details of such an Event.
date: Fri, 29 Aug 2008 03:19:14 -0700 (PDT)   author:   Eliza

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us