Permalink
Browse files

Added fix for DLL_kernel32.cs

  • Loading branch information...
1 parent 096f6aa commit 88a8e933726f074f680905057f53962dca03a9ca @DinisCruz DinisCruz committed Jul 21, 2013
Showing with 0 additions and 26 deletions.
  1. +0 −26 APIs/Windows/Win32_DLL_Imports/DLL_kernel32.cs
@@ -1,26 +0,0 @@
-using System;
-using System.Text;
-using System.Runtime.InteropServices;
-//using ComTypes = ;
-
-//O2File:API_WinAPI.cs
-
-namespace O2.XRules.Database.APIs
-{
- public partial class WinAPI
- {
- [DllImport("kernel32.dll")] public static extern bool CloseHandle(IntPtr hObject);
-
- [DllImport("kernel32.dll")] public static extern IntPtr GetModuleHandle(string lpModuleName);
- [DllImport("kernel32.dll")] public static extern int GetSystemWow64Directory([In] [Out] StringBuilder lpBuffer, [MarshalAs(UnmanagedType.U4)] uint size);
- [DllImport("kernel32.dll")] public static extern int GetCurrentThreadId();
- [DllImport("kernel32.dll", CharSet = CharSet.Ansi, ExactSpelling = true)]
- public static extern IntPtr GetProcAddress(IntPtr hModule, string procName);
- //[DllImport("kernel32.dll")] public static extern void GetSystemTimeAsFileTime(out System.Runtime.InteropServices.ComTypes.FILETIME lpSystemTimeAsFileTime);
- [DllImport("kernel32.dll")] public static extern void GetSystemTimeAsFileTime(out long lpSystemTimeAsFileTime);
-
-
- [DllImport("kernel32.dll")] public static extern IntPtr OpenProcess(int dwDesiredAccess, bool bInheritHandle, int dwProcessId);
-
- }
-}

0 comments on commit 88a8e93

Please sign in to comment.