| Device.SetEventNotification Method | Language: | 
      
      
      Specifies an event that is to be set when the device state changes. It is also used to turn off event notification.
      Definition
      
        
          
            | Visual Basic | Public Sub SetEventNotification( _ ByVal deviceEvent As WaitHandle _
 )
 | 
          
            | C# | public void  SetEventNotification( WaitHandle deviceEvent
 );
 | 
          
            | C++ | public: void SetEventNotification(
 WaitHandle^ deviceEvent
 );
 | 
          
            | JScript | public function SetEventNotification( deviceEvent : WaitHandle
 );
 | 
        
      
      Parameters
      
        
      
      
      Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
      
        
          Feedback? Please provide us with your comments on this topic.
			
        
        
	   		For more help, visit the DirectX Developer Center