The CeGetWindowText function copies the text of the specified window's title bar (if it has one) into a buffer. If the specified window is a control, the text of the control is copied. This is the RAPI version of the GetWindowText function.
int CeGetWindowText(HWND hWnd, LPTSTR lpString, int nMaxCount);
Header file: | Rapi.h |
Platforms: | H/PC |
Windows CE versions: | 2.0 and later |
When writing applications for Windows CE versions 1.0 and 1.01, use the PegGetWindowText function.
For more information on using RAPI functions, see Invoking Functions from a Desktop Computer.