Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
It looks like the ability to report problems has been removed from the this repository. So I'm creating a pull request to highlight either a problem in the documentation or an error in programming the Windows Kernel. I'm not sure which one is correct. I would like someone from Microsoft to confirm if the documentation (and WDK SAL) needs to be updated.
Please reference this issue: winsiderss/systeminformer#2498 (comment)
It appears that there are paths implemented in the Windows Kernel which can cause registry APIs to be invoked at
APC_LEVEL
. If this is now blessed by Microsoft then the documentation should be updated for:CmRegisterCallback
/CmRegisterCallbackEx
.ZwOpenKeyEx
) should have their documentation updated._IRQL_requires_max_(PASSIVE_LEVEL)
:Note that this commit does not go through and update all the documentation that might be necessary. I'm happy to continue this work to update all the documentation to be
<= APC_LEVEL
(where relevant). But before doing all that work I would like confirmation from Microsoft where (and if) this should be updated in the documentation.