Skip to content

DHooks: Error on argument passflags for detours#1773

Merged
peace-maker merged 1 commit intomasterfrom
dhooks_error_passflags_detours
May 31, 2022
Merged

DHooks: Error on argument passflags for detours#1773
peace-maker merged 1 commit intomasterfrom
dhooks_error_passflags_detours

Conversation

@peace-maker
Copy link
Member

The passflags are only supported by SourceHook for virtual hooks and are ignored for detours with DynamicDetours. This caused confusion, so throw an error when trying to set e.g. the DHookPass_ByRef flag on detour arguments.

The passflags are only supported by SourceHook for virtual hooks and are ignored for detours with DynamicDetours. This caused confusion, so throw an error when trying to set e.g. the DHookPass_ByRef flag on detour arguments.
@peace-maker peace-maker merged commit 7424dee into master May 31, 2022
@peace-maker peace-maker deleted the dhooks_error_passflags_detours branch May 31, 2022 12:58
psychonic pushed a commit that referenced this pull request Jun 24, 2022
The passflags are only supported by SourceHook for virtual hooks and are ignored for detours with DynamicDetours. This caused confusion, so throw an error when trying to set e.g. the DHookPass_ByRef flag on detour arguments.
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.

2 participants