Class: WMI::Win32_PnPSignedDriver

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

Overview

CIM_Service は、デバイスおよび (または) ソフトウェアの機能によって提供されている機能を表示して管理するのに必要な情報が含まれている論理要素です。サービスは一般目的のオブジェクトで機能の実装を構成して管理します。機能自体ではありません。

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

- (string) Caption (readonly)

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

Returns:

  • (string)

    Caption



26
27
28
# File 'lib/Win32_PnPSignedDriver.rb', line 26

def Caption
  @Caption
end

Instance Method Details

- (uint32) StartService

StartService 方法によって、開始された状態のサービスが置かれます。 サービスが正常に開始すると、整数 0 が返され、要求がサポートされない場合は 1 が返されます。 エラーを示す場合は、別の数字が返されます。 サブクラスでは、可能な返信コードのセットはメソッド上の ValueMap 修飾子を使って指定することも可能です。

 ValueMap 

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

Returns:

  • (uint32)


12
13
# File 'lib/Win32_PnPSignedDriver.rb', line 12

def StartService 
end

- (uint32) StopService

StopService 方法によって、停止された状態のサービスが置かれます。 サービスが正常に停止すると、整数 0 が返され、要求がサポートされていない場合は 1 が返されます。 エラーを示す場合は、別の数字が返されます。

Returns:

  • (uint32)


20
21
# File 'lib/Win32_PnPSignedDriver.rb', line 20

def StopService 
end