CustomPowerApplication2CustomPowerApplication2

CustomPowerApplication2 指定第二個電池計量表自訂的內容功能表項目。CustomPowerApplication2 specifies the second Battery Meter customized context menu item.

子項目Child Elements

設定Setting 描述Description
應用程式Application 指定的名稱和執行應用程式的路徑。Specifies the name and the path of the application to run.
IconIDIconID 指定選擇性的圖示資源識別碼。Specifies the optional icon resource ID.
ItemNameItemName 指定應用程式的顯示文字。Specifies the display text of the application.
參數Parameters 指定執行應用程式時要使用的選擇性參數。Specifies the optional parameters to use when running the application.

有效的設定階段Valid Configuration Passes

將一般化generalize

特製化specialize

父階層Parent Hierarchy

Microsoft-Windows-STObject | CustomPowerApplication2Microsoft-Windows-STObject | CustomPowerApplication2

套用至Applies To

如需支援的 Windows 版本和架構,此元件支援的清單,請參閱Microsoft-Windows-STObjectFor the list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-STObject.

XML 範例XML Example

下列的 XML 輸出會顯示如何設定CustomPowerApplication2The following XML output shows how to configure CustomPowerApplication2.

<CustomPowerApplication2>
   <Application>C:\Program Files\CustomPower\Application.exe</Application>
   <IconID>@%ProgramFiles%\Microsoft Shared\Resource.dll,-200</IconID>
   <ItemName>%ProgramFiles%\Microsoft Shared\Resource.dll,-100</ItemName>
   <Parameters>-param</Parameters>
</CustomPowerApplication2>

Microsoft-Windows-STObjectMicrosoft-Windows-STObject