Hi,
I need to get the exact parent process name. I'll explain in detail with below example,
Example:
Parent process name : MyApp
I tried using "GetModuleBaseName" function, but it returns "myapp.exe".
With "GetModuleFileNameEx" function, it returns "(path)/myapp.exe"
With "GetProcessImageFileName" function, it returns "(path)/myapp.exe"
But I need exact process name "MyApp". How to get this?
What I have tried:
Example:
Parent process name : MyApp
I tried using "GetModuleBaseName" function, but it returns "myapp.exe".
With "GetModuleFileNameEx" function, it returns "(path)/myapp.exe"
With "GetProcessImageFileName" function, it returns "(path)/myapp.exe"