summaryrefslogtreecommitdiff
path: root/protocols/Xfire/src/tools.h
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2015-09-07 20:48:58 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2015-09-07 20:48:58 +0000
commit9fa74ab4f864a651f22a107818baee2cc55fca10 (patch)
treecdd81260553c3d9a2b5b064ae7588492aba6aa66 /protocols/Xfire/src/tools.h
parentddc02f70444aa7a4a8b407ddaa069ddb0d0d4985 (diff)
xfire moved to deprecated pt. 1
git-svn-id: http://svn.miranda-ng.org/main/trunk@15300 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Xfire/src/tools.h')
-rw-r--r--protocols/Xfire/src/tools.h99
1 files changed, 0 insertions, 99 deletions
diff --git a/protocols/Xfire/src/tools.h b/protocols/Xfire/src/tools.h
deleted file mode 100644
index 22db7abe62..0000000000
--- a/protocols/Xfire/src/tools.h
+++ /dev/null
@@ -1,99 +0,0 @@
-
-#ifndef _TOOLS_H
-#define _TOOLS_H
-
-#include "baseProtocol.h"
-
-#include <m_popup.h>
-
-using std::string;
-
-//****************************
-//get commandline header stuff
-//****************************
-typedef struct _UNICODE_STRING {
- USHORT Length;
- USHORT MaximumLength;
- PWSTR Buffer;
-} UNICODE_STRING;
-typedef UNICODE_STRING *PUNICODE_STRING;
-typedef enum _PROCESSINFOCLASS {
- ProcessBasicInformation
-} PROCESSINFOCLASS;
-typedef struct _PEB_LDR_DATA {
- BYTE Reserved1[8];
- PVOID Reserved2[3];
- LIST_ENTRY InMemoryOrderModuleList;
-} PEB_LDR_DATA,
- *PPEB_LDR_DATA;
-typedef struct _RTL_USER_PROCESS_PARAMETERS {
- BYTE Reserved1[16];
- PVOID Reserved2[10];
- UNICODE_STRING ImagePathName;
- UNICODE_STRING CommandLine;
-} RTL_USER_PROCESS_PARAMETERS,
- *PRTL_USER_PROCESS_PARAMETERS;
-typedef struct _PEB {
- BYTE Reserved1[2];
- BYTE BeingDebugged;
- BYTE Reserved2[1];
- PVOID Reserved3[2];
- PPEB_LDR_DATA Ldr;
- PRTL_USER_PROCESS_PARAMETERS ProcessParameters;
- BYTE Reserved4[104];
- PVOID Reserved5[52];
- void* PostProcessInitRoutine;
- BYTE Reserved6[128];
- PVOID Reserved7[1];
- ULONG SessionId;
-} PEB,
- *PPEB;
-typedef struct
-{
- ULONG AllocationSize;
- ULONG ActualSize;
- ULONG Flags;
- ULONG Unknown1;
- UNICODE_STRING Unknown2;
- HANDLE InputHandle;
- HANDLE OutputHandle;
- HANDLE ErrorHandle;
- UNICODE_STRING CurrentDirectory;
- HANDLE CurrentDirectoryHandle;
- UNICODE_STRING SearchPaths;
- UNICODE_STRING ApplicationName;
- UNICODE_STRING CommandLine;
- PVOID EnvironmentBlock;
- ULONG Unknown[9];
- UNICODE_STRING Unknown3;
- UNICODE_STRING Unknown4;
- UNICODE_STRING Unknown5;
- UNICODE_STRING Unknown6;
-} PROCESS_PARAMETERS, *PPROCESS_PARAMETERS;
-typedef struct _PROCESS_BASIC_INFORMATION {
- PVOID Reserved1;
- PPEB PebBaseAddress;
- PVOID Reserved2[2];
- ULONG_PTR UniqueProcessId;
- PVOID Reserved3;
-} PROCESS_BASIC_INFORMATION;
-
-typedef ULONG(WINAPI *pZwQueryInformationProcess)(
- IN HANDLE ProcessHandle,
- IN PROCESSINFOCLASS ProcessInformationClass,
- OUT PVOID ProcessInformation,
- IN ULONG ProcessInformationLength,
- OUT PULONG ReturnLength OPTIONAL
- );
-typedef ULONG(WINAPI *pZwClose)(
- IN HANDLE Handle
- );
-typedef ULONG(WINAPI *pZwReadVirtualMemory)(
- IN HANDLE ProcessHandle,
- IN PVOID BaseAddress,
- OUT PVOID Buffer,
- IN ULONG BufferLength,
- OUT PULONG ReturnLength OPTIONAL
- );
-
-#endif \ No newline at end of file