|
WMI Fun !! 〜 WMIに興味がある方・システム管理者必見!! 〜 WMI StepWMI SampleWMI ReferenceWMI LibraryMy Let'snotePersonalLinkAbout WMI Fun !! |
|
|
|
WMI Fun !! > WMI Library > Win32_PrinterDriver クラス |
|
|
Panasonic Let'snoteを長年愛用しています、その理由はMy Let'snoteで…
インクを買うよりもしかしたら安い?インクジェット複合機HP Photosmart 5510 白いご飯や日本酒にもとても合うにしんのきりこみがマイブームです Win32_PrinterDriver クラス - WMI LibraryWin32_PrinterDriver クラスの説明
CIM_Service は、Device および (または) SoftwareFeature によって提供される機能の表現と管理に必要な情報を含んでいる論理要素です。サービスは機能の実装を構成および管理するための汎用オブジェクトです。機能自体ではありません。
プロパティ リスト
CaptionData Type: stringAccess Type: Read OnlyCaption プロパティは、オブジェクトを短いテキスト (1 行の文字列) で表した説明です。 ConfigFileData Type: stringAccess Type: Read OnlyThe ConfigFile property contains the configuration file for this printer driver, (example: pscrptui.dll). CreationClassNameData Type: stringAccess Type: Read OnlyCreationClassName は、インスタンスの作成で使用されるクラス名、またはサブクラス名を示します。このクラスの他のキー プロパティと一緒に使用すると、このクラスおよびそのサブクラスのインスタンスすべてがこのプロパティによって一意に識別されます。 DataFileData Type: stringAccess Type: Read OnlyThe DataFile property contains the data file for this printer driver, (example: qms810.ppd). DefaultDataTypeData Type: stringAccess Type: Read OnlyThe DefaultDataType property indicates the default data type for this printer driver, (example: EMF). DependentFilesData Type: stringAccess Type: Read OnlyThe DependentFiles property contains a list of dependent files for this printer driver. DescriptionData Type: stringAccess Type: Read OnlyDescription プロパティは、オブジェクトの説明を提供します。 DriverPathData Type: stringAccess Type: Read OnlyThe DriverPath property contains the path for this printer driver, (example: C:\drivers\pscript.dll). FilePathData Type: stringAccess Type: Read WriteThe FilePath property contains the path to the INF file being used, (Example: c:\temp\driver). HelpFileData Type: stringAccess Type: Read OnlyThe HelpFile property contains the help file for this printer driver, (example: pscrptui.hlp). InfNameData Type: stringAccess Type: Read WriteThe InfName property contains the name of the INF file being used. The default is 'ntprint.INF'. This will only be different if the drivers are provided directly by the manufacturer of the printer and not the operating system. InstallDateData Type: datetimeAccess Type: Read OnlyInstallDate プロパティは、オブジェクトがいつインストールされたかを示す datetime 値です。値がなくても、オブジェクトがインストールされていないことを示すわけではありません。 MonitorNameData Type: stringAccess Type: Read OnlyThe MonitorName property contains the name of the of the monitor for this printer driver, (example: PJL monitor). NameData Type: stringAccess Type: Read OnlyThe Name property indicates the driver name for this printer. This is a compound key composed of the Name, Version and SupportedPlatform values. OEMUrlData Type: stringAccess Type: Read OnlyThe OEMUrl property provides a world wide web link to the printer manufacturer's web site. Note that this property is not populated when the Win32.INF file is used and is only applicable for drivers provided directly from the manufacturer. StartedData Type: booleanAccess Type: Read OnlyStarted はサービスが開始したか (TRUE)、または停止したか (FALSE) を示すブール値です。 StartModeData Type: stringAccess Type: Read OnlyStartMode は、サービスがシステムやオペレーティング システムなどによって自動的に開始するのか、または要求に応じて開始するだけなのかを示す文字列の値です。 StatusData Type: stringAccess Type: Read OnlyStatus プロパティはオブジェクトの現在の状態を示す文字列です。操作可能な状態および操作不可能な状態が定義されます。操作可能な状態は、"OK"、"低下" および "障害が発生する可能性あり" です。"障害が発生する可能性あり" は、要素は適切に機能するけれども近いうちに障害が発生する可能性があることを示します。例: SMART 対応ハード ディスク。操作不可能な状態も指定できます。これは、"エラー"、"開始中"、"停止動作中" および "サービス" です。最後の "サービス" には、ディスクがミラーされている間、ユーザーのアクセス許可の一覧を再度読み込む間、または他の管理用作業が行われている間などが該当します。この作業がすべてオンラインで行われるとは限りませんが、[管理要素] は "OK" でも他の状態でもありません。 SupportedPlatformData Type: stringAccess Type: Read WriteThe SupportedPlatform property indicates the operating environments that the driver is intended for. Examples are 'Windows NT x86' or 'Windows IA64'. SystemCreationClassNameData Type: stringAccess Type: Read Onlyスコーピング システムの CreationClassName です。 SystemNameData Type: stringAccess Type: Read Onlyこのサービスのホストになるシステム名です VersionData Type: uint16Access Type: Read WriteThe Version property indicates the operating system version that the driver is intended for.
メソッド リスト
StartService
StartService メソッドは、サービスを開始状態にします。このメソッドはサービスが正常に開始すると整数 0 を返し、要求がサポートされていない場合は 1 を返し、エラーが発生した場合はその他の数値を返します。サブクラスでは、メソッドに ValueMap 修飾子を使用して可能なリターン コードのセットを指定できる場合があります。また、サブクラスでは、ValueMap の内容を '翻訳' した文字列を Values 配列修飾子として指定できる場合があります。 StopService
StopService メソッドは、サービスを停止状態にします。このメソッドはサービスが正常に停止すると整数 0 を返し、要求がサポートされていない場合は 1 を返し、エラーが発生した場合はその他の数値を返します。 AddPrinterDriver
The AddPrinterDriver method installs a printer driver. The method can return the following values:
WQL サンプル
SELECT * FROM Win32_PrinterDriver
このサイトの情報について
このコンテンツはWMIの各コンポーネントが持っているWin32_PrinterDriverクラス情報を参照・抽出しリファレンスとして作成・提供しています。
|
|
ご意見・ご要望・ご感想をこちらのアンケートからお待ちしています |
| ∧ ページの先頭へ… |