Search Results for

    Show / Hide Table of Contents

    Class OTZNativeMethods

    Win32 API 及びその定数の定義クラスです。

    Inheritance
    System.Object
    OTZNativeMethods
    名前空間: OTZControls.WindowsApi
    アセンブリ: 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
    戻り値
    型 説明
    System.Boolean

    BeginPaint(IntPtr, ref PAINTSTRUCT)

    宣言
    public static extern IntPtr BeginPaint(IntPtr window, ref PAINTSTRUCT ps)
    パラメーター
    型 名前 説明
    System.IntPtr window
    PAINTSTRUCT ps
    戻り値
    型 説明
    System.IntPtr

    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
    戻り値
    型 説明
    System.Int32

    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
    戻り値
    型 説明
    System.IntPtr

    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
    戻り値
    型 説明
    System.IntPtr

    CloseClipboard()

    宣言
    public static extern bool CloseClipboard()
    戻り値
    型 説明
    System.Boolean

    ClosePrinter(IntPtr)

    宣言
    public static extern bool ClosePrinter(IntPtr hPrinter)
    パラメーター
    型 名前 説明
    System.IntPtr hPrinter
    戻り値
    型 説明
    System.Boolean

    CloseThemeData(IntPtr)

    宣言
    public static extern IntPtr CloseThemeData(IntPtr hTheme)
    パラメーター
    型 名前 説明
    System.IntPtr hTheme
    戻り値
    型 説明
    System.IntPtr

    CombineRgn(IntPtr, IntPtr, IntPtr, Int32)

    CombineRgn

    宣言
    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
    戻り値
    型 説明
    System.Int32

    ConnectToPrinterDlg(IntPtr, Int32)

    宣言
    public static extern int ConnectToPrinterDlg(IntPtr hWnd, int flags)
    パラメーター
    型 名前 説明
    System.IntPtr hWnd
    System.Int32 flags
    戻り値
    型 説明
    System.Int32

    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
    戻り値
    型 説明
    System.Int32

    CreateCompatibleBitmap(IntPtr, Int32, Int32)

    宣言
    public static extern IntPtr CreateCompatibleBitmap(IntPtr hdc, int width, int height)
    パラメーター
    型 名前 説明
    System.IntPtr hdc
    System.Int32 width
    System.Int32 height
    戻り値
    型 説明
    System.IntPtr

    CreateCompatibleDC(IntPtr)

    宣言
    public static extern IntPtr CreateCompatibleDC(IntPtr hdc)
    パラメーター
    型 名前 説明
    System.IntPtr hdc
    戻り値
    型 説明
    System.IntPtr

    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
    戻り値
    型 説明
    System.IntPtr

    CreateFont(Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, String)

    CreateFont

    宣言
    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
    戻り値
    型 説明
    System.Int32

    CreateFontIndirect(ref LOGFONT)

    宣言
    public static extern IntPtr CreateFontIndirect(ref LOGFONT lplf)
    パラメーター
    型 名前 説明
    LOGFONT lplf
    戻り値
    型 説明
    System.IntPtr

    CreateLogFont(IntPtr, Font, out UNSAFE_LOGFONT)

    宣言
    public static void CreateLogFont(IntPtr window, Font font, out UNSAFE_LOGFONT lf)
    パラメーター
    型 名前 説明
    System.IntPtr window
    Font font
    UNSAFE_LOGFONT lf

    CreatePen(Color)

    宣言
    public static IntPtr CreatePen(Color color)
    パラメーター
    型 名前 説明
    Color color
    戻り値
    型 説明
    System.IntPtr

    CreatePen(Int32, Int32, Int32)

    CreatePen

    宣言
    public static extern IntPtr CreatePen(int nPenStyle, int nWidth, int crColor)
    パラメーター
    型 名前 説明
    System.Int32 nPenStyle
    System.Int32 nWidth
    System.Int32 crColor
    戻り値
    型 説明
    System.IntPtr

    CreateRectRgn(Int32, Int32, Int32, Int32)

    CreateRectRgn

    宣言
    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
    戻り値
    型 説明
    System.IntPtr

    CreateRectRgnIndirect(RECT)

    CreateRectRgnIndirect

    宣言
    public static extern IntPtr CreateRectRgnIndirect(RECT lprc)
    パラメーター
    型 名前 説明
    RECT lprc
    戻り値
    型 説明
    System.IntPtr

    CreateSolidBrush(Color)

    宣言
    public static IntPtr CreateSolidBrush(Color color)
    パラメーター
    型 名前 説明
    Color color
    戻り値
    型 説明
    System.IntPtr

    CreateSolidBrush(Int32)

    CreateSolidBrush

    宣言
    public static extern IntPtr CreateSolidBrush(int crColor)
    パラメーター
    型 名前 説明
    System.Int32 crColor
    戻り値
    型 説明
    System.IntPtr

    DeleteDC(IntPtr)

    宣言
    public static extern int DeleteDC(IntPtr hdc)
    パラメーター
    型 名前 説明
    System.IntPtr hdc
    戻り値
    型 説明
    System.Int32

    DeleteMenu(IntPtr, Int32, Int32)

    宣言
    public static extern IntPtr DeleteMenu(IntPtr hWnd, int uPosition, int uFlags)
    パラメーター
    型 名前 説明
    System.IntPtr hWnd
    System.Int32 uPosition
    System.Int32 uFlags
    戻り値
    型 説明
    System.IntPtr

    DeleteObject(IntPtr)

    DeleteObject

    宣言
    public static extern int DeleteObject(IntPtr hObject)
    パラメーター
    型 名前 説明
    System.IntPtr hObject
    戻り値
    型 説明
    System.Int32

    DestroyCaret()

    宣言
    public static extern int DestroyCaret()
    戻り値
    型 説明
    System.Int32

    DestroyIcon(IntPtr)

    宣言
    public static extern bool DestroyIcon(IntPtr hIcon)
    パラメーター
    型 名前 説明
    System.IntPtr hIcon
    戻り値
    型 説明
    System.Boolean

    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
    戻り値
    型 説明
    System.Int32

    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
    戻り値
    型 説明
    System.Int32

    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
    戻り値
    型 説明
    System.Int32

    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
    戻り値
    型 説明
    System.Boolean

    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
    戻り値
    型 説明
    System.Boolean

    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
    戻り値
    型 説明
    System.Int32

    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
    戻り値
    型 説明
    System.Int32

    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
    戻り値
    型 説明
    System.Int32

    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
    戻り値
    型 説明
    System.IntPtr

    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
    戻り値
    型 説明
    System.Int32

    DwmExtendFrameIntoClientArea(IntPtr, ref MARGINS)

    宣言
    public static extern int DwmExtendFrameIntoClientArea(IntPtr hwnd, ref MARGINS margins)
    パラメーター
    型 名前 説明
    System.IntPtr hwnd
    MARGINS margins
    戻り値
    型 説明
    System.Int32

    DwmGetColorizationColor(out Int32, out Boolean)

    DwmGetColorizationColor

    宣言
    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
    戻り値
    型 説明
    System.Int32

    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
    戻り値
    型 説明
    System.Int32

    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
    戻り値
    型 説明
    System.Int32

    EmptyClipboard()

    宣言
    public static extern int EmptyClipboard()
    戻り値
    型 説明
    System.Int32

    EnableBlur(IntPtr)

    宣言
    public static void EnableBlur(IntPtr hWnd)
    パラメーター
    型 名前 説明
    System.IntPtr hWnd

    EnableMenuItem(IntPtr, Int32, Int32)

    宣言
    public static extern IntPtr EnableMenuItem(IntPtr hWnd, int uIDEnableItem, int uEnable)
    パラメーター
    型 名前 説明
    System.IntPtr hWnd
    System.Int32 uIDEnableItem
    System.Int32 uEnable
    戻り値
    型 説明
    System.IntPtr

    EndPaint(IntPtr, ref PAINTSTRUCT)

    宣言
    public static extern int EndPaint(IntPtr hWnd, ref PAINTSTRUCT ps)
    パラメーター
    型 名前 説明
    System.IntPtr hWnd
    PAINTSTRUCT ps
    戻り値
    型 説明
    System.Int32

    EnumChildWindows(IntPtr, OTZNativeMethods.EnumChildWindowsProc, IntPtr)

    宣言
    public static extern bool EnumChildWindows(IntPtr handle, OTZNativeMethods.EnumChildWindowsProc enumProc, IntPtr lParam)
    パラメーター
    型 名前 説明
    System.IntPtr handle
    OTZNativeMethods.EnumChildWindowsProc enumProc
    System.IntPtr lParam
    戻り値
    型 説明
    System.Boolean

    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
    戻り値
    型 説明
    List<System.IntPtr>

    EnumWindows(Func<IntPtr, Boolean>)

    宣言
    public static List<IntPtr> EnumWindows(Func<IntPtr, bool> filter)
    パラメーター
    型 名前 説明
    System.Func<System.IntPtr, System.Boolean> filter
    戻り値
    型 説明
    List<System.IntPtr>

    ExtTextOut(IntPtr, Int32, Int32, Int32, ref RECT, String, Int32, Int32[])

    ExtTextOut

    宣言
    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
    戻り値
    型 説明
    System.Boolean

    ExtTextOutW(IntPtr, Int32, Int32, Int32, ref RECT, String, Int32, Int32[])

    ExtTextOutW

    宣言
    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
    戻り値
    型 説明
    System.Boolean

    ExtTextOutW(IntPtr, Int32, Int32, Int32, ref RECT, String, Int32, IntPtr)

    ExtTextOutW

    宣言
    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
    戻り値
    型 説明
    System.Boolean

    ExtTextOutW(IntPtr, Int32, Int32, Int32, Rectangle, String, Int32[])

    ExtTextOutW

    宣言
    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
    戻り値
    型 説明
    System.Boolean

    ExtTextOutW(IntPtr, Int32, Int32, String)

    ExtTextOutW

    宣言
    public static bool ExtTextOutW(IntPtr hdc, int x, int y, string text)
    パラメーター
    型 名前 説明
    System.IntPtr hdc
    System.Int32 x
    System.Int32 y
    System.String text
    戻り値
    型 説明
    System.Boolean

    FillRect(IntPtr, ref RECT, Color)

    宣言
    public static int FillRect(IntPtr hdc, ref RECT rect, Color color)
    パラメーター
    型 名前 説明
    System.IntPtr hdc
    RECT rect
    Color color
    戻り値
    型 説明
    System.Int32

    FillRect(IntPtr, ref RECT, IntPtr)

    FillRect

    宣言
    public static extern int FillRect(IntPtr hdc, ref RECT rect, IntPtr brush)
    パラメーター
    型 名前 説明
    System.IntPtr hdc
    RECT rect
    System.IntPtr brush
    戻り値
    型 説明
    System.Int32

    FillRect(IntPtr, Rectangle, IntPtr)

    宣言
    public static int FillRect(IntPtr hdc, Rectangle rectangle, IntPtr brush)
    パラメーター
    型 名前 説明
    System.IntPtr hdc
    Rectangle rectangle
    System.IntPtr brush
    戻り値
    型 説明
    System.Int32

    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
    戻り値
    型 説明
    System.Int32

    FindWindow(String, String)

    宣言
    public static extern IntPtr FindWindow(string lpClassName, string lpWindowName)
    パラメーター
    型 名前 説明
    System.String lpClassName
    System.String lpWindowName
    戻り値
    型 説明
    System.IntPtr

    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
    戻り値
    型 説明
    System.IntPtr

    FrameRect(IntPtr, ref RECT, IntPtr)

    FrameRect

    宣言
    public static extern int FrameRect(IntPtr hDC, ref RECT lpRect, IntPtr hPN)
    パラメーター
    型 名前 説明
    System.IntPtr hDC
    RECT lpRect
    System.IntPtr hPN
    戻り値
    型 説明
    System.Int32

    GET_WHEEL_DELTA_WPARAM(IntPtr)

    宣言
    public static int GET_WHEEL_DELTA_WPARAM(IntPtr wParam)
    パラメーター
    型 名前 説明
    System.IntPtr wParam
    戻り値
    型 説明
    System.Int32

    GET_WHEEL_DELTA_WPARAM(UInt32)

    宣言
    public static int GET_WHEEL_DELTA_WPARAM(uint wParam)
    パラメーター
    型 名前 説明
    System.UInt32 wParam
    戻り値
    型 説明
    System.Int32

    GET_X_LPARAM(IntPtr)

    宣言
    public static int GET_X_LPARAM(IntPtr lParam)
    パラメーター
    型 名前 説明
    System.IntPtr lParam
    戻り値
    型 説明
    System.Int32

    GET_Y_LPARAM(IntPtr)

    宣言
    public static int GET_Y_LPARAM(IntPtr lParam)
    パラメーター
    型 名前 説明
    System.IntPtr lParam
    戻り値
    型 説明
    System.Int32

    GetClassName(IntPtr)

    宣言
    public static string GetClassName(IntPtr hWnd)
    パラメーター
    型 名前 説明
    System.IntPtr hWnd
    戻り値
    型 説明
    System.String

    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
    戻り値
    型 説明
    System.Int32

    GetClientRect(IntPtr, out RECT)

    宣言
    public static extern bool GetClientRect(IntPtr hWnd, out RECT lpRect)
    パラメーター
    型 名前 説明
    System.IntPtr hWnd
    RECT lpRect
    戻り値
    型 説明
    System.Boolean

    GetClipboardData(UInt32)

    宣言
    public static extern IntPtr GetClipboardData(uint format)
    パラメーター
    型 名前 説明
    System.UInt32 format
    戻り値
    型 説明
    System.IntPtr

    GetColorFromInt64(Int64)

    宣言
    public static Color GetColorFromInt64(long color)
    パラメーター
    型 名前 説明
    System.Int64 color
    戻り値
    型 説明
    Color

    GetColorRef(Color)

    COLORREF型を取得します。

    宣言
    public static int GetColorRef(Color color)
    パラメーター
    型 名前 説明
    Color color
    戻り値
    型 説明
    System.Int32

    GetComboBoxInfo(IntPtr, ref COMBOBOXINFO)

    宣言
    public static extern bool GetComboBoxInfo(IntPtr hWnd, ref COMBOBOXINFO pcbi)
    パラメーター
    型 名前 説明
    System.IntPtr hWnd
    COMBOBOXINFO pcbi
    戻り値
    型 説明
    System.Boolean

    GetDC(IntPtr)

    宣言
    public static extern IntPtr GetDC(IntPtr hWnd)
    パラメーター
    型 名前 説明
    System.IntPtr hWnd
    戻り値
    型 説明
    System.IntPtr

    GetDCEx(IntPtr, IntPtr, DCX)

    宣言
    public static extern IntPtr GetDCEx(IntPtr hWnd, IntPtr hrgnClip, DCX flags)
    パラメーター
    型 名前 説明
    System.IntPtr hWnd
    System.IntPtr hrgnClip
    DCX flags
    戻り値
    型 説明
    System.IntPtr

    GetDesktopWindow()

    宣言
    public static extern IntPtr GetDesktopWindow()
    戻り値
    型 説明
    System.IntPtr

    GetDeviceCaps(IntPtr, Int32)

    宣言
    public static extern int GetDeviceCaps(IntPtr hdc, int nIndex)
    パラメーター
    型 名前 説明
    System.IntPtr hdc
    System.Int32 nIndex
    戻り値
    型 説明
    System.Int32

    GetDpiForMonitor(IntPtr, MonitorDpiType, out UInt32, out UInt32)

    宣言
    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
    戻り値
    型 説明
    System.Int32

    GetDpiForSystem()

    宣言
    public static extern int GetDpiForSystem()
    戻り値
    型 説明
    System.Int32

    GetDpiForWindow(IntPtr)

    指定したウィンドウの 1 インチあたりのドット数 (dpi) の値を返します。

    宣言
    public static extern int GetDpiForWindow(IntPtr hWnd)
    パラメーター
    型 名前 説明
    System.IntPtr hWnd
    戻り値
    型 説明
    System.Int32

    GetDpiMagnification(IntPtr)

    指定したウィンドウの dpi の倍率を返します。

    宣言
    public static float GetDpiMagnification(IntPtr hWnd)
    パラメーター
    型 名前 説明
    System.IntPtr hWnd
    戻り値
    型 説明
    System.Single

    GetError()

    宣言
    public static void GetError()

    GetLastError()

    宣言
    public static extern uint GetLastError()
    戻り値
    型 説明
    System.UInt32

    GetModuleHandle(String)

    宣言
    public static extern IntPtr GetModuleHandle(string lpModuleName)
    パラメーター
    型 名前 説明
    System.String lpModuleName
    戻り値
    型 説明
    System.IntPtr

    GetMonitorInfo(IntPtr, MONITORINFOEX)

    宣言
    public static extern bool GetMonitorInfo(IntPtr hmonitor, MONITORINFOEX info)
    パラメーター
    型 名前 説明
    System.IntPtr hmonitor
    MONITORINFOEX info
    戻り値
    型 説明
    System.Boolean

    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
    戻り値
    型 説明
    System.Int32

    GetOpenClipboardWindow()

    宣言
    public static extern IntPtr GetOpenClipboardWindow()
    戻り値
    型 説明
    System.IntPtr

    GetPaddingBorder()

    GetPaddingBorder

    宣言
    public static int GetPaddingBorder()
    戻り値
    型 説明
    System.Int32

    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
    戻り値
    型 説明
    Point

    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
    戻り値
    型 説明
    System.Boolean

    GetScrollInfo(IntPtr, Int32, ref SCROLLINFO)

    宣言
    public static extern bool GetScrollInfo(IntPtr hWnd, int fnBar, ref SCROLLINFO ScrollInfo)
    パラメーター
    型 名前 説明
    System.IntPtr hWnd
    System.Int32 fnBar
    SCROLLINFO ScrollInfo
    戻り値
    型 説明
    System.Boolean

    GetScrollPosition(IntPtr, Int32)

    宣言
    public static int GetScrollPosition(IntPtr hWnd, int scrollType)
    パラメーター
    型 名前 説明
    System.IntPtr hWnd
    System.Int32 scrollType
    戻り値
    型 説明
    System.Int32

    GetStockObject(Int32)

    GetStockObject

    宣言
    public static extern IntPtr GetStockObject(int fnObject)
    パラメーター
    型 名前 説明
    System.Int32 fnObject
    戻り値
    型 説明
    System.IntPtr

    GetSystemMenu(IntPtr, Boolean)

    宣言
    public static extern IntPtr GetSystemMenu(IntPtr hWnd, bool bRevert)
    パラメーター
    型 名前 説明
    System.IntPtr hWnd
    System.Boolean bRevert
    戻り値
    型 説明
    System.IntPtr

    GetSystemMetrics(Int32)

    宣言
    public static extern int GetSystemMetrics(int nIndex)
    パラメーター
    型 名前 説明
    System.Int32 nIndex
    戻り値
    型 説明
    System.Int32

    GetSystemMetricsForDpi(Int32, Int32)

    宣言
    public static extern int GetSystemMetricsForDpi(int nIndex, int dpi)
    パラメーター
    型 名前 説明
    System.Int32 nIndex
    System.Int32 dpi
    戻り値
    型 説明
    System.Int32

    GetSystemMetricsForDpi(Int32, UInt32)

    宣言
    public static extern int GetSystemMetricsForDpi(int nIndex, uint dpi)
    パラメーター
    型 名前 説明
    System.Int32 nIndex
    System.UInt32 dpi
    戻り値
    型 説明
    System.Int32

    GetTextExtentExPointW(IntPtr, String, Int32)

    宣言
    public static Size GetTextExtentExPointW(IntPtr hdc, string text, int textLength)
    パラメーター
    型 名前 説明
    System.IntPtr hdc
    System.String text
    System.Int32 textLength
    戻り値
    型 説明
    Size

    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
    戻り値
    型 説明
    System.Int32

    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
    戻り値
    型 説明
    System.Boolean

    GetTextExtentPoint32W(IntPtr, String, Int32)

    指定されたテキスト文字列の幅と高さを計算します。

    宣言
    public static Size GetTextExtentPoint32W(IntPtr hdc, string text, int textLength)
    パラメーター
    型 名前 説明
    System.IntPtr hdc

    デバイス コンテキストへのハンドル。

    System.String text

    テキスト文字列

    System.Int32 textLength

    文字列の長さ

    戻り値
    型 説明
    Size

    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
    戻り値
    型 説明
    System.Int32

    GetWindow(IntPtr, Int32)

    宣言
    public static extern IntPtr GetWindow(IntPtr hWnd, int wCmd)
    パラメーター
    型 名前 説明
    System.IntPtr hWnd
    System.Int32 wCmd
    戻り値
    型 説明
    System.IntPtr

    GetWindowDC(IntPtr)

    宣言
    public static extern IntPtr GetWindowDC(IntPtr hWnd)
    パラメーター
    型 名前 説明
    System.IntPtr hWnd
    戻り値
    型 説明
    System.IntPtr

    GetWindowInfo(IntPtr, ref WINDOWINFO)

    宣言
    public static extern int GetWindowInfo(IntPtr hwnd, ref WINDOWINFO pwi)
    パラメーター
    型 名前 説明
    System.IntPtr hwnd
    WINDOWINFO pwi
    戻り値
    型 説明
    System.Int32

    GetWindowLongPtr(IntPtr, Int32)

    宣言
    public static IntPtr GetWindowLongPtr(IntPtr hWnd, int nIndex)
    パラメーター
    型 名前 説明
    System.IntPtr hWnd
    System.Int32 nIndex
    戻り値
    型 説明
    System.IntPtr

    GetWindowLongPtr32(IntPtr, Int32)

    宣言
    public static extern IntPtr GetWindowLongPtr32(IntPtr hWnd, int nIndex)
    パラメーター
    型 名前 説明
    System.IntPtr hWnd
    System.Int32 nIndex
    戻り値
    型 説明
    System.IntPtr

    GetWindowLongPtr64(IntPtr, Int32)

    宣言
    public static extern IntPtr GetWindowLongPtr64(IntPtr hWnd, int nIndex)
    パラメーター
    型 名前 説明
    System.IntPtr hWnd
    System.Int32 nIndex
    戻り値
    型 説明
    System.IntPtr

    GetWindowPlacement(IntPtr, ref WINDOWPLACEMENT)

    宣言
    public static extern bool GetWindowPlacement(IntPtr hWnd, ref WINDOWPLACEMENT lpwndpl)
    パラメーター
    型 名前 説明
    System.IntPtr hWnd
    WINDOWPLACEMENT lpwndpl
    戻り値
    型 説明
    System.Boolean

    GetWindowRect(IntPtr)

    宣言
    public static Rectangle GetWindowRect(IntPtr hwnd)
    パラメーター
    型 名前 説明
    System.IntPtr hwnd
    戻り値
    型 説明
    Rectangle

    GetWindowRect(IntPtr, out RECT)

    宣言
    public static extern bool GetWindowRect(IntPtr hWnd, out RECT lpRect)
    パラメーター
    型 名前 説明
    System.IntPtr hWnd
    RECT lpRect
    戻り値
    型 説明
    System.Boolean

    GetWindowText(IntPtr)

    宣言
    public static string GetWindowText(IntPtr hWnd)
    パラメーター
    型 名前 説明
    System.IntPtr hWnd
    戻り値
    型 説明
    System.String

    GetWindowThreadProcessId(IntPtr, out UInt32)

    宣言
    public static extern uint GetWindowThreadProcessId(IntPtr hWnd, out uint lpdwProcessId)
    パラメーター
    型 名前 説明
    System.IntPtr hWnd
    System.UInt32 lpdwProcessId
    戻り値
    型 説明
    System.UInt32

    GlobalAlloc(UInt32, UIntPtr)

    宣言
    public static extern IntPtr GlobalAlloc(uint uFlags, UIntPtr dwBytes)
    パラメーター
    型 名前 説明
    System.UInt32 uFlags
    System.UIntPtr dwBytes
    戻り値
    型 説明
    System.IntPtr

    GlobalFree(IntPtr)

    宣言
    public static extern IntPtr GlobalFree(IntPtr hMem)
    パラメーター
    型 名前 説明
    System.IntPtr hMem
    戻り値
    型 説明
    System.IntPtr

    GlobalLock(IntPtr)

    宣言
    public static extern IntPtr GlobalLock(IntPtr hMem)
    パラメーター
    型 名前 説明
    System.IntPtr hMem
    戻り値
    型 説明
    System.IntPtr

    GlobalUnlock(IntPtr)

    宣言
    public static extern bool GlobalUnlock(IntPtr hMem)
    パラメーター
    型 名前 説明
    System.IntPtr hMem
    戻り値
    型 説明
    System.Boolean

    HideCaret(IntPtr)

    宣言
    public static extern int HideCaret(IntPtr hWnd)
    パラメーター
    型 名前 説明
    System.IntPtr hWnd
    戻り値
    型 説明
    System.Int32

    HIWORD(Int32)

    宣言
    public static int HIWORD(int n)
    パラメーター
    型 名前 説明
    System.Int32 n
    戻り値
    型 説明
    System.Int32

    HIWORD(IntPtr)

    宣言
    public static ushort HIWORD(IntPtr dwValue)
    パラメーター
    型 名前 説明
    System.IntPtr dwValue
    戻り値
    型 説明
    System.UInt16

    HIWORD(UInt32)

    宣言
    public static ushort HIWORD(uint dwValue)
    パラメーター
    型 名前 説明
    System.UInt32 dwValue
    戻り値
    型 説明
    System.UInt16

    ILCombine(IntPtr, IntPtr)

    宣言
    public static extern IntPtr ILCombine(IntPtr pIDLParent, IntPtr pIDLChild)
    パラメーター
    型 名前 説明
    System.IntPtr pIDLParent
    System.IntPtr pIDLChild
    戻り値
    型 説明
    System.IntPtr

    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
    戻り値
    型 説明
    System.Boolean

    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
    戻り値
    型 説明
    System.Boolean

    ImageList_DragLeave(IntPtr)

    宣言
    public static extern bool ImageList_DragLeave(IntPtr hwndLock)
    パラメーター
    型 名前 説明
    System.IntPtr hwndLock
    戻り値
    型 説明
    System.Boolean

    ImageList_DragMove(Int32, Int32)

    宣言
    public static extern bool ImageList_DragMove(int x, int y)
    パラメーター
    型 名前 説明
    System.Int32 x
    System.Int32 y
    戻り値
    型 説明
    System.Boolean

    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
    戻り値
    型 説明
    System.Boolean

    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
    戻り値
    型 説明
    System.IntPtr

    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
    戻り値
    型 説明
    System.Int32

    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
    戻り値
    型 説明
    System.Int32

    ImmGetContext(IntPtr)

    宣言
    public static extern IntPtr ImmGetContext(IntPtr window)
    パラメーター
    型 名前 説明
    System.IntPtr window
    戻り値
    型 説明
    System.IntPtr

    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
    戻り値
    型 説明
    System.Boolean

    ImmGetOpenStatus(IntPtr)

    宣言
    public static extern bool ImmGetOpenStatus(IntPtr hIMC)
    パラメーター
    型 名前 説明
    System.IntPtr hIMC
    戻り値
    型 説明
    System.Boolean

    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
    戻り値
    型 説明
    System.Int32

    ImmReleaseContext(IntPtr, IntPtr)

    宣言
    public static extern int ImmReleaseContext(IntPtr window, IntPtr himc)
    パラメーター
    型 名前 説明
    System.IntPtr window
    System.IntPtr himc
    戻り値
    型 説明
    System.Int32

    ImmSetCompositionFont(IntPtr, ref LOGFONT)

    宣言
    public static extern int ImmSetCompositionFont(IntPtr himc, ref LOGFONT lpLogFont)
    パラメーター
    型 名前 説明
    System.IntPtr himc
    LOGFONT lpLogFont
    戻り値
    型 説明
    System.Int32

    ImmSetCompositionFontW(IntPtr, ref LOGFONT)

    宣言
    public static extern int ImmSetCompositionFontW(IntPtr himc, ref LOGFONT lpLogFont)
    パラメーター
    型 名前 説明
    System.IntPtr himc
    LOGFONT lpLogFont
    戻り値
    型 説明
    System.Int32

    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
    戻り値
    型 説明
    System.Int32

    ImmSetCompositionWindow(IntPtr, COMPOSITIONFORM)

    宣言
    public static extern int ImmSetCompositionWindow(IntPtr himc, COMPOSITIONFORM lpCompositionForm)
    パラメーター
    型 名前 説明
    System.IntPtr himc
    COMPOSITIONFORM lpCompositionForm
    戻り値
    型 説明
    System.Int32

    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
    戻り値
    型 説明
    System.Boolean

    IsClipboardFormatAvailable(UInt32)

    宣言
    public static extern bool IsClipboardFormatAvailable(uint format)
    パラメーター
    型 名前 説明
    System.UInt32 format
    戻り値
    型 説明
    System.Boolean

    IsIconic(IntPtr)

    宣言
    public static extern bool IsIconic(IntPtr hWnd)
    パラメーター
    型 名前 説明
    System.IntPtr hWnd
    戻り値
    型 説明
    System.Boolean

    IsWindowVisible(IntPtr)

    宣言
    public static extern bool IsWindowVisible(IntPtr hWnd)
    パラメーター
    型 名前 説明
    System.IntPtr hWnd
    戻り値
    型 説明
    System.Boolean

    IsZoomed(IntPtr)

    宣言
    public static extern bool IsZoomed(IntPtr hWnd)
    パラメーター
    型 名前 説明
    System.IntPtr hWnd
    戻り値
    型 説明
    System.Boolean

    LineTo(IntPtr, Int32, Int32)

    LineTo

    宣言
    public static extern int LineTo(IntPtr hdc, int x, int y)
    パラメーター
    型 名前 説明
    System.IntPtr hdc

    デバイスコンテキストのハンドルを指定します。

    System.Int32 x

    直線の終点の x 座標を論理単位で指定します。

    System.Int32 y

    直線の終点の y 座標を論理単位で指定します。

    戻り値
    型 説明
    System.Int32

    LoadCursor(IntPtr, UInt16)

    宣言
    public static extern IntPtr LoadCursor(IntPtr hInstance, ushort lpCursorName)
    パラメーター
    型 名前 説明
    System.IntPtr hInstance
    System.UInt16 lpCursorName
    戻り値
    型 説明
    System.IntPtr

    LoadLibrary(String)

    宣言
    public static extern IntPtr LoadLibrary(string dllToLoad)
    パラメーター
    型 名前 説明
    System.String dllToLoad
    戻り値
    型 説明
    System.IntPtr

    LockWindowUpdate(IntPtr)

    宣言
    public static extern bool LockWindowUpdate(IntPtr hWnd)
    パラメーター
    型 名前 説明
    System.IntPtr hWnd
    戻り値
    型 説明
    System.Boolean

    LOWORD(Int32)

    C# 版 LOWORD マクロ

    宣言
    public static int LOWORD(int n)
    パラメーター
    型 名前 説明
    System.Int32 n
    戻り値
    型 説明
    System.Int32

    MakeLParam(Int32, Int32)

    宣言
    public static int MakeLParam(int wLow, int wHigh)
    パラメーター
    型 名前 説明
    System.Int32 wLow
    System.Int32 wHigh
    戻り値
    型 説明
    System.Int32

    MAKELPARAM(Int32, Int32)

    C# 版 MAKELPARAM マクロ

    宣言
    public static int MAKELPARAM(int wLow, int wHigh)
    パラメーター
    型 名前 説明
    System.Int32 wLow
    System.Int32 wHigh
    戻り値
    型 説明
    System.Int32

    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
    戻り値
    型 説明
    System.Int32

    MonitorFromWindow(IntPtr, Int32)

    宣言
    public static extern IntPtr MonitorFromWindow(IntPtr hwnd, int dwFlags)
    パラメーター
    型 名前 説明
    System.IntPtr hwnd
    System.Int32 dwFlags
    戻り値
    型 説明
    System.IntPtr

    MonitorFromWindow(IntPtr, UInt32)

    宣言
    public static extern IntPtr MonitorFromWindow(IntPtr hwnd, uint dwFlags)
    パラメーター
    型 名前 説明
    System.IntPtr hwnd
    System.UInt32 dwFlags
    戻り値
    型 説明
    System.IntPtr

    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
    戻り値
    型 説明
    System.Int32

    MulDiv(Int32, Int32, Int32)

    宣言
    public static extern int MulDiv(int nNumber, int nNumerator, int nDenominator)
    パラメーター
    型 名前 説明
    System.Int32 nNumber
    System.Int32 nNumerator
    System.Int32 nDenominator
    戻り値
    型 説明
    System.Int32

    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
    戻り値
    型 説明
    System.Int32

    OpenClipboard(IntPtr)

    宣言
    public static extern bool OpenClipboard(IntPtr hWndNewOwner)
    パラメーター
    型 名前 説明
    System.IntPtr hWndNewOwner
    戻り値
    型 説明
    System.Boolean

    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
    戻り値
    型 説明
    System.Boolean

    OpenThemeDataForDpi(IntPtr, String, Int32)

    宣言
    public static extern IntPtr OpenThemeDataForDpi(IntPtr hWnd, string pszClassList, int dpi)
    パラメーター
    型 名前 説明
    System.IntPtr hWnd
    System.String pszClassList
    System.Int32 dpi
    戻り値
    型 説明
    System.IntPtr

    PatBlt(IntPtr, Rectangle, UInt32)

    宣言
    public static int PatBlt(IntPtr hdc, Rectangle rect, uint rop)
    パラメーター
    型 名前 説明
    System.IntPtr hdc
    Rectangle rect
    System.UInt32 rop
    戻り値
    型 説明
    System.Int32

    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
    戻り値
    型 説明
    System.Int32

    Polygon(IntPtr, POINT[], Int32)

    Polygon

    宣言
    public static extern bool Polygon(IntPtr hdc, POINT[] lpPoints, int nCount)
    パラメーター
    型 名前 説明
    System.IntPtr hdc
    POINT[] lpPoints
    System.Int32 nCount
    戻り値
    型 説明
    System.Boolean

    Polyline(IntPtr, POINT[], Int32)

    Polyline

    宣言
    public static extern int Polyline(IntPtr hdc, POINT[] points, int count)
    パラメーター
    型 名前 説明
    System.IntPtr hdc
    POINT[] points
    System.Int32 count
    戻り値
    型 説明
    System.Int32

    PolyPolyline(IntPtr, POINT[], Int32[], Int32)

    PolyPolyline

    宣言
    public static extern int PolyPolyline(IntPtr hdc, POINT[] points, int[] lpdwPolyPoints, int count)
    パラメーター
    型 名前 説明
    System.IntPtr hdc
    POINT[] points
    System.Int32[] lpdwPolyPoints
    System.Int32 count
    戻り値
    型 説明
    System.Int32

    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
    戻り値
    型 説明
    System.Boolean

    PrintDlg(ref PRINTDLG_32)

    宣言
    public static extern bool PrintDlg(ref PRINTDLG_32 lpPrintdlg)
    パラメーター
    型 名前 説明
    PRINTDLG_32 lpPrintdlg
    戻り値
    型 説明
    System.Boolean

    PrintDlg(ref PRINTDLG_64)

    宣言
    public static extern bool PrintDlg(ref PRINTDLG_64 lpPrintdlg)
    パラメーター
    型 名前 説明
    PRINTDLG_64 lpPrintdlg
    戻り値
    型 説明
    System.Boolean

    PrintDlgEx(ref PRINTDLGEX)

    宣言
    public static extern int PrintDlgEx(ref PRINTDLGEX lppdex)
    パラメーター
    型 名前 説明
    PRINTDLGEX lppdex
    戻り値
    型 説明
    System.Int32

    Rectangle(IntPtr, RECT)

    宣言
    public static int Rectangle(IntPtr hdc, RECT rectangle)
    パラメーター
    型 名前 説明
    System.IntPtr hdc
    RECT rectangle
    戻り値
    型 説明
    System.Int32

    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
    戻り値
    型 説明
    System.Int32

    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
    戻り値
    型 説明
    System.Boolean

    RefreshImmersiveColorPolicyState()

    宣言
    public static extern void RefreshImmersiveColorPolicyState()

    RegisterClipboardFormatW(String)

    宣言
    public static extern uint RegisterClipboardFormatW(string format)
    パラメーター
    型 名前 説明
    System.String format
    戻り値
    型 説明
    System.UInt32

    ReleaseCapture()

    宣言
    public static extern bool ReleaseCapture()
    戻り値
    型 説明
    System.Boolean

    ReleaseDC(IntPtr, IntPtr)

    宣言
    public static extern bool ReleaseDC(IntPtr hWnd, IntPtr hDC)
    パラメーター
    型 名前 説明
    System.IntPtr hWnd
    System.IntPtr hDC
    戻り値
    型 説明
    System.Boolean

    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
    戻り値
    型 説明
    System.Boolean

    SafeDeleteObject(IntPtr)

    GDIオブジェクトを削除します。

    宣言
    public static void SafeDeleteObject(IntPtr gdiObj)
    パラメーター
    型 名前 説明
    System.IntPtr gdiObj

    ScrollWindow(IntPtr, Int32, Int32, Rectangle, UInt32)

    宣言
    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
    戻り値
    型 説明
    Rectangle

    ScrollWindowEx(IntPtr, Int32, Int32, IntPtr, IntPtr, IntPtr, IntPtr, UInt32)

    指定したウィンドウのクライアント領域の内容をスクロールします。

    宣言
    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)

    SelectClipRgn

    宣言
    public static extern int SelectClipRgn(IntPtr hdc, IntPtr regionHdl)
    パラメーター
    型 名前 説明
    System.IntPtr hdc
    System.IntPtr regionHdl
    戻り値
    型 説明
    System.Int32

    SelectObject(IntPtr, IntPtr)

    SelectObject

    宣言
    public static extern IntPtr SelectObject(IntPtr hdc, IntPtr hgdiobj)
    パラメーター
    型 名前 説明
    System.IntPtr hdc
    System.IntPtr hgdiobj
    戻り値
    型 説明
    System.IntPtr

    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
    戻り値
    型 説明
    System.Int32

    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
    戻り値
    型 説明
    System.Int32

    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
    戻り値
    型 説明
    System.Int32

    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
    戻り値
    型 説明
    System.IntPtr

    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
    戻り値
    型 説明
    System.Int32

    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
    戻り値
    型 説明
    System.IntPtr

    SetBkColor(IntPtr, Color)

    宣言
    public static int SetBkColor(IntPtr hdc, Color color)
    パラメーター
    型 名前 説明
    System.IntPtr hdc
    Color color
    戻り値
    型 説明
    System.Int32

    SetBkColor(IntPtr, Int32)

    SetBkColor

    宣言
    public static extern int SetBkColor(IntPtr hdc, int crColor)
    パラメーター
    型 名前 説明
    System.IntPtr hdc
    System.Int32 crColor
    戻り値
    型 説明
    System.Int32

    SetBkMode(IntPtr, Int32)

    SetBkMode

    宣言
    public static extern int SetBkMode(IntPtr hdc, int iBkMode)
    パラメーター
    型 名前 説明
    System.IntPtr hdc
    System.Int32 iBkMode
    戻り値
    型 説明
    System.Int32

    SetCapture(IntPtr)

    宣言
    public static extern bool SetCapture(IntPtr hWnd)
    パラメーター
    型 名前 説明
    System.IntPtr hWnd
    戻り値
    型 説明
    System.Boolean

    SetCaretPos(Int32, Int32)

    宣言
    public static extern int SetCaretPos(int x, int y)
    パラメーター
    型 名前 説明
    System.Int32 x
    System.Int32 y
    戻り値
    型 説明
    System.Int32

    SetClipboardData(UInt32, IntPtr)

    宣言
    public static extern IntPtr SetClipboardData(uint format, IntPtr data)
    パラメーター
    型 名前 説明
    System.UInt32 format
    System.IntPtr data
    戻り値
    型 説明
    System.IntPtr

    SetDCBrushColor(IntPtr, Color)

    宣言
    public static uint SetDCBrushColor(IntPtr hdc, Color color)
    パラメーター
    型 名前 説明
    System.IntPtr hdc
    Color color
    戻り値
    型 説明
    System.UInt32

    SetDCBrushColor(IntPtr, Int32)

    SetDCBrushColor

    宣言
    public static extern uint SetDCBrushColor(IntPtr hdc, int crColor)
    パラメーター
    型 名前 説明
    System.IntPtr hdc
    System.Int32 crColor
    戻り値
    型 説明
    System.UInt32

    SetDCPenColor(IntPtr, Color)

    宣言
    public static uint SetDCPenColor(IntPtr hdc, Color color)
    パラメーター
    型 名前 説明
    System.IntPtr hdc
    Color color
    戻り値
    型 説明
    System.UInt32

    SetDCPenColor(IntPtr, Int32)

    SetDCPenColor

    宣言
    public static extern uint SetDCPenColor(IntPtr hdc, int crColor)
    パラメーター
    型 名前 説明
    System.IntPtr hdc
    System.Int32 crColor
    戻り値
    型 説明
    System.UInt32

    SetForegroundWindow(IntPtr)

    宣言
    public static extern bool SetForegroundWindow(IntPtr hWnd)
    パラメーター
    型 名前 説明
    System.IntPtr hWnd
    戻り値
    型 説明
    System.Boolean

    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
    戻り値
    型 説明
    System.Boolean

    SetParent(IntPtr, IntPtr)

    宣言
    public static extern IntPtr SetParent(IntPtr hWndChild, IntPtr hWndNewParent)
    パラメーター
    型 名前 説明
    System.IntPtr hWndChild
    System.IntPtr hWndNewParent
    戻り値
    型 説明
    System.IntPtr

    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
    戻り値
    型 説明
    System.Boolean

    SetPolyFillMode(IntPtr, Int32)

    SetPolyFillMode

    宣言
    public static extern int SetPolyFillMode(IntPtr hdc, int iPolyFillMode)
    パラメーター
    型 名前 説明
    System.IntPtr hdc
    System.Int32 iPolyFillMode
    戻り値
    型 説明
    System.Int32

    SetPreferredAppMode(PreferredAppMode)

    宣言
    public static extern PreferredAppMode SetPreferredAppMode(PreferredAppMode appMode)
    パラメーター
    型 名前 説明
    PreferredAppMode appMode
    戻り値
    型 説明
    PreferredAppMode

    SetScrollInfo(IntPtr, Int32, ref SCROLLINFO, Int32)

    宣言
    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
    戻り値
    型 説明
    System.Int32

    SetScrollPos(IntPtr, Boolean, Int32)

    宣言
    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
    戻り値
    型 説明
    System.Int32

    SetTextColor(IntPtr, Int32)

    SetTextColor

    宣言
    public static extern int SetTextColor(IntPtr hdc, int crColor)
    パラメーター
    型 名前 説明
    System.IntPtr hdc
    System.Int32 crColor
    戻り値
    型 説明
    System.Int32

    SetWindowCompositionAttribute(IntPtr, ref WindowCompositionAttributeData)

    宣言
    public static extern int SetWindowCompositionAttribute(IntPtr hWnd, ref WindowCompositionAttributeData data)
    パラメーター
    型 名前 説明
    System.IntPtr hWnd
    WindowCompositionAttributeData data
    戻り値
    型 説明
    System.Int32

    SetWindowLongPtr(IntPtr, Int32, IntPtr)

    宣言
    public static IntPtr SetWindowLongPtr(IntPtr hWnd, int nIndex, IntPtr dwNewLong)
    パラメーター
    型 名前 説明
    System.IntPtr hWnd
    System.Int32 nIndex
    System.IntPtr dwNewLong
    戻り値
    型 説明
    System.IntPtr

    SetWindowLongPtr32(IntPtr, Int32, IntPtr)

    宣言
    public static extern IntPtr SetWindowLongPtr32(IntPtr hWnd, int nIndex, IntPtr dwNewLong)
    パラメーター
    型 名前 説明
    System.IntPtr hWnd
    System.Int32 nIndex
    System.IntPtr dwNewLong
    戻り値
    型 説明
    System.IntPtr

    SetWindowPlacement(IntPtr, ref WINDOWPLACEMENT)

    宣言
    public static extern bool SetWindowPlacement(IntPtr hWnd, ref WINDOWPLACEMENT lpwndpl)
    パラメーター
    型 名前 説明
    System.IntPtr hWnd
    WINDOWPLACEMENT lpwndpl
    戻り値
    型 説明
    System.Boolean

    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
    戻り値
    型 説明
    System.Boolean

    SetWindowsHookEx(Int32, OTZNativeMethods.MouseHookProc, IntPtr, UInt32)

    宣言
    public static extern IntPtr SetWindowsHookEx(int idHook, OTZNativeMethods.MouseHookProc lpfn, IntPtr hMod, uint dwThreadId)
    パラメーター
    型 名前 説明
    System.Int32 idHook
    OTZNativeMethods.MouseHookProc lpfn
    System.IntPtr hMod
    System.UInt32 dwThreadId
    戻り値
    型 説明
    System.IntPtr

    SetWindowTheme(IntPtr, String, String)

    宣言
    public static extern int SetWindowTheme(IntPtr hWnd, string pszSubAppName, string pszSubIdList)
    パラメーター
    型 名前 説明
    System.IntPtr hWnd
    System.String pszSubAppName
    System.String pszSubIdList
    戻り値
    型 説明
    System.Int32

    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
    戻り値
    型 説明
    System.Int32

    SHGetDesktopFolder(ref IShellFolder)

    宣言
    public static extern int SHGetDesktopFolder(ref IShellFolder ppshf)
    パラメーター
    型 名前 説明
    IShellFolder ppshf
    戻り値
    型 説明
    System.Int32

    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
    戻り値
    型 説明
    System.IntPtr

    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
    戻り値
    型 説明
    System.IntPtr

    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
    戻り値
    型 説明
    System.IntPtr

    SHGetPathFromIDList(IntPtr, StringBuilder)

    宣言
    public static extern int SHGetPathFromIDList(IntPtr pIDL, StringBuilder strPath)
    パラメーター
    型 名前 説明
    System.IntPtr pIDL
    System.Text.StringBuilder strPath
    戻り値
    型 説明
    System.Int32

    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
    戻り値
    型 説明
    System.Int32

    SHGetStockIconInfo(SHSTOCKICONID, SHGSI, ref SHSTOCKICONINFO)

    宣言
    public static extern int SHGetStockIconInfo(SHSTOCKICONID siid, SHGSI uFlags, ref SHSTOCKICONINFO psii)
    パラメーター
    型 名前 説明
    SHSTOCKICONID siid
    SHGSI uFlags
    SHSTOCKICONINFO psii
    戻り値
    型 説明
    System.Int32

    ShouldAppsUseDarkMode()

    宣言
    public static extern bool ShouldAppsUseDarkMode()
    戻り値
    型 説明
    System.Boolean

    ShouldAppsUseDarkModeByReg()

    Windows の既定のアプリのモードがダークモードかどうかを取得します。

    宣言
    public static bool ShouldAppsUseDarkModeByReg()
    戻り値
    型 説明
    System.Boolean

    ShouldSystemUseDarkMode()

    宣言
    public static extern bool ShouldSystemUseDarkMode()
    戻り値
    型 説明
    System.Boolean

    ShowCaret(IntPtr)

    宣言
    public static extern int ShowCaret(IntPtr hWnd)
    パラメーター
    型 名前 説明
    System.IntPtr hWnd
    戻り値
    型 説明
    System.Int32

    ShowScrollBar(IntPtr, Int32, Boolean)

    宣言
    public static extern bool ShowScrollBar(IntPtr hWnd, int wBar, bool bShow)
    パラメーター
    型 名前 説明
    System.IntPtr hWnd
    System.Int32 wBar
    System.Boolean bShow
    戻り値
    型 説明
    System.Boolean

    ShowWindow(IntPtr, Int32)

    宣言
    public static extern int ShowWindow(IntPtr hWnd, int nCmdShow)
    パラメーター
    型 名前 説明
    System.IntPtr hWnd
    System.Int32 nCmdShow
    戻り値
    型 説明
    System.Int32

    ShowWindowAsync(IntPtr, Int32)

    宣言
    public static extern bool ShowWindowAsync(IntPtr hWnd, int nCmdShow)
    パラメーター
    型 名前 説明
    System.IntPtr hWnd
    System.Int32 nCmdShow
    戻り値
    型 説明
    System.Boolean

    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
    戻り値
    型 説明
    System.Int32

    TextOut(IntPtr, Int32, Int32, String, Int32)

    TextOut

    宣言
    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
    戻り値
    型 説明
    System.Boolean

    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
    戻り値
    型 説明
    System.Int32

    UnhookWindowsHookEx(IntPtr)

    宣言
    public static extern bool UnhookWindowsHookEx(IntPtr hhk)
    パラメーター
    型 名前 説明
    System.IntPtr hhk
    戻り値
    型 説明
    System.Boolean

    UnSafeCreateFontIndirect(Void*)

    宣言
    public static extern IntPtr UnSafeCreateFontIndirect(void *logFont)
    パラメーター
    型 名前 説明
    System.Void* logFont
    戻り値
    型 説明
    System.IntPtr

    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
    戻り値
    型 説明
    System.Int32
    In This Article
    Back to top Generated by DocFX