mirror of
https://github.com/reactos/reactos.git
synced 2024-08-21 19:03:01 +00:00
![Thomas Faber](/assets/img/avatar_default.png)
The initial tests in send.c validate correct behavior of send/sendto on disconnected sockets (CORE-9810), fixed in r68129. However, the helper functions are generic, so they can be used for additional tests against AFD. Because AFD's create packet structure changes between Windows versions, the functions check the OS version to determine the right layout. Tests succeed on Win2003 as well as Win10.
27 lines
595 B
C
27 lines
595 B
C
/*
|
|
* PROJECT: ReactOS API Tests
|
|
* LICENSE: LGPL-2.1+ (https://spdx.org/licenses/LGPL-2.1+)
|
|
* PURPOSE: Precompiled header for afd_apitest
|
|
* COPYRIGHT: Copyright 2018 Thomas Faber (thomas.faber@reactos.org)
|
|
*/
|
|
|
|
#if !defined(_AFD_APITEST_PRECOMP_H_)
|
|
#define _AFD_APITEST_PRECOMP_H_
|
|
|
|
#include <apitest.h>
|
|
|
|
#define WIN32_NO_STATUS
|
|
#include <ndk/exfuncs.h>
|
|
#include <ndk/iofuncs.h>
|
|
#include <ndk/obfuncs.h>
|
|
#include <ndk/rtlfuncs.h>
|
|
|
|
#include <winsock2.h>
|
|
#include <tcpioctl.h>
|
|
#include <tdi.h>
|
|
#include <afd/shared.h>
|
|
|
|
#include "AfdHelpers.h"
|
|
|
|
#endif /* _AFD_APITEST_PRECOMP_H_ */
|