dahall / Vanara

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

Add more information to the PROCESS_BASIC_INFORMATION struct #454

Closed FYN-Michiel closed 7 months ago

FYN-Michiel commented 7 months ago

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

dahall commented 7 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 7 months ago

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

FYN-Michiel commented 7 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 7 months ago

Resolved with properties added to structure. Released in 4.0.1.