Skip to content

Added multiuser support to VnInjectProcess#2

Open
Dulappy wants to merge 1 commit into
valinet:masterfrom
Dulappy:master
Open

Added multiuser support to VnInjectProcess#2
Dulappy wants to merge 1 commit into
valinet:masterfrom
Dulappy:master

Conversation

@Dulappy
Copy link
Copy Markdown

@Dulappy Dulappy commented Sep 4, 2023

As far as I'm aware, VnInjectProcess did not previously have an option to check for session ID in processes, meaning that it would just inject into the first process with the desired name. This commit adds a bool to enable injecting only if the desired process is running under the currently active session ID. I haven't done any thorough testing, and have only ran this about three times, but I will be using this in my own project as well, so if any problems arise from the use of this option, I will be quick to patch them. Setting bOnlyActiveSID to false should leave everything else untouched.

VnInjectProcess did not have an option to check for session ID in processes, meaning that it would just inject into the first process with the desired name. This adds an option (bool) to enable injecting only to the currently active session ID. I haven't done any thorough testing, but I will be using this in my own project as well, so if any problems arise from the use of this option, I will be quick to patch them. Setting the new option to false should leave everything else untouched.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant