C# Class PaleTree.WinApi

ファイルを表示 Open project: exectails/PaleTree

Public Methods

Method Description
FindAllWindows ( string windowName ) : IList

Custom: Returns list of all windows with given name, utilizing FindWindowEx and GetClassName.

Private Methods

Method Description
CreateWindowExW ( uint dwExStyle, [ lpClassName, [ lpWindowName, uint dwStyle, Int32 x, Int32 y, Int32 nWidth, Int32 nHeight, IntPtr hWndParent, IntPtr hMenu, IntPtr hInstance, IntPtr lpParam ) : IntPtr
DefWindowProcW ( IntPtr hWnd, uint msg, IntPtr wParam, IntPtr lParam ) : IntPtr
DestroyWindow ( IntPtr hWnd ) : bool
DispatchMessage ( [ lpMsg ) : uint
FindWindow ( string lpClassName, string lpWindowName ) : IntPtr
FindWindowEx ( IntPtr hwndParent, IntPtr hwndChildAfter, string lpClassName, string lpWindowName ) : IntPtr
GetClassName ( IntPtr hWnd, StringBuilder lpClassName, int nMaxCount ) : int
GetMessage ( MSG &lpMsg, IntPtr handle, uint mMsgFilterInMain, uint mMsgFilterMax ) : int
GetWindowText ( IntPtr hWnd, StringBuilder lpString, int nMaxCount ) : int
GetWindowTextLength ( IntPtr hWnd ) : int
IsWindow ( IntPtr hWnd ) : bool
RegisterClassW ( [ lpWndClass ) : ushort
SendMessage ( IntPtr hWnd, uint Msg, IntPtr wParam, IntPtr lParam ) : int
SetTimer ( IntPtr hWnd, UIntPtr nIDEvent, uint uElapse, IntPtr lpTimerFunc ) : UIntPtr
TranslateMessage ( [ lpMsg ) : bool

Method Details

FindAllWindows() public static method

Custom: Returns list of all windows with given name, utilizing FindWindowEx and GetClassName.
public static FindAllWindows ( string windowName ) : IList
windowName string
return IList