reactos/modules/rostests/apitests/afd/precomp.h
Thomas Faber 680d69d373
[AFD_APITEST] Introduce a test for directly creating and using sockets via AFD. CORE-9810
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.
2018-03-05 14:52:56 +01:00

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_ */