Class: WMI::Win32_SystemConfigurationChangeEvent

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

Overview

Win32_SystemConfigurationChangeEvent はシステムのデバイスの一覧が更新されていることを示すイベント クラスです。更新の意味: デバイスが追加されている、削除されている、または構成の変更です。このイベントは windows メッセージ ‘DevMgrRefreshOn<ComputerName>’ が送信されたときに開始されます。デバイスの一覧への完全な変更はメッセージに含まれません。このため、現在のシステム設定を取得するためにデバイスの更新が 要求されます。IRQ 設定、COM ポートおよび BIOS バージョンなどが、ほんの一部の影響されている構成の変更の例です。

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_SystemConfigurationChangeEvent.rb', line 7

def EventType
  @EventType
end