Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented May 4, 2020

Purpose

  • In current implementation, when Regedit opens HKCR root key, an error is logged
    err:(dll/win32/advapi32/reg/hkcr.c:964) Returning 259.
    This is not correct as code 259 is for ERROR_NO_MORE_ITEMS which is the nominal return value when end of enumeration is reached.

Proposed changes

Err is not displayed when ERROR_NO_MORE_ITEMS is returned.

@binarymaster binarymaster added the trivial fix For trivial changes. label May 4, 2020
@binarymaster binarymaster changed the title [ADVAPI32] Fix undue "err:(dll/win32/advapi32/reg/hkcr.c:964) Returning 259" message in nominal case [ADVAPI32] Fix undue debug print in nominal case May 4, 2020
@binarymaster binarymaster merged commit 5dfe345 into reactos:master May 4, 2020
@ghost
Copy link
Author

ghost commented May 5, 2020

Thanks

@ghost ghost deleted the hkcr259 branch May 5, 2020 04:20
vgalnt pushed a commit to vgalnt/reactos that referenced this pull request Feb 4, 2025
In current implementation, when regedit opens HKCR root key, an error is logged
err:(dll/win32/advapi32/reg/hkcr.c:964) Returning 259.
This is not correct as the code 259 is ERROR_NO_MORE_ITEMS which is the nominal return value when end of enumeration is reached.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

trivial fix For trivial changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant