chopin
November 4th, 2000, 08:36
I have a program that uses the Windows-function GetWindowText (exported by user32.exe)
The declaration is like this (stdcall calling convention):
int GetWindowText(
HWND hWnd, // handle to window or control with text
LPTSTR lpString, // address of buffer for text
int nMaxCount // maximum number of characters to copy
);
In SoftICE 4.05 I set "BPX GetWindowText" and wait.
On Breakpoint execution I would like to see
- the value of hWnd
- the value of lpString and the contents of the buffer
- the value of nMaxCount
After execution of the function I would like to see the above values again, plus the return value.
How to do that?
The declaration is like this (stdcall calling convention):
int GetWindowText(
HWND hWnd, // handle to window or control with text
LPTSTR lpString, // address of buffer for text
int nMaxCount // maximum number of characters to copy
);
In SoftICE 4.05 I set "BPX GetWindowText" and wait.
On Breakpoint execution I would like to see
- the value of hWnd
- the value of lpString and the contents of the buffer
- the value of nMaxCount
After execution of the function I would like to see the above values again, plus the return value.
How to do that?