GetName method
Available for all objects.
Prototype
GetName Proto hWnd:HWND, lpszName:LPSTR
Syntax
Invoke GetName, hWnd, lpszName
Function
Gets the Name property for an object
Parameters
hWnd
Handle to the object.
lpszName
Pointer to a buffer which receives the name for the object.
Return value
Eax/Rax returns the length, in characters, for the name of the object.
IMPORTANT:
The Name
property always is an ANSI string. Even so,
when Easy Code works in Unicode mode (that
is, on Windows NT or later) the string is internally
converted to Unicode.