/[pcsx2_0.9.7]/branch/r3113_0.9.7_beta/tools/GSDumpGUI/Library/NativeMethods.cs
ViewVC logotype

Annotation of /branch/r3113_0.9.7_beta/tools/GSDumpGUI/Library/NativeMethods.cs

Parent Directory Parent Directory | Revision Log Revision Log


Revision 31 - (hide annotations) (download)
Tue Sep 7 03:24:11 2010 UTC (10 years, 10 months ago) by william
Original Path: trunk/tools/GSDumpGUI/Library/NativeMethods.cs
File size: 1412 byte(s)
committing r3113 initial commit again...
1 william 31 using System;
2     using System.Collections.Generic;
3     using System.Text;
4     using System.Security;
5     using System.Runtime.InteropServices;
6    
7     namespace GSDumpGUI
8     {
9     static public class NativeMethods
10     {
11     [SuppressUnmanagedCodeSecurityAttribute]
12     [DllImport("kernel32")]
13     public extern static IntPtr LoadLibrary(string lpLibFileName);
14    
15     [SuppressUnmanagedCodeSecurityAttribute]
16     [DllImport("kernel32")]
17     public extern static bool FreeLibrary(IntPtr hLibModule);
18    
19     [SuppressUnmanagedCodeSecurityAttribute]
20     [DllImport("kernel32", CharSet = CharSet.Ansi)]
21     public extern static IntPtr GetProcAddress(IntPtr hModule, string lpProcName);
22    
23     [SuppressUnmanagedCodeSecurityAttribute]
24     [DllImport("kernel32", CharSet = CharSet.Ansi)]
25     public extern static int SetErrorMode(int Value);
26    
27     [SuppressUnmanagedCodeSecurityAttribute]
28     [DllImport("kernel32", CharSet = CharSet.Ansi)]
29     public extern static int GetLastError();
30    
31     [SuppressUnmanagedCodeSecurityAttribute]
32     [DllImport("user32", CharSet = CharSet.Ansi)]
33     public extern static short GetAsyncKeyState(int key);
34    
35     [SuppressUnmanagedCodeSecurityAttribute]
36     [DllImport("user32", CharSet = CharSet.Ansi)]
37     public extern static int SetClassLong(IntPtr HWND, int index, long newlong);
38     }
39     }

  ViewVC Help
Powered by ViewVC 1.1.22