Desktop Functions: Smart Device Functions:
|
GetSystemPowerStatusEx (coredll)
coredll is for smart devices, not desktop Windows. Therefore, this information only applies to code using the .NET Compact Framework. To see if information for GetSystemPowerStatusEx in other DLLs exists, click on Find References to the right. C# Signature:
[DllImport("coredll.dll")] VB .NET Signature:
Declare Function GetSystemPowerStatusEx Lib "coredll.dll" _ User-Defined Types:Notes:pStatus must be a valid object as values will be passed back in this structure. As pStatus itself is not changed do not use the ref/out keywords in C#. Tips & Tricks:Please add some! Sample Code:
public static byte GetBatteryLeftPercentage() Alternative Managed API:TODO Please edit this page!Do you have...
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more). |
|