WMI Fun !! 〜 WMI に興味がある方・システム管理者は必見です! 〜 |
|
|
WMI Fun !! > WMI Library > Win32_PrinterDriver クラス |
中古車買うならやっぱり
IT 関連情報を気軽に知りたい方へ、 私も使っていますお勧め SIM フリースマホ ASUS Zenfone Win32_PrinterDriver クラス - WMI LibraryWin32_PrinterDriver クラスの説明
CIM_Service は、Device および (または) SoftwareFeature によって提供される機能の表現と管理に必要な情報を含んでいる論理要素です。サービスは機能の実装を構成および管理するための汎用オブジェクトです。機能自体ではありません。
プロパティ リスト
Data Type: stringAccess Type: Read OnlyN/A Data Type: stringAccess Type: Read OnlyThe ConfigFile property contains the configuration file for this printer driver, (example: pscrptui.dll). Data Type: stringAccess Type: Read OnlyCreationClassName は、インスタンスの作成で使用されるクラス名、またはサブクラス名を示します。このクラスの他のキー プロパティと一緒に使用すると、このクラスおよびそのサブクラスのインスタンスすべてがこのプロパティによって一意に識別されます。 Data Type: stringAccess Type: Read OnlyThe DataFile property contains the data file for this printer driver, (example: qms810.ppd). Data Type: stringAccess Type: Read OnlyThe DefaultDataType property indicates the default data type for this printer driver, (example: EMF). Data Type: stringAccess Type: Read OnlyThe DependentFiles property contains a list of dependent files for this printer driver. Data Type: stringAccess Type: Read OnlyN/A Data Type: stringAccess Type: Read OnlyThe DriverPath property contains the path for this printer driver, (example: C:\drivers\pscript.dll). Data Type: stringAccess Type: Read WriteThe FilePath property contains the path to the INF file being used, (Example: c:\temp\driver). Data Type: stringAccess Type: Read OnlyThe HelpFile property contains the help file for this printer driver, (example: pscrptui.hlp). Data 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. Data Type: datetimeAccess Type: Read OnlyN/A Data Type: stringAccess Type: Read OnlyThe MonitorName property contains the name of the of the monitor for this printer driver, (example: PJL monitor). Data 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. Data 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. Data Type: booleanAccess Type: Read OnlyStarted はサービスが開始したか (TRUE)、または停止したか (FALSE) を示すブール値です。 Data Type: stringAccess Type: Read OnlyStartMode は、サービスがシステムやオペレーティング システムなどによって自動的に開始するのか、または要求に応じて開始するだけなのかを示す文字列の値です。 Data Type: stringAccess Type: Read OnlyN/A Data 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'. Data Type: stringAccess Type: Read Onlyスコーピング システムの CreationClassName です。 Data Type: stringAccess Type: Read Onlyこのサービスのホストになるシステム名です Data Type: uint16Access Type: Read WriteThe Version property indicates the operating system version that the driver is intended for. ![]() メソッド リスト
StartService メソッドは、サービスを開始状態にします。このメソッドはサービスが正常に開始すると整数 0 を返し、要求がサポートされていない場合は 1 を返し、エラーが発生した場合はその他の数値を返します。サブクラスでは、メソッドに ValueMap 修飾子を使用して可能なリターン コードのセットを指定できる場合があります。また、サブクラスでは、ValueMap の内容を '翻訳' した文字列を Values 配列修飾子として指定できる場合があります。 StopService メソッドは、サービスを停止状態にします。このメソッドはサービスが正常に停止すると整数 0 を返し、要求がサポートされていない場合は 1 を返し、エラーが発生した場合はその他の数値を返します。 The AddPrinterDriver method installs a printer driver. The method can return the following values: ![]() WQL サンプル (e.g. VB/C#/PowerShell)
SELECT * FROM Win32_PrinterDriver このサイトの情報について
このコンテンツは WMI の各コンポーネントが持っている Win32_PrinterDriver クラス情報を参照・抽出しリファレンスとして作成・提供しています。 ![]() |
ご意見・ご要望・ご感想をこちらのアンケートからお待ちしています |
∧ ページの先頭へ… |