Class: WMI::Win32_OperatingSystem
- Inherits:
-
Base
- Object
- Base
- WMI::Win32_OperatingSystem
- Defined in:
- lib/Win32_OperatingSystem.rb
Overview
Win32_OperatingSystem クラスは、Win32 コンピュータ システムにインストールされているオペレーティング システムを表します。Win32 システムにインストールされているオペレーティング システムはこのクラスの子孫 (またはメンバ) です。 例: Microsoft Windows 95
Instance Attribute Summary (collapse)
-
- (string) BootDevice
readonly
BootDevice プロパティは Win32 オペレーティング システムから起動するディスク ドライブ名を示します。.
-
- (string) BuildNumber
readonly
BuildNumber プロパティは、オペレーティング システムのビルド番号を示します。.
-
- (string) BuildType
readonly
BuildType プロパティは、オペレーティング システムで使用されるビルドの種類を示します。.
-
- (string) Caption
readonly
Caption プロパティは、オブジェクトについての簡単な説明 (1 行分の文字列) です。.
-
- (string) CodeSet
readonly
CodeSet プロパティは、オペレーティング システムで使用されるコード ページの値を示します。.
-
- (string) CountryCode
readonly
CountryCode プロパティは、オペレーティング システムによって使用される国/地域コードを示します。.
-
- (string) CreationClassName
readonly
CreationClassName は、インスタンスの作成で使用されるクラス名、またはサブクラス名を示します。.
-
- (string) CSCreationClassName
readonly
CSCreationClassName にはスコーピング コンピュータ システムの作成クラス名が含まれています。.
-
- (string) CSDVersion
readonly
CSDVersion プロパティには、コンピュータ システムにインストールされている最新の Service Pack を示すヌル終了文字列が含まれています。.
-
- (string) CSName
readonly
CSName にはスコーピング コンピュータ システムの名前が含まれています。.
-
- (sint16) CurrentTimeZone
CurrentTimeZone は、オペレーティング システムがグリニッジ標準時 (GMT) からオフセットされている分数を示します。.
-
- (boolean) DataExecutionPrevention_32BitApplications
readonly
TRUE の場合は、データ実行防止 (DEP) が適用された状態で、32 ビットのアプリケーションが実行されていることを示します。.
-
- (boolean) DataExecutionPrevention_Available
readonly
TRUE の場合は、ハードウェアが Windows データ実行防止 (DEP) 技術をサポートすることを示します。.
-
- (boolean) DataExecutionPrevention_Drivers
readonly
TRUE の場合は、データ実行防止 (DEP) が適用された状態でドライバが実行されていることを示します。.
-
- (uint8) DataExecutionPrevention_SupportPolicy
readonly
DataExecutionPrevention_SupportPolicy は、データ実行防止 (DEP) の 4 つの設定のうちのどれが適用されるか表します。.
-
- (boolean) Debug
readonly
Debug プロパティは、オペレーティング システムがチェック (デバッグ) ビルドであるかどうかを示します。.
-
- (string) Description
Description プロパティで Windows オペレーティング システムの説明が提供されます。.
-
- (boolean) Distributed
readonly
オペレーティング システムが複数のコンピュータ システム ノード上で分散されているかどうかを示すブール値です。.
-
- (uint32) EncryptionLevel
readonly
EncryptionLevel プロパティにより、保護されている処理の暗号化のレベルが 40-bit、 128-bit、または n-bit 暗号化であるかが指定されています。.
-
- (uint8) ForegroundApplicationBoost
ForegroundApplicationBoost プロパティは、前景アプリケーションに与えられた優先順位の上昇を表します。.
-
- (uint64) FreePhysicalMemory
readonly
現在使用されていないため利用可能な物理メモリの KB 数です.
-
- (uint64) FreeSpaceInPagingFiles
readonly
ほかのページをスワップ アウトすることなく OperatingSystem のページング ファイルにマップできる合計 KB 数です。.
-
- (uint64) FreeVirtualMemory
readonly
現在使用されていないため利用可能な仮想メモリの KB 数です。.
-
- (datetime) InstallDate
readonly
InstallDate プロパティは、オブジェクトがインストールされた日時を示す値です。.
-
- (uint32) LargeSystemCache
readonly
LargeSystemCache プロパティは、アプリケーション用 (値 = 0)、またはシステム パフォーマンス用 (値 = 1) にメモリを最適化するかどうかを示します。.
-
- (datetime) LastBootUpTime
readonly
オペレーティング システムが最後に起動した時刻です.
-
- (datetime) LocalDateTime
readonly
オペレーティング システムのローカル日時の表記です。.
-
- (string) Locale
readonly
Locale プロパティは、オペレーティング システムで使用される言語識別子を表します。.
-
- (string) Manufacturer
readonly
- 製造元
- プロパティはオペレーティング システムの製造元名を示します。.
-
- (uint32) MaxNumberOfProcesses
readonly
オペレーティング システムがサポート可能なプロセス コンテキストの最大数です。.
-
- (uint64) MaxProcessMemorySize
readonly
プロセスに割り当てられるメモリの最大数 (KB) です。.
-
- (string) Name
readonly
継承された Name プロパティは、コンピュータ システム内でオペレーティング システムのインスタンスのキーとして機能します。.
-
- (uint32) NumberOfLicensedUsers
readonly
オペレーティング システムのユーザー ライセンス数です。.
-
- (uint32) NumberOfProcesses
readonly
オペレーティング システムで現在読み込まれているか、または実行されているプロセスのコンテキスト数です。.
-
- (uint32) NumberOfUsers
readonly
オペレーティング システムが現在格納している状態情報のユーザー セッション数です。.
-
- (string) Organization
readonly
- 組織
- プロパティは、(オペレーティング システムの) 登録ユーザーの会社名を示します。.
-
- (uint32) OSLanguage
readonly
OSLanguage プロパティは、インストールされているオペレーティング システムの言語バージョンを示します。.
-
- (uint32) OSProductSuite
readonly
OSProductSuite プロパティにより、オペレーティング システムにインストールされ、さらにライセンスされているシステム製品が識別されます。.
-
- (uint16) OSType
readonly
オペレーティング システムの種類を示す整数です。.
-
- (string) OtherTypeDescription
readonly
製造元とオペレーティング システムの種類を示す文字列 - オペレーティング システム プロパティ OSType が 1 ("その他") に設定されるときに使用される。.
-
- (string) PlusProductID
readonly
PlusProductID プロパティには、Windows Plus! オペレーティング システム エンハンス ソフトウェアがインストールされている場合はその製品 ID 番号が含まれています。.
-
- (string) PlusVersionNumber
readonly
PlusVersionNumber プロパティには、Windows Plus! オペレーティング システム エンハンス ソフトウェアがインストールされている場合はそのバージョン番号が含まれています。.
-
- (boolean) Primary
readonly
Primary プロパティにより、これがプライマリのオペレーティング システムかどうかが決定されます。.
-
- (uint32) ProductType
readonly
ProductType プロパティはシステムについての追加情報を示します。.
-
- (uint8) QuantumLength
QuantumLength プロパティにより、クォンタム毎のクロック ティック数が定義されます。.
-
- (uint8) QuantumType
QuantumType プロパティにより、クォンタムが固定長か可変長のどちらかであるかが指定されます。.
-
- (string) RegisteredUser
readonly
RegisteredUser プロパティはオペレーティング システムの登録ユーザー名を示します。.
-
- (string) SerialNumber
readonly
SerialNumber プロパティはオペレーティング システムの製品シリアル ID 番号を示します。.
-
- (uint16) ServicePackMajorVersion
readonly
ServicePackMajorVersion プロパティは、コンピュータ システムにインストールされている Service pack のメジャー バージョン番号を示します。.
-
- (uint16) ServicePackMinorVersion
readonly
ServicePackMinorVersion プロパティは、インストールされている Service Pack のマイナ バージョン番号を示します。.
-
- (uint64) SizeStoredInPagingFiles
readonly
オペレーティング システムのページング ファイルで格納される合計 KB 数です。.
-
- (string) Status
readonly
Status プロパティはオブジェクトの現在の状態を示す文字列です。.
-
- (uint32) SuiteMask
readonly
SuiteMask プロパティは、システムで利用可能な製品を識別するビット フラグのセットを示します。.
-
- (string) SystemDevice
readonly
SystemDevice プロパティは、オペレーティング システムがインストールされている物理ディスク パーティションを示します。.
-
- (string) SystemDirectory
readonly
SystemDirectory プロパティは、オペレーティング システムのシステム ディレクトリを示します。.
-
- (string) SystemDrive
readonly
SystemDrive プロパティには、オペレーティング システムが常駐しているディスク ドライブの文字が含まれています。.
-
- (uint64) TotalSwapSpaceSize
readonly
スワップ領域の合計 KB 数です。.
-
- (uint64) TotalVirtualMemorySize
readonly
仮想メモリの KB 数です。.
-
- (uint64) TotalVisibleMemorySize
readonly
OperatingSystem に利用可能な物理メモリの合計数 (KB) です。.
-
- (string) Version
readonly
- バージョン
- プロパティは、オペレーティング システムのバージョン番号を示します。.
-
- (string) WindowsDirectory
readonly
WindowsDirectory プロパティは、オペレーティング システムの Windows ディレクトリを示します。.
Instance Method Summary (collapse)
-
- (uint32) Reboot
Reboot メソッドは、コンピュータ システムをシャットダウンしてから再起動します。 Windows NT/2000 が実行中のコンピュータでは、呼び出しプロセスには SE_SHUTDOWN_NAME 特権があることが必要です。.
-
- (uint32) SetDateTime(LocalDateTime)
SetDateTime メソッドはコンピュータで現在のシステム時刻を設定します。 Windows NT/2000 が実行中のコンピュータ システムでは、呼び出しプロセスには SE_SYSTEMTIME_NAME 特権があることが必要です。.
-
- (uint32) Shutdown
Shutdown メソッドは、安全にコンピュータを終了できるポイントにプログラムと DLL をアンロードします。 ファイル バッファのすべてはディスクにフラッシュされ、実行中のプロセスのすべてが停止します。 Windows NT/2000 が実行中のコンピュータ システムでは、呼び出しプロセスには SE_SHUTDOWN_NAME 特権があることが必要です。.
-
- (uint32) Win32Shutdown(Flags, Reserved)
Win32Shutdown メソッドは、Win32 オペレーティング システムによってサポートされるシャットダウン オプションの完全なセットを提供します。.
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) BootDevice (readonly)
BootDevice プロパティは Win32 オペレーティング システムから起動するディスク ドライブ名を示します。
67 68 69 |
# File 'lib/Win32_OperatingSystem.rb', line 67 def BootDevice @BootDevice end |
- (string) BuildNumber (readonly)
BuildNumber プロパティは、オペレーティング システムのビルド番号を示します。
75 76 77 |
# File 'lib/Win32_OperatingSystem.rb', line 75 def BuildNumber @BuildNumber end |
- (string) BuildType (readonly)
BuildType プロパティは、オペレーティング システムで使用されるビルドの種類を示します。
81 82 83 |
# File 'lib/Win32_OperatingSystem.rb', line 81 def BuildType @BuildType end |
- (string) Caption (readonly)
Caption プロパティは、オブジェクトについての簡単な説明 (1 行分の文字列) です。
86 87 88 |
# File 'lib/Win32_OperatingSystem.rb', line 86 def Caption @Caption end |
- (string) CodeSet (readonly)
CodeSet プロパティは、オペレーティング システムで使用されるコード ページの値を示します。
97 98 99 |
# File 'lib/Win32_OperatingSystem.rb', line 97 def CodeSet @CodeSet end |
- (string) CountryCode (readonly)
CountryCode プロパティは、オペレーティング システムによって使用される国/地域コードを示します。
106 107 108 |
# File 'lib/Win32_OperatingSystem.rb', line 106 def CountryCode @CountryCode end |
- (string) CreationClassName (readonly)
CreationClassName は、インスタンスの作成で使用されるクラス名、またはサブクラス名を示します。
112 113 114 |
# File 'lib/Win32_OperatingSystem.rb', line 112 def CreationClassName @CreationClassName end |
- (string) CSCreationClassName (readonly)
CSCreationClassName にはスコーピング コンピュータ システムの作成クラス名が含まれています。
117 118 119 |
# File 'lib/Win32_OperatingSystem.rb', line 117 def CSCreationClassName @CSCreationClassName end |
- (string) CSDVersion (readonly)
CSDVersion プロパティには、コンピュータ システムにインストールされている最新の Service Pack を示すヌル終了文字列が含まれています。
Service Pack
126 127 128 |
# File 'lib/Win32_OperatingSystem.rb', line 126 def CSDVersion @CSDVersion end |
- (string) CSName (readonly)
CSName にはスコーピング コンピュータ システムの名前が含まれています。
131 132 133 |
# File 'lib/Win32_OperatingSystem.rb', line 131 def CSName @CSName end |
- (sint16) CurrentTimeZone
CurrentTimeZone は、オペレーティング システムがグリニッジ標準時 (GMT) からオフセットされている分数を示します。
137 138 139 |
# File 'lib/Win32_OperatingSystem.rb', line 137 def CurrentTimeZone @CurrentTimeZone end |
- (boolean) DataExecutionPrevention_32BitApplications (readonly)
TRUE の場合は、データ実行防止 (DEP) が適用された状態で、32 ビットのアプリケーションが実行されていることを示します。
(DataExecutionPrevention_Available = false
143 144 145 |
# File 'lib/Win32_OperatingSystem.rb', line 143 def DataExecutionPrevention_32BitApplications @DataExecutionPrevention_32BitApplications end |
- (boolean) DataExecutionPrevention_Available (readonly)
TRUE の場合は、ハードウェアが Windows データ実行防止 (DEP) 技術をサポートすることを示します。
DEP
152 153 154 |
# File 'lib/Win32_OperatingSystem.rb', line 152 def DataExecutionPrevention_Available @DataExecutionPrevention_Available end |
- (boolean) DataExecutionPrevention_Drivers (readonly)
TRUE の場合は、データ実行防止 (DEP) が適用された状態でドライバが実行されていることを示します。
(DataExecutionPrevention_Available = false
158 159 160 |
# File 'lib/Win32_OperatingSystem.rb', line 158 def DataExecutionPrevention_Drivers @DataExecutionPrevention_Drivers end |
- (uint8) DataExecutionPrevention_SupportPolicy (readonly)
DataExecutionPrevention_SupportPolicy は、データ実行防止 (DEP) の 4 つの設定のうちのどれが適用されるか表します。
170 171 172 |
# File 'lib/Win32_OperatingSystem.rb', line 170 def DataExecutionPrevention_SupportPolicy @DataExecutionPrevention_SupportPolicy end |
- (boolean) Debug (readonly)
Debug プロパティは、オペレーティング システムがチェック (デバッグ) ビルドであるかどうかを示します。
181 182 183 |
# File 'lib/Win32_OperatingSystem.rb', line 181 def Debug @Debug end |
- (string) Description
Description プロパティで Windows オペレーティング システムの説明が提供されます。
187 188 189 |
# File 'lib/Win32_OperatingSystem.rb', line 187 def Description @Description end |
- (boolean) Distributed (readonly)
オペレーティング システムが複数のコンピュータ システム ノード上で分散されているかどうかを示すブール値です。
193 194 195 |
# File 'lib/Win32_OperatingSystem.rb', line 193 def Distributed @Distributed end |
- (uint32) EncryptionLevel (readonly)
EncryptionLevel プロパティにより、保護されている処理の暗号化のレベルが 40-bit、 128-bit、または n-bit 暗号化であるかが指定されています。
199 200 201 |
# File 'lib/Win32_OperatingSystem.rb', line 199 def EncryptionLevel @EncryptionLevel end |
- (uint8) ForegroundApplicationBoost
ForegroundApplicationBoost プロパティは、前景アプリケーションに与えられた優先順位の上昇を表します。
Windows NT 4.0
209 210 211 |
# File 'lib/Win32_OperatingSystem.rb', line 209 def ForegroundApplicationBoost @ForegroundApplicationBoost end |
- (uint64) FreePhysicalMemory (readonly)
現在使用されていないため利用可能な物理メモリの KB 数です
214 215 216 |
# File 'lib/Win32_OperatingSystem.rb', line 214 def FreePhysicalMemory @FreePhysicalMemory end |
- (uint64) FreeSpaceInPagingFiles (readonly)
ほかのページをスワップ アウトすることなく OperatingSystem のページング ファイルにマップできる合計 KB 数です。
0
220 221 222 |
# File 'lib/Win32_OperatingSystem.rb', line 220 def FreeSpaceInPagingFiles @FreeSpaceInPagingFiles end |
- (uint64) FreeVirtualMemory (readonly)
現在使用されていないため利用可能な仮想メモリの KB 数です。
227 228 229 |
# File 'lib/Win32_OperatingSystem.rb', line 227 def FreeVirtualMemory @FreeVirtualMemory end |
- (datetime) InstallDate (readonly)
InstallDate プロパティは、オブジェクトがインストールされた日時を示す値です。
233 234 235 |
# File 'lib/Win32_OperatingSystem.rb', line 233 def InstallDate @InstallDate end |
- (uint32) LargeSystemCache (readonly)
LargeSystemCache プロパティは、アプリケーション用 (値 = 0)、またはシステム パフォーマンス用 (値 = 1) にメモリを最適化するかどうかを示します。
238 239 240 |
# File 'lib/Win32_OperatingSystem.rb', line 238 def LargeSystemCache @LargeSystemCache end |
- (datetime) LastBootUpTime (readonly)
オペレーティング システムが最後に起動した時刻です
243 244 245 |
# File 'lib/Win32_OperatingSystem.rb', line 243 def LastBootUpTime @LastBootUpTime end |
- (datetime) LocalDateTime (readonly)
オペレーティング システムのローカル日時の表記です。
248 249 250 |
# File 'lib/Win32_OperatingSystem.rb', line 248 def LocalDateTime @LocalDateTime end |
- (string) Locale (readonly)
Locale プロパティは、オペレーティング システムで使用される言語識別子を表します。
255 256 257 |
# File 'lib/Win32_OperatingSystem.rb', line 255 def Locale @Locale end |
- (string) Manufacturer (readonly)
- 製造元
- プロパティはオペレーティング システムの製造元名を示します。
Win32
261 262 263 |
# File 'lib/Win32_OperatingSystem.rb', line 261 def Manufacturer @Manufacturer end |
- (uint32) MaxNumberOfProcesses (readonly)
オペレーティング システムがサポート可能なプロセス コンテキストの最大数です。
269 270 271 |
# File 'lib/Win32_OperatingSystem.rb', line 269 def MaxNumberOfProcesses @MaxNumberOfProcesses end |
- (uint64) MaxProcessMemorySize (readonly)
プロセスに割り当てられるメモリの最大数 (KB) です。
277 278 279 |
# File 'lib/Win32_OperatingSystem.rb', line 277 def MaxProcessMemorySize @MaxProcessMemorySize end |
- (string) Name (readonly)
継承された Name プロパティは、コンピュータ システム内でオペレーティング システムのインスタンスのキーとして機能します。
282 283 284 |
# File 'lib/Win32_OperatingSystem.rb', line 282 def Name @Name end |
- (uint32) NumberOfLicensedUsers (readonly)
オペレーティング システムのユーザー ライセンス数です。
289 290 291 |
# File 'lib/Win32_OperatingSystem.rb', line 289 def NumberOfLicensedUsers @NumberOfLicensedUsers end |
- (uint32) NumberOfProcesses (readonly)
オペレーティング システムで現在読み込まれているか、または実行されているプロセスのコンテキスト数です。
294 295 296 |
# File 'lib/Win32_OperatingSystem.rb', line 294 def NumberOfProcesses @NumberOfProcesses end |
- (uint32) NumberOfUsers (readonly)
オペレーティング システムが現在格納している状態情報のユーザー セッション数です。
299 300 301 |
# File 'lib/Win32_OperatingSystem.rb', line 299 def NumberOfUsers @NumberOfUsers end |
- (string) Organization (readonly)
- 組織
- プロパティは、(オペレーティング システムの) 登録ユーザーの会社名を示します。
306 307 308 |
# File 'lib/Win32_OperatingSystem.rb', line 306 def Organization @Organization end |
- (uint32) OSLanguage (readonly)
OSLanguage プロパティは、インストールされているオペレーティング システムの言語バージョンを示します。
313 314 315 |
# File 'lib/Win32_OperatingSystem.rb', line 313 def OSLanguage @OSLanguage end |
- (uint32) OSProductSuite (readonly)
OSProductSuite プロパティにより、オペレーティング システムにインストールされ、さらにライセンスされているシステム製品が識別されます。
318 319 320 |
# File 'lib/Win32_OperatingSystem.rb', line 318 def OSProductSuite @OSProductSuite end |
- (uint16) OSType (readonly)
オペレーティング システムの種類を示す整数です。
323 324 325 |
# File 'lib/Win32_OperatingSystem.rb', line 323 def OSType @OSType end |
- (string) OtherTypeDescription (readonly)
製造元とオペレーティング システムの種類を示す文字列 - オペレーティング システム プロパティ OSType が 1 ("その他") に設定されるときに使用される。
OtherTypeDescription
330 331 332 |
# File 'lib/Win32_OperatingSystem.rb', line 330 def OtherTypeDescription @OtherTypeDescription end |
- (string) PlusProductID (readonly)
PlusProductID プロパティには、Windows Plus! オペレーティング システム エンハンス ソフトウェアがインストールされている場合はその製品 ID 番号が含まれています。
335 336 337 |
# File 'lib/Win32_OperatingSystem.rb', line 335 def PlusProductID @PlusProductID end |
- (string) PlusVersionNumber (readonly)
PlusVersionNumber プロパティには、Windows Plus! オペレーティング システム エンハンス ソフトウェアがインストールされている場合はそのバージョン番号が含まれています。
340 341 342 |
# File 'lib/Win32_OperatingSystem.rb', line 340 def PlusVersionNumber @PlusVersionNumber end |
- (boolean) Primary (readonly)
Primary プロパティにより、これがプライマリのオペレーティング システムかどうかが決定されます。
348 349 350 |
# File 'lib/Win32_OperatingSystem.rb', line 348 def Primary @Primary end |
- (uint32) ProductType (readonly)
ProductType プロパティはシステムについての追加情報を示します。
357 358 359 |
# File 'lib/Win32_OperatingSystem.rb', line 357 def ProductType @ProductType end |
- (uint8) QuantumLength
QuantumLength プロパティにより、クォンタム毎のクロック ティック数が定義されます。
366 367 368 |
# File 'lib/Win32_OperatingSystem.rb', line 366 def QuantumLength @QuantumLength end |
- (uint8) QuantumType
QuantumType プロパティにより、クォンタムが固定長か可変長のどちらかであるかが指定されます。
Windows NT 4.0 Workstation/Windows 2000
384 385 386 |
# File 'lib/Win32_OperatingSystem.rb', line 384 def QuantumType @QuantumType end |
- (string) RegisteredUser (readonly)
RegisteredUser プロパティはオペレーティング システムの登録ユーザー名を示します。
391 392 393 |
# File 'lib/Win32_OperatingSystem.rb', line 391 def RegisteredUser @RegisteredUser end |
- (string) SerialNumber (readonly)
SerialNumber プロパティはオペレーティング システムの製品シリアル ID 番号を示します。
398 399 400 |
# File 'lib/Win32_OperatingSystem.rb', line 398 def SerialNumber @SerialNumber end |
- (uint16) ServicePackMajorVersion (readonly)
ServicePackMajorVersion プロパティは、コンピュータ システムにインストールされている Service pack のメジャー バージョン番号を示します。
Service pack
406 407 408 |
# File 'lib/Win32_OperatingSystem.rb', line 406 def ServicePackMajorVersion @ServicePackMajorVersion end |
- (uint16) ServicePackMinorVersion (readonly)
ServicePackMinorVersion プロパティは、インストールされている Service Pack のマイナ バージョン番号を示します。
Service pack
413 414 415 |
# File 'lib/Win32_OperatingSystem.rb', line 413 def ServicePackMinorVersion @ServicePackMinorVersion end |
- (uint64) SizeStoredInPagingFiles (readonly)
オペレーティング システムのページング ファイルで格納される合計 KB 数です。
420 421 422 |
# File 'lib/Win32_OperatingSystem.rb', line 420 def SizeStoredInPagingFiles @SizeStoredInPagingFiles end |
- (string) Status (readonly)
Status プロパティはオブジェクトの現在の状態を示す文字列です。
433 434 435 |
# File 'lib/Win32_OperatingSystem.rb', line 433 def Status @Status end |
- (uint32) SuiteMask (readonly)
SuiteMask プロパティは、システムで利用可能な製品を識別するビット フラグのセットを示します。
452 453 454 |
# File 'lib/Win32_OperatingSystem.rb', line 452 def SuiteMask @SuiteMask end |
- (string) SystemDevice (readonly)
SystemDevice プロパティは、オペレーティング システムがインストールされている物理ディスク パーティションを示します。
457 458 459 |
# File 'lib/Win32_OperatingSystem.rb', line 457 def SystemDevice @SystemDevice end |
- (string) SystemDirectory (readonly)
SystemDirectory プロパティは、オペレーティング システムのシステム ディレクトリを示します。
464 465 466 |
# File 'lib/Win32_OperatingSystem.rb', line 464 def SystemDirectory @SystemDirectory end |
- (string) SystemDrive (readonly)
SystemDrive プロパティには、オペレーティング システムが常駐しているディスク ドライブの文字が含まれています。
471 472 473 |
# File 'lib/Win32_OperatingSystem.rb', line 471 def SystemDrive @SystemDrive end |
- (uint64) TotalSwapSpaceSize (readonly)
スワップ領域の合計 KB 数です。
479 480 481 |
# File 'lib/Win32_OperatingSystem.rb', line 479 def TotalSwapSpaceSize @TotalSwapSpaceSize end |
- (uint64) TotalVirtualMemorySize (readonly)
仮想メモリの KB 数です。
486 487 488 |
# File 'lib/Win32_OperatingSystem.rb', line 486 def TotalVirtualMemorySize @TotalVirtualMemorySize end |
- (uint64) TotalVisibleMemorySize (readonly)
OperatingSystem に利用可能な物理メモリの合計数 (KB) です。
492 493 494 |
# File 'lib/Win32_OperatingSystem.rb', line 492 def TotalVisibleMemorySize @TotalVisibleMemorySize end |
- (string) Version (readonly)
- バージョン
- プロパティは、オペレーティング システムのバージョン番号を示します。
499 500 501 |
# File 'lib/Win32_OperatingSystem.rb', line 499 def Version @Version end |
- (string) WindowsDirectory (readonly)
WindowsDirectory プロパティは、オペレーティング システムの Windows ディレクトリを示します。
506 507 508 |
# File 'lib/Win32_OperatingSystem.rb', line 506 def WindowsDirectory @WindowsDirectory end |
Instance Method Details
- (uint32) Reboot
Reboot メソッドは、コンピュータ システムをシャットダウンしてから再起動します。 Windows NT/2000 が実行中のコンピュータでは、呼び出しプロセスには SE_SHUTDOWN_NAME 特権があることが必要です。
メソッドは次のように変換される整数値を返します: 0 - 正常に完了しました。
その他 - 上の一覧以外の整数値については Win32 エラー コードのドキュメントを参照してください。
14 15 |
# File 'lib/Win32_OperatingSystem.rb', line 14 def Reboot end |
- (uint32) SetDateTime(LocalDateTime)
SetDateTime メソッドはコンピュータで現在のシステム時刻を設定します。 Windows NT/2000 が実行中のコンピュータ システムでは、呼び出しプロセスには SE_SYSTEMTIME_NAME 特権があることが必要です。
メソッドは次のように変換される整数値を返します: 0 - 正常に完了しました。
その他 - 上の一覧以外の整数値については Win32 エラー コードのドキュメントを参照してください。
59 60 |
# File 'lib/Win32_OperatingSystem.rb', line 59 def SetDateTime LocalDateTime end |
- (uint32) Shutdown
Shutdown メソッドは、安全にコンピュータを終了できるポイントにプログラムと DLL をアンロードします。 ファイル バッファのすべてはディスクにフラッシュされ、実行中のプロセスのすべてが停止します。 Windows NT/2000 が実行中のコンピュータ システムでは、呼び出しプロセスには SE_SHUTDOWN_NAME 特権があることが必要です。
メソッドは次のように変換される整数値を返します: 0 - 正常に完了しました。
その他 - 上の一覧以外の整数値については Win32 エラー コードのドキュメントを参照してください。
27 28 |
# File 'lib/Win32_OperatingSystem.rb', line 27 def Shutdown end |
- (uint32) Win32Shutdown(Flags, Reserved)
Win32Shutdown メソッドは、Win32 オペレーティング システムによってサポートされるシャットダウン オプションの完全なセットを提供します。
メソッドは次のように変換される整数値を返します: 0 - 正常に完了しました。
その他 - 上の一覧以外の整数値については Win32 エラー コードのドキュメントを参照してください。
44 45 |
# File 'lib/Win32_OperatingSystem.rb', line 44 def Win32Shutdown Flags, Reserved end |