Skip to content

Fix RegEnumValueW returned 234 #696

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Fix RegEnumValueW returned 234 #696

wants to merge 1 commit into from

Conversation

clouds56
Copy link

RegEnumValueW may return ERROR_MORE_DATA (234).
If lpData is NULL and lpcbData is non-NULL, the function stores the size of the data, in bytes, in the variable pointed to by lpcbData. This enables an application to determine the best way to allocate a buffer for the data.
If the buffer specified by lpData is not large enough to hold the data, the function returns ERROR_MORE_DATA and stores the required buffer size in the variable pointed to by lpcbData. In this case, the contents of lpData are undefined.

RegEnumValueW may return ERROR_MORE_DATA (234).
If lpData is NULL and lpcbData is non-NULL, the function stores the size of the data, in bytes, in the variable pointed to by lpcbData. This enables an application to determine the best way to allocate a buffer for the data.
If the buffer specified by lpData is not large enough to hold the data, the function returns ERROR_MORE_DATA and stores the required buffer size in the variable pointed to by lpcbData. In this case, the contents of lpData are undefined.
@clouds56
Copy link
Author

fix issue #645

@bagajjal
Copy link
Collaborator

bagajjal commented May 5, 2017

You have to clone https://github.com/PowerShell/openssh-portable repo and submit your fix to that branch.. This branch is only for tracking the issues... Please close the pull request here..

@clouds56
Copy link
Author

clouds56 commented May 6, 2017

I've got confused, so why do you have 2 repo?
I suggest put the link to https://github.com/PowerShell/openssh-portable at least in project description.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants