Hierarchical Win32 Category List
Atom Functions
| Win32 function |
Description |
.NET Framework API |
| AddAtom |
Adds a character string to the local atom table. |
System.String.Intern
Note String is not exactly an atom. |
| FindAtom |
Searches the local atom table for the specified character string. |
System.String.IsInterned
Note String is not exactly an atom. |
Alphabetical Win32 Category List Hierarchical Win32 Category List
Bitmap Functions
| Win32 function |
Description |
.NET Framework API |
| AlphaBlend |
Displays a bitmap with transparent or semitransparent pixels. |
System.Drawing.Graphics.DrawImage |
| BitBlt |
Performs a bit-block transfer. |
System.Drawing.Graphics.DrawImage |
| CreateBitmap |
Creates a bitmap. |
System.Drawing.Bitmap constructor
Note Creates a DIB, not a DDB. |
| GetBitmapDimensionEx |
Gets the dimensions of a bitmap. |
System.Drawing.Bitmap.Size |
| GetDIBColorTable |
Retrieves RGB color values from a DIB section bitmap. |
System.Drawing.Bitmap.Palette |
| GetDIBits |
Copies a bitmap into a buffer. |
System.Drawing.Bitmap.LockBits |
| GetPixel |
Gets the RGB color value of the pixel at a given coordinate. |
System.Drawing.Bitmap.GetPixel |
| GradientFill |
Fills rectangle and triangle structures. |
System.Drawing.Graphics.FillRectangle(Drawing2D.LinearGradiantBrush, Rectangle) |
| LoadBitmap |
Loads a bitmap from a module's executable file. |
System.Drawing.Bitmap.Bitmap(Type, String) |
| SetPixel |
Sets the color for a pixel. |
System.Drawing.Bitmap.SetPixel |
| SetPixelV |
Sets a pixel to the best approximation of a color. |
System.Drawing.Bitmap.SetPixel(…, Graphics.GetNearestColor(Color)) |
| StretchBlt |
Copies a bitmap and stretches or compresses it. |
System.Drawing.Graphics.DrawImage |
Alphabetical Win32 Category List Hierarchical Win32 Category List
Brush Functions
| Win32 function |
Description |
.NET Framework API |
| CreateBrushIndirect |
Creates a brush with a specified style, color, and pattern. |
Any of the following: System.Drawing.Brushes System.Drawing.SolidBrush System.Drawing.TextureBrush System.Drawing.Drawing2D.HatchBrush System.Drawing.Drawing2D.LinearGradientBrush System.Drawing.Drawing2D.PathGradientBrush |
| CreateHatchBrush |
Creates a brush with a hatch pattern and color. |
System.Drawing.Drawing2D.HatchBrush constructor |
| CreatePatternBrush |
Creates a brush with a bitmap pattern. |
System.Drawing.TextureBrush constructor |
| CreateSolidBrush |
Creates a brush with a solid color. |
System.Drawing.SolidBrush constructor |
| GetSysColorBrush |
Gets a handle for a brush that corresponds to a color index. |
System.Drawing.Brushes class |
Alphabetical Win32 Category List Hierarchical Win32 Category List
Button Functions
| Win32 function |
Description |
.NET Framework API |
| CheckDlgButton |
Changes the check state of a button control. |
System.Windows.Forms.CheckBox.Checked |
| CheckRadioButton |
Adds a check mark to a specified radio button in a group and removes a check mark from all other radio buttons in the group. |
System.Windows.Forms.RadioButton.Checked |
| IsDlgButtonChecked |
Determines whether a button control has a check mark next to it or whether a three-state button control is grayed, checked, or neither. |
System.Windows.Forms.CheckBox.CheckState |
Alphabetical Win32 Category List Hierarchical Win32 Category List
Clipboard Functions
| Win32 function |
Description |
.NET Framework API |
| CountClipboardFormats |
Retrieves the number of different data formats currently on the clipboard. |
System.Windows.Forms.DataObject.GetFormats |
| EnumClipboardFormats |
Enumerates the data formats currently available on the clipboard. |
System.Windows.Forms.DataObject.GetFormats |
| GetClipboardData |
Retrieves data from the clipboard in a specified format. |
System.Windows.Forms.ClipBoard.GetDataObject |
| IsClipboardFormatAvailable |
Determines whether the clipboard contains data in the specified format. |
System.Windows.Forms.DataObject.GetDataPresent |
| RegisterClipboardFormat |
Registers a new clipboard format. |
System.Windows.Forms.DataFormats.GetFormat |
| SetClipboardData |
Places data on the clipboard in a specified clipboard format. |
System.Windows.Forms.ClipBoard.SetDataObject |
Alphabetical Win32 Category List Hierarchical Win32 Category List
Clipping Functions
| Win32 function |
Description |
.NET Framework API |
| ExcludeClipRect |
Creates a new clipping region that consists of the existing clipping region minus the specified rectangle. |
System.Drawing.Graphics.ExcludeClip |
| ExtSelectClipRgn |
Combines the specified region with the current clipping region using the specified mode. |
System.Drawing.Graphics.SetClip |
| GetClipBox |
Retrieves the dimensions of the tightest bounding rectangle that can be drawn around the current visible area on the device. |
System.Drawing.Graphics.VisibleClipBounds |
| GetClipRgn |
Retrieves a handle identifying the current application-defined clipping region for the specified device context. |
System.Drawing.Graphics.Clip |
| IntersectClipRect |
Creates a new clipping region from the intersection of the current clipping region and the specified rectangle. |
System.Drawing.Graphics.IntersectClip |
| OffsetClipRgn |
Moves the clipping region of a device context by the specified offsets. |
System.Drawing.Graphics.TranslateClip |
| PtVisible |
Determines whether the specified point is within the clipping region of a device context. |
System.Drawing.Graphics.IsVisible |
| RectVisible |
Determines whether any part of the specified rectangle lies within the clipping region of a device context. |
System.Drawing.Graphics.IsVisible |
| SelectClipPath |
Selects the current path as a clipping region for a device context, combining the new region with any existing clipping region by using the specified mode. |
System.Drawing.Graphics.SetClip |
| SelectClipRgn |
Selects a region as the current clipping region for the specified device context. |
System.Drawing.Graphics.Clip |
Alphabetical Win32 Category List Hierarchical Win32 Category List
Color Functions
| Win32 function |
Description |
.NET Framework API |
| CreateHalftonePalette |
Creates a halftone palette for the specified device context. |
System.Drawing.Graphics.GetHalftonePalette |
| CreatePalette |
Creates a logical palette. |
System.Drawing.Image.Palette |
| GetNearestColor |
Retrieves a color value identifying a color from the system palette that will be displayed when the specified color value is used. |
System.Drawing.Graphics.GetNearestColor |
| GetPaletteEntries |
Retrieves a specified range of palette entries from the given logical palette. |
System.Drawing.Image.Palette.Entries |
Alphabetical Win32 Category List Hierarchical Win32 Category List
Combo Box Functions
| Win32 function |
Description |
.NET Framework API |
| DlgDirListComboBox |
Replaces the contents of a combo box with the names of specified subdirectories and files. |
System.Windows.Forms.ComboBox.Items.AddRange(System.IO.Directory.GetFileSystemEntries) |
| DlgDirSelectComboBoxEx |
Retrieves the current selection from a combo box filled by using DlgDirListComboBox. |
System.Windows.Forms.ComboBox.SelectedItem |
| GetComboBoxInfo |
Retrieves information about a specified combo box. |
System.Windows.Forms.ComboBox properties |
Alphabetical Win32 Category List Hierarchical Win32 Category List
Common Dialog Box Functions
| Win32 function |
Description |
.NET Framework API |
| ChooseColor |
Creates a Color dialog box that enables the user to select a color. |
System.Windows.Forms.ColorDialog constructor
Note Dialog cannot be modified through a hook. |
| ChooseFont |
Creates a Font dialog box that enables the user to choose attributes for a logical font. |
System.Windows.Forms.FontDialog constructor
Note Dialog cannot be modified through a hook. |
| GetFileTitle |
Retrieves the name of the specified file. |
System.IO.FileInfo.Name
Note Does not take user preferences into account. |
| GetOpenFileName |
Creates an Open dialog box that lets the user specify the drive, directory, and name of a file or set of files to open. |
System.Windows.Forms.OpenFileDialog.ShowDialog
Note Dialog cannot be modified through a hook. |
| GetSaveFileName |
Creates a Save dialog box that lets the user specify the drive, directory, and name of a file to save. |
System.Windows.Forms.SaveFileDialog.ShowDialog
Note Dialog cannot be modified through a hook. |
| PageSetupDlg |
Creates a Page Setup dialog box that enables the user to specify the attributes of a printed page. |
System.Windows.Forms.PageSetupDialog.ShowDialog
Note Dialog cannot be modified through a hook. |
| PrintDlg |
Displays a Print dialog box. |
System.Windows.Forms.PrintDialog.ShowDialog
Note Dialog cannot be modified through a hook. |
Alphabetical Win32 Category List Hierarchical Win32 Category List
Console Functions
| Win32 function |
Description |
.NET Framework API |
| GetStdHandle |
Retrieves a handle for the standard input, standard output, or standard error device. |
System.Console.OpenStandardIn System.Console.OpenStandardOut System.Console.OpenStandardError |
| ReadConsole |
Reads character input from the console input buffer and removes it from the buffer. |
System.Console.Read |
| SetStdHandle |
Sets the handle for the standard input, standard output, or standard error device. |
System.Console.SetIn System.Console.SetOut System.Console.SetError |
| WriteConsole |
Writes a character string to a console screen buffer beginning at the current cursor location. |
System.Console.Write |
Alphabetical Win32 Category List Hierarchical Win32 Category List
Coordinate Functions
| Win32 function |
Description |
.NET Framework API |
| ClientToScreen |
Converts the client-area coordinates of a specified point to screen coordinates. |
System.Windows.Forms.Form.PointToScreen |
| CombineTransform |
Concatenates two world-space to page-space transformations. |
System.Drawing.Drawing2D.Matrix.Multiply |
| DPtoLP |
Converts device coordinates into logical coordinates. |
System.Drawing.Graphics.TransformPoints |
| GetMapMode |
Retrieves the current mapping mode. |
System.Drawing.Graphics.PageUnit |
| GetWindowExtEx |
Retrieves the x-extent and y-extent of the window for the specified device context. |
System.Drawing.Graphics.PageScale |
| GetWindowOrgEx |
Retrieves the x-coordinates and y-coordinates of the window origin for the specified device context. |
System.Drawing.Graphics.Transform.OffsetX System.Drawing.Graphics.Transform.OffsetY |
| GetWorldTransform |
Retrieves the current world-space to page-space transformation. |
System.Drawing.Graphics.Transform |
| LPtoDP |
Converts logical coordinates into device coordinates. |
System.Drawing.Graphics.TransformPoints |
| ModifyWorldTransform |
Changes the world transformation for a device context using the specified mode. |
System.Drawing.Graphics.Transform |
| OffsetViewportOrgEx |
Modifies the viewport origin for a device context using the specified horizontal and vertical offsets. |
System.Drawing.Graphics.TranslateTransform |
| OffsetWindowOrgEx |
Modifies the window origin for a device context using the specified horizontal and vertical offsets. |
System.Drawing.Graphics.TranslateTransform |
| ScreenToClient |
Converts the screen coordinates of a specified point on the screen-to-client coordinates. |
System.Windows.Forms.Form.PointToClient |
| SetMapMode |
Sets the mapping mode of the specified device context. |
System.Drawing.Graphics.PageUnit |
| SetWindowExtEx |
Sets the horizontal and vertical extents of the window for a device context by using the specified values. |
System.Drawing.Graphics.PageScale Drawing.Graphics.ScaleTransform |
| SetWindowOrgEx |
Specifies which window point maps to the viewport origin (0,0). |
System.Drawing.Graphics.TranslateTransform |
| SetWorldTransform |
Sets a two-dimensional linear transformation between world space and page space for the specified device context. |
System.Drawing.Graphics.Transform |
Alphabetical Win32 Category List Hierarchical Win32 Category List
Cursor Functions
| Win32 function |
Description |
.NET Framework API |
| ClipCursor |
Confines the cursor to a rectangular area on the screen. |
System.Windows.Forms.Cursor.Clip |
| CopyCursor |
Copies the specified cursor. |
System.Windows.Forms.Cursor.CopyHandle |
| CreateCursor |
Creates a cursor having the specified size, bit patterns, and hot spot. |
System.Windows.Forms.Cursor constructor System.Windows.Forms.Cursor.Size System.Windows.Forms.Cursor.Position |
| DestroyCursor |
Destroys a cursor. |
System.Windows.Forms.Cursor.Dispose |
| GetClipCursor |
Retrieves the screen coordinates of the rectangular area to which the cursor is confined. |
System.Windows.Forms.Cursor.Clip |
| GetCursor |
Retrieves a handle to the current cursor. |
System.Windows.Forms.Cursor.Handle |
| GetCursorInfo |
Retrieves information about the global cursor. |
System.Windows.Forms.Cursor.Position System.Windows.Forms.SystemInformation.CursorSize |
| GetCursorPos |
Retrieves the cursor's position. |
System.Windows.Forms.Control.MousePosition System.Windows.Forms.Cursor.Position |
| LoadCursor |
Loads a cursor resource from an executable file. |
System.Windows.Forms.Cursor constructor |
| LoadCursorFromFile |
Creates a cursor based on data contained in a file. |
System.Windows.Forms.Cursor constructor |
| SetCursor |
Sets the cursor shape. |
System.Windows.Forms.Cursor.Current |
| SetCursorPos |
Moves the cursor to the specified screen coordinates. |
System.Windows.Forms.Cursor.Position |
| ShowCursor |
Displays or hides the cursor. |
System.Windows.Forms.Cursor.Show Windows.Forms.Cursor.Hide |
Alphabetical Win32 Category List Hierarchical Win32 Category List
Debugging Functions
| Win32 function |
Description |
.NET Framework API |
| DebugActiveProcess |
Enables a debugger to attach to an active process and debug it. |
System.Diagnostics.Debugger.Launch |
| DebugBreak |
Causes a breakpoint exception to occur in the current process. |
System.Diagnostics.Debugger.Break |
| IsDebuggerPresent |
Determines whether the calling process is running under the context of a debugger. |
System.Diagnostics.Debugger.IsAttached |
| OutputDebugString |
Sends a string to the debugger for display. |
System.Diagnostics.Debugger.Log |
Alphabetical Win32 Category List Hierarchical Win32 Category List
Device Context Functions
| Win32 function |
Description |
.NET Framework API |
| ChangeDisplaySettings |
Changes the settings of the default display device to the specified graphics mode. |
System.Management.ManagementClass("Win32_VideoController") |
| ChangeDisplaySettingsEx |
Changes the settings of the specified display device to the specified graphics mode. |
System.Management.ManagementClass("Win32_VideoController") |
| DeviceCapabilities |
Retrieves the capabilities of a printer device driver. |
System.Drawing.Printing.PageSettings System.Drawing.Printing.PrinterSettings |
| EnumDisplayDevices |
Retrieves information about the display devices in a system. |
System.Management.ManagementClass("Win32_DesktopMonitor") |
| EnumDisplaySettings |
Retrieves information about one of the graphics modes for a display device. |
System.Management.ManagementClass("CIM_VideoControllerResolution") |
| GetDC |
Retrieves a handle to a display device context for the client area of a specified window or for the entire screen. |
To retrieve a Graphics object, use any of the following: System.Drawing.Graphics.FromHwnd(Windows.Forms.Control.Handle) System.Drawing.Printing.PrintPageEventArgs.Graphics System.Windows.Forms.PaintEventArgs.Graphics
To explicitly retrieve a handle, use the following: System.Drawing.Graphics.GetHdc |
| GetDCEx |
Retrieves a handle to a display device context for the client area of a specified window or for the entire screen. |
To retrieve a Graphics object, use any of the following: System.Drawing.Graphics.FromHwnd(Windows.Forms.Control.Handle) System.Drawing.Printing.PrintPageEventArgs.Graphics System.Windows.Forms.PaintEventArgs.Graphics
To explicitly retrieve a handle, use the following: System.Drawing.Graphics.GetHdc |
| GetDeviceCaps |
Retrieves device-specific information for the specified device. |
System.Drawing.Graphics properties System.Drawing.Printing.PrinterSettings System.Management classes |
| GetLayout |
Retrieves the layout of a device context. |
System.Windows.Forms.Control.RightToLeft |
| GetObject |
Retrieves information for the specified graphics object. |
System.Drawing.Bitmap properties System.Drawing.Brush properties System.Drawing.Font properties System.Drawing.Pen properties |
| GetObjectType |
Retrieves the type of the specified object. |
System.Object.GetType |
| GetStockObject |
Retrieves a handle to one of the stock pens, brushes, fonts, or palettes. |
System.Drawing.Brushes System.Drawing.Pens |
| ReleaseDC |
Releases a device context, freeing it for use by other applications. |
System.Drawing.Graphics.ReleaseHdc |
| SetLayout |
Sets the layout for a device context. |
System.Windows.Forms.Control.RightToLeft = System.Windows.Forms.RightToLeft.Yes |
Alphabetical Win32 Category List Hierarchical Win32 Category List
[1] [2] [3] [4] [5] [6] [7] 下一页 |