microsoft / microsoft/win32metadata

INetworkCostManager.GetCost should declare parameter with enum

Open
#2,076 0 comments 0 reactions 0 assignees View on GitHub
missing enum
Dominant language
C++
Stars
1.5k
Forks
149
Avg merge
5d 16h
Merged PRs (30d)
4

Description

The [INetworkCostManager.GetCost](https://learn.microsoft.com/en-us/windows/win32/api/netlistmgr/nf-netlistmgr-inetworkcostmanager-getcost) API should declare its first parameter as [`NLM_CONNECTION_COST`](https://learn.microsoft.com/en-us/windows/win32/api/netlistmgr/ne-netlistmgr-nlm_connection_cost), per the documentation.

Contributor guide

Open the contributing guide

Research direction

Search the metadata sources for INetworkCostManager.GetCost and compare its first parameter with the Windows documentation for NLM_CONNECTION_COST. Done means the generated declaration exposes that parameter as the documented enum and the relevant metadata generation or validation checks pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.