You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also, I suspect that for a hooking library such as MinHook or Detrours, using LPVOID for function pointers is not the least kosher thing w.r.t. standard C++, but it's probably kosher enough for the combination of a specific OS, architecture, and compiler(s), which can provide more guarantees.
For example, this thread:
https://bytes.com/topic/c/answers/584600-casting-function-pointers-void
Is there any way for the API to allow some kind of
void(*funcPtr)()
or something instead, that would be kosher in standard C++.The text was updated successfully, but these errors were encountered: