Class: WMI::Win32_VideoController

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

Overview

Win32_VideoController クラスは、Win32 コンピュータ システムのビデオ コントローラの機能と管理の容量を表します。 例: ビデオ アダプタ製造元、チップセット バージョン、表示の解像度および色の数。

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

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) AcceleratorCapabilities (readonly)

ビデオ コントローラのグラフィックと 3D 機能を示す整数の配列です。

Returns:

  • (uint16)

    AcceleratorCapabilities



32
33
34
# File 'lib/Win32_VideoController.rb', line 32

def AcceleratorCapabilities
  @AcceleratorCapabilities
end

- (string) AdapterCompatibility (readonly)

AdapterCompatibility プロパティには、システムとの互換性を比較するためにこのコントローラに使用されている一般のチップ セットが含まれています。

Returns:

  • (string)

    AdapterCompatibility



37
38
39
# File 'lib/Win32_VideoController.rb', line 37

def AdapterCompatibility
  @AdapterCompatibility
end

- (string) AdapterDACType (readonly)

AdapterDACType プロパティには、デジタル アナログ変換器 (DAC) チップ名または ID の文字列が含まれています。

 

Returns:

  • (string)

    AdapterDACType



44
45
46
# File 'lib/Win32_VideoController.rb', line 44

def AdapterDACType
  @AdapterDACType
end

- (uint32) AdapterRAM (readonly)

AdapterRAM プロパティはビデオ アダプタのメモリ サイズを示します。

 

Returns:

  • (uint32)

    AdapterRAM



51
52
53
# File 'lib/Win32_VideoController.rb', line 51

def AdapterRAM
  @AdapterRAM
end

- (uint16) Availability (readonly)

デバイスの利用可能性と状態です。

 

Returns:

  • (uint16)

    Availability



61
62
63
# File 'lib/Win32_VideoController.rb', line 61

def Availability
  @Availability
end

- (string) CapabilityDescriptions (readonly)

Capabilities 配列で示されるビデオ アクセラレータ機能に詳細な説明を提供する自由形式の文字列の配列です。

  

Returns:

  • (string)

    CapabilityDescriptions



67
68
69
# File 'lib/Win32_VideoController.rb', line 67

def CapabilityDescriptions
  @CapabilityDescriptions
end

- (string) Caption (readonly)

Caption プロパティは、オブジェクトについての簡単な説明 (1 行分の文字列) です。

Returns:

  • (string)

    Caption



72
73
74
# File 'lib/Win32_VideoController.rb', line 72

def Caption
  @Caption
end

- (uint32) ColorTableEntries (readonly)

ColorTableEntries プロパティは、システムのカラー テーブルのサイズを示します。

 

Returns:

  • (uint32)

    ColorTableEntries



80
81
82
# File 'lib/Win32_VideoController.rb', line 80

def ColorTableEntries
  @ColorTableEntries
end

- (uint32) ConfigManagerErrorCode (readonly)

Win32 構成マネージャのエラー コードを示します。

 

Returns:

  • (uint32)

    ConfigManagerErrorCode



153
154
155
# File 'lib/Win32_VideoController.rb', line 153

def ConfigManagerErrorCode
  @ConfigManagerErrorCode
end

- (boolean) ConfigManagerUserConfig (readonly)

デバイスがユーザー定義の構成を使用しているかどうかを示します。

Returns:

  • (boolean)

    ConfigManagerUserConfig



158
159
160
# File 'lib/Win32_VideoController.rb', line 158

def ConfigManagerUserConfig
  @ConfigManagerUserConfig
end

- (string) CreationClassName (readonly)

CreationClassName は、インスタンスの作成で使用されるクラス名、またはサブクラス名を示します。

 

Returns:

  • (string)

    CreationClassName



164
165
166
# File 'lib/Win32_VideoController.rb', line 164

def CreationClassName
  @CreationClassName
end

- (uint32) CurrentBitsPerPixel (readonly)

各ピクセルの表示に使用されるビット数です。

Returns:

  • (uint32)

    CurrentBitsPerPixel



169
170
171
# File 'lib/Win32_VideoController.rb', line 169

def CurrentBitsPerPixel
  @CurrentBitsPerPixel
end

