LOULOU Posted April 14, 2005 Posted April 14, 2005 Here is my calling with DLLCALL : $hwnd = WinGetHandle("","") Msgbox(0,"",$hwnd) $result = Dllcall("user32.dll","int","GetClassname", "hwnd" ,$hwnd,"str","","long",32768 ) msgbox(0, "", $result[0]); number of chars returned msgbox(0, "", $result[1]); Text returned in param 2 msgbox(0, "", $result[2]); number of chars returned msgbox(0, "", $result[3]); Text returned in param 2 This function don't execute with an error message
buzz44 Posted April 14, 2005 Posted April 14, 2005 http://msdn.microsoft.com/library/default....etclassname.aspReturn Value If the function succeeds, the return value is the number of TCHAR copied to the specified buffer. qq
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