summaryrefslogtreecommitdiff
path: root/simbatt
AgeCommit message (Collapse)Author
2025-10-09Merge pull request #1063 from forderud/simbatt-relative-rmtristanb-ntdev
simbatt: Clear BATTERY_CAPACITY_RELATIVE field for per-battery charge display
2025-10-09Merge pull request #1208 from forderud/MAX_SUPPORTED_SIMBATT_CHILDREN-rmtristanb-ntdev
[simbatt] Remove dead code in simbattdriverif.h
2024-08-22[simbatt] Delete redundant "batclass_prepublish.h" to simplifyFredrik Orderud
The contained BATTERY_MINIPORT_INFO_V1_1 struct and BATTERY_CLASS_MINOR_VERSION_1 define are already defined in <batclass.h>, so there shouldn't be a need for duplicating the definitions here.
2024-08-22Remove unreferenced battery bus GUID and IOCTL calls.Fredrik Orderud
2024-08-22Remove unreferenced BATTBUS_UNPLUG_HARDWARE struct.Fredrik Orderud
2024-08-22Remove unreferenced BATTBUS_PLUGIN_HARDWARE struct.Fredrik Orderud
2024-08-22Remove unreferenced BATTBUS_TYPE_SIMBATT define.Fredrik Orderud
2024-08-21simbatt: Clear BATTERY_CAPACITY_RELATIVE fieldFredrik Orderud
Clear BATTERY_INFORMATION::BATTERY_CAPACITY_RELATIVE field to enable per-battery charge display in Windows Settings.
2024-08-21[simbatt] Remove unused MAX_SUPPORTED_SIMBATT_CHILDREN defineFredrik Orderud
This define isn't used anywhere in the driver. Therefore proposing to remove it to clean up.
2024-07-01Standarize INF files enconding to UTF-16 (LE with BOM); renormalize filesAdonais Romero Gonzalez
2024-06-28RI develop to main (#1189)JakobL-MSFT
* Memory leakage in message "sizeof(SCANNER_MESSAGE) * threadCount * requestCount" bytes long memory is allocated but only "sizeof(SCANNER_MESSAGE) * threadCount" bytes long of it is freed. * Handles malloc function fail case * Refactors comment line * Solves the miscalculation of the message index * simbatt: Fix broken registry read-back The GetSimBattStateFromRegistry function is currently using default settings if GetSimBattStateFromRegistry succeeds, whereas settings from registry are only applied if GetSimBattStateFromRegistry fails. This does not make sense to me. Therefore proposing to remove the `!` negation from `if (!NT_SUCCESS(Status)) {` on the line after `Status = GetSimBattStateFromRegistry(Device, RegState);` so that default settings are loaded when registry read-back fails. * Issue of freeing memory without waiting completion of threads accessing it is fixed * Fixes information leakage warning Fixes the issue of possible information leakage from uninitialized padding bytes * Avoids possible multiplication overflow warning * Avoids possible multiplication overflow warning * CI Pipelines build with WDK Nuget Packages (#1179) Integrate nuget into the workflow pipelines * FI from main to develop (#1188) Fix text and minor issues in Winget configuration files Co-authored-by: Adonais Romero Gonzalez <[email protected]> * Improve version info, vsix installation, and update building locally readme * Fix printing vsix version * Refactored vsix install and cleaned up build sampleset --------- Co-authored-by: İsa Yurdagül <[email protected]> Co-authored-by: Fredrik Orderud <[email protected]> Co-authored-by: Christian Allred <[email protected]> Co-authored-by: tristanb-ntdev <[email protected]> Co-authored-by: Matt <[email protected]> Co-authored-by: Adonais Romero Gonzalez <[email protected]>
2024-02-26Remove x86 and ARM configurations for sample projects. (#1126)Adonais Romero González
* Removed Win32 and Arm from the project configurations. * Set default platform to x64.
2024-02-19Add ARM64 as target platform on multiple samples (#1104)Adonais Romero González
* Add ARM64 as target platform on multiple samples * Remove ARM64 from WFPSampler temporarily --------- Co-authored-by: Jakob Lichtenberg (170957) <[email protected]>
2023-10-27[simbatt] Add missing PAGED_CODE() macro (#1010)mvillalpando06
2023-03-31Fix up malformed DriverVer directives (#948)Jason
Co-authored-by: Jason Knichel <[email protected]>
2023-03-24Fix driver violations for energy team owned drivers (#880)mvillalpando06
* Fix driver violations for energy team owned drivers * Address comments * remove simbatt wdf inf * Fix build failures * Fix sampleacpipep inx file * re isolate sample acpipep * add target os
2022-10-14Fix some infverif 1203 (missing section) and 1324 (no PnpLockdown=1) errors ↵Jason
(#793) * Clean up some misc infverif 1203 errors * Clean up some infverif 1324 (no PnpLockdown=1) errors
2021-03-04Change simbatt sample to sign with sha256 instead of sha1 (#585)rasunder-ms
2019-09-06Update README.md (#412)82047820468204582044820438204282041820408203982038820378203682035820348203382032820318203082029820288202782026Barry Golden
2019-08-20Update README.md (#404)Barry Golden
2019-08-17Update README.mdBarry Golden
2019-07-15Update heading667286672766726667256672466723667226672166720667196671866717667166671566714667136671266711667106670966707667066670566704667036670266701667006669966698666976669666695666946669366692666916669066689666876668666685666846668366682666816668066679666786667766676666756667466673666726667166670666696666866667666666666566664666636666266661666606665966658666576665666655666546665366652666516665066649666486664766646666446664366642666416664066639666386663766636666356663466633666326663166630Den Delimarsky
2019-07-04Update sample metadataDen Delimarsky
2019-03-13Update manifestsDen Delimarsky
2019-03-13Update READMEsDen Delimarsky
2019-03-13Update README metadataDen Delimarsky
2019-03-12Update README.md for samples portal (#358)Barry Golden
* Update README.md for samples portal * Update README.md for samples portal * Removed installwdf * Update fork (#2) * Fix typo ture -> true * Remove InstallWdf sample * Fix typo (#340) ture -> true * Readme typo fix (#349) * Update langid
2018-09-24Updated YAML manifest for Microsoft Samples portal. (#287)Barry Golden
* Rename YAML manifests to use .yml extension * Add preserveParentHierarchy: true to YAML manifest * Updated YAML manifest for Microsoft Samples portal. * Fix YAML newline warnings * Updated vssolution path in YAML manifests
2018-03-08Update wdf.c (#220)winbatt
No need to configure file handler.
2018-02-28Added .yaml files for samples portal (#214)Barry Golden
2017-08-25VSTS 12737998Barry Golden
2017-08-18Add missing simbatt.slnWei Mao
2017-08-17Point to .inx file when .inf file is not availableWei Mao
2016-08-11Updated for "Windows 10 Anniversary Update" (Version 1607)karlf
2015-08-12Rename README.md files to standardize casingJ M Rossy
2015-07-30Update README.mdBarry Golden
2015-07-29Samples update for public Windows 10 releaseJ M Rossy
Fix #2 Enabling WPP Recorder in Sensors Samples causes errors Fix #4 Add back fixed KMDOD sample Add new BarcodeScanner sample in pos folder Add new MagneticStripeReader sample in pos folder Add new SynpaticsTouch sample in input folder Add new Power Engine Plugin sample in pofx folder Add new DeviceMft sample in avstream folder Add new AvsCamera sample in root Add new SimBatt sample in root Add other pre-existing samples not yet released for Win10