mirror of
https://github.com/reactos/reactos.git
synced 2024-07-01 10:20:03 +00:00
[DINPUT_WINETEST] Sync with Wine Staging 3.3. CORE-14434
This commit is contained in:
parent
7016dd6d65
commit
32675648dc
|
@ -16,7 +16,14 @@
|
|||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#include "precomp.h"
|
||||
#define DIRECTINPUT_VERSION 0x0700
|
||||
|
||||
#define COBJMACROS
|
||||
#include <windows.h>
|
||||
|
||||
#include "wine/test.h"
|
||||
#include "windef.h"
|
||||
#include "dinput.h"
|
||||
|
||||
static const DIOBJECTDATAFORMAT obj_data_format[] = {
|
||||
{ &GUID_YAxis, 16, DIDFT_OPTIONAL|DIDFT_AXIS |DIDFT_MAKEINSTANCE(1), 0},
|
||||
|
|
|
@ -16,10 +16,16 @@
|
|||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#include "precomp.h"
|
||||
#define DIRECTINPUT_VERSION 0x0700
|
||||
|
||||
#define COBJMACROS
|
||||
#include <initguid.h>
|
||||
#include <windows.h>
|
||||
#include <dinput.h>
|
||||
#include <dinputd.h>
|
||||
|
||||
#include "wine/test.h"
|
||||
|
||||
HINSTANCE hInstance;
|
||||
|
||||
enum directinput_versions
|
||||
|
|
|
@ -16,10 +16,19 @@
|
|||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#include "precomp.h"
|
||||
#define DIRECTINPUT_VERSION 0x0700
|
||||
|
||||
#define COBJMACROS
|
||||
#include <windows.h>
|
||||
|
||||
#include <math.h>
|
||||
#include <stdio.h>
|
||||
#include <winnls.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "wine/test.h"
|
||||
#include "windef.h"
|
||||
#include "wingdi.h"
|
||||
#include "dinput.h"
|
||||
|
||||
#define numObjects(x) (sizeof(x) / sizeof(x[0]))
|
||||
|
||||
|
|
|
@ -16,7 +16,19 @@
|
|||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#include "precomp.h"
|
||||
#define DIRECTINPUT_VERSION 0x0700
|
||||
|
||||
#define COBJMACROS
|
||||
#include <windows.h>
|
||||
|
||||
#include <math.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "wine/test.h"
|
||||
#include "windef.h"
|
||||
#include "wingdi.h"
|
||||
#include "dinput.h"
|
||||
|
||||
static void acquire_tests(IDirectInputA *pDI, HWND hwnd)
|
||||
{
|
||||
|
|
|
@ -17,8 +17,18 @@
|
|||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#include "precomp.h"
|
||||
#define DIRECTINPUT_VERSION 0x0700
|
||||
|
||||
#define COBJMACROS
|
||||
#include <windows.h>
|
||||
|
||||
#include <math.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "wine/test.h"
|
||||
#include "windef.h"
|
||||
#include "wingdi.h"
|
||||
#include "dinput.h"
|
||||
|
||||
static const HRESULT SetCoop_null_window[16] = {
|
||||
E_INVALIDARG, E_INVALIDARG, E_INVALIDARG, E_INVALIDARG,
|
||||
|
|
|
@ -1,17 +1,15 @@
|
|||
|
||||
#ifndef _DINPUT_WINETEST_PRECOMP_H_
|
||||
#define _DINPUT_WINETEST_PRECOMP_H_
|
||||
|
||||
#define WIN32_NO_STATUS
|
||||
#define _INC_WINDOWS
|
||||
#define COM_NO_WINDOWS_H
|
||||
|
||||
#define DIRECTINPUT_VERSION 0x0700
|
||||
|
||||
#define WIN32_NO_STATUS
|
||||
#define COBJMACROS
|
||||
|
||||
#include <wine/test.h>
|
||||
|
||||
#include <initguid.h>
|
||||
#include <windows.h>
|
||||
#include <wine/test.h>
|
||||
#include <dinput.h>
|
||||
|
||||
#endif /* !_DINPUT_WINETEST_PRECOMP_H_ */
|
||||
|
|
Loading…
Reference in a new issue