Class OTZNativeMethods
Win32 API 及びその定数の定義クラスです。
Inheritance
System.Object
OTZNativeMethods
アセンブリ: OTZControls.dll
Syntax
public static class OTZNativeMethods
メソッド
AlphaBlend(IntPtr, Int32, Int32, Int32, Int32, IntPtr, Int32, Int32, Int32, Int32, BLENDFUNCTION)
宣言
public static extern bool AlphaBlend(IntPtr hdcDest, int x1, int y1, int width1, int height1, IntPtr hdcSrc, int x2, int y2, int width2, int height2, BLENDFUNCTION blendFunction)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hdcDest |
|
System.Int32 |
x1 |
|
System.Int32 |
y1 |
|
System.Int32 |
width1 |
|
System.Int32 |
height1 |
|
System.IntPtr |
hdcSrc |
|
System.Int32 |
x2 |
|
System.Int32 |
y2 |
|
System.Int32 |
width2 |
|
System.Int32 |
height2 |
|
BLENDFUNCTION |
blendFunction |
|
戻り値
BeginPaint(IntPtr, ref PAINTSTRUCT)
宣言
public static extern IntPtr BeginPaint(IntPtr window, ref PAINTSTRUCT ps)
パラメーター
戻り値
BitBlt(IntPtr, Int32, Int32, Int32, Int32, IntPtr, Int32, Int32, Int32)
宣言
public static extern int BitBlt(IntPtr hdcDest, int x, int y, int nWidth, int nHeigt, IntPtr hdcSrc, int nXSrc, int nYSrc, int dwRop)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hdcDest |
|
System.Int32 |
x |
|
System.Int32 |
y |
|
System.Int32 |
nWidth |
|
System.Int32 |
nHeigt |
|
System.IntPtr |
hdcSrc |
|
System.Int32 |
nXSrc |
|
System.Int32 |
nYSrc |
|
System.Int32 |
dwRop |
|
戻り値
CallNextHookEx(IntPtr, Int32, IntPtr, IntPtr)
宣言
public static extern IntPtr CallNextHookEx(IntPtr hhk, int nCode, IntPtr wParam, IntPtr lParam)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hhk |
|
System.Int32 |
nCode |
|
System.IntPtr |
wParam |
|
System.IntPtr |
lParam |
|
戻り値
CallWindowProc(IntPtr, IntPtr, Int32, IntPtr, IntPtr)
宣言
public static extern IntPtr CallWindowProc(IntPtr lpPrevWndFunc, IntPtr hWnd, int Msg, IntPtr wParam, IntPtr lParam)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
lpPrevWndFunc |
|
System.IntPtr |
hWnd |
|
System.Int32 |
Msg |
|
System.IntPtr |
wParam |
|
System.IntPtr |
lParam |
|
戻り値
CloseClipboard()
宣言
public static extern bool CloseClipboard()
戻り値
ClosePrinter(IntPtr)
宣言
public static extern bool ClosePrinter(IntPtr hPrinter)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hPrinter |
|
戻り値
CloseThemeData(IntPtr)
宣言
public static extern IntPtr CloseThemeData(IntPtr hTheme)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hTheme |
|
戻り値
CombineRgn(IntPtr, IntPtr, IntPtr, Int32)
宣言
public static extern int CombineRgn(IntPtr hrgnDest, IntPtr hrgnSrc1, IntPtr hrgnSrc2, int iMode)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hrgnDest |
|
System.IntPtr |
hrgnSrc1 |
|
System.IntPtr |
hrgnSrc2 |
|
System.Int32 |
iMode |
|
戻り値
ConnectToPrinterDlg(IntPtr, Int32)
宣言
public static extern int ConnectToPrinterDlg(IntPtr hWnd, int flags)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hWnd |
|
System.Int32 |
flags |
|
戻り値
CopyMemory(IntPtr, IntPtr, UInt32)
宣言
public static extern void CopyMemory(IntPtr dest, IntPtr src, uint count)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
dest |
|
System.IntPtr |
src |
|
System.UInt32 |
count |
|
CreateCaret(IntPtr, IntPtr, Int32, Int32)
宣言
public static extern int CreateCaret(IntPtr hWnd, IntPtr bitmap, int width, int height)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hWnd |
|
System.IntPtr |
bitmap |
|
System.Int32 |
width |
|
System.Int32 |
height |
|
戻り値
CreateCompatibleBitmap(IntPtr, Int32, Int32)
宣言
public static extern IntPtr CreateCompatibleBitmap(IntPtr hdc, int width, int height)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hdc |
|
System.Int32 |
width |
|
System.Int32 |
height |
|
戻り値
CreateCompatibleDC(IntPtr)
宣言
public static extern IntPtr CreateCompatibleDC(IntPtr hdc)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hdc |
|
戻り値
CreateDC(String, String, String, Int32)
宣言
public static extern IntPtr CreateDC(string lpszDriver, string lpszDevice, string lpszOutput, int lpInitData)
パラメーター
型 |
名前 |
説明 |
System.String |
lpszDriver |
|
System.String |
lpszDevice |
|
System.String |
lpszOutput |
|
System.Int32 |
lpInitData |
|
戻り値
CreateFont(Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, String)
宣言
public static extern int CreateFont(int H, int W, int E, int O, int W2, int I, int u, int S, int C, int OP, int CP, int Q, int PAF, string F)
パラメーター
型 |
名前 |
説明 |
System.Int32 |
H |
|
System.Int32 |
W |
|
System.Int32 |
E |
|
System.Int32 |
O |
|
System.Int32 |
W2 |
|
System.Int32 |
I |
|
System.Int32 |
u |
|
System.Int32 |
S |
|
System.Int32 |
C |
|
System.Int32 |
OP |
|
System.Int32 |
CP |
|
System.Int32 |
Q |
|
System.Int32 |
PAF |
|
System.String |
F |
|
戻り値
CreateFontIndirect(ref LOGFONT)
宣言
public static extern IntPtr CreateFontIndirect(ref LOGFONT lplf)
パラメーター
戻り値
CreateLogFont(IntPtr, Font, out UNSAFE_LOGFONT)
宣言
public static void CreateLogFont(IntPtr window, Font font, out UNSAFE_LOGFONT lf)
パラメーター
CreatePen(Color)
宣言
public static IntPtr CreatePen(Color color)
パラメーター
戻り値
CreatePen(Int32, Int32, Int32)
宣言
public static extern IntPtr CreatePen(int nPenStyle, int nWidth, int crColor)
パラメーター
型 |
名前 |
説明 |
System.Int32 |
nPenStyle |
|
System.Int32 |
nWidth |
|
System.Int32 |
crColor |
|
戻り値
CreateRectRgn(Int32, Int32, Int32, Int32)
宣言
public static extern IntPtr CreateRectRgn(int left, int top, int right, int bottom)
パラメーター
型 |
名前 |
説明 |
System.Int32 |
left |
|
System.Int32 |
top |
|
System.Int32 |
right |
|
System.Int32 |
bottom |
|
戻り値
CreateRectRgnIndirect(RECT)
宣言
public static extern IntPtr CreateRectRgnIndirect(RECT lprc)
パラメーター
戻り値
CreateSolidBrush(Color)
宣言
public static IntPtr CreateSolidBrush(Color color)
パラメーター
戻り値
CreateSolidBrush(Int32)
宣言
public static extern IntPtr CreateSolidBrush(int crColor)
パラメーター
型 |
名前 |
説明 |
System.Int32 |
crColor |
|
戻り値
DeleteDC(IntPtr)
宣言
public static extern int DeleteDC(IntPtr hdc)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hdc |
|
戻り値
宣言
public static extern IntPtr DeleteMenu(IntPtr hWnd, int uPosition, int uFlags)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hWnd |
|
System.Int32 |
uPosition |
|
System.Int32 |
uFlags |
|
戻り値
DeleteObject(IntPtr)
宣言
public static extern int DeleteObject(IntPtr hObject)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hObject |
|
戻り値
DestroyCaret()
宣言
public static extern int DestroyCaret()
戻り値
DestroyIcon(IntPtr)
宣言
public static extern bool DestroyIcon(IntPtr hIcon)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hIcon |
|
戻り値
DeviceCapabilities1(String, String, Int16, Int16[], IntPtr)
宣言
public static extern int DeviceCapabilities1(string pDevice, string pPortt, short fwCapability, short[] pOutput, IntPtr pDevMode)
パラメーター
型 |
名前 |
説明 |
System.String |
pDevice |
|
System.String |
pPortt |
|
System.Int16 |
fwCapability |
|
System.Int16[] |
pOutput |
|
System.IntPtr |
pDevMode |
|
戻り値
DeviceCapabilities2(String, String, Int16, String, IntPtr)
宣言
public static extern int DeviceCapabilities2(string pDevice, string pPortt, short fwCapability, string pOutput, IntPtr pDevMode)
パラメーター
型 |
名前 |
説明 |
System.String |
pDevice |
|
System.String |
pPortt |
|
System.Int16 |
fwCapability |
|
System.String |
pOutput |
|
System.IntPtr |
pDevMode |
|
戻り値
DeviceCapabilities3(String, String, Int16, IntPtr, IntPtr)
宣言
public static extern int DeviceCapabilities3(string pDevice, string pPortt, short fwCapability, IntPtr p, IntPtr pDevMode)
パラメーター
型 |
名前 |
説明 |
System.String |
pDevice |
|
System.String |
pPortt |
|
System.Int16 |
fwCapability |
|
System.IntPtr |
p |
|
System.IntPtr |
pDevMode |
|
戻り値
DrawIcon(IntPtr, Int32, Int32, IntPtr)
宣言
public static extern bool DrawIcon(IntPtr hDC, int X, int Y, IntPtr hIcon)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hDC |
|
System.Int32 |
X |
|
System.Int32 |
Y |
|
System.IntPtr |
hIcon |
|
戻り値
DrawIconEx(IntPtr, Int32, Int32, IntPtr, Int32, Int32, Int32, IntPtr, Int32)
宣言
public static extern bool DrawIconEx(IntPtr hdc, int xLeft, int yTop, IntPtr hIcon, int cxWidth, int cyHeight, int istepIfAniCur, IntPtr hbrFlickerFreeDraw, int diFlags)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hdc |
|
System.Int32 |
xLeft |
|
System.Int32 |
yTop |
|
System.IntPtr |
hIcon |
|
System.Int32 |
cxWidth |
|
System.Int32 |
cyHeight |
|
System.Int32 |
istepIfAniCur |
|
System.IntPtr |
hbrFlickerFreeDraw |
|
System.Int32 |
diFlags |
|
戻り値
DrawLine(IntPtr, Int32, Int32, Int32, Int32)
宣言
public static void DrawLine(IntPtr hdc, int x1, int y1, int x2, int y2)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hdc |
|
System.Int32 |
x1 |
開始位置 x 座標
|
System.Int32 |
y1 |
|
System.Int32 |
x2 |
|
System.Int32 |
y2 |
|
DrawRectangle(IntPtr, RECT)
宣言
public static int DrawRectangle(IntPtr hdc, RECT rectangle)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hdc |
|
RECT |
rectangle |
|
戻り値
DrawRectangle(IntPtr, Int32, Int32, Int32, Int32)
宣言
public static extern int DrawRectangle(IntPtr hdc, int left, int top, int right, int bottom)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hdc |
|
System.Int32 |
left |
|
System.Int32 |
top |
|
System.Int32 |
right |
|
System.Int32 |
bottom |
|
戻り値
DrawTextEx(IntPtr, StringBuilder, Int32, ref RECT, UInt32, ref DRAWTEXTPARAMS)
宣言
public static extern int DrawTextEx(IntPtr hdc, StringBuilder lpchText, int cchText, ref RECT lprc, uint dwDTFormat, ref DRAWTEXTPARAMS lpDTParams)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hdc |
|
System.Text.StringBuilder |
lpchText |
|
System.Int32 |
cchText |
|
RECT |
lprc |
|
System.UInt32 |
dwDTFormat |
|
DRAWTEXTPARAMS |
lpDTParams |
|
戻り値
DrawThemeBackground(IntPtr, IntPtr, Int32, Int32, ref RECT, ref RECT)
宣言
public static extern IntPtr DrawThemeBackground(IntPtr hTheme, IntPtr hdc, int part, int state, ref RECT pRect, ref RECT pClipRect)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hTheme |
|
System.IntPtr |
hdc |
|
System.Int32 |
part |
|
System.Int32 |
state |
|
RECT |
pRect |
|
RECT |
pClipRect |
|
戻り値
DrawThemeTextEx(IntPtr, IntPtr, Int32, Int32, String, Int32, UInt32, ref RECT, ref DTTOPTS)
宣言
public static extern int DrawThemeTextEx(IntPtr hTheme, IntPtr hdc, int iPartId, int iStateId, string pszText, int iCharCount, uint flags, ref RECT rect, ref DTTOPTS poptions)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hTheme |
|
System.IntPtr |
hdc |
|
System.Int32 |
iPartId |
|
System.Int32 |
iStateId |
|
System.String |
pszText |
|
System.Int32 |
iCharCount |
|
System.UInt32 |
flags |
|
RECT |
rect |
|
DTTOPTS |
poptions |
|
戻り値
DwmExtendFrameIntoClientArea(IntPtr, ref MARGINS)
宣言
public static extern int DwmExtendFrameIntoClientArea(IntPtr hwnd, ref MARGINS margins)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hwnd |
|
MARGINS |
margins |
|
戻り値
DwmGetColorizationColor(out Int32, out Boolean)
宣言
public static extern void DwmGetColorizationColor(out int pcrColorization, out bool pfOpaqueBlend)
パラメーター
型 |
名前 |
説明 |
System.Int32 |
pcrColorization |
|
System.Boolean |
pfOpaqueBlend |
|
DwmSetWindowAttribute(IntPtr, DWMWINDOWATTRIBUTE, ref Int32, Int32)
宣言
public static extern int DwmSetWindowAttribute(IntPtr hwnd, DWMWINDOWATTRIBUTE attribute, ref int attrValue, int attrSize)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hwnd |
|
DWMWINDOWATTRIBUTE |
attribute |
|
System.Int32 |
attrValue |
|
System.Int32 |
attrSize |
|
戻り値
DwmSetWindowAttribute(IntPtr, DWMWINDOWATTRIBUTE, Int32[], Int32)
宣言
public static extern int DwmSetWindowAttribute(IntPtr hwnd, DWMWINDOWATTRIBUTE attribute, int[] attrValue, int attrSize)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hwnd |
|
DWMWINDOWATTRIBUTE |
attribute |
|
System.Int32[] |
attrValue |
|
System.Int32 |
attrSize |
|
戻り値
DwmSetWindowAttribute(IntPtr, DWMWINDOWATTRIBUTE, ref UInt32, Int32)
宣言
public static extern int DwmSetWindowAttribute(IntPtr hwnd, DWMWINDOWATTRIBUTE attribute, ref uint attrValue, int attrSize)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hwnd |
|
DWMWINDOWATTRIBUTE |
attribute |
|
System.UInt32 |
attrValue |
|
System.Int32 |
attrSize |
|
戻り値
EmptyClipboard()
宣言
public static extern int EmptyClipboard()
戻り値
EnableBlur(IntPtr)
宣言
public static void EnableBlur(IntPtr hWnd)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hWnd |
|
宣言
public static extern IntPtr EnableMenuItem(IntPtr hWnd, int uIDEnableItem, int uEnable)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hWnd |
|
System.Int32 |
uIDEnableItem |
|
System.Int32 |
uEnable |
|
戻り値
EndPaint(IntPtr, ref PAINTSTRUCT)
宣言
public static extern int EndPaint(IntPtr hWnd, ref PAINTSTRUCT ps)
パラメーター
戻り値
EnumChildWindows(IntPtr, OTZNativeMethods.EnumChildWindowsProc, IntPtr)
宣言
public static extern bool EnumChildWindows(IntPtr handle, OTZNativeMethods.EnumChildWindowsProc enumProc, IntPtr lParam)
パラメーター
戻り値
EnumChildWindows(IntPtr, Func<IntPtr, Boolean>)
宣言
public static List<IntPtr> EnumChildWindows(IntPtr handle, Func<IntPtr, bool> filter)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
handle |
|
System.Func<System.IntPtr, System.Boolean> |
filter |
|
戻り値
EnumWindows(Func<IntPtr, Boolean>)
宣言
public static List<IntPtr> EnumWindows(Func<IntPtr, bool> filter)
パラメーター
型 |
名前 |
説明 |
System.Func<System.IntPtr, System.Boolean> |
filter |
|
戻り値
ExtTextOut(IntPtr, Int32, Int32, Int32, ref RECT, String, Int32, Int32[])
宣言
public static extern bool ExtTextOut(IntPtr hdc, int x, int y, int options, ref RECT lpRect, string lpString, int nCount, int[] lpDX)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hdc |
|
System.Int32 |
x |
|
System.Int32 |
y |
|
System.Int32 |
options |
|
RECT |
lpRect |
|
System.String |
lpString |
|
System.Int32 |
nCount |
|
System.Int32[] |
lpDX |
|
戻り値
ExtTextOutW(IntPtr, Int32, Int32, Int32, ref RECT, String, Int32, Int32[])
宣言
public static extern bool ExtTextOutW(IntPtr hdc, int x, int y, int options, ref RECT lpRect, string lpString, int nCount, int[] lpDX)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hdc |
|
System.Int32 |
x |
|
System.Int32 |
y |
|
System.Int32 |
options |
|
RECT |
lpRect |
|
System.String |
lpString |
|
System.Int32 |
nCount |
|
System.Int32[] |
lpDX |
|
戻り値
ExtTextOutW(IntPtr, Int32, Int32, Int32, ref RECT, String, Int32, IntPtr)
宣言
public static extern bool ExtTextOutW(IntPtr hdc, int x, int y, int options, ref RECT lpRect, string lpString, int nCount, IntPtr zero)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hdc |
|
System.Int32 |
x |
|
System.Int32 |
y |
|
System.Int32 |
options |
|
RECT |
lpRect |
|
System.String |
lpString |
|
System.Int32 |
nCount |
|
System.IntPtr |
zero |
|
戻り値
ExtTextOutW(IntPtr, Int32, Int32, Int32, Rectangle, String, Int32[])
宣言
public static bool ExtTextOutW(IntPtr hdc, int x, int y, int options, Rectangle rectangle, string text, int[] lpDX)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hdc |
|
System.Int32 |
x |
|
System.Int32 |
y |
|
System.Int32 |
options |
|
Rectangle |
rectangle |
|
System.String |
text |
|
System.Int32[] |
lpDX |
|
戻り値
ExtTextOutW(IntPtr, Int32, Int32, String)
宣言
public static bool ExtTextOutW(IntPtr hdc, int x, int y, string text)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hdc |
|
System.Int32 |
x |
|
System.Int32 |
y |
|
System.String |
text |
|
戻り値
FillRect(IntPtr, ref RECT, Color)
宣言
public static int FillRect(IntPtr hdc, ref RECT rect, Color color)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hdc |
|
RECT |
rect |
|
Color |
color |
|
戻り値
FillRect(IntPtr, ref RECT, IntPtr)
宣言
public static extern int FillRect(IntPtr hdc, ref RECT rect, IntPtr brush)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hdc |
|
RECT |
rect |
|
System.IntPtr |
brush |
|
戻り値
FillRect(IntPtr, Rectangle, IntPtr)
宣言
public static int FillRect(IntPtr hdc, Rectangle rectangle, IntPtr brush)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hdc |
|
Rectangle |
rectangle |
|
System.IntPtr |
brush |
|
戻り値
FillRect(IntPtr, Int32, Int32, Int32, Int32, IntPtr)
宣言
public static int FillRect(IntPtr hdc, int left, int top, int right, int bottom, IntPtr brush)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hdc |
|
System.Int32 |
left |
|
System.Int32 |
top |
|
System.Int32 |
right |
|
System.Int32 |
bottom |
|
System.IntPtr |
brush |
|
戻り値
FindWindow(String, String)
宣言
public static extern IntPtr FindWindow(string lpClassName, string lpWindowName)
パラメーター
型 |
名前 |
説明 |
System.String |
lpClassName |
|
System.String |
lpWindowName |
|
戻り値
FindWindowEx(IntPtr, IntPtr, String, String)
宣言
public static extern IntPtr FindWindowEx(IntPtr hwndParent, IntPtr hwndChildafter, string lpszClass, string lpszWindow)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hwndParent |
|
System.IntPtr |
hwndChildafter |
|
System.String |
lpszClass |
|
System.String |
lpszWindow |
|
戻り値
FrameRect(IntPtr, ref RECT, IntPtr)
宣言
public static extern int FrameRect(IntPtr hDC, ref RECT lpRect, IntPtr hPN)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hDC |
|
RECT |
lpRect |
|
System.IntPtr |
hPN |
|
戻り値
GET_WHEEL_DELTA_WPARAM(IntPtr)
宣言
public static int GET_WHEEL_DELTA_WPARAM(IntPtr wParam)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
wParam |
|
戻り値
GET_WHEEL_DELTA_WPARAM(UInt32)
宣言
public static int GET_WHEEL_DELTA_WPARAM(uint wParam)
パラメーター
型 |
名前 |
説明 |
System.UInt32 |
wParam |
|
戻り値
GET_X_LPARAM(IntPtr)
宣言
public static int GET_X_LPARAM(IntPtr lParam)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
lParam |
|
戻り値
GET_Y_LPARAM(IntPtr)
宣言
public static int GET_Y_LPARAM(IntPtr lParam)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
lParam |
|
戻り値
GetClassName(IntPtr)
宣言
public static string GetClassName(IntPtr hWnd)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hWnd |
|
戻り値
GetClassName(IntPtr, StringBuilder, Int32)
宣言
public static extern int GetClassName(IntPtr hWnd, StringBuilder lpClassName, int nMaxCount)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hWnd |
|
System.Text.StringBuilder |
lpClassName |
|
System.Int32 |
nMaxCount |
|
戻り値
GetClientRect(IntPtr, out RECT)
宣言
public static extern bool GetClientRect(IntPtr hWnd, out RECT lpRect)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hWnd |
|
RECT |
lpRect |
|
戻り値
GetClipboardData(UInt32)
宣言
public static extern IntPtr GetClipboardData(uint format)
パラメーター
型 |
名前 |
説明 |
System.UInt32 |
format |
|
戻り値
GetColorFromInt64(Int64)
宣言
public static Color GetColorFromInt64(long color)
パラメーター
型 |
名前 |
説明 |
System.Int64 |
color |
|
戻り値
GetColorRef(Color)
宣言
public static int GetColorRef(Color color)
パラメーター
戻り値
GetComboBoxInfo(IntPtr, ref COMBOBOXINFO)
宣言
public static extern bool GetComboBoxInfo(IntPtr hWnd, ref COMBOBOXINFO pcbi)
パラメーター
戻り値
GetDC(IntPtr)
宣言
public static extern IntPtr GetDC(IntPtr hWnd)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hWnd |
|
戻り値
GetDCEx(IntPtr, IntPtr, DCX)
宣言
public static extern IntPtr GetDCEx(IntPtr hWnd, IntPtr hrgnClip, DCX flags)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hWnd |
|
System.IntPtr |
hrgnClip |
|
DCX |
flags |
|
戻り値
GetDesktopWindow()
宣言
public static extern IntPtr GetDesktopWindow()
戻り値
GetDeviceCaps(IntPtr, Int32)
宣言
public static extern int GetDeviceCaps(IntPtr hdc, int nIndex)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hdc |
|
System.Int32 |
nIndex |
|
戻り値
宣言
public static extern int GetDpiForMonitor(IntPtr hmonitor, MonitorDpiType dpiType, out uint dpiX, out uint dpiY)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hmonitor |
|
MonitorDpiType |
dpiType |
|
System.UInt32 |
dpiX |
|
System.UInt32 |
dpiY |
|
戻り値
GetDpiForSystem()
宣言
public static extern int GetDpiForSystem()
戻り値
GetDpiForWindow(IntPtr)
指定したウィンドウの 1 インチあたりのドット数 (dpi) の値を返します。
宣言
public static extern int GetDpiForWindow(IntPtr hWnd)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hWnd |
|
戻り値
GetDpiMagnification(IntPtr)
宣言
public static float GetDpiMagnification(IntPtr hWnd)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hWnd |
|
戻り値
GetError()
宣言
public static void GetError()
GetLastError()
宣言
public static extern uint GetLastError()
戻り値
GetModuleHandle(String)
宣言
public static extern IntPtr GetModuleHandle(string lpModuleName)
パラメーター
型 |
名前 |
説明 |
System.String |
lpModuleName |
|
戻り値
GetMonitorInfo(IntPtr, MONITORINFOEX)
宣言
public static extern bool GetMonitorInfo(IntPtr hmonitor, MONITORINFOEX info)
パラメーター
戻り値
GetObject(IntPtr, Int32, ref LOGFONT)
宣言
public static extern int GetObject(IntPtr hgdiobj, int cbBuffer, ref LOGFONT lf)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hgdiobj |
|
System.Int32 |
cbBuffer |
|
LOGFONT |
lf |
|
戻り値
GetOpenClipboardWindow()
宣言
public static extern IntPtr GetOpenClipboardWindow()
戻り値
GetPaddingBorder()
宣言
public static int GetPaddingBorder()
戻り値
GetPoint(IntPtr)
#define GET_X_LPARAM(lp) ((int)(short)LOWORD(lp))
#define GET_Y_LPARAM(lp) ((int)(short)HIWORD(lp))
宣言
public static Point GetPoint(IntPtr _xy)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
_xy |
|
戻り値
GetPrinterW(IntPtr, Int32, IntPtr, Int32, out Int32)
宣言
public static extern bool GetPrinterW(IntPtr hPrinter, int dwLevel, IntPtr pPrinter, int cbBuf, out int pcbNeeded)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hPrinter |
|
System.Int32 |
dwLevel |
|
System.IntPtr |
pPrinter |
|
System.Int32 |
cbBuf |
|
System.Int32 |
pcbNeeded |
|
戻り値
宣言
public static extern bool GetScrollInfo(IntPtr hWnd, int fnBar, ref SCROLLINFO ScrollInfo)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hWnd |
|
System.Int32 |
fnBar |
|
SCROLLINFO |
ScrollInfo |
|
戻り値
宣言
public static int GetScrollPosition(IntPtr hWnd, int scrollType)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hWnd |
|
System.Int32 |
scrollType |
|
戻り値
GetStockObject(Int32)
宣言
public static extern IntPtr GetStockObject(int fnObject)
パラメーター
型 |
名前 |
説明 |
System.Int32 |
fnObject |
|
戻り値
宣言
public static extern IntPtr GetSystemMenu(IntPtr hWnd, bool bRevert)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hWnd |
|
System.Boolean |
bRevert |
|
戻り値
GetSystemMetrics(Int32)
宣言
public static extern int GetSystemMetrics(int nIndex)
パラメーター
型 |
名前 |
説明 |
System.Int32 |
nIndex |
|
戻り値
GetSystemMetricsForDpi(Int32, Int32)
宣言
public static extern int GetSystemMetricsForDpi(int nIndex, int dpi)
パラメーター
型 |
名前 |
説明 |
System.Int32 |
nIndex |
|
System.Int32 |
dpi |
|
戻り値
GetSystemMetricsForDpi(Int32, UInt32)
宣言
public static extern int GetSystemMetricsForDpi(int nIndex, uint dpi)
パラメーター
型 |
名前 |
説明 |
System.Int32 |
nIndex |
|
System.UInt32 |
dpi |
|
戻り値
GetTextExtentExPointW(IntPtr, String, Int32)
宣言
public static Size GetTextExtentExPointW(IntPtr hdc, string text, int textLength)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hdc |
|
System.String |
text |
|
System.Int32 |
textLength |
|
戻り値
GetTextExtentExPointW(IntPtr, String, Int32, Int32, ref Int32, ref Int32, ref SIZE)
宣言
public static extern int GetTextExtentExPointW(IntPtr hdc, string text, int textLength, int maxWidth, ref int lpnFit, ref int alpDx, ref SIZE lpSize)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hdc |
|
System.String |
text |
|
System.Int32 |
textLength |
|
System.Int32 |
maxWidth |
|
System.Int32 |
lpnFit |
|
System.Int32 |
alpDx |
|
SIZE |
lpSize |
|
戻り値
GetTextExtentPoint32(IntPtr, String, Int32, ref SIZE)
宣言
public static extern bool GetTextExtentPoint32(IntPtr hdc, string str, int count, ref SIZE size)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hdc |
|
System.String |
str |
|
System.Int32 |
count |
|
SIZE |
size |
|
戻り値
GetTextExtentPoint32W(IntPtr, String, Int32)
宣言
public static Size GetTextExtentPoint32W(IntPtr hdc, string text, int textLength)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hdc |
デバイス コンテキストへのハンドル。
|
System.String |
text |
テキスト文字列
|
System.Int32 |
textLength |
文字列の長さ
|
戻り値
GetThemePartSize(IntPtr, IntPtr, Int32, Int32, ref RECT, THEMESIZE, out SIZE)
宣言
public static extern int GetThemePartSize(IntPtr hTheme, IntPtr hdc, int part, int state, ref RECT pRect, THEMESIZE eSize, out SIZE size)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hTheme |
|
System.IntPtr |
hdc |
|
System.Int32 |
part |
|
System.Int32 |
state |
|
RECT |
pRect |
|
THEMESIZE |
eSize |
|
SIZE |
size |
|
戻り値
GetWindow(IntPtr, Int32)
宣言
public static extern IntPtr GetWindow(IntPtr hWnd, int wCmd)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hWnd |
|
System.Int32 |
wCmd |
|
戻り値
GetWindowDC(IntPtr)
宣言
public static extern IntPtr GetWindowDC(IntPtr hWnd)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hWnd |
|
戻り値
GetWindowInfo(IntPtr, ref WINDOWINFO)
宣言
public static extern int GetWindowInfo(IntPtr hwnd, ref WINDOWINFO pwi)
パラメーター
戻り値
GetWindowLongPtr(IntPtr, Int32)
宣言
public static IntPtr GetWindowLongPtr(IntPtr hWnd, int nIndex)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hWnd |
|
System.Int32 |
nIndex |
|
戻り値
GetWindowLongPtr32(IntPtr, Int32)
宣言
public static extern IntPtr GetWindowLongPtr32(IntPtr hWnd, int nIndex)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hWnd |
|
System.Int32 |
nIndex |
|
戻り値
GetWindowLongPtr64(IntPtr, Int32)
宣言
public static extern IntPtr GetWindowLongPtr64(IntPtr hWnd, int nIndex)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hWnd |
|
System.Int32 |
nIndex |
|
戻り値
GetWindowPlacement(IntPtr, ref WINDOWPLACEMENT)
宣言
public static extern bool GetWindowPlacement(IntPtr hWnd, ref WINDOWPLACEMENT lpwndpl)
パラメーター
戻り値
GetWindowRect(IntPtr)
宣言
public static Rectangle GetWindowRect(IntPtr hwnd)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hwnd |
|
戻り値
GetWindowRect(IntPtr, out RECT)
宣言
public static extern bool GetWindowRect(IntPtr hWnd, out RECT lpRect)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hWnd |
|
RECT |
lpRect |
|
戻り値
GetWindowText(IntPtr)
宣言
public static string GetWindowText(IntPtr hWnd)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hWnd |
|
戻り値
GetWindowThreadProcessId(IntPtr, out UInt32)
宣言
public static extern uint GetWindowThreadProcessId(IntPtr hWnd, out uint lpdwProcessId)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hWnd |
|
System.UInt32 |
lpdwProcessId |
|
戻り値
GlobalAlloc(UInt32, UIntPtr)
宣言
public static extern IntPtr GlobalAlloc(uint uFlags, UIntPtr dwBytes)
パラメーター
型 |
名前 |
説明 |
System.UInt32 |
uFlags |
|
System.UIntPtr |
dwBytes |
|
戻り値
GlobalFree(IntPtr)
宣言
public static extern IntPtr GlobalFree(IntPtr hMem)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hMem |
|
戻り値
GlobalLock(IntPtr)
宣言
public static extern IntPtr GlobalLock(IntPtr hMem)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hMem |
|
戻り値
GlobalUnlock(IntPtr)
宣言
public static extern bool GlobalUnlock(IntPtr hMem)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hMem |
|
戻り値
HideCaret(IntPtr)
宣言
public static extern int HideCaret(IntPtr hWnd)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hWnd |
|
戻り値
HIWORD(Int32)
宣言
public static int HIWORD(int n)
パラメーター
戻り値
HIWORD(IntPtr)
宣言
public static ushort HIWORD(IntPtr dwValue)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
dwValue |
|
戻り値
HIWORD(UInt32)
宣言
public static ushort HIWORD(uint dwValue)
パラメーター
型 |
名前 |
説明 |
System.UInt32 |
dwValue |
|
戻り値
ILCombine(IntPtr, IntPtr)
宣言
public static extern IntPtr ILCombine(IntPtr pIDLParent, IntPtr pIDLChild)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
pIDLParent |
|
System.IntPtr |
pIDLChild |
|
戻り値
ImageList_BeginDrag(IntPtr, Int32, Int32, Int32)
宣言
public static extern bool ImageList_BeginDrag(IntPtr himlTrack, int iTrack, int dxHotspot, int dyHotspot)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
himlTrack |
|
System.Int32 |
iTrack |
|
System.Int32 |
dxHotspot |
|
System.Int32 |
dyHotspot |
|
戻り値
ImageList_DragEnter(IntPtr, Int32, Int32)
宣言
public static extern bool ImageList_DragEnter(IntPtr hwndLock, int x, int y)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hwndLock |
|
System.Int32 |
x |
|
System.Int32 |
y |
|
戻り値
ImageList_DragLeave(IntPtr)
宣言
public static extern bool ImageList_DragLeave(IntPtr hwndLock)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hwndLock |
|
戻り値
ImageList_DragMove(Int32, Int32)
宣言
public static extern bool ImageList_DragMove(int x, int y)
パラメーター
型 |
名前 |
説明 |
System.Int32 |
x |
|
System.Int32 |
y |
|
戻り値
ImageList_Draw(IntPtr, Int32, IntPtr, Int32, Int32, Int32)
宣言
public static extern bool ImageList_Draw(IntPtr himl, int index, IntPtr hdcDst, int x, int y, int fStyle)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
himl |
|
System.Int32 |
index |
|
System.IntPtr |
hdcDst |
|
System.Int32 |
x |
|
System.Int32 |
y |
|
System.Int32 |
fStyle |
|
戻り値
ImageList_EndDrag()
宣言
public static extern void ImageList_EndDrag()
ImageList_GetIcon(IntPtr, Int32, Int32)
宣言
public static extern IntPtr ImageList_GetIcon(IntPtr himl, int i, int flags)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
himl |
|
System.Int32 |
i |
|
System.Int32 |
flags |
|
戻り値
ImageList_SetOverlayImage(IntPtr, Int32, Int32)
宣言
public static extern int ImageList_SetOverlayImage(IntPtr himl, int iImage, int iOverlay)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
himl |
|
System.Int32 |
iImage |
|
System.Int32 |
iOverlay |
|
戻り値
ImmGetCompositionStringW(IntPtr, Int32, StringBuilder, Int32)
宣言
public static extern int ImmGetCompositionStringW(IntPtr himc, int index, StringBuilder text, int len)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
himc |
|
System.Int32 |
index |
|
System.Text.StringBuilder |
text |
|
System.Int32 |
len |
|
戻り値
ImmGetContext(IntPtr)
宣言
public static extern IntPtr ImmGetContext(IntPtr window)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
window |
|
戻り値
ImmGetConversionStatus(IntPtr, ref Int32, ref Int32)
宣言
public static extern bool ImmGetConversionStatus(IntPtr hIMC, ref int conversion, ref int sentence)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hIMC |
|
System.Int32 |
conversion |
|
System.Int32 |
sentence |
|
戻り値
ImmGetOpenStatus(IntPtr)
宣言
public static extern bool ImmGetOpenStatus(IntPtr hIMC)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hIMC |
|
戻り値
ImmNotifyIME(IntPtr, Int32, Int32, Int32)
宣言
public static extern int ImmNotifyIME(IntPtr himc, int dwAction, int dwIndex, int dwValue)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
himc |
|
System.Int32 |
dwAction |
|
System.Int32 |
dwIndex |
|
System.Int32 |
dwValue |
|
戻り値
ImmReleaseContext(IntPtr, IntPtr)
宣言
public static extern int ImmReleaseContext(IntPtr window, IntPtr himc)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
window |
|
System.IntPtr |
himc |
|
戻り値
ImmSetCompositionFont(IntPtr, ref LOGFONT)
宣言
public static extern int ImmSetCompositionFont(IntPtr himc, ref LOGFONT lpLogFont)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
himc |
|
LOGFONT |
lpLogFont |
|
戻り値
ImmSetCompositionFontW(IntPtr, ref LOGFONT)
宣言
public static extern int ImmSetCompositionFontW(IntPtr himc, ref LOGFONT lpLogFont)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
himc |
|
LOGFONT |
lpLogFont |
|
戻り値
ImmSetCompositionStringW(IntPtr, Int32, IntPtr, Int32, Int32, Int32)
宣言
public static extern int ImmSetCompositionStringW(IntPtr himc, int dwIndex, IntPtr lpComp, int dw, int lpRead, int dw2)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
himc |
|
System.Int32 |
dwIndex |
|
System.IntPtr |
lpComp |
|
System.Int32 |
dw |
|
System.Int32 |
lpRead |
|
System.Int32 |
dw2 |
|
戻り値
宣言
public static extern int ImmSetCompositionWindow(IntPtr himc, COMPOSITIONFORM lpCompositionForm)
パラメーター
戻り値
InvalidateRect(IntPtr, ref RECT, Boolean)
宣言
public static extern bool InvalidateRect(IntPtr hWnd, ref RECT rect, bool erase)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hWnd |
|
RECT |
rect |
|
System.Boolean |
erase |
|
戻り値
宣言
public static extern bool IsClipboardFormatAvailable(uint format)
パラメーター
型 |
名前 |
説明 |
System.UInt32 |
format |
|
戻り値
IsIconic(IntPtr)
宣言
public static extern bool IsIconic(IntPtr hWnd)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hWnd |
|
戻り値
IsWindowVisible(IntPtr)
宣言
public static extern bool IsWindowVisible(IntPtr hWnd)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hWnd |
|
戻り値
IsZoomed(IntPtr)
宣言
public static extern bool IsZoomed(IntPtr hWnd)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hWnd |
|
戻り値
LineTo(IntPtr, Int32, Int32)
宣言
public static extern int LineTo(IntPtr hdc, int x, int y)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hdc |
デバイスコンテキストのハンドルを指定します。
|
System.Int32 |
x |
直線の終点の x 座標を論理単位で指定します。
|
System.Int32 |
y |
直線の終点の y 座標を論理単位で指定します。
|
戻り値
LoadCursor(IntPtr, UInt16)
宣言
public static extern IntPtr LoadCursor(IntPtr hInstance, ushort lpCursorName)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hInstance |
|
System.UInt16 |
lpCursorName |
|
戻り値
LoadLibrary(String)
宣言
public static extern IntPtr LoadLibrary(string dllToLoad)
パラメーター
型 |
名前 |
説明 |
System.String |
dllToLoad |
|
戻り値
LockWindowUpdate(IntPtr)
宣言
public static extern bool LockWindowUpdate(IntPtr hWnd)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hWnd |
|
戻り値
LOWORD(Int32)
宣言
public static int LOWORD(int n)
パラメーター
戻り値
MakeLParam(Int32, Int32)
宣言
public static int MakeLParam(int wLow, int wHigh)
パラメーター
型 |
名前 |
説明 |
System.Int32 |
wLow |
|
System.Int32 |
wHigh |
|
戻り値
MAKELPARAM(Int32, Int32)
宣言
public static int MAKELPARAM(int wLow, int wHigh)
パラメーター
型 |
名前 |
説明 |
System.Int32 |
wLow |
|
System.Int32 |
wHigh |
|
戻り値
MapWindowPoints(IntPtr, IntPtr, ref RECT, Int32)
宣言
public static extern int MapWindowPoints(IntPtr hWndFrom, IntPtr hWndTo, ref RECT rect, int cPoints)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hWndFrom |
|
System.IntPtr |
hWndTo |
|
RECT |
rect |
|
System.Int32 |
cPoints |
|
戻り値
MonitorFromWindow(IntPtr, Int32)
宣言
public static extern IntPtr MonitorFromWindow(IntPtr hwnd, int dwFlags)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hwnd |
|
System.Int32 |
dwFlags |
|
戻り値
MonitorFromWindow(IntPtr, UInt32)
宣言
public static extern IntPtr MonitorFromWindow(IntPtr hwnd, uint dwFlags)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hwnd |
|
System.UInt32 |
dwFlags |
|
戻り値
MoveToEx(IntPtr, Int32, Int32, IntPtr)
宣言
public static extern int MoveToEx(IntPtr hdc, int x, int y, IntPtr pt)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hdc |
|
System.Int32 |
x |
|
System.Int32 |
y |
|
System.IntPtr |
pt |
|
戻り値
MulDiv(Int32, Int32, Int32)
宣言
public static extern int MulDiv(int nNumber, int nNumerator, int nDenominator)
パラメーター
型 |
名前 |
説明 |
System.Int32 |
nNumber |
|
System.Int32 |
nNumerator |
|
System.Int32 |
nDenominator |
|
戻り値
MultiByteToWideChar(UInt32, UInt32, Byte[], Int32, StringBuilder, Int32)
宣言
public static extern int MultiByteToWideChar(uint CodePage, uint dwFlags, byte[] lpMultiByteStr, int cbMultiByte, StringBuilder lpWideCharStr, int cchWideChar)
パラメーター
型 |
名前 |
説明 |
System.UInt32 |
CodePage |
|
System.UInt32 |
dwFlags |
|
System.Byte[] |
lpMultiByteStr |
|
System.Int32 |
cbMultiByte |
|
System.Text.StringBuilder |
lpWideCharStr |
|
System.Int32 |
cchWideChar |
|
戻り値
OpenClipboard(IntPtr)
宣言
public static extern bool OpenClipboard(IntPtr hWndNewOwner)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hWndNewOwner |
|
戻り値
OpenPrinterW(String, out IntPtr, IntPtr)
宣言
public static extern bool OpenPrinterW(string pPrinterName, out IntPtr hPrinter, IntPtr pDefault)
パラメーター
型 |
名前 |
説明 |
System.String |
pPrinterName |
|
System.IntPtr |
hPrinter |
|
System.IntPtr |
pDefault |
|
戻り値
OpenThemeDataForDpi(IntPtr, String, Int32)
宣言
public static extern IntPtr OpenThemeDataForDpi(IntPtr hWnd, string pszClassList, int dpi)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hWnd |
|
System.String |
pszClassList |
|
System.Int32 |
dpi |
|
戻り値
PatBlt(IntPtr, Rectangle, UInt32)
宣言
public static int PatBlt(IntPtr hdc, Rectangle rect, uint rop)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hdc |
|
Rectangle |
rect |
|
System.UInt32 |
rop |
|
戻り値
PatBlt(IntPtr, Int32, Int32, Int32, Int32, UInt32)
宣言
public static extern int PatBlt(IntPtr hdc, int left, int top, int width, int height, uint rop)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hdc |
|
System.Int32 |
left |
|
System.Int32 |
top |
|
System.Int32 |
width |
|
System.Int32 |
height |
|
System.UInt32 |
rop |
|
戻り値
Polygon(IntPtr, POINT[], Int32)
宣言
public static extern bool Polygon(IntPtr hdc, POINT[] lpPoints, int nCount)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hdc |
|
POINT[] |
lpPoints |
|
System.Int32 |
nCount |
|
戻り値
Polyline(IntPtr, POINT[], Int32)
宣言
public static extern int Polyline(IntPtr hdc, POINT[] points, int count)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hdc |
|
POINT[] |
points |
|
System.Int32 |
count |
|
戻り値
PolyPolyline(IntPtr, POINT[], Int32[], Int32)
宣言
public static extern int PolyPolyline(IntPtr hdc, POINT[] points, int[] lpdwPolyPoints, int count)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hdc |
|
POINT[] |
points |
|
System.Int32[] |
lpdwPolyPoints |
|
System.Int32 |
count |
|
戻り値
PostMessage(IntPtr, Int32, IntPtr, IntPtr)
宣言
public static extern bool PostMessage(IntPtr hWnd, int msg, IntPtr wParam, IntPtr lParam)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hWnd |
|
System.Int32 |
msg |
|
System.IntPtr |
wParam |
|
System.IntPtr |
lParam |
|
戻り値
PrintDlg(ref PRINTDLG_32)
宣言
public static extern bool PrintDlg(ref PRINTDLG_32 lpPrintdlg)
パラメーター
戻り値
PrintDlg(ref PRINTDLG_64)
宣言
public static extern bool PrintDlg(ref PRINTDLG_64 lpPrintdlg)
パラメーター
戻り値
PrintDlgEx(ref PRINTDLGEX)
宣言
public static extern int PrintDlgEx(ref PRINTDLGEX lppdex)
パラメーター
戻り値
Rectangle(IntPtr, RECT)
宣言
public static int Rectangle(IntPtr hdc, RECT rectangle)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hdc |
|
RECT |
rectangle |
|
戻り値
Rectangle(IntPtr, Int32, Int32, Int32, Int32)
宣言
public static extern int Rectangle(IntPtr hdc, int left, int top, int right, int bottom)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hdc |
|
System.Int32 |
left |
|
System.Int32 |
top |
|
System.Int32 |
right |
|
System.Int32 |
bottom |
|
戻り値
RedrawWindow(IntPtr, IntPtr, IntPtr, Int32)
宣言
public static extern bool RedrawWindow(IntPtr hWnd, IntPtr lprcUpdate, IntPtr hrgnUpdate, int flags)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hWnd |
|
System.IntPtr |
lprcUpdate |
|
System.IntPtr |
hrgnUpdate |
|
System.Int32 |
flags |
|
戻り値
RefreshImmersiveColorPolicyState()
宣言
public static extern void RefreshImmersiveColorPolicyState()
宣言
public static extern uint RegisterClipboardFormatW(string format)
パラメーター
型 |
名前 |
説明 |
System.String |
format |
|
戻り値
ReleaseCapture()
宣言
public static extern bool ReleaseCapture()
戻り値
ReleaseDC(IntPtr, IntPtr)
宣言
public static extern bool ReleaseDC(IntPtr hWnd, IntPtr hDC)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hWnd |
|
System.IntPtr |
hDC |
|
戻り値
RoundRect(IntPtr, Rectangle, Int32, Int32)
宣言
public static bool RoundRect(IntPtr hdc, Rectangle rectangle, int nWidth, int nHeight)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hdc |
|
Rectangle |
rectangle |
|
System.Int32 |
nWidth |
|
System.Int32 |
nHeight |
|
戻り値
SafeDeleteObject(IntPtr)
宣言
public static void SafeDeleteObject(IntPtr gdiObj)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
gdiObj |
|
宣言
public static Rectangle ScrollWindow(IntPtr hWnd, int dx, int dy, Rectangle clipRect, uint flg)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hWnd |
|
System.Int32 |
dx |
|
System.Int32 |
dy |
|
Rectangle |
clipRect |
|
System.UInt32 |
flg |
|
戻り値
指定したウィンドウのクライアント領域の内容をスクロールします。
宣言
public static extern int ScrollWindowEx(IntPtr hWnd, int dx, int dy, IntPtr prcScroll, IntPtr prcClip, IntPtr hrgnUpdate, IntPtr prcUpdate, uint flags)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hWnd |
スクロール対象のコントロールのウィンドウハンドル
|
System.Int32 |
dx |
X方向スクロール量
|
System.Int32 |
dy |
Y方向スクロール量
|
System.IntPtr |
prcScroll |
スクロール範囲のRECT
|
System.IntPtr |
prcClip |
スクロールのクリップ範囲のRECT
|
System.IntPtr |
hrgnUpdate |
スクロールによって無効になった領域のリージョンのハンドル
|
System.IntPtr |
prcUpdate |
スクロールによって無効になった領域のRECT
|
System.UInt32 |
flags |
スクロール方法のフラグ
|
戻り値
型 |
説明 |
System.Int32 |
関数が成功すると、SIMPLEREGION(無効になったリージョンは 1 個の長方形です)、
COMPLEXREGION(無効になったリージョンは 1 個の長方形より複雑な形です)、
NULLREGION(無効になったリージョンはありません)のいずれかが返ります。
|
SelectClipRgn(IntPtr, IntPtr)
宣言
public static extern int SelectClipRgn(IntPtr hdc, IntPtr regionHdl)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hdc |
|
System.IntPtr |
regionHdl |
|
戻り値
SelectObject(IntPtr, IntPtr)
宣言
public static extern IntPtr SelectObject(IntPtr hdc, IntPtr hgdiobj)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hdc |
|
System.IntPtr |
hgdiobj |
|
戻り値
SendMessage(IntPtr, Int32, Int32, ref LVGROUP)
宣言
public static extern int SendMessage(IntPtr hWnd, int Msg, int wParam, ref LVGROUP lParam)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hWnd |
|
System.Int32 |
Msg |
|
System.Int32 |
wParam |
|
LVGROUP |
lParam |
|
戻り値
SendMessage(IntPtr, Int32, Int32, ref LVHITTESTINFO)
宣言
public static extern int SendMessage(IntPtr hWnd, int Msg, int wParam, ref LVHITTESTINFO lParam)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hWnd |
|
System.Int32 |
Msg |
|
System.Int32 |
wParam |
|
LVHITTESTINFO |
lParam |
|
戻り値
SendMessage(IntPtr, Int32, Int32, ref RECT)
宣言
public static extern int SendMessage(IntPtr hWnd, int Msg, int wParam, ref RECT lParam)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hWnd |
|
System.Int32 |
Msg |
|
System.Int32 |
wParam |
|
RECT |
lParam |
|
戻り値
SendMessage(IntPtr, Int32, Int32, Int32)
宣言
public static extern IntPtr SendMessage(IntPtr hWnd, int Msg, int wParam, int lParam)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hWnd |
|
System.Int32 |
Msg |
|
System.Int32 |
wParam |
|
System.Int32 |
lParam |
|
戻り値
SendMessage(IntPtr, Int32, IntPtr, ref COPYDATASTRUCT)
宣言
public static extern int SendMessage(IntPtr hWnd, int Msg, IntPtr wParam, ref COPYDATASTRUCT lParam)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hWnd |
|
System.Int32 |
Msg |
|
System.IntPtr |
wParam |
|
COPYDATASTRUCT |
lParam |
|
戻り値
SendMessage(IntPtr, Int32, IntPtr, IntPtr)
宣言
public static extern IntPtr SendMessage(IntPtr hWnd, int Msg, IntPtr wParam, IntPtr lParam)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hWnd |
|
System.Int32 |
Msg |
|
System.IntPtr |
wParam |
|
System.IntPtr |
lParam |
|
戻り値
SetBkColor(IntPtr, Color)
宣言
public static int SetBkColor(IntPtr hdc, Color color)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hdc |
|
Color |
color |
|
戻り値
SetBkColor(IntPtr, Int32)
宣言
public static extern int SetBkColor(IntPtr hdc, int crColor)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hdc |
|
System.Int32 |
crColor |
|
戻り値
SetBkMode(IntPtr, Int32)
宣言
public static extern int SetBkMode(IntPtr hdc, int iBkMode)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hdc |
|
System.Int32 |
iBkMode |
|
戻り値
SetCapture(IntPtr)
宣言
public static extern bool SetCapture(IntPtr hWnd)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hWnd |
|
戻り値
SetCaretPos(Int32, Int32)
宣言
public static extern int SetCaretPos(int x, int y)
パラメーター
型 |
名前 |
説明 |
System.Int32 |
x |
|
System.Int32 |
y |
|
戻り値
SetClipboardData(UInt32, IntPtr)
宣言
public static extern IntPtr SetClipboardData(uint format, IntPtr data)
パラメーター
型 |
名前 |
説明 |
System.UInt32 |
format |
|
System.IntPtr |
data |
|
戻り値
SetDCBrushColor(IntPtr, Color)
宣言
public static uint SetDCBrushColor(IntPtr hdc, Color color)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hdc |
|
Color |
color |
|
戻り値
SetDCBrushColor(IntPtr, Int32)
宣言
public static extern uint SetDCBrushColor(IntPtr hdc, int crColor)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hdc |
|
System.Int32 |
crColor |
|
戻り値
SetDCPenColor(IntPtr, Color)
宣言
public static uint SetDCPenColor(IntPtr hdc, Color color)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hdc |
|
Color |
color |
|
戻り値
SetDCPenColor(IntPtr, Int32)
宣言
public static extern uint SetDCPenColor(IntPtr hdc, int crColor)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hdc |
|
System.Int32 |
crColor |
|
戻り値
SetForegroundWindow(IntPtr)
宣言
public static extern bool SetForegroundWindow(IntPtr hWnd)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hWnd |
|
戻り値
SetImeWindowPos(IntPtr, Point)
宣言
public static void SetImeWindowPos(IntPtr window, Point screenPos)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
window |
|
Point |
screenPos |
|
SetLayeredWindowAttributes(IntPtr, Int32, Byte, UInt32)
宣言
public static extern bool SetLayeredWindowAttributes(IntPtr hwnd, int crKey, byte bAlpha, uint dwFlags)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hwnd |
|
System.Int32 |
crKey |
|
System.Byte |
bAlpha |
|
System.UInt32 |
dwFlags |
|
戻り値
SetParent(IntPtr, IntPtr)
宣言
public static extern IntPtr SetParent(IntPtr hWndChild, IntPtr hWndNewParent)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hWndChild |
|
System.IntPtr |
hWndNewParent |
|
戻り値
SetPixelV(IntPtr, Int32, Int32, Int32)
宣言
public static extern bool SetPixelV(IntPtr hdc, int x, int y, int color)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hdc |
|
System.Int32 |
x |
|
System.Int32 |
y |
|
System.Int32 |
color |
|
戻り値
SetPolyFillMode(IntPtr, Int32)
宣言
public static extern int SetPolyFillMode(IntPtr hdc, int iPolyFillMode)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hdc |
|
System.Int32 |
iPolyFillMode |
|
戻り値
SetPreferredAppMode(PreferredAppMode)
宣言
public static extern PreferredAppMode SetPreferredAppMode(PreferredAppMode appMode)
パラメーター
戻り値
宣言
public static extern int SetScrollInfo(IntPtr window, int barType, ref SCROLLINFO si, int bRedraw)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
window |
|
System.Int32 |
barType |
|
SCROLLINFO |
si |
|
System.Int32 |
bRedraw |
|
戻り値
宣言
public static void SetScrollPos(IntPtr window, bool isHScroll, int pos)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
window |
|
System.Boolean |
isHScroll |
|
System.Int32 |
pos |
|
SetTextAlign(IntPtr, Boolean)
宣言
public static void SetTextAlign(IntPtr hdc, bool isRight)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hdc |
|
System.Boolean |
isRight |
|
SetTextColor(IntPtr, Color)
宣言
public static int SetTextColor(IntPtr hdc, Color color)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hdc |
|
Color |
color |
|
戻り値
SetTextColor(IntPtr, Int32)
宣言
public static extern int SetTextColor(IntPtr hdc, int crColor)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hdc |
|
System.Int32 |
crColor |
|
戻り値
SetWindowCompositionAttribute(IntPtr, ref WindowCompositionAttributeData)
宣言
public static extern int SetWindowCompositionAttribute(IntPtr hWnd, ref WindowCompositionAttributeData data)
パラメーター
戻り値
SetWindowLongPtr(IntPtr, Int32, IntPtr)
宣言
public static IntPtr SetWindowLongPtr(IntPtr hWnd, int nIndex, IntPtr dwNewLong)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hWnd |
|
System.Int32 |
nIndex |
|
System.IntPtr |
dwNewLong |
|
戻り値
SetWindowLongPtr32(IntPtr, Int32, IntPtr)
宣言
public static extern IntPtr SetWindowLongPtr32(IntPtr hWnd, int nIndex, IntPtr dwNewLong)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hWnd |
|
System.Int32 |
nIndex |
|
System.IntPtr |
dwNewLong |
|
戻り値
SetWindowPlacement(IntPtr, ref WINDOWPLACEMENT)
宣言
public static extern bool SetWindowPlacement(IntPtr hWnd, ref WINDOWPLACEMENT lpwndpl)
パラメーター
戻り値
SetWindowPos(IntPtr, Int32, Int32, Int32, Int32, Int32, UInt32)
宣言
public static extern bool SetWindowPos(IntPtr hWnd, int hWndInsertAfter, int x, int Y, int cx, int cy, uint wFlags)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hWnd |
|
System.Int32 |
hWndInsertAfter |
|
System.Int32 |
x |
|
System.Int32 |
Y |
|
System.Int32 |
cx |
|
System.Int32 |
cy |
|
System.UInt32 |
wFlags |
|
戻り値
SetWindowsHookEx(Int32, OTZNativeMethods.MouseHookProc, IntPtr, UInt32)
宣言
public static extern IntPtr SetWindowsHookEx(int idHook, OTZNativeMethods.MouseHookProc lpfn, IntPtr hMod, uint dwThreadId)
パラメーター
戻り値
SetWindowTheme(IntPtr, String, String)
宣言
public static extern int SetWindowTheme(IntPtr hWnd, string pszSubAppName, string pszSubIdList)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hWnd |
|
System.String |
pszSubAppName |
|
System.String |
pszSubIdList |
|
戻り値
SHBindToParent(IntPtr, Guid, out IntPtr, ref IntPtr)
宣言
public static extern int SHBindToParent(IntPtr pidl, Guid riid, out IntPtr ppv, ref IntPtr ppidlLast)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
pidl |
|
System.Guid |
riid |
|
System.IntPtr |
ppv |
|
System.IntPtr |
ppidlLast |
|
戻り値
SHGetDesktopFolder(ref IShellFolder)
宣言
public static extern int SHGetDesktopFolder(ref IShellFolder ppshf)
パラメーター
戻り値
SHGetFileInfo(String, UInt32, out SHFILEINFO, UInt32, SHGFI)
宣言
public static extern IntPtr SHGetFileInfo(string pszPath, uint dwFileAttribs, out SHFILEINFO psfi, uint cbFileInfo, SHGFI uFlags)
パラメーター
型 |
名前 |
説明 |
System.String |
pszPath |
|
System.UInt32 |
dwFileAttribs |
|
SHFILEINFO |
psfi |
|
System.UInt32 |
cbFileInfo |
|
SHGFI |
uFlags |
|
戻り値
SHGetFileInfo(String, UInt32, ref SHFILEINFO, UInt32, UInt32)
宣言
public static extern IntPtr SHGetFileInfo(string pszPath, uint dwFileAttributes, ref SHFILEINFO psfi, uint cbSizeFileInfo, uint uFlags)
パラメーター
型 |
名前 |
説明 |
System.String |
pszPath |
|
System.UInt32 |
dwFileAttributes |
|
SHFILEINFO |
psfi |
|
System.UInt32 |
cbSizeFileInfo |
|
System.UInt32 |
uFlags |
|
戻り値
SHGetFileInfoW(IntPtr, UInt32, out SHFILEINFO, UInt32, SHGFI)
宣言
public static extern IntPtr SHGetFileInfoW(IntPtr pIDL, uint dwFileAttributes, out SHFILEINFO psfi, uint cbFileInfo, SHGFI uFlags)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
pIDL |
|
System.UInt32 |
dwFileAttributes |
|
SHFILEINFO |
psfi |
|
System.UInt32 |
cbFileInfo |
|
SHGFI |
uFlags |
|
戻り値
SHGetPathFromIDList(IntPtr, StringBuilder)
宣言
public static extern int SHGetPathFromIDList(IntPtr pIDL, StringBuilder strPath)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
pIDL |
|
System.Text.StringBuilder |
strPath |
|
戻り値
SHGetSpecialFolderLocation(IntPtr, CSIDL, ref IntPtr)
宣言
public static extern int SHGetSpecialFolderLocation(IntPtr hwndOwner, CSIDL nFolder, ref IntPtr ppidl)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hwndOwner |
|
CSIDL |
nFolder |
|
System.IntPtr |
ppidl |
|
戻り値
SHGetStockIconInfo(SHSTOCKICONID, SHGSI, ref SHSTOCKICONINFO)
宣言
public static extern int SHGetStockIconInfo(SHSTOCKICONID siid, SHGSI uFlags, ref SHSTOCKICONINFO psii)
パラメーター
戻り値
ShouldAppsUseDarkMode()
宣言
public static extern bool ShouldAppsUseDarkMode()
戻り値
ShouldAppsUseDarkModeByReg()
Windows の既定のアプリのモードがダークモードかどうかを取得します。
宣言
public static bool ShouldAppsUseDarkModeByReg()
戻り値
ShouldSystemUseDarkMode()
宣言
public static extern bool ShouldSystemUseDarkMode()
戻り値
ShowCaret(IntPtr)
宣言
public static extern int ShowCaret(IntPtr hWnd)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hWnd |
|
戻り値
宣言
public static extern bool ShowScrollBar(IntPtr hWnd, int wBar, bool bShow)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hWnd |
|
System.Int32 |
wBar |
|
System.Boolean |
bShow |
|
戻り値
ShowWindow(IntPtr, Int32)
宣言
public static extern int ShowWindow(IntPtr hWnd, int nCmdShow)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hWnd |
|
System.Int32 |
nCmdShow |
|
戻り値
ShowWindowAsync(IntPtr, Int32)
宣言
public static extern bool ShowWindowAsync(IntPtr hWnd, int nCmdShow)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hWnd |
|
System.Int32 |
nCmdShow |
|
戻り値
StrRetToBSTR(ref STRRET, IntPtr, out String)
宣言
public static extern int StrRetToBSTR(ref STRRET pstr, IntPtr pidl, out string pbstr)
パラメーター
型 |
名前 |
説明 |
STRRET |
pstr |
|
System.IntPtr |
pidl |
|
System.String |
pbstr |
|
戻り値
TextOut(IntPtr, Int32, Int32, String, Int32)
宣言
public static extern bool TextOut(IntPtr hdc, int x, int y, string lpString, int nCount)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hdc |
|
System.Int32 |
x |
|
System.Int32 |
y |
|
System.String |
lpString |
|
System.Int32 |
nCount |
|
戻り値
TransparentBlt(IntPtr, Int32, Int32, Int32, Int32, IntPtr, Int32, Int32, Int32, Int32, Int64)
宣言
public static extern int TransparentBlt(IntPtr hdcDest, int xoriginDest, int yoriginDest, int wDest, int hDest, IntPtr hdcSrc, int xoriginSrc, int yoriginSrc, int wSrc, int hSrc, long crTransparent)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hdcDest |
|
System.Int32 |
xoriginDest |
|
System.Int32 |
yoriginDest |
|
System.Int32 |
wDest |
|
System.Int32 |
hDest |
|
System.IntPtr |
hdcSrc |
|
System.Int32 |
xoriginSrc |
|
System.Int32 |
yoriginSrc |
|
System.Int32 |
wSrc |
|
System.Int32 |
hSrc |
|
System.Int64 |
crTransparent |
|
戻り値
UnhookWindowsHookEx(IntPtr)
宣言
public static extern bool UnhookWindowsHookEx(IntPtr hhk)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hhk |
|
戻り値
UnSafeCreateFontIndirect(Void*)
宣言
public static extern IntPtr UnSafeCreateFontIndirect(void *logFont)
パラメーター
型 |
名前 |
説明 |
System.Void* |
logFont |
|
戻り値
UpdateWindow(IntPtr)
宣言
public static void UpdateWindow(IntPtr hWnd)
パラメーター
型 |
名前 |
説明 |
System.IntPtr |
hWnd |
|
WideCharToMultiByte(UInt32, UInt32, String, Int32, Byte[], Int32, IntPtr, IntPtr)
宣言
public static extern int WideCharToMultiByte(uint CodePage, uint dwFlags, string lpWideCharStr, int cchWideChar, byte[] lpMultiByteStr, int cbMultiByte, IntPtr lpDefaultChar, IntPtr lpUsedDefaultChar)
パラメーター
型 |
名前 |
説明 |
System.UInt32 |
CodePage |
|
System.UInt32 |
dwFlags |
|
System.String |
lpWideCharStr |
|
System.Int32 |
cchWideChar |
|
System.Byte[] |
lpMultiByteStr |
|
System.Int32 |
cbMultiByte |
|
System.IntPtr |
lpDefaultChar |
|
System.IntPtr |
lpUsedDefaultChar |
|
戻り値