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.

Syntax

HWND AfxGetCeSocketWindow();

At a Glance

Header file: Wcesock.h
Platforms:
Versions: 2.0 and later

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