C# Class OpenTK.Platform.Windows.Functions

显示文件 Open project: andykorth/opentk Class Usage Examples

Public Methods

Method Description
LoadCursor ( CursorName lpCursorName ) : HCURSOR

Private Methods

Method Description
AdjustWindowRect ( [ lpRect, WindowStyle dwStyle, BOOL bMenu ) : BOOL
AdjustWindowRectEx ( Win32Rectangle &lpRect, WindowStyle dwStyle, bool bMenu, ExtendedWindowStyle dwExStyle ) : bool
BringWindowToTop ( HWND hWnd ) : BOOL
CallWindowProc ( WNDPROC lpPrevWndFunc, HWND hWnd, WindowMessage Msg, WPARAM wParam, LPARAM lParam ) : LRESULT
ChangeDisplaySettings ( DeviceMode device_mode, ChangeDisplaySettingsEnum flags ) : int
ChangeDisplaySettingsEx ( [ lpszDeviceName, LPDEVMODE lpDevMode, HWND hwnd, ChangeDisplaySettingsEnum dwflags, LPVOID lParam ) : LONG
ChoosePixelFormat ( IntPtr dc, PixelFormatDescriptor &pfd ) : int
ClientToScreen ( HWND hWnd, System.Point &point ) : BOOL
ClipCursor ( IntPtr rcClip ) : bool
ClipCursor ( RECT &rcClip ) : bool
CreateWindowEx ( ExtendedWindowStyle ExStyle, IntPtr ClassAtom, IntPtr WindowName, WindowStyle Style, int X, int Y, int Width, int Height, IntPtr HandleToParentWindow, IntPtr Menu, IntPtr Instance, IntPtr Param ) : IntPtr
CreateWindowEx ( ExtendedWindowStyle ExStyle, [ className, [ windowName, WindowStyle Style, int X, int Y, int Width, int Height, IntPtr HandleToParentWindow, IntPtr Menu, IntPtr Instance, IntPtr Param ) : IntPtr
DefRawInputProc ( IntPtr RawInput, INT Input, UINT SizeHeader ) : LRESULT
DefRawInputProc ( RawInput RawInput, INT Input, UINT SizeHeader ) : LRESULT
DefWindowProc ( HWND hWnd, WindowMessage msg, IntPtr wParam, IntPtr lParam ) : IntPtr
DescribePixelFormat ( IntPtr deviceContext, int pixel, int pfdSize, PixelFormatDescriptor &pixelFormat ) : int
DestroyWindow ( IntPtr windowHandle ) : bool
DispatchMessage ( MSG &msg ) : LRESULT
DwmGetWindowAttribute ( HWND hwnd, DwmWindowAttribute dwAttribute, void pvAttribute, DWORD cbAttribute ) : HRESULT
EnumDisplayDevices ( [ lpDevice, DWORD iDevNum, [ lpDisplayDevice, DWORD dwFlags ) : BOOL
EnumDisplaySettings ( [ device_name, DisplayModeSettingsEnum graphics_mode, [ device_mode ) : BOOL
EnumDisplaySettings ( [ device_name, int graphics_mode, [ device_mode ) : BOOL
EnumDisplaySettingsEx ( [ lpszDeviceName, DisplayModeSettingsEnum iModeNum, [ lpDevMode, DWORD dwFlags ) : BOOL
FreeLibrary ( IntPtr handle ) : bool
GetAsyncKeyState ( VirtualKeys vKey ) : SHORT
GetCapture ( ) : IntPtr
GetClassInfoEx ( HINSTANCE hinst, UIntPtr lpszClass, ExtendedWindowClass &lpwcx ) : BOOL
GetClassInfoEx ( HINSTANCE hinst, [ lpszClass, ExtendedWindowClass &lpwcx ) : BOOL
GetClientRect ( HWND windowHandle, Win32Rectangle &clientRectangle ) : BOOL
GetCursorPos ( POINT &point ) : BOOL
GetDC ( IntPtr hwnd ) : IntPtr
GetFocus ( ) : HWND
GetKeyState ( VirtualKeys vKey ) : SHORT
GetMessage ( MSG &msg, IntPtr windowHandle, int messageFilterMin, int messageFilterMax ) : INT
GetModuleHandle ( [ module_name ) : IntPtr
GetMonitorInfo ( IntPtr hMonitor, MonitorInfo &lpmi ) : BOOL
GetProcAddress ( IntPtr handle, string funcname ) : IntPtr
GetQueueStatus ( [ flags ) : DWORD
GetRawInputBuffer ( [ Data, [ Size, [ SizeHeader ) : INT
GetRawInputBuffer ( [ Data, [ Size, [ SizeHeader ) : UINT
GetRawInputData ( HRAWINPUT RawInput, GetRawInputDataEnum Command, RawInput Data, [ Size, INT SizeHeader ) : INT
GetRawInputData ( HRAWINPUT RawInput, GetRawInputDataEnum Command, [ Data, [ Size, INT SizeHeader ) : INT
GetRawInputDeviceInfo ( HANDLE Device, [ Command, [ Data, [ Size ) : INT
GetRawInputDeviceInfo ( HANDLE Device, [ Command, [ Data, [ Size ) : UINT
GetRawInputDeviceList ( [ RawInputDeviceList, [ NumDevices, INT Size ) : INT
GetRawInputDeviceList ( [ RawInputDeviceList, [ NumDevices, UINT Size ) : UINT
GetRegisteredRawInputDevices ( [ RawInputDevices, [ NumDevices, INT cbSize ) : INT
GetRegisteredRawInputDevices ( [ RawInputDevices, [ NumDevices, UINT cbSize ) : UINT
GetStockObject ( int index ) : IntPtr
GetWindowDC ( IntPtr hwnd ) : IntPtr
GetWindowInfo ( HWND hwnd, WindowInfo &wi ) : BOOL
GetWindowLong ( IntPtr handle, GetWindowLongOffsets index ) : UIntPtr
GetWindowLongInternal ( HWND hWnd, GetWindowLongOffsets nIndex ) : ULONG
GetWindowLongPtrInternal ( HWND hWnd, GetWindowLongOffsets nIndex ) : UIntPtr
GetWindowRect ( HWND windowHandle, Win32Rectangle &windowRectangle ) : BOOL
GetWindowText ( HWND hWnd, [ lpString, int nMaxCount ) : int
IsWindowVisible ( IntPtr intPtr ) : bool
KillTimer ( HWND hWnd, UINT_PTR uIDEvent ) : BOOL
LoadCursor ( HINSTANCE hInstance, IntPtr lpCursorName ) : HCURSOR
LoadCursor ( HINSTANCE hInstance, LPCTSTR lpCursorName ) : HCURSOR
LoadIcon ( HINSTANCE hInstance, LPCTSTR lpIconName ) : HICON
LoadLibrary ( string dllName ) : IntPtr
MapVirtualKey ( UINT uCode, MapVirtualKeyType uMapType ) : UINT
MapVirtualKey ( VirtualKeys vkey, MapVirtualKeyType uMapType ) : UINT
MonitorFromPoint ( POINT pt, MonitorFrom dwFlags ) : HMONITOR
MonitorFromWindow ( HWND hwnd, MonitorFrom dwFlags ) : HMONITOR
NextRawInputStructure ( IntPtr data ) : IntPtr
PeekMessage ( MSG &msg, IntPtr hWnd, int messageFilterMin, int messageFilterMax, int flags ) : bool
PostMessage ( HWND hWnd, WindowMessage Msg, WPARAM wParam, LPARAM lParam ) : BOOL
PostQuitMessage ( int exitCode ) : void
QueryPerformanceCounter ( long &PerformanceCount ) : bool
QueryPerformanceFrequency ( long &PerformanceFrequency ) : bool
RawInputAlign ( IntPtr data ) : IntPtr
RegisterClass ( WindowClass &window_class ) : ushort
RegisterClassEx ( ExtendedWindowClass &window_class ) : ushort
RegisterDeviceNotification ( HANDLE hRecipient, LPVOID NotificationFilter, DeviceNotification Flags ) : HDEVNOTIFY
RegisterRawInputDevices ( RawInputDevice RawInputDevices, INT NumDevices, INT Size ) : BOOL
RegisterRawInputDevices ( RawInputDevice RawInputDevices, UINT NumDevices, UINT Size ) : BOOL
ReleaseCapture ( ) : bool
ReleaseDC ( IntPtr hwnd, IntPtr DC ) : bool
SHGetFileInfo ( LPCTSTR pszPath, DWORD dwFileAttributes, SHFILEINFO &psfi, UINT cbFileInfo, ShGetFileIconFlags uFlags ) : DWORD_PTR
ScreenToClient ( HWND hWnd, Point &point ) : BOOL
SendMessage ( HWND hWnd, WindowMessage Msg, WPARAM wParam, LPARAM lParam ) : LRESULT
SetCapture ( IntPtr hwnd ) : IntPtr
SetCursorPos ( int X, int Y ) : bool
SetFocus ( IntPtr hwnd ) : IntPtr
SetForegroundWindow ( HWND hWnd ) : BOOL
SetLastError ( DWORD dwErrCode ) : void
SetParent ( HWND child, HWND newParent ) : BOOL
SetPixelFormat ( IntPtr dc, int format, PixelFormatDescriptor &pfd ) : bool
SetProcessDPIAware ( ) : BOOL
SetTimer ( HWND hWnd, UINT_PTR nIDEvent, UINT uElapse, TIMERPROC lpTimerFunc ) : UINT_PTR
SetWindowLong ( IntPtr handle, GetWindowLongOffsets item, IntPtr newValue ) : IntPtr
SetWindowLong ( IntPtr handle, WindowProcedure newValue ) : IntPtr
SetWindowLong ( HWND hWnd, GetWindowLongOffsets nIndex, LONG dwNewLong ) : LONG
SetWindowLong ( HWND hWnd, GetWindowLongOffsets nIndex, [ dwNewLong ) : LONG
SetWindowLongPtr ( HWND hWnd, GetWindowLongOffsets nIndex, LONG_PTR dwNewLong ) : LONG_PTR
SetWindowLongPtr ( HWND hWnd, GetWindowLongOffsets nIndex, [ dwNewLong ) : LONG_PTR
SetWindowPos ( IntPtr handle, IntPtr insertAfter, int x, int y, int cx, int cy, SetWindowPosFlags flags ) : bool
SetWindowText ( HWND hWnd, [ lpString ) : BOOL
ShowCursor ( bool show ) : int
ShowWindow ( HWND hWnd, ShowWindowCommand nCmdShow ) : BOOL
SwapBuffers ( IntPtr dc ) : bool
TimeBeginPeriod ( int period ) : IntPtr
TrackMouseEvent ( TrackMouseEventStructure &lpEventTrack ) : BOOL
TranslateMessage ( MSG &lpMsg ) : BOOL
UnregisterClass ( IntPtr className, IntPtr instance ) : short
UnregisterClass ( [ className, IntPtr instance ) : short
UnregisterDeviceNotification ( HDEVNOTIFY Handle ) : BOOL

Method Details

LoadCursor() public static method

public static LoadCursor ( CursorName lpCursorName ) : HCURSOR
lpCursorName CursorName
return HCURSOR