Share via


CustomPowerApplication2

Applies To: Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Vista

CustomPowerApplication2 specifies the second Battery Meter customized context menu item.

Child Elements

Application

Specifies the name and the path of the application to run.

IconID

Specifies the optional icon resource ID.

ItemName

Specifies the display text of the application.

Parameters

Specifies the optional parameters to use when running the application.

Valid Passes

generalize

specialize

Parent Hierarchy

Microsoft-Windows-stobject | CustomPowerApplication2

Applies To

For the list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-stobject.

XML Example

The following XML output specifies 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>

See Also

Concepts

Microsoft-Windows-stobject