jugador Posted February 19, 2024 Posted February 19, 2024 (edited) Is there a way to check how handle is created? whether it's belong to.... 1) _WinAPI_OpenProcess 2) _WinAPI_CreateEvent 3) _WinAPI_CreateMutex Edited February 19, 2024 by jugador
Developers Jos Posted February 19, 2024 Developers Posted February 19, 2024 Is it fair to assume your script will create these handles, so your script should keep track of it or if not please explain what you are after here. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
jugador Posted February 19, 2024 Author Posted February 19, 2024 (edited) Yes I can use flag then use if logic Func _EgUdf(.... , $flag = 'Process') ...... If $flag = 'Process' Then .... If $flag = 'Event' Then .... If $flag = 'Mutex' Then .... Endfunc but that not dynamic. I want to omit the chance of setting wrong flag by mistake. so that why I am looking for procedure or any winaapi function to do this. which can detect how the handle is created? Edit: solved Edited February 19, 2024 by jugador
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now