xenoranger Posted January 10, 2013 Share Posted January 10, 2013 (edited) Is there a way to get the GDI count associated with the _ProcessListProperties function, or should I be using a different tool? So far, using the following keeps returning 32, regardless of what process specified. Global Const $GR_GDIOBJECTS = 0 $PID = WinGetProcess("LooAlert.Client.Notifier.exe") consolewrite(@crlf & @crlf & "GDI Object: " & _WinAPI_GetGuiResources(0, $PID) & @crlf & @CRLF) Edit: The following returns 0 when I use a valid PID. So far, I'm not getting the GDI Objects number that Windows Task Manager shows. $GR_GDIOBJECTS = 0 $PID = WinGetProcess("Microsoft Outlook") consolewrite(@crlf & "PID: " & $PID & @crlf & "GDI Object: " & _WinAPI_GetGuiResources($GR_GDIOBJECTS,6984) & @crlf & @CRLF) Edited January 10, 2013 by xenoranger Link to comment Share on other sites More sharing options...
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