I am developing an application for Windows CE based devices to read battery status. How would I do using win32 APIs?
Have a look at GetSystemPowerStatusEx.
Related
For creating windows native Application we use Win32 API for making configuration and all, but in recent time there is name called Mobile device Management(MDM).
So what is difference between Native API and MDM.
Is MDM a replacement for Native API?
Example: For changing wallpaper we can use both Native API and in MDM we use MDM WMI Bridge Provider for changing the wallpaper.
I'm looking for a way to turn on my computer's Bluetooth using the Windows API only. I didn't see any function in BluetoothApis.h for this. If you know any way (maybe using the Device API), I would love to hear it!
This is the setting I want to turn on using the Windows API:
I don't know about Win32 API, but it can be done easily via Windows Runtime API Windows.Devices.Radios. The RadioState enum can be set to On, Off or Disabled.
A UWP example is here.
For Win32 apps it is still possible to access the Windows Runtime API, for example by compiling with VC++ /ZM flag ("Consume Windows Runtime Extension") and invoking Windows::Foundation::Initialize(); on startup, as explained in the Microsoft's blog: How to access the Windows 10 APIs from C++.
I am creating a mobile application that can detect iBeacons and I am confused which windows devices support that. I already checked that it's possible in Windows 10 but somewhere I read that it's also possible for Windows 8.1.
Unfortunately, it is not possible to detect beacons with Windows Phone 8.x because the OS has no built-in beacon support and does not allow apps to access raw Bluetooth LE scan results.
You can read more info about this here: https://stackoverflow.com/a/30603394/1461050
Is there something allow me to develop a software in wp7 just like API MONITOR in windows?
Windows Phone has some native API hooks (although undocumeted):
http://blog.walshie.me/2010/11/12/windows-phone-7-native-apps-the-missing-link
However, due to the restrictive nature of the OS you might have problems in tracking down API calls from other applications, since you will need to have your own app running in the background, and that is currently the privilege given to system apps only.
I am developing a application, where I need to display the IMSI number from data card which has been plugged in to a vista system.I am using visual studio 2005 and microsoft SDK.
Is there any way to access the IMSI number of the data card(both GSM and CDMA) using any win32 api or any other way to access it
thanks in advance
Vinayaka Karjigi
Try to query your mobile device via AT commands using the usually installed serial interface (emulator). If supported, AT+CIM should give you the SIM IMSI.