Skip to content
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

Update nf-winuser-getmenuitemcount.md #1951

Closed
wants to merge 1 commit into from

Conversation

iPhilip
Copy link
Contributor

@iPhilip iPhilip commented Jan 3, 2025

It's not clear why the hMenu parameter is optional.

It's not clear why the hMenu parameter is optional.
Copy link

@iPhilip : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@jwmsft
Copy link
Contributor

jwmsft commented Feb 5, 2025

@iPhilip, thanks for your PR submissions.
Parameters are auto generated from the header file. WinUser.h defines hMenu as optional (although I'm not sure why it does).
From WinUser.h:

int
WINAPI
GetMenuItemCount(
    _In_opt_ HMENU hMenu);

The current doc seems to be correct, so I will close this PR.

@jwmsft jwmsft closed this Feb 5, 2025
@iPhilip iPhilip deleted the patch-42 branch February 5, 2025 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants