property GetWindowText.
Retrieves a text string from a window if it is
available.
|
hWnd
[in] . Handle
of the target window.
pVal
[out, retval]
The returned value is NULL (vbNullString) or a text string.
If not NULL, the string must be freed by FreeBSTR.
S_OK
The operation was successfull.
E_POINTER
A NULL pointer was supplied as an argument.
E_UNEXPECTED
An unexpected error occoured.