]> xenbits.xensource.com Git - pvdrivers/win/xenbus.git/commit
Use MmGetSystemRoutineAddress to test for IoOpenDriverRegistryKey
authorOwen Smith <owen.smith@cloud.com>
Fri, 5 Jul 2024 07:32:20 +0000 (08:32 +0100)
committerPaul Durrant <pdurrant@amazon.com>
Wed, 24 Jul 2024 09:33:42 +0000 (10:33 +0100)
commit8bc725cfcabb79eeeedfa6da90780bc1f9f0b6b9
tree23f31956fc53f46a8486c9c4cf324fe3313c9f28
parent45d774aa7f4877b12303aa4b6d033c942b39aee1
Use MmGetSystemRoutineAddress to test for IoOpenDriverRegistryKey

Server 2016 does not define the function IoOpenDriverRegistryKey, use
MmGetSystemRoutineAddress to dynamically find the function so that a
single binary can be used on Server 2016 (and Win10-1607) and Server 2025.

Signed-off-by: Owen Smith <owen.smith@cloud.com>
src/common/registry.c