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.
Header file: | Wcesock.h |
Windows CE versions: | 2.0 or later |
HWND AfxGetCeSocketWindow();
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.