AfxGetCeSocketWindow

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.

At a Glance

Header file: Wcesock.h
Windows CE versions: 2.0 or later

Syntax

HWND AfxGetCeSocketWindow();

Return Value

The handle to an invisible window, to which you can send socket notification messages.

Remarks

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.

See Also

CCeSocket, WM_SOCKET_NOTIFY