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

PROCESS_BASIC_INFORMATION has Reserved placeholder names, but MSDN has full names and documentation #1286

Closed
seritools opened this issue Sep 29, 2022 · 2 comments
Assignees
Labels
missing api Some documented API is missing from the metadata usability Touch-up to improve the user experience for a language projection

Comments

@seritools
Copy link
Contributor

PROCESS_BASIC_INFORMATION is fully documented here in MSDN, but is only partially "revealed" in the current metadata:

namespace Windows.Win32.System.Threading
{
	public struct PROCESS_BASIC_INFORMATION
	{
		public unsafe void* Reserved1;

		public unsafe PEB* PebBaseAddress;

		public unsafe void*[] Reserved2;

		public UIntPtr UniqueProcessId;

		public unsafe void* Reserved3;
	}
}

Checked in 34.0.8-preview.

@KalleOlaviNiemitalo
Copy link

The documentation was added in MicrosoftDocs/sdk-api#922, which has some comments.

MSBuild has been reading InheritedFromUniqueProcessId for years. https://github.com/dotnet/msbuild/blob/82177a50da735cc0443ac10fa490d69368403d71/src/Shared/NativeMethodsShared.cs#L677-L683

@mikebattista mikebattista added missing api Some documented API is missing from the metadata usability Touch-up to improve the user experience for a language projection labels Oct 3, 2022
@mikebattista
Copy link
Collaborator

The internal bug http://task.ms/36842235 referenced from the docs PR to update the SDK header to match the docs is still unresolved, so the tooling is at least scraping the header properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
missing api Some documented API is missing from the metadata usability Touch-up to improve the user experience for a language projection
Projects
None yet
Development

No branches or pull requests

4 participants