C# 클래스 Standard.NativeMethods

파일 보기 프로젝트 열기: MahApps/MahApps.Metro

공개 메소드들

메소드 설명
GetWindowInfo ( IntPtr hWnd ) : WINDOWINFO

비공개 메소드들

메소드 설명
AdjustWindowRectEx ( RECT lpRect, WS dwStyle, bool bMenu, WS_EX dwExStyle ) : RECT
AllowSetForegroundWindow ( ) : void
AllowSetForegroundWindow ( int dwProcessId ) : void
ChangeWindowMessageFilterEx ( IntPtr hwnd, WM message, MSGFLT action, MSGFLTINFO &filterInfo ) : Standard.HRESULT
ClientToScreen ( IntPtr hWnd, POINT &point ) : bool
CombineRgn ( IntPtr hrgnDest, IntPtr hrgnSrc1, IntPtr hrgnSrc2, RGN fnCombineMode ) : CombineRgnResult
CommandLineToArgvW ( string cmdLine ) : string[]
CopyStgMedium ( System.Runtime.InteropServices.ComTypes.STGMEDIUM &pcstgmedSrc, System.Runtime.InteropServices.ComTypes.STGMEDIUM &pstgmedDest ) : Standard.HRESULT
CreateDIBSection ( SafeDC hdc, BITMAPINFO &bitmapInfo, IntPtr &ppvBits, IntPtr hSection, int dwOffset ) : SafeHBITMAP
CreateRectRgn ( int nLeftRect, int nTopRect, int nRightRect, int nBottomRect ) : IntPtr
CreateRectRgnIndirect ( RECT lprc ) : IntPtr
CreateRoundRectRgn ( int nLeftRect, int nTopRect, int nRightRect, int nBottomRect, int nWidthEllipse, int nHeightEllipse ) : IntPtr
CreateSolidBrush ( int crColor ) : IntPtr
CreateStreamOnHGlobal ( IntPtr hGlobal, [ fDeleteOnRelease, System.Runtime.InteropServices.ComTypes.IStream &ppstm ) : Standard.HRESULT
CreateWindowEx ( WS_EX dwExStyle, string lpClassName, string lpWindowName, WS dwStyle, int x, int y, int nWidth, int nHeight, IntPtr hWndParent, IntPtr hMenu, IntPtr hInstance, IntPtr lpParam ) : IntPtr
DefWindowProc ( IntPtr hWnd, WM Msg, IntPtr wParam, IntPtr lParam ) : IntPtr
DeleteObject ( IntPtr hObject ) : bool
DestroyIcon ( IntPtr handle ) : bool
DestroyWindow ( IntPtr hwnd ) : bool
DrawMenuBar ( IntPtr hWnd ) : void
DwmDefWindowProc ( IntPtr hwnd, WM msg, IntPtr wParam, IntPtr lParam, IntPtr &plResult ) : bool
DwmExtendFrameIntoClientArea ( IntPtr hwnd, MARGINS &pMarInset ) : void
DwmGetColorizationColor ( uint &pcrColorization, bool &pfOpaqueBlend ) : bool
DwmGetCompositionTimingInfo ( IntPtr hwnd ) : DWM_TIMING_INFO?
DwmInvalidateIconicBitmaps ( IntPtr hwnd ) : void
DwmIsCompositionEnabled ( ) : bool
DwmSetIconicLivePreviewBitmap ( IntPtr hwnd, IntPtr hbmp, RefPOINT pptClient, DWM_SIT dwSITFlags ) : void
DwmSetIconicThumbnail ( IntPtr hwnd, IntPtr hbmp, DWM_SIT dwSITFlags ) : void
DwmSetWindowAttributeDisallowPeek ( IntPtr hwnd, bool disallowPeek ) : void
DwmSetWindowAttributeFlip3DPolicy ( IntPtr hwnd, DWMFLIP3D flip3dPolicy ) : void
EnableMenuItem ( IntPtr hMenu, SC uIDEnableItem, MF uEnable ) : MF
FindClose ( IntPtr handle ) : bool
FindFirstFileW ( string lpFileName, [ lpFindFileData ) : SafeFindHandle
FindNextFileW ( SafeFindHandle hndFindFile, [ lpFindFileData ) : bool
FindWindow ( string lpClassName, string lpWindowName ) : IntPtr
GdipCreateBitmapFromStream ( System.Runtime.InteropServices.ComTypes.IStream stream, IntPtr &bitmap ) : Status
GdipCreateHBITMAPFromBitmap ( IntPtr bitmap, IntPtr &hbmReturn, Int32 background ) : Status
GdipCreateHICONFromBitmap ( IntPtr bitmap, IntPtr &hbmReturn ) : Status
GdipDisposeImage ( IntPtr image ) : Status
GdipImageForceValidation ( IntPtr image ) : Status
GdiplusShutdown ( IntPtr token ) : Status
GdiplusStartup ( IntPtr &token, StartupInput input, StartupOutput &output ) : Status
GetClientRect ( IntPtr hwnd ) : RECT
GetCurrentProcessExplicitAppUserModelID ( [ AppID ) : Standard.HRESULT
GetCurrentThemeName ( string &themeFileName, string &color, string &size ) : void
GetCursorPos ( ) : POINT
GetDC ( ) : void
GetDeviceCaps ( SafeDC hdc, DeviceCap nIndex ) : int
GetModuleFileName ( IntPtr hModule ) : string
GetModuleHandle ( string lpModuleName ) : IntPtr
GetMonitorInfo ( IntPtr hMonitor ) : MONITORINFO
GetMonitorInfoW ( IntPtr hMonitor ) : MONITORINFO
GetStockObject ( StockObject fnObject ) : IntPtr
GetSystemMenu ( IntPtr hWnd, [ bRevert ) : IntPtr
GetSystemMetrics ( SM nIndex ) : int
GetWindowLongPtr ( IntPtr hwnd, GWL nIndex ) : IntPtr
GetWindowLongPtr32 ( IntPtr hWnd, GWL nIndex ) : int
GetWindowLongPtr64 ( IntPtr hWnd, GWL nIndex ) : IntPtr
GetWindowPlacement ( IntPtr hwnd ) : WINDOWPLACEMENT
GetWindowPlacement ( IntPtr hwnd, WINDOWPLACEMENT lpwndpl ) : bool
GetWindowRect ( IntPtr hwnd ) : RECT
IsThemeActive ( ) : bool
IsWindow ( IntPtr hwnd ) : bool
IsWindowVisible ( IntPtr hwnd ) : bool
IsZoomed ( IntPtr hwnd ) : bool
MonitorFromPoint ( POINT pt, MonitorOptions dwFlags ) : IntPtr
MonitorFromWindow ( IntPtr hwnd, uint dwFlags ) : IntPtr
PostMessage ( IntPtr hWnd, WM Msg, IntPtr wParam, IntPtr lParam ) : void
RegisterClassEx ( WNDCLASSEX &lpwcx ) : short
RegisterClipboardFormat ( string formatName ) : uint
RegisterWindowMessage ( string lpString ) : WM
ReleaseStgMedium ( System.Runtime.InteropServices.ComTypes.STGMEDIUM &pmedium ) : void
RemoveMenu ( IntPtr hMenu, SC uPosition, MF uFlags ) : void
SHAddToRecentDocs ( IShellLinkW shellLink ) : void
SHAddToRecentDocs ( SHARDAPPIDINFO info ) : void
SHAddToRecentDocs ( SHARDAPPIDINFOIDLIST infodIdList ) : void
SHAddToRecentDocs ( string path ) : void
SHAppBarMessage ( int dwMessage, APPBARDATA &pData ) : uint
SHCreateItemFromParsingName ( [ pszPath, IBindCtx pbc, [ riid, [ ppv ) : Standard.HRESULT
SHFileOperation ( SHFILEOPSTRUCT &lpFileOp ) : Standard.Win32Error
SHGetItemFromDataObject ( IDataObject pdtobj, DOGIF dwFlags, [ riid, [ ppv ) : void
ScreenToClient ( IntPtr hWnd, POINT &point ) : bool
SelectObject ( SafeDC hdc, IntPtr hgdiobj ) : IntPtr
SelectObject ( SafeDC hdc, SafeHBITMAP hgdiobj ) : IntPtr
SendInput ( int nInputs, INPUT &pInputs, int cbSize ) : int
SendMessage ( IntPtr hWnd, WM Msg, IntPtr wParam, IntPtr lParam ) : IntPtr
SetActiveWindow ( IntPtr hwnd ) : IntPtr
SetClassLongPtr ( IntPtr hwnd, GCLP nIndex, IntPtr dwNewLong ) : IntPtr
SetClassLongPtr32 ( IntPtr hWnd, GCLP nIndex, int dwNewLong ) : int
SetClassLongPtr64 ( IntPtr hWnd, GCLP nIndex, IntPtr dwNewLong ) : IntPtr
SetCurrentProcessExplicitAppUserModelID ( [ AppID ) : void
SetErrorMode ( ErrorModes newMode ) : ErrorModes
SetProcessWorkingSetSize ( IntPtr hProcess, int dwMinimumWorkingSetSize, int dwMaximumWorkingSetSize ) : void
SetProp ( IntPtr hwnd, string lpString, IntPtr hData ) : void
SetWindowLongPtr ( IntPtr hwnd, GWL nIndex, IntPtr dwNewLong ) : IntPtr
SetWindowLongPtr32 ( IntPtr hWnd, GWL nIndex, int dwNewLong ) : int
SetWindowLongPtr64 ( IntPtr hWnd, GWL nIndex, IntPtr dwNewLong ) : IntPtr
SetWindowPos ( IntPtr hWnd, IntPtr hWndInsertAfter, int x, int y, int cx, int cy, SWP uFlags ) : void
SetWindowRgn ( IntPtr hWnd, IntPtr hRgn, bool bRedraw ) : void
SetWindowThemeAttribute ( [ hwnd, [ eAttribute, [ pvAttribute, [ cbAttribute ) : void
Shell_NotifyIcon ( NIM dwMessage, [ lpdata ) : bool
ShowWindow ( IntPtr hwnd, SW nCmdShow ) : bool
SystemParameterInfo_GetHIGHCONTRAST ( ) : HIGHCONTRAST
SystemParameterInfo_GetNONCLIENTMETRICS ( ) : NONCLIENTMETRICS
SystemParametersInfo ( SPI uiAction, int uiParam, string pvParam, SPIF fWinIni ) : void
TrackPopupMenuEx ( IntPtr hmenu, uint fuFlags, int x, int y, IntPtr hwnd, IntPtr lptpm ) : uint
UnregisterClass ( short atom, IntPtr hinstance ) : void
UnregisterClass ( string lpClassName, IntPtr hInstance ) : void
UpdateLayeredWindow ( IntPtr hwnd, SafeDC hdcDst, POINT &pptDst, SIZE &psize, SafeDC hdcSrc, POINT &pptSrc, int crKey, BLENDFUNCTION &pblend, ULW dwFlags ) : void
UpdateLayeredWindow ( IntPtr hwnd, int crKey, BLENDFUNCTION &pblend, ULW dwFlags ) : void
_AdjustWindowRectEx ( RECT &lpRect, WS dwStyle, [ bMenu, WS_EX dwExStyle ) : bool
_AllowSetForegroundWindow ( int dwProcessId ) : bool
_ChangeWindowMessageFilter ( WM message, MSGFLT dwFlag ) : bool
_ChangeWindowMessageFilterEx ( IntPtr hwnd, WM message, MSGFLT action, [ pChangeFilterStruct ) : bool
_CommandLineToArgvW ( [ cmdLine, int &numArgs ) : IntPtr
_CreateDIBSection ( SafeDC hdc, [ bitmapInfo, int iUsage, [ ppvBits, IntPtr hSection, int dwOffset ) : SafeHBITMAP
_CreateDIBSectionIntPtr ( IntPtr hdc, [ bitmapInfo, int iUsage, [ ppvBits, IntPtr hSection, int dwOffset ) : SafeHBITMAP
_CreateRectRgn ( int nLeftRect, int nTopRect, int nRightRect, int nBottomRect ) : IntPtr
_CreateRectRgnIndirect ( [ lprc ) : IntPtr
_CreateRoundRectRgn ( int nLeftRect, int nTopRect, int nRightRect, int nBottomRect, int nWidthEllipse, int nHeightEllipse ) : IntPtr
_CreateWindowEx ( WS_EX dwExStyle, [ lpClassName, [ lpWindowName, WS dwStyle, int x, int y, int nWidth, int nHeight, IntPtr hWndParent, IntPtr hMenu, IntPtr hInstance, IntPtr lpParam ) : IntPtr
_DrawMenuBar ( IntPtr hWnd ) : bool
_DwmGetColorizationColor ( uint &pcrColorization, [ pfOpaqueBlend ) : Standard.HRESULT
_DwmGetCompositionTimingInfo ( IntPtr hwnd, DWM_TIMING_INFO &pTimingInfo ) : Standard.HRESULT
_DwmIsCompositionEnabled ( ) : bool
_DwmSetWindowAttribute ( IntPtr hwnd, DWMWA dwAttribute, int &pvAttribute, int cbAttribute ) : void
_EnableMenuItem ( IntPtr hMenu, SC uIDEnableItem, MF uEnable ) : int
_GetClientRect ( IntPtr hwnd, [ lpRect ) : bool
_GetCurrentThemeName ( StringBuilder pszThemeFileName, int dwMaxNameChars, StringBuilder pszColorBuff, int cchMaxColorChars, StringBuilder pszSizeBuff, int cchMaxSizeChars ) : Standard.HRESULT
_GetCursorPos ( POINT &lpPoint ) : bool
_GetModuleFileName ( IntPtr hModule, StringBuilder lpFilename, int nSize ) : int
_GetModuleHandle ( [ lpModuleName ) : IntPtr
_GetMonitorInfo ( IntPtr hMonitor, [ lpmi ) : bool
_GetMonitorInfoW ( [ hMonitor, [ lpmi ) : bool
_GetStockObject ( StockObject fnObject ) : IntPtr
_GetWindowInfo ( IntPtr hWnd, WINDOWINFO &pwi ) : bool
_GetWindowRect ( IntPtr hWnd, RECT &lpRect ) : bool
_LocalFree ( IntPtr hMem ) : IntPtr
_PostMessage ( IntPtr hWnd, WM Msg, IntPtr wParam, IntPtr lParam ) : bool
_RegisterClassEx ( [ lpwcx ) : short
_RegisterClipboardFormat ( string lpszFormatName ) : uint
_RegisterWindowMessage ( [ lpString ) : uint
_RemoveMenu ( IntPtr hMenu, uint uPosition, uint uFlags ) : bool
_SHAddToRecentDocsObj ( SHARD uFlags, object pv ) : void
_SHAddToRecentDocs_ShellLink ( SHARD uFlags, IShellLinkW pv ) : void
_SHAddToRecentDocs_String ( SHARD uFlags, [ pv ) : void
_SelectObject ( SafeDC hdc, IntPtr hgdiobj ) : IntPtr
_SelectObjectSafeHBITMAP ( SafeDC hdc, SafeHBITMAP hgdiobj ) : IntPtr
_SetActiveWindow ( IntPtr hWnd ) : IntPtr
_SetProcessWorkingSetSize ( IntPtr hProcess, IntPtr dwMinimiumWorkingSetSize, IntPtr dwMaximumWorkingSetSize ) : bool
_SetProp ( IntPtr hWnd, [ lpString, IntPtr hData ) : bool
_SetWindowPos ( IntPtr hWnd, IntPtr hWndInsertAfter, int x, int y, int cx, int cy, SWP uFlags ) : bool
_SetWindowRgn ( IntPtr hWnd, IntPtr hRgn, [ bRedraw ) : int
_SystemParametersInfo_HIGHCONTRAST ( SPI uiAction, int uiParam, [ pvParam, SPIF fWinIni ) : bool
_SystemParametersInfo_NONCLIENTMETRICS ( SPI uiAction, int uiParam, [ pvParam, SPIF fWinIni ) : bool
_SystemParametersInfo_String ( SPI uiAction, int uiParam, [ pvParam, SPIF fWinIni ) : bool
_UnregisterClassAtom ( IntPtr lpClassName, IntPtr hInstance ) : bool
_UnregisterClassName ( string lpClassName, IntPtr hInstance ) : bool
_UpdateLayeredWindow ( IntPtr hwnd, SafeDC hdcDst, [ pptDst, [ psize, SafeDC hdcSrc, [ pptSrc, int crKey, BLENDFUNCTION &pblend, ULW dwFlags ) : bool
_UpdateLayeredWindowIntPtr ( IntPtr hwnd, IntPtr hdcDst, IntPtr pptDst, IntPtr psize, IntPtr hdcSrc, IntPtr pptSrc, int crKey, BLENDFUNCTION &pblend, ULW dwFlags ) : bool

메소드 상세

GetWindowInfo() 공개 정적인 메소드

public static GetWindowInfo ( IntPtr hWnd ) : WINDOWINFO
hWnd System.IntPtr
리턴 WINDOWINFO