Added new include file ws2spi.h for adding needed types.

This commit is contained in:
Patrik Stridvall 2001-10-09 21:48:22 +00:00 committed by Alexandre Julliard
parent 5bc7d7361e
commit e668a9dbbf
3 changed files with 28 additions and 1 deletions

View File

@ -82,9 +82,11 @@
#include "wingdi.h"
#include "winuser.h"
#include "winsock2.h"
#include "ws2spi.h"
#include "wine/winsock16.h"
#include "winnt.h"
#include "wine/port.h"
#include "debugtools.h"
DEFAULT_DEBUG_CHANNEL(winsock);
@ -694,7 +696,7 @@ INT16 WINAPI WSACancelAsyncRequest16(HANDLE16 hAsyncTaskHandle)
/***********************************************************************
* WSApSetPostRoutine (WS2_32.24)
*/
INT WINAPI WSApSetPostRoutine(LPVOID /* LPWPUPOSTMESSAGE */lpPostRoutine)
INT WINAPI WSApSetPostRoutine(LPWPUPOSTMESSAGE lpPostRoutine)
{
FIXME("(%p), stub !\n", lpPostRoutine);
return 0;

View File

@ -185,6 +185,7 @@ INSTALLED_INCLUDES = \
winver.h \
wnaspi32.h \
wownt32.h \
ws2spi.h \
wshisotp.h \
wsipx.h \
wtypes.h \

24
include/ws2spi.h Normal file
View File

@ -0,0 +1,24 @@
/* WS2SPI.H -- definitions to be used with the WinSock service provider. */
#ifndef _WINSOCK2SPI_
#define _WINSOCK2SPI_
#ifndef _WINSOCK2API_
#include "winsock2.h"
#endif /* !defined(_WINSOCK2API_) */
#include "pshpack4.h"
#ifdef __cplusplus
extern "C" {
#endif /* defined(__cplusplus) */
typedef BOOL WINAPI (*LPWPUPOSTMESSAGE)(HWND,UINT,WPARAM,LPARAM);
#ifdef __cplusplus
} /* extern "C" */
#endif /* defined(__cplusplus) */
#include "poppack.h"
#endif /* !defined(_WINSOCK2SPI_) */