* include/winsock2.h (WSAIsBlocking,WSAUnhookBlockingHook,

WSASetBlockingHook,WSACancelBlockingCall): Expose deprecated
	functions.
This commit is contained in:
Danny Smith 2002-08-20 00:36:09 +00:00
parent 8d16a989fb
commit c79f8453b0
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2002-08-20 Danny Smith <dannysmith@users.sourceforge.net>
* include/winsock2.h (WSAIsBlocking,WSAUnhookBlockingHook,
WSASetBlockingHook,WSACancelBlockingCall): Expose deprecated
functions.
2002-08-17 Danny Smith <dannysmith@users.sourceforge.net> 2002-08-17 Danny Smith <dannysmith@users.sourceforge.net>
* include/winuser.h (CURSOR_SHOWING) Add define. * include/winuser.h (CURSOR_SHOWING) Add define.

View File

@ -492,14 +492,14 @@ int PASCAL WSACleanup(void);
void PASCAL WSASetLastError(int); void PASCAL WSASetLastError(int);
int PASCAL WSAGetLastError(void); int PASCAL WSAGetLastError(void);
/* /*
* Pesudo-blocking functions N/A in ws2_32.dll (use threads instead) * Pseudo-blocking functions are deprecated in WinSock2
* spec. Use threads instead.
*/ */
#if 0
BOOL PASCAL WSAIsBlocking(void); BOOL PASCAL WSAIsBlocking(void);
int PASCAL WSAUnhookBlockingHook(void); int PASCAL WSAUnhookBlockingHook(void);
FARPROC PASCAL WSASetBlockingHook(FARPROC); FARPROC PASCAL WSASetBlockingHook(FARPROC);
int PASCAL WSACancelBlockingCall(void); int PASCAL WSACancelBlockingCall(void);
#endif
HANDLE PASCAL WSAAsyncGetServByName(HWND,u_int,const char*,const char*,char*,int); HANDLE PASCAL WSAAsyncGetServByName(HWND,u_int,const char*,const char*,char*,int);
HANDLE PASCAL WSAAsyncGetServByPort(HWND,u_int,int,const char*,char*,int); HANDLE PASCAL WSAAsyncGetServByPort(HWND,u_int,int,const char*,char*,int);
HANDLE PASCAL WSAAsyncGetProtoByName(HWND,u_int,const char*,char*,int); HANDLE PASCAL WSAAsyncGetProtoByName(HWND,u_int,const char*,char*,int);