Commit Graph
10 Commits
Author SHA1 Message Date
EMN-CSharp 8d8d84af22 Add battery remaining time sensor (#660) 2022-02-11 19:41:56 +01:00
EMN-CSharp 5152b435fc Add support for battery monitoring (#612)
Thanks to @EMN-CSharp.
2022-02-07 17:05:36 +01:00
Nick Babcock 73c0be1384 Rename CopyMemory RtlCopyMemory (#438)
There is no entry for `CopyMemory` exported from kernel32.dll as it is
omitted from the following output:

```
dumpbin /exports C:\Windows\System32\kernel32.dll
```

The name we're looking for is `RtlCopyMemory`. This does not affect
traditional .NET framework users as `CopyMemory` was special cased prior
to .NET core
([source](https://github.com/dotnet/runtime/issues/12496#issuecomment-483442084))

The incorrect entry point will cause an `EntryPointNotFoundException`
for NET core users (ref:
https://github.com/nickbabcock/OhmGraphite/issues/214)

There were a couple other entries in kernel32 that are missing:

  - CreateFile
  - LoadLibrary

Both functions appear to have a `CreateFileA` and `LoadLibraryA`
variant, but I do not know if those are appropriate.
2021-05-09 16:46:11 +02:00
fyilmazzandFurkan YILMAZ f82baea56a add smart health read (#300)
Co-authored-by: Furkan YILMAZ <furkan@apziva.com>
2020-10-02 11:26:18 +02:00
Phyxion 3cc3d9139c Add support for multiple processor groups.
Merge from upstream.
2020-05-11 13:29:52 +02:00
Aaron Wood 0aa01230a6 Fix generic Windows NVMe drive detection (#232) 2020-04-23 22:57:30 +02:00
Phyxion 5bd108167d Restore OHM in copyright statement 2020-02-28 11:39:25 +01:00
Phyxion 6309cbe5a5 Apply code style 2020-02-17 13:12:24 +01:00
MoshiMoshi0 14338554da Fix buffer over-read causing AccessViolationException in NVMeSamsung (#160) 2019-10-27 10:24:23 +01:00
Phyxion 73378f7c7b Code style #130 (#132)
This closes #99.
2019-09-23 19:29:10 +02:00