Files
ReLibreHardwareMonitor/LibreHardwareMonitorLib/Interop
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
..
2020-02-28 11:39:25 +01:00
2020-12-07 11:57:54 +01:00
2020-02-28 11:39:25 +01:00
2020-02-28 11:39:25 +01:00
2020-02-28 11:39:25 +01:00
2020-02-28 11:39:25 +01:00