dahall / Vanara

A set of .NET libraries for Windows implementing PInvoke calls to many native Windows APIs with supporting wrappers.
MIT License
1.75k stars 190 forks source link

Add more information to the PROCESS_BASIC_INFORMATION struct #454

Closed FYN-Michiel closed 2 months ago

FYN-Michiel commented 2 months ago

Not sure if this is the correct way to structure this but the extra information provided is very useful

dahall commented 2 months ago

This structure is a port from the C structure defined by the API. Changing the field types will break the APIs with which it is associated.

dahall commented 2 months ago

What are you trying to accomplish? There may be another way.

FYN-Michiel commented 2 months ago

What are you trying to accomplish? There may be another way.

At the very least expose the InheritedFromUniqueProcessId value, we already use that currently. All variables are listed on the Microsoft documentation page.

dahall commented 2 months ago

Resolved with properties added to structure. Released in 4.0.1.