C# Class WindowList.WinApi

Afficher le fichier Open project: coderforlife/c4l-utils

Méthodes publiques

Свойство Type Description
ICON_BIG System.IntPtr
ICON_SMALL System.IntPtr
ICON_SMALL2 System.IntPtr
IDI_APPLICATION System.IntPtr

Méthodes publiques

Méthode Description
GetClassLongPtr ( IntPtr hWnd, int nIndex ) : IntPtr
GetClassName ( IntPtr hWnd ) : String
GetModuleFileName ( IntPtr hWnd ) : String
GetWindowRect ( IntPtr hWnd ) : RECT?
GetWindowText ( IntPtr hWnd ) : String

Private Methods

Méthode Description
EnumWindows ( EnumWindowsProc lpEnumFunc, IntPtr lParam ) : bool
GetClassLongPtr32 ( IntPtr hWnd, int nIndex ) : uint
GetClassLongPtr64 ( IntPtr hWnd, int nIndex ) : IntPtr
GetClassName ( IntPtr hWnd, StringBuilder lpClassName, int nMaxCount ) : int
GetParent ( IntPtr hWnd ) : IntPtr
GetWindowRect ( IntPtr hwnd, RECT &lpRect ) : bool
GetWindowText ( IntPtr hWnd, StringBuilder lpString, int nMaxCount ) : int
GetWindowThreadProcessId ( IntPtr hWnd, uint &lpdwProcessId ) : uint
IsHungAppWindow ( IntPtr hWnd ) : bool
IsWindowVisible ( IntPtr hWnd ) : bool
LoadIcon ( IntPtr hInstance, IntPtr lpIconName ) : IntPtr
MoveWindow ( IntPtr hWnd, int X, int Y, int nWidth, int nHeight, bool bRepaint ) : bool
SendMessage ( IntPtr hWnd, UInt32 Msg, IntPtr wParam, IntPtr lParam ) : IntPtr

Method Details

GetClassLongPtr() public static méthode

public static GetClassLongPtr ( IntPtr hWnd, int nIndex ) : IntPtr
hWnd System.IntPtr
nIndex int
Résultat System.IntPtr

GetClassName() public static méthode

public static GetClassName ( IntPtr hWnd ) : String
hWnd System.IntPtr
Résultat String

GetModuleFileName() public static méthode

public static GetModuleFileName ( IntPtr hWnd ) : String
hWnd System.IntPtr
Résultat String

GetWindowRect() public static méthode

public static GetWindowRect ( IntPtr hWnd ) : RECT?
hWnd System.IntPtr
Résultat RECT?

GetWindowText() public static méthode

public static GetWindowText ( IntPtr hWnd ) : String
hWnd System.IntPtr
Résultat String

Property Details

ICON_BIG public_oe static_oe property

public static IntPtr,System ICON_BIG
Résultat System.IntPtr

ICON_SMALL public_oe static_oe property

public static IntPtr,System ICON_SMALL
Résultat System.IntPtr

ICON_SMALL2 public_oe static_oe property

public static IntPtr,System ICON_SMALL2
Résultat System.IntPtr

IDI_APPLICATION public_oe static_oe property

public static IntPtr,System IDI_APPLICATION
Résultat System.IntPtr