- (uint32) CurrentHorizontalResolution (readonly)

水平方向のピクセルの現在の数です。

Returns:

  • (uint32)

    CurrentHorizontalResolution



174
175
176
# File 'lib/Win32_VideoController.rb', line 174

def CurrentHorizontalResolution
  @CurrentHorizontalResolution
end

- (uint64) CurrentNumberOfColors (readonly)

現在の解像度でサポートされている色の数です。

Returns:

  • (uint64)

    CurrentNumberOfColors



179
180
181
# File 'lib/Win32_VideoController.rb', line 179

def CurrentNumberOfColors
  @CurrentNumberOfColors
end

- (uint32) CurrentNumberOfColumns (readonly)

文字モードでのこのビデオ コントローラの列数です。

 

Returns:

  • (uint32)

    CurrentNumberOfColumns



185
186
187
# File 'lib/Win32_VideoController.rb', line 185

def CurrentNumberOfColumns
  @CurrentNumberOfColumns
end

- (uint32) CurrentNumberOfRows (readonly)

文字モードでのこのビデオ コントローラの行数です。

 

Returns:

  • (uint32)

    CurrentNumberOfRows



191
192
193
# File 'lib/Win32_VideoController.rb', line 191

def CurrentNumberOfRows
  @CurrentNumberOfRows
end

- (uint32) CurrentRefreshRate (readonly)

CurrentRefreshRate プロパティにより、ビデオ コントローラがモニタの画像のリフレッシュを行うリフレッシュ レートが指定されます。

 

Returns:

  • (uint32)

    CurrentRefreshRate



197
198
199
# File 'lib/Win32_VideoController.rb', line 197

def CurrentRefreshRate
  @CurrentRefreshRate
end

- (uint16) CurrentScanMode (readonly)

