C# 클래스 Zhwang.SuperNotifyIcon.NativeMethods

파일 보기 프로젝트 열기: rzhw/SuperNotifyIcon

공개 메소드들

메소드 설명
EnumButtonWindow ( IntPtr handle, IntPtr pointer ) : bool

Enumerates windows with the class name 'Button' and a blank window name.

EnumToolbarWindow ( IntPtr handle, IntPtr pointer ) : bool

Enumerates windows with the class name 'ToolbarWindow32'.

GetChildButtonWindows ( IntPtr parent ) : List

Returns a list of handles for windows of the class 'ToolbarWindow32'.

GetChildToolbarWindows ( IntPtr parent ) : List

Returns a list of handles for windows of the class 'ToolbarWindow32'.

IsOverClientArea ( IntPtr hWnd, IntPtr wParam, IntPtr lParam ) : bool

Checks whether the cursor is over the current window's client area.

비공개 메소드들

메소드 설명
CloseHandle ( IntPtr hObject ) : bool
DefWindowProc ( IntPtr hWnd, uint Msg, IntPtr wParam, IntPtr lParam ) : IntPtr
DwmExtendFrameIntoClientArea ( IntPtr hWnd, MARGINS &pMarInset ) : int
DwmIsCompositionEnabled ( bool &enabled ) : int
EnumChildWindows ( IntPtr hWndParent, EnumWindowProc lpEnumFunc, IntPtr lParam ) : bool
FindWindow ( string lpClassName, string lpWindowName ) : IntPtr
FindWindowEx ( IntPtr hwndParent, IntPtr hwndChildAfter, string lpszClass, string lpszWindow ) : IntPtr
GetClassName ( IntPtr hWnd, StringBuilder lpClassName, int nMaxCount ) : int
GetClientRectangle ( IntPtr hWnd, System.Windows.Forms.RECT &lpRectangle ) : bool
GetCursorPos ( System.Windows.Forms.POINT &lpPoint ) : bool
GetForegroundWindow ( ) : IntPtr
GetMonitorInfo ( IntPtr hMonitor, MONITORINFO &lpmi ) : bool
GetSystemMetrics ( SystemMetric smIndex ) : int
GetWindowRect ( IntPtr hWnd, System.Windows.Forms.RECT &lpRectangle ) : bool
GetWindowTextLength ( IntPtr hWnd ) : int
GetWindowThreadProcessId ( IntPtr hWnd, uint &lpdwProcessId ) : uint
MapWindowPoints ( IntPtr hWndFrom, IntPtr hWndTo, System.Windows.Forms.RECT &lpPoints, uint cPoints ) : int
MonitorFromRect ( System.Windows.Forms.RECT &lprc, uint dwFlags ) : IntPtr
OpenProcess ( ProcessAccessFlags dwDesiredAccess, [ bInheritHandle, uint dwProcessId ) : IntPtr
ReadProcessMemory ( IntPtr hProcess, IntPtr lpBaseAddress, IntPtr &lpBuffer, int dwSize, int &lpNumberOfBytesRead ) : bool
ReadProcessMemory ( IntPtr hProcess, IntPtr lpBaseAddress, System.Windows.Forms.RECT &lpBuffer, int dwSize, int &lpNumberOfBytesRead ) : bool
ReadProcessMemory ( IntPtr hProcess, IntPtr lpBaseAddress, TBBUTTON &lpBuffer, int dwSize, int &lpNumberOfBytesRead ) : bool
ReadProcessMemory ( IntPtr hProcess, IntPtr lpBaseAddress, uint &lpBuffer, int dwSize, int &lpNumberOfBytesRead ) : bool
SHAppBarMessage ( ABMsg dwMessage, APPBARDATA &pData ) : IntPtr
SendMessage ( IntPtr hWnd, uint Msg, IntPtr wParam, IntPtr lParam ) : IntPtr
SendMessage ( IntPtr hWnd, uint Msg, IntPtr wParam, TBBUTTON &lParam ) : IntPtr
Shell_NotifyIconGetRect ( NOTIFYICONIDENTIFIER &identifier, System.Windows.Forms.RECT &iconLocation ) : int
VirtualAllocEx ( IntPtr hProcess, IntPtr lpAddress, uint dwSize, AllocationType flAllocationType, MemoryProtection flProtect ) : IntPtr
VirtualFreeEx ( IntPtr hProcess, IntPtr lpAddress, int dwSize, FreeType dwFreeType ) : bool

메소드 상세

EnumButtonWindow() 공개 정적인 메소드

Enumerates windows with the class name 'Button' and a blank window name.
public static EnumButtonWindow ( IntPtr handle, IntPtr pointer ) : bool
handle System.IntPtr A handle to a top-level window.
pointer System.IntPtr The application-defined value given in EnumWindows or EnumDesktopWindows.
리턴 bool

EnumToolbarWindow() 공개 정적인 메소드

Enumerates windows with the class name 'ToolbarWindow32'.
public static EnumToolbarWindow ( IntPtr handle, IntPtr pointer ) : bool
handle System.IntPtr A handle to a top-level window.
pointer System.IntPtr The application-defined value given in EnumWindows or EnumDesktopWindows.
리턴 bool

GetChildButtonWindows() 공개 정적인 메소드

Returns a list of handles for windows of the class 'ToolbarWindow32'.
public static GetChildButtonWindows ( IntPtr parent ) : List
parent System.IntPtr The handle of the parent window whose children should be searched.
리턴 List

GetChildToolbarWindows() 공개 정적인 메소드

Returns a list of handles for windows of the class 'ToolbarWindow32'.
public static GetChildToolbarWindows ( IntPtr parent ) : List
parent System.IntPtr The parent window whose children should be searched.
리턴 List

IsOverClientArea() 공개 정적인 메소드

Checks whether the cursor is over the current window's client area.
public static IsOverClientArea ( IntPtr hWnd, IntPtr wParam, IntPtr lParam ) : bool
hWnd System.IntPtr Handle of the window to check.
wParam System.IntPtr Additional message information. The content of this parameter depends on the value of the Msg parameter (wParam).
lParam System.IntPtr Additional message information. The content of this parameter depends on the value of the Msg parameter (lParam).
리턴 bool