Class: WMI::Win32_DeviceChangeEvent

Inherits:
Base
  • Object
show all
Defined in:
lib/Win32_DeviceChangeEvent.rb

Overview

Win32_DeviceChangeEvent クラスは、コンピュータ システムのデバイスの追加、削除、変更によるデバイスの変更イベントを表します。これはハードウェア構成の変更 (ドッキングおよびドッキングの解除)、ハードウェア状態、または新しくマップされたデバイス (ネットワーク ドライブの割り当て) を含みます。例、WM_DEVICECHANGE メッセージが送られて、デバイスが変更されました。

Instance Attribute Summary (collapse)

Method Summary

Methods inherited from Base

#AddRef, #AssociatorsAsync_, #Associators_, #Clone_, #CompareTo_, #DeleteAsync_, #Delete_, #Derivation_, #ExecMethodAsync_, #ExecMethod_, #GetIDsOfNames, #GetObjectText_, #GetText_, #GetTypeInfo, #GetTypeInfoCount, #InstancesAsync_, #Instances_, #Invoke, #Methods_, #Path_, #Properties_, #PutAsync_, #Put_, #Qualifiers_, #QueryInterface, #ReferencesAsync_, #References_, #Refresh_, #Release, #Security_, #SetFromText_, #SpawnDerivedClass_, #SpawnInstance_, #SubclassesAsync_, #Subclasses_, #SystemProperties_

Instance Attribute Details

- (uint16) EventType (readonly)

EventType プロパティにより、どの種類のデバイスの変更通知イベントが発生するかが示されます。

Returns:

  • (uint16)

    EventType



7
8
9
# File 'lib/Win32_DeviceChangeEvent.rb', line 7

def EventType
  @EventType
end