現在のスキャン モードです。

 "インターレース"(

Returns:

  • (uint16)

    CurrentScanMode



203
204
205
# File 'lib/Win32_VideoController.rb', line 203

def CurrentScanMode
  @CurrentScanMode
end

- (uint32) CurrentVerticalResolution (readonly)

垂直方向のピクセルの現在の数です。

Returns:

  • (uint32)

    CurrentVerticalResolution



208
209
210
# File 'lib/Win32_VideoController.rb', line 208

def CurrentVerticalResolution
  @CurrentVerticalResolution
end

- (string) Description (readonly)

Description プロパティでオブジェクトの説明が提供されます。

Returns:

  • (string)

    Description



214
215
216
# File 'lib/Win32_VideoController.rb', line 214

def Description
  @Description
end

- (string) DeviceID (readonly)

DeviceID プロパティには、このビデオ コントローラの識別子 (コンピュータ システムに固有) が含まれています。

Returns:

  • (string)

    DeviceID



219
220
221
# File 'lib/Win32_VideoController.rb', line 219

def DeviceID
  @DeviceID
end

- (uint32) DeviceSpecificPens (readonly)

DeviceSpecificPens プロパティは、デバイス特有のペンの現在の番号を示します。

 0xffff 

Returns:

  • (uint32)

    DeviceSpecificPens



227
228
229
# File 'lib/Win32_VideoController.rb', line 227

def DeviceSpecificPens
  @DeviceSpecificPens
end

- (uint32) DitherType (readonly)

DitherType プロパティは、ビデオ コントローラの種類を示します。

 

Returns:

  • (uint32)

    DitherType



238
239
240
# File 'lib/Win32_VideoController.rb', line 238

def DitherType
  @DitherType
end

- (datetime) DriverDate (readonly)

DriverDate プロパティは、現在インストールされているビデオ ドライバが最後に変更された日付と時刻を示します。

Returns:

  • (datetime)

    DriverDate



243
244
245
# File 'lib/Win32_VideoController.rb', line 243

def DriverDate
  @DriverDate
end

- (string) DriverVersion (readonly)

DriverVersion プロパティはビデオ ドライバのバージョン番号を示します。

Returns:

  • (string)

    DriverVersion



248
249
250
# File 'lib/Win32_VideoController.rb', line 248

def DriverVersion
  @DriverVersion
end

- (boolean) ErrorCleared (readonly)

ErrorCleared は LastErrorCode プロパティで報告されたエラーが現在は消去されていることを示すブール値のプロパティです。

Returns:

  • (boolean)

    ErrorCleared



253
254
255
# File 'lib/Win32_VideoController.rb', line 253

def ErrorCleared
  @ErrorCleared
end

- (string) ErrorDescription (readonly)

ErrorDescription は LastErrorCode プロパティで記録されたエラーに関する情報および実行される可能性がある修正の情報を提供する自由形式の文字列です。

Returns:

  • (string)

    ErrorDescription



258
259
260
# File 'lib/Win32_VideoController.rb', line 258

def ErrorDescription
  @ErrorDescription
end

- (uint32) ICMIntent (readonly)

ICMIntent ( Image Color Matching Intent ) プロパティは、既定で使用される色整合の 3 つの方法 (または Intent) のいずれかの特定の値を示します。

 

Returns:

  • (uint32)

    ICMIntent



272
273
274
# File 'lib/Win32_VideoController.rb', line 272

def ICMIntent
  @ICMIntent
end

- (uint32) ICMMethod (readonly)

ICMMethod ( Image Color Matching Method ) プロパティにより、ICM の処理方法が指定されます。

 

Returns:

  • (uint32)

    ICMMethod



284
285
286
# File 'lib/Win32_VideoController.rb', line 284

def ICMMethod
  @ICMMethod
end

- (string) InfFilename (readonly)

InfFilename プロパティはビデオ アダプタの .INF ファイルへのパスを示します。

 

Returns:

  • (string)

    InfFilename



291
292
293
# File 'lib/Win32_VideoController.rb', line 291

def InfFilename
  @InfFilename
end

- (string) InfSection (readonly)

InfSection プロパティは、Win32 ビデオ情報が常駐する .INF ファイルのセクションを示します。

Returns:

  • (string)

    InfSection



296
297
298
# File 'lib/Win32_VideoController.rb', line 296

def InfSection
  @InfSection
end

- (datetime) InstallDate (readonly)

InstallDate プロパティは、オブジェクトがインストールされた日時を示す値です。

 

Returns:

  • (datetime)

    InstallDate



302
303
304
# File 'lib/Win32_VideoController.rb', line 302

def InstallDate
  @InstallDate
end

- (string) InstalledDisplayDrivers (readonly)

InstalledDisplayDrivers プロパティは、インストールされたディスプレイ デバイス ドライバの名前を示します。

Returns:

  • (string)

    InstalledDisplayDrivers



307
308
309
# File 'lib/Win32_VideoController.rb', line 307

def InstalledDisplayDrivers
  @InstalledDisplayDrivers
end

- (uint32) LastErrorCode (readonly)

論理デバイスで報告されたエラー コードが LastErrorCode によってキャプチャされます。

Returns:

  • (uint32)

    LastErrorCode



312
313
314
# File 'lib/Win32_VideoController.rb', line 312

def LastErrorCode
  @LastErrorCode
end

- (uint32) MaxMemorySupported (readonly)

サポートされているメモリの最大容量 (バイト) です。

Returns:

  • (uint32)

    MaxMemorySupported



317
318
319
# File 'lib/Win32_VideoController.rb', line 317

def MaxMemorySupported
  @MaxMemorySupported
end

- (uint32) MaxNumberControlled (readonly)

このコントローラでサポートされている直接アドレス可能なエンティティの最大数です。

 

Returns:

  • (uint32)

    MaxNumberControlled



323
324
325
# File 'lib/Win32_VideoController.rb', line 323

def MaxNumberControlled
  @MaxNumberControlled
end

- (uint32) MaxRefreshRate (readonly)

ビデオ コントローラの最大リフレッシュ レート (ヘルツ) です。

Returns:

  • (uint32)

    MaxRefreshRate



328
329
330
# File 'lib/Win32_VideoController.rb', line 328

def MaxRefreshRate
  @MaxRefreshRate
end

- (uint32) MinRefreshRate (readonly)

ビデオ コントローラの最小リフレッシュ レート (ヘルツ) です。

Returns:

  • (uint32)

    MinRefreshRate



333
334
335
# File 'lib/Win32_VideoController.rb', line 333

def MinRefreshRate
  @MinRefreshRate
end

- (boolean) Monochrome (readonly)

Monochrome プロパティは、グレースケールまたは色が表示イメージに使用されるかどうかを示します。

Returns:

  • (boolean)

    Monochrome



338
339
340
# File 'lib/Win32_VideoController.rb', line 338

def Monochrome
  @Monochrome
end

- (string) Name (readonly)

Name プロパティで、オブジェクトを認識するラベルを定義します。

 

Returns:

  • (string)

    Name



344
345
346
# File 'lib/Win32_VideoController.rb', line 344

def Name
  @Name
end

- (uint16) NumberOfColorPlanes (readonly)

現在のカラー プレーンです。

 

Returns:

  • (uint16)

    NumberOfColorPlanes



350
351
352
# File 'lib/Win32_VideoController.rb', line 350

def NumberOfColorPlanes
  @NumberOfColorPlanes
end

- (uint32) NumberOfVideoPages (readonly)

現在指定されている解像度と利用可能なメモリにサポートされているビデオ ページの数です。

Returns:

  • (uint32)

    NumberOfVideoPages



355
356
357
# File 'lib/Win32_VideoController.rb', line 355

def NumberOfVideoPages
  @NumberOfVideoPages
end

- (string) PNPDeviceID (readonly)

論理デバイスの Win32 プラグ アンド プレイ デバイス ID を示します。

 

Returns:

  • (string)

    PNPDeviceID



361
362
363
# File 'lib/Win32_VideoController.rb', line 361

def PNPDeviceID
  @PNPDeviceID
end

- (uint16) PowerManagementCapabilities (readonly)

論理デバイスの特定の電源関連機能を示します。

 0="不明"

Returns:

  • (uint16)

    PowerManagementCapabilities



372
373
374
# File 'lib/Win32_VideoController.rb', line 372

def PowerManagementCapabilities
  @PowerManagementCapabilities
end

- (boolean) PowerManagementSupported (readonly)

デバイスを電源管理できることを示すブール値です - 例、省電力状態にする。

 

Returns:

  • (boolean)

    PowerManagementSupported



380
381
382
# File 'lib/Win32_VideoController.rb', line 380

def PowerManagementSupported
  @PowerManagementSupported
end

- (uint16) ProtocolSupported (readonly)

制御された’ デバイスにアクセスするためにコントローラが使用するプロトコルです。

Returns:

  • (uint16)

    ProtocolSupported



385
386
387
# File 'lib/Win32_VideoController.rb', line 385

def ProtocolSupported
  @ProtocolSupported
end

- (uint32) ReservedSystemPaletteEntries (readonly)

ReservedSystemPaletteEntries プロパティは、システムのカラー テーブルで現在予約されているエントリ数を示します。

 

Returns:

  • (uint32)

    ReservedSystemPaletteEntries



393
394
395
# File 'lib/Win32_VideoController.rb', line 393

def ReservedSystemPaletteEntries
  @ReservedSystemPaletteEntries
end

- (uint32) SpecificationVersion (readonly)

SpecificationVersion プロパティは、(構造の基本になっている) 初期化データの仕様のバージョン番号を示します。

Returns:

  • (uint32)

    SpecificationVersion



398
399
400
# File 'lib/Win32_VideoController.rb', line 398

def SpecificationVersion
  @SpecificationVersion
end

- (string) Status (readonly)

Status プロパティはオブジェクトの現在の状態を示す文字列です。

 

Returns:

  • (string)

    Status



411
412
413
# File 'lib/Win32_VideoController.rb', line 411

def Status
  @Status
end

- (uint16) StatusInfo (readonly)

StatusInfo は、論理デバイスが有効 (値 = 3)、無効 (値 = 4) またはその他 (1) または不明 (2) 状態であるかどうかを示す文字列です。

 

Returns:

  • (uint16)

    StatusInfo



417
418
419
# File 'lib/Win32_VideoController.rb', line 417

def StatusInfo
  @StatusInfo
end

- (string) SystemCreationClassName (readonly)

スコーピング システムの CreationClassName です。

Returns:

  • (string)

    SystemCreationClassName



423
424
425
# File 'lib/Win32_VideoController.rb', line 423

def SystemCreationClassName
  @SystemCreationClassName
end

- (string) SystemName (readonly)

スコーピング システムの名前です。

Returns:

  • (string)

    SystemName



428
429
430
# File 'lib/Win32_VideoController.rb', line 428

def SystemName
  @SystemName
end

- (uint32) SystemPaletteEntries (readonly)

SystemPaletteEntries プロパティは、システムのカラー テーブルの現在のエントリ数を示します。

 

Returns:

  • (uint32)

    SystemPaletteEntries



435
436
437
# File 'lib/Win32_VideoController.rb', line 435

def SystemPaletteEntries
  @SystemPaletteEntries
end

- (datetime) TimeOfLastReset (readonly)

TimeOfLastReset プロパティは、このコントローラが最後にリセットされた日付と時刻を示します。

 

Returns:

  • (datetime)

    TimeOfLastReset



441
442
443
# File 'lib/Win32_VideoController.rb', line 441

def TimeOfLastReset
  @TimeOfLastReset
end

- (uint16) VideoArchitecture (readonly)

ビデオ アーキテクチュアです。

 

Returns:

  • (uint16)

    VideoArchitecture



447
448
449
# File 'lib/Win32_VideoController.rb', line 447

def VideoArchitecture
  @VideoArchitecture
end

- (uint16) VideoMemoryType (readonly)

ビデオ メモリの種類を示す整数列挙です。

Returns:

  • (uint16)

    VideoMemoryType



452
453
454
# File 'lib/Win32_VideoController.rb', line 452

def VideoMemoryType
  @VideoMemoryType
end

- (uint16) VideoMode (readonly)

現在のビデオ モードです。

Returns:

  • (uint16)

    VideoMode



457
458
459
# File 'lib/Win32_VideoController.rb', line 457

def VideoMode
  @VideoMode
end

- (string) VideoModeDescription (readonly)

VideoModeDescription プロパティは、ビデオ コントローラの現在の解像度、色、およびスキャン モード設定を示します。

 

Returns:

  • (string)

    VideoModeDescription



464
465
466
# File 'lib/Win32_VideoController.rb', line 464

def VideoModeDescription
  @VideoModeDescription
end

- (string) VideoProcessor (readonly)

ビデオ プロセッサ/コントローラを説明している自由形式の文字列です。

Returns:

  • (string)

    VideoProcessor



469
470
471
# File 'lib/Win32_VideoController.rb', line 469

def VideoProcessor
  @VideoProcessor
end

Instance Method Details

- (uint32) Reset

論理デバイスのリセットを要求します。 要求が正常に実行された場合、返される値は 0 で、要求がサポートされない場合は 1 です。 また、エラーが発生した場合は、ほかの値となります。

Returns:

  • (uint32)


26
27
# File 'lib/Win32_VideoController.rb', line 26

def Reset 
end

- (uint32) SetPowerState(PowerState, Time)

SetPowerState により、論理デバイスの電源状態およびデバイスがいつその状態に入るかが定義されます。 電源状態は、PowerState パラメータを次の整数値の 1 つに設定することによって指定されます: 1="通常の電力"、2="省電力- 低電力モード"、3="省電力 - スタンバイ"、4="省電力 - その他"、5="電源サイクル" または 6="電源オフ"。 時間パラメータ (5 の "Power Cycle" を除くすべての状態の変更用) は、通常の日付値または間隔値 (メソッド実行の受信時に間隔が開始される) のどちらかにいつ電源状態が設定される必要があるかを示します。 PowerState パラメータが 5 ("Power Cycle") であるとき、時間パラメータはいつデバイスが再度電源オンになるかを示します。 直ちに電源をオフにします。 成功の場合、SetPowerState は 0 を返し、指定された PowerState および要求時間がサポートされていない場合は、1 を返し、ほかのエラーが発生する場合はほかの値が返されます。 サブクラスでは、可能な返信コードのセットはメソッド上の ValueMap 修飾子を使って指定することも可能です。

 ValueMap 

値の配置修飾子としてサブクラスで指定される場合もあります。

Parameters:

  • (uint16, #read) PowerState
  • (datetime, #read) Time

Returns:

  • (uint32)


18
19
# File 'lib/Win32_VideoController.rb', line 18

def SetPowerState PowerState, Time
end