2019-10-26 22:26:53 +01:00
|
|
|
/*
|
2020-03-01 05:44:49 +00:00
|
|
|
* This file is part of the Aaru Remote Server.
|
2020-01-03 17:42:13 +00:00
|
|
|
* Copyright (c) 2019-2020 Natalia Portillo.
|
2019-10-26 22:26:53 +01:00
|
|
|
*
|
|
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
|
* the Free Software Foundation, version 3.
|
|
|
|
|
*
|
|
|
|
|
* This program is distributed in the hope that it will be useful, but
|
|
|
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
|
* General Public License for more details.
|
|
|
|
|
*
|
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
*/
|
|
|
|
|
|
2020-03-01 05:48:20 +00:00
|
|
|
#ifndef AARUREMOTE_WIN32_WIN32_H_
|
|
|
|
|
#define AARUREMOTE_WIN32_WIN32_H_
|
2019-10-26 22:26:53 +01:00
|
|
|
|
2020-03-01 05:46:10 +00:00
|
|
|
#include "../aaruremote.h"
|
2019-10-27 12:29:48 +00:00
|
|
|
|
2019-10-27 01:59:05 +01:00
|
|
|
#define PROCESSOR_ARCHITECTURE_INTEL 0
|
|
|
|
|
#define PROCESSOR_ARCHITECTURE_MIPS 1
|
|
|
|
|
#define PROCESSOR_ARCHITECTURE_ALPHA 2
|
|
|
|
|
#define PROCESSOR_ARCHITECTURE_PPC 3
|
|
|
|
|
#define PROCESSOR_ARCHITECTURE_SHX 4
|
|
|
|
|
#define PROCESSOR_ARCHITECTURE_ARM 5
|
|
|
|
|
#define PROCESSOR_ARCHITECTURE_IA64 6
|
|
|
|
|
#define PROCESSOR_ARCHITECTURE_ALPHA64 7
|
|
|
|
|
#define PROCESSOR_ARCHITECTURE_MSIL 8
|
|
|
|
|
#define PROCESSOR_ARCHITECTURE_AMD64 9
|
|
|
|
|
#define PROCESSOR_ARCHITECTURE_IA32_ON_WIN64 10
|
|
|
|
|
#define PROCESSOR_ARCHITECTURE_ARM64 12
|
|
|
|
|
#define PROCESSOR_ARCHITECTURE_ARM32_ON_WIN64 13
|
|
|
|
|
#define PROCESSOR_ARCHITECTURE_IA32_ON_ARM64 14
|
|
|
|
|
|
2019-10-27 00:02:22 +01:00
|
|
|
typedef struct
|
|
|
|
|
{
|
|
|
|
|
SOCKET socket;
|
2020-03-01 19:47:15 +00:00
|
|
|
} NetworkContext;
|
2019-10-27 00:02:22 +01:00
|
|
|
|
2019-10-27 03:58:15 +00:00
|
|
|
typedef struct
|
|
|
|
|
{
|
|
|
|
|
HANDLE handle;
|
|
|
|
|
char device_path[4096];
|
2020-03-01 19:47:15 +00:00
|
|
|
} DeviceContext;
|
2019-10-27 03:30:13 +00:00
|
|
|
|
2020-03-01 05:48:20 +00:00
|
|
|
#endif // AARUREMOTE_WIN32_WIN32_H_
|