summaryrefslogtreecommitdiff
path: root/protocols/Xfire/src/tools.h
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2014-11-28 20:39:37 +0000
committerRobert Pösel <robyer@seznam.cz>2014-11-28 20:39:37 +0000
commit92beff959051eec8d60e4e146aa3d8a13bee9fea (patch)
treeb06ceb3079028d38f6d0f2481a5ab62b05e83e80 /protocols/Xfire/src/tools.h
parent8ef64da1b7cc3ef5026ab2dc80e7e0fd88971d59 (diff)
XFire: Reformat sources
git-svn-id: http://svn.miranda-ng.org/main/trunk@11134 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Xfire/src/tools.h')
-rw-r--r--protocols/Xfire/src/tools.h118
1 files changed, 59 insertions, 59 deletions
diff --git a/protocols/Xfire/src/tools.h b/protocols/Xfire/src/tools.h
index ca0b906179..7b25e956bf 100644
--- a/protocols/Xfire/src/tools.h
+++ b/protocols/Xfire/src/tools.h
@@ -12,88 +12,88 @@ using std::string;
//get commandline header stuff
//****************************
typedef struct _UNICODE_STRING {
-USHORT Length;
-USHORT MaximumLength;
-PWSTR Buffer;
+ USHORT Length;
+ USHORT MaximumLength;
+ PWSTR Buffer;
} UNICODE_STRING;
typedef UNICODE_STRING *PUNICODE_STRING;
typedef enum _PROCESSINFOCLASS {
- ProcessBasicInformation
+ ProcessBasicInformation
} PROCESSINFOCLASS;
typedef struct _PEB_LDR_DATA {
- BYTE Reserved1[8];
- PVOID Reserved2[3];
- LIST_ENTRY InMemoryOrderModuleList;
-} PEB_LDR_DATA,
- *PPEB_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;
+ 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;
+ 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;
+ 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;
+ PVOID Reserved1;
+ PPEB PebBaseAddress;
+ PVOID Reserved2[2];
+ ULONG_PTR UniqueProcessId;
+ PVOID Reserved3;
} PROCESS_BASIC_INFORMATION;
-typedef ULONG (WINAPI *pZwQueryInformationProcess)(
+typedef ULONG(WINAPI *pZwQueryInformationProcess)(
IN HANDLE ProcessHandle,
IN PROCESSINFOCLASS ProcessInformationClass,
OUT PVOID ProcessInformation,
IN ULONG ProcessInformationLength,
OUT PULONG ReturnLength OPTIONAL
-);
-typedef ULONG (WINAPI *pZwClose)(
+ );
+typedef ULONG(WINAPI *pZwClose)(
IN HANDLE Handle
-);
-typedef ULONG (WINAPI *pZwReadVirtualMemory)(
+ );
+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