C# 클래스 Horde3DNET.PlatformInvoke.PInvoke

The PInvoke class provides access to important Win32 API functions.
파일 보기 프로젝트 열기: mgottschlag/horde3d

공개 메소드들

메소드 설명
GetAsyncKeyState ( int vKey ) : short

The GetAsyncKeyState function determines whether a key is up or down at the time the function is called, and whether the key was pressed after a previous call to GetAsyncKeyState. For more information visit: http://msdn2.microsoft.com/en-us/library/ms646293.aspx

GetDC ( IntPtr hWnd ) : IntPtr

The GetDC function retrieves a handle to a display device context (DC) for the client area of a specified window or for the entire screen. For more information visit: http://msdn2.microsoft.com/en-us/library/ms533241.aspx

GetSystemMetrics ( int nIndex ) : int

Retrieves the specified system metric or system configuration setting. For more information visit: http://msdn2.microsoft.com/en-us/library/ms724385.aspx

GetWindowDC ( int hWnd ) : IntPtr

The GetWindowDC function retrieves the device context (DC) for the entire window. For more information visit: http://msdn2.microsoft.com/en-us/library/ms534830.aspx

ReleaseDC ( IntPtr hWnd, IntPtr hDc ) : int

The ReleaseDC function releases a device context (DC). For more information visit: http://msdn2.microsoft.com/en-us/library/ms533251.aspx

메소드 상세

GetAsyncKeyState() 공개 정적인 메소드

The GetAsyncKeyState function determines whether a key is up or down at the time the function is called, and whether the key was pressed after a previous call to GetAsyncKeyState. For more information visit: http://msdn2.microsoft.com/en-us/library/ms646293.aspx
public static GetAsyncKeyState ( int vKey ) : short
vKey int Specifies one of 256 possible virtual-key codes
리턴 short

GetDC() 공개 정적인 메소드

The GetDC function retrieves a handle to a display device context (DC) for the client area of a specified window or for the entire screen. For more information visit: http://msdn2.microsoft.com/en-us/library/ms533241.aspx
public static GetDC ( IntPtr hWnd ) : IntPtr
hWnd System.IntPtr handle to window
리턴 System.IntPtr

GetSystemMetrics() 공개 정적인 메소드

Retrieves the specified system metric or system configuration setting. For more information visit: http://msdn2.microsoft.com/en-us/library/ms724385.aspx
public static GetSystemMetrics ( int nIndex ) : int
nIndex int system metric or configuration setting to be retrieved
리턴 int

GetWindowDC() 공개 정적인 메소드

The GetWindowDC function retrieves the device context (DC) for the entire window. For more information visit: http://msdn2.microsoft.com/en-us/library/ms534830.aspx
public static GetWindowDC ( int hWnd ) : IntPtr
hWnd int handle to window
리턴 System.IntPtr

ReleaseDC() 공개 정적인 메소드

The ReleaseDC function releases a device context (DC). For more information visit: http://msdn2.microsoft.com/en-us/library/ms533251.aspx
public static ReleaseDC ( IntPtr hWnd, IntPtr hDc ) : int
hWnd System.IntPtr handle to window
hDc System.IntPtr handle to device context
리턴 int