WPUCreateSocketHandle (Windows Embedded CE 6.0)
This function creates a new socket handle.
SOCKET WPUCreateSocketHandle( DWORD dwCatalogEntryId, DWORD_PTR dwContext, LPINT lpErrno );
[in] Descriptor identifying the calling service provider. This parameter is used to determine which provider will be called for operations that are performed on the socket, such as WSASend and WSARecv.
[in] Context value to associate with the new socket handle.
[out] Pointer to the error code.
This function creates a new socket handle for the specified provider. The handles created by this function are indistinguishable from true file system handles.
Layered Service Provider Considerations
A layered service provider may use this function to create the socket handles it exposes to its client.