Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Token: 0x06000010 RID: 16
- [DllImport("kernel32.dll", CharSet = CharSet.Auto, SetLastError = true)]
- [return: MarshalAs(UnmanagedType.Bool)]
- private static extern bool WaitNamedPipe(string name, int timeout);
- // Token: 0x06000011 RID: 17
- [DllImport("user32.dll", SetLastError = true)]
- private static extern IntPtr FindWindow(string lpClassName, string lpWindowName);
- // Token: 0x06000012 RID: 18
- [DllImport("user32.dll", SetLastError = true)]
- private static extern uint GetWindowThreadProcessId(IntPtr hWnd, out int lpdwProcessId);
- // Token: 0x06000013 RID: 19
- [DllImport("user32.dll", CharSet = CharSet.Auto, ExactSpelling = true)]
- private static extern IntPtr GetForegroundWindow();
- // Token: 0x0600001C RID: 28
- [DllImport("kernel32.dll")]
- public static extern IntPtr OpenProcess(int dwDesiredAccess, bool bInheritHandle, int dwProcessId);
- // Token: 0x0600001D RID: 29
- [DllImport("kernel32.dll", CharSet = CharSet.Auto)]
- public static extern IntPtr GetModuleHandle(string lpModuleName);
- // Token: 0x0600001E RID: 30
- [DllImport("kernel32", CharSet = CharSet.Ansi, SetLastError = true)]
- private static extern IntPtr GetProcAddress(IntPtr hModule, string procName);
- // Token: 0x0600001F RID: 31
- [DllImport("kernel32.dll", SetLastError = true)]
- private static extern IntPtr VirtualAllocEx(IntPtr hProcess, IntPtr lpAddress, uint dwSize, uint flAllocationType, uint flProtect);
- // Token: 0x06000020 RID: 32
- [DllImport("kernel32.dll", SetLastError = true)]
- private static extern bool WriteProcessMemory(IntPtr hProcess, IntPtr lpBaseAddress, byte[] lpBuffer, uint nSize, out UIntPtr lpNumberOfBytesWritten);
- // Token: 0x06000021 RID: 33
- [DllImport("kernel32.dll")]
- private static extern IntPtr CreateRemoteThread(IntPtr hProcess, IntPtr lpThreadAttributes, uint dwStackSize, IntPtr lpStartAddress, IntPtr lpParameter, uint dwCreationFlags, IntPtr lpThreadId);
- // Token: 0x06000022 RID: 34
- [DllImport("user32", CharSet = CharSet.Auto)]
- private static extern bool ReleaseCapture();
- // Token: 0x06000023 RID: 35
- [DllImport("user32", CharSet = CharSet.Auto)]
- private static extern int SendMessage(IntPtr hwnd, int wMsg, int wParam, int lParam);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement