Call this global function to obtain the handle to the socket window to which you can send WM_SOCKET_NOTIFY messages in a Windows CE socket application.
HWND AfxGetCeSocketWindow();
Header file: | Wcesock.h |
Platforms: | |
Versions: | 2.0 and later |
The handle to an invisible window, to which you can send socket notification messages.
This function accesses the module's thread state and returns the socket window handle that is used internally for receiving and processing Windows sockets messages.
Note This MFC global function is unique to Windows CE. It is not portable to other Windows platforms.