Microsoft Win32 to Microsoft .NET Framework API Map
来源:互联网 发布:python socket 雪峰 编辑:程序博客网 时间:2024/05/17 20:55
Microsoft Corporation
January 2004
Applies to:
Microsoft® .NET Framework version 1.0 or 1.1
Microsoft Visual Studio® .NET
Microsoft Win32® functions
Summary: This article identifies the Microsoft .NET Framework version 1.0 or 1.1 APIs that provide similar functionality to Microsoft Win32 functions. One or more relevant .NET Framework APIs are shown for each Win32 function listed. The intended audience for this article is experienced Win32 developers who are creating applications or libraries based on the Microsoft .NET Framework, but anyone looking for a managed counterpart for a Win32 function could find this document useful. (85 printed pages)
In this article, the Microsoft® Win32® functions are organized by category. Each Win32 function that is listed belongs to only one category, and each category is presented in its own table. An alphabetical list of the Win32 categories is provided, as well as a hierarchical list. To locate a Win32 function, select the appropriate category from one of the category lists or search the article for the name of the function. If you do not find the Win32 function that you are seeking, it means that no equivalent .NET Framework API exists in the .NET Framework version 1.0 or 1.1 or that the Win32 function and the relevant .NET Framework API were inadvertently omitted from the list.
If you believe that a Win32 function and the relevant .NET Framework API have been omitted from this article, please let us know by using the feedback link. For more information on the APIs listed in this article, see the Platform SDK documentation or the .NET Framework SDK documentation in the MSDN® library.
Alphabetical Win32 Category List
A-C
D-I
J-N
O-R
S-T
U-Z
Hierarchical Win32 Category List
Base Services
Graphics Device Interface
User Interface
Atom Functions
Note String is not exactly an atom.
FindAtomSearches the local atom table for the specified character string.System.String.IsInternedNote String is not exactly an atom.
Alphabetical Win32 Category List
Hierarchical Win32 Category List
Bitmap Functions
Note Creates a DIB, not a DDB.
GetBitmapDimensionExGets the dimensions of a bitmap.System.Drawing.Bitmap.SizeGetDIBColorTableRetrieves RGB color values from a DIB section bitmap.System.Drawing.Bitmap.PaletteGetDIBitsCopies a bitmap into a buffer.System.Drawing.Bitmap.LockBitsGetPixelGets the RGB color value of the pixel at a given coordinate.System.Drawing.Bitmap.GetPixelGradientFillFills rectangle and triangle structures.System.Drawing.Graphics.FillRectangle(Drawing2D.LinearGradiantBrush, Rectangle)LoadBitmapLoads a bitmap from a module's executable file.System.Drawing.Bitmap.Bitmap(Type, String)SetPixelSets the color for a pixel.System.Drawing.Bitmap.SetPixelSetPixelVSets a pixel to the best approximation of a color.System.Drawing.Bitmap.SetPixel(…, Graphics.GetNearestColor(Color))StretchBltCopies a bitmap and stretches or compresses it.System.Drawing.Graphics.DrawImageAlphabetical Win32 Category List
Hierarchical Win32 Category List
Brush Functions
System.Drawing.Brushes
System.Drawing.SolidBrush
System.Drawing.TextureBrush
System.Drawing.Drawing2D.HatchBrush
System.Drawing.Drawing2D.LinearGradientBrush
System.Drawing.Drawing2D.PathGradientBrushCreateHatchBrushCreates a brush with a hatch pattern and color.System.Drawing.Drawing2D.HatchBrush constructorCreatePatternBrushCreates a brush with a bitmap pattern.System.Drawing.TextureBrush constructorCreateSolidBrushCreates a brush with a solid color.System.Drawing.SolidBrush constructorGetSysColorBrushGets 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
Alphabetical Win32 Category List
Hierarchical Win32 Category List
Clipboard Functions
Alphabetical Win32 Category List
Hierarchical Win32 Category List
Clipping Functions
Alphabetical Win32 Category List
Hierarchical Win32 Category List
Color Functions
Alphabetical Win32 Category List
Hierarchical Win32 Category List
Combo Box Functions
Alphabetical Win32 Category List
Hierarchical Win32 Category List
Common Dialog Box Functions
Note Dialog cannot be modified through a hook.
ChooseFontCreates a Font dialog box that enables the user to choose attributes for a logical font.System.Windows.Forms.FontDialog constructorNote Dialog cannot be modified through a hook.
GetFileTitleRetrieves the name of the specified file.System.IO.FileInfo.NameNote Does not take user preferences into account.
GetOpenFileNameCreates 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.ShowDialogNote Dialog cannot be modified through a hook.
GetSaveFileNameCreates a Save dialog box that lets the user specify the drive, directory, and name of a file to save.System.Windows.Forms.SaveFileDialog.ShowDialogNote Dialog cannot be modified through a hook.
PageSetupDlgCreates a Page Setup dialog box that enables the user to specify the attributes of a printed page.System.Windows.Forms.PageSetupDialog.ShowDialogNote Dialog cannot be modified through a hook.
PrintDlgDisplays a Print dialog box.System.Windows.Forms.PrintDialog.ShowDialogNote Dialog cannot be modified through a hook.
Alphabetical Win32 Category List
Hierarchical Win32 Category List
Console Functions
System.Console.OpenStandardOut
System.Console.OpenStandardErrorReadConsoleReads character input from the console input buffer and removes it from the buffer.System.Console.ReadSetStdHandleSets the handle for the standard input, standard output, or standard error device.System.Console.SetIn
System.Console.SetOut
System.Console.SetErrorWriteConsoleWrites 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
System.Drawing.Graphics.Transform.OffsetYGetWorldTransformRetrieves the current world-space to page-space transformation.System.Drawing.Graphics.TransformLPtoDPConverts logical coordinates into device coordinates.System.Drawing.Graphics.TransformPointsModifyWorldTransformChanges the world transformation for a device context using the specified mode.System.Drawing.Graphics.TransformOffsetViewportOrgExModifies the viewport origin for a device context using the specified horizontal and vertical offsets.System.Drawing.Graphics.TranslateTransformOffsetWindowOrgExModifies the window origin for a device context using the specified horizontal and vertical offsets.System.Drawing.Graphics.TranslateTransformScreenToClientConverts the screen coordinates of a specified point on the screen-to-client coordinates.System.Windows.Forms.Form.PointToClientSetMapModeSets the mapping mode of the specified device context.System.Drawing.Graphics.PageUnitSetWindowExtExSets the horizontal and vertical extents of the window for a device context by using the specified values.System.Drawing.Graphics.PageScale
Drawing.Graphics.ScaleTransformSetWindowOrgExSpecifies which window point maps to the viewport origin (0,0).System.Drawing.Graphics.TranslateTransformSetWorldTransformSets 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
System.Windows.Forms.Cursor.Size
System.Windows.Forms.Cursor.PositionDestroyCursorDestroys a cursor.System.Windows.Forms.Cursor.DisposeGetClipCursorRetrieves the screen coordinates of the rectangular area to which the cursor is confined.System.Windows.Forms.Cursor.ClipGetCursorRetrieves a handle to the current cursor.System.Windows.Forms.Cursor.HandleGetCursorInfoRetrieves information about the global cursor.System.Windows.Forms.Cursor.Position
System.Windows.Forms.SystemInformation.CursorSizeGetCursorPosRetrieves the cursor's position.System.Windows.Forms.Control.MousePosition
System.Windows.Forms.Cursor.PositionLoadCursorLoads a cursor resource from an executable file.System.Windows.Forms.Cursor constructorLoadCursorFromFileCreates a cursor based on data contained in a file.System.Windows.Forms.Cursor constructorSetCursorSets the cursor shape.System.Windows.Forms.Cursor.CurrentSetCursorPosMoves the cursor to the specified screen coordinates.System.Windows.Forms.Cursor.PositionShowCursorDisplays or hides the cursor.System.Windows.Forms.Cursor.Show
Windows.Forms.Cursor.Hide
Alphabetical Win32 Category List
Hierarchical Win32 Category List
Debugging Functions
Alphabetical Win32 Category List
Hierarchical Win32 Category List
Device Context Functions
System.Drawing.Printing.PrinterSettingsEnumDisplayDevicesRetrieves information about the display devices in a system.System.Management.ManagementClass("Win32_DesktopMonitor")EnumDisplaySettingsRetrieves information about one of the graphics modes for a display device.System.Management.ManagementClass("CIM_VideoControllerResolution")GetDCRetrieves 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
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
System.Drawing.Printing.PrinterSettings
System.Management classesGetLayoutRetrieves the layout of a device context.System.Windows.Forms.Control.RightToLeftGetObjectRetrieves information for the specified graphics object.System.Drawing.Bitmap properties
System.Drawing.Brush properties
System.Drawing.Font properties
System.Drawing.Pen propertiesGetObjectTypeRetrieves the type of the specified object.System.Object.GetTypeGetStockObjectRetrieves a handle to one of the stock pens, brushes, fonts, or palettes.System.Drawing.Brushes
System.Drawing.PensReleaseDCReleases a device context, freeing it for use by other applications.System.Drawing.Graphics.ReleaseHdcSetLayoutSets the layout for a device context.System.Windows.Forms.Control.RightToLeft = System.Windows.Forms.RightToLeft.Yes
Alphabetical Win32 Category List
Hierarchical Win32 Category List
Dialog Box Functions
System.Windows.Forms.Form propertiesCreateDialogIndirectCreates a modeless dialog box from a dialog box template in memory.System.Windows.Forms.Form constructor
System.Windows.Forms.Form propertiesDefDlgProcCalls the default dialog box window procedure to provide default processing for any window messages that a dialog box with a private window class does not process.System.Windows.Forms.Form.DefWndProcDialogBoxCreates a modal dialog box from a dialog box template resource.System.Windows.Forms.Form constructor
System.Windows.Forms.Form.ShowDialogDialogBoxIndirectCreates a modal dialog box from a dialog box template in memory.System.Windows.Forms.Form constructor
System.Windows.Forms.Form.ShowDialogDialogProcAn application-defined callback function used with the CreateDialog and DialogBox families of functions.System.Windows.Forms.Form.WndProcEndDialogDestroys a modal dialog box.System.Windows.Forms.Form.CloseGetDlgCtrlIDRetrieves the identifier of the specified control.System.Windows.Forms.Form.Controls.IndexOfGetDlgItemRetrieves a handle to a control in the specified dialog box.System.Windows.Forms.Form.Controls.ItemGetDlgItemIntTranslates the text of a specified control in a dialog box into an integer value.System.Int32.Parse(Form.Text)
System.UInt32.Parse(Form.Text)GetDlgItemTextRetrieves the title or text associated with a control in a dialog box.System.Windows.Forms.Form.Controls.Item[].TextGetNextDlgGroupItemRetrieves a handle to the first control in a group of controls that precedes (or follows) the specified control.Iterate through the controls:
System.Windows.Forms.Form.Controls.Item
Remember to determine whether the control is active by referencing the Enabled and Visible properties of the control.
Note The order that the controls are presented in might not be the same order in which GetNextDlgGroupItem presents the controls.
GetNextDlgTabItemRetrieves a handle to the first control that has the WS_TABSTOP style that precedes (or follows) the specified control.Iterate through the controls:System.Windows.Forms.Form.Controls.Item
Remember to determine whether the control is active by referencing the Enabled, Visible, and TabStop properties of the control.
Note The order that the controls are presented in might not be the same order in which GetNextDlgGroupItem presents the controls.
MessageBoxCreates, displays, and operates a message box.System.Windows.Forms.MessageBox.ShowMessageBoxExCreates, displays, and operates a message box.System.Windows.Forms.MessageBox.ShowMessageBoxIndirectCreates, displays, and operates a message box.System.Windows.Forms.MessageBox.ShowSendDlgItemMessageSends a message to the specified control in a dialog box.System.Windows.Forms.Form.WndProc(System.Windows.Forms.Message)SetDlgItemIntSets the text of a control in a dialog box to the string representation of a specified integer value.System.Windows.Forms.Control.Text = System.Int32.ToStringSetDlgItemTextSets the title or text of a control in a dialog box.System.Windows.Forms.Control.TextAlphabetical Win32 Category List
Hierarchical Win32 Category List
Dynamic-Link Library Functions
System.Reflection.Assembly.Load
System.Reflection.Assembly.LoadFrom
System.Reflection.Assembly.LoadWithPartialNameLoadLibraryExMaps the specified executable module into the address space of the calling process.Any of the following:
System.Reflection.Assembly.Load
System.Reflection.Assembly.LoadFrom
System.Reflection.Assembly.LoadWithPartialName
Alphabetical Win32 Category List
Hierarchical Win32 Category List
Error Handling Functions
System.Diagnostics.Process.KillGetLastErrorRetrieves the calling thread's last-error code value.System.Runtime.InteropServices.Marshall.GetLastWin32Error
Alphabetical Win32 Category List
Hierarchical Win32 Category List
Event Logging Functions
System.Diagnostics.EventLogEntry.TimeWrittenNotifyChangeEventLogEnables an application to receive notification when an event is written to the specified event log file.System.Diagnostics.EventLog.EnableRaisingEventsOpenBackupEventLogOpens a handle to a backup event log.System.Diagnostics.EventLog constructorOpenEventLogOpens a handle to an event log.System.Diagnostics.EventLog constructorReadEventLogReads a whole number of entries from the specified event log.System.Diagnostics.EventLogEntryCollection.CopyToRegisterEventSourceRetrieves a registered handle to an event log.System.Diagnostics.EventLog.CreateEventSourceReportEventWrites an entry at the end of the specified event log.System.Diagnostics.EventLog.WriteEntry
Alphabetical Win32 Category List
Hierarchical Win32 Category List
File I/O Functions
System.IO.File.Copy
IO.FileInfo.CopyToCreateDirectoryCreates a new directory.Any of the following:
System.IO.Directory.CreateDirectory
System.IO.Directory.CreateSubdirectory
System.IO.DirectoryInfo.CreateCreateFileCreates or opens a file object.System.IO.File class and System.IO.FileInfo classDeleteFileDeletes an existing file.Any of the following:
System.IO.Directory.Delete
System.IO.DirectoryInfo.Delete
System.IO.File.Delete
System.IO.FileInfo.DeleteFileIOCompletionRoutineAn application-defined callback function used with ReadFileEx and WriteFileEx.User defined.FindCloseCloses the specified search handle.See FindFirstFile and FindNextFileFindCloseChangeNotificationStops change notification handle monitoring.System.IO.FileSystemWatcher.EnableRaisingEventsFindFirstChangeNotificationCreates a change notification handle.System.IO.FileSystemWatcher classFindFirstFileSearches a directory for a file whose name matches the specified file name.Any of the following:
System.IO.Directory.Exists
System.IO.Directory.GetDirectories
System.IO.Directory.GetFileSystemEntries
System.IO.Directory.GetFiles
System.IO.DirectoryInfo.Exists
System.IO.DirectoryInfo.GetDirectories
System.IO.DirectoryInfo.GetFileSystemInfos
System.IO.DirectoryInfo.GetFiles
System.IO.File.Exists
System.IO.FileInfo.ExistsFindFirstFileExSearches a directory for a file whose name and attributes match the specified file name.Same as FindFirstFile FindNextChangeNotificationRequests that the operating system signal a change notification handle the next time it detects an appropriate change.System.IO.FileSystemWatcher classFindNextFileContinues a file search.Any of the following:
System.IO.Directory.GetDirectories
System.IO.Directory.GetFileSystemEntries
System.IO.Directory.GetFiles
System.IO.DirectoryInfo.GetDirectories
System.IO.DirectoryInfo.GetFileSystemInfos
System.IO.DirectoryInfo.GetFilesFlushFileBuffersClears the buffers for the specified file and causes all buffered data to be written to the file.System.IO.FileStream.FlushGetBinaryTypeDetermines whether a file is executable.System.IO.FileSystemInfo.Extension
Note Only manipulates strings; does not do a file-system check.
GetCurrentDirectoryRetrieves the current directory for the current process.System.IO.Directory.GetCurrentDirectoryGetDriveTypeDetermines whether a disk drive is a removable, fixed, CD-ROM, RAM disk, or network drive.System.Management.ManagementObject("Win32_LogicalDisk.DeviceID=/"C:/"").GetSystem.Management.ManagementObject.Properties
System.IO.DriveInfo.DriveTypeGetFileAttributesRetrieves attributes for a specified file or directory.Any of the following:
System.IO.Directory.GetAttributes
System.IO.File.GetAttributes
System.IO.FileSystemInfo.AttributesGetFileAttributesExRetrieves attributes for a specified file or directory.Any of the following:
System.IO.Directory.GetAttributes
System.IO.File.GetAttributes
System.IO.FileSystemInfo.AttributesGetFileInformationByHandleRetrieves file information for a specified file.System.IO.FileInfo propertiesGetFileSizeRetrieves the size of a specified file.Either of the following:
System.IO.FileInfo.Length
System.IO.FileStream.LengthGetFileSizeExRetrieves the size of a specified file.Either of the following:
System.IO.FileInfo.Length
System.IO.FileStream.LengthGetFullPathNameRetrieves the full path and file name of a specified file.Either of the following:
System.IO.FileSystemInfo.FullName
System.IO.Path.GetFullPathGetTempFileNameCreates a name for a temporary file.System.IO.Path.GetTempFileNameGetTempPathRetrieves the path of the directory designated for temporary files.System.IO.Path.GetTempPathLockFileLocks a region in an open file.System.IO.FileStream.LockLockFileExLocks a region in an open file for shared or exclusive access.System.IO.FileStream.LockMoveFileMoves an existing file or a directory.Any of the following:
System.IO.Directory.Move
System.IO.DirectoryInfo.MoveTo
System.IO.File.Move
System.IO.FileInfo.MoveToReadDirectoryChangesWRetrieves information describing the changes occurring within a directory.System.IO.FileSystemWatcher classReadFileReads data from a file, starting at the specified position.Any of the following:
System.IO.FileStream.BeginRead/EndRead
System.IO.FileStream.Read
System.IO.FileStream.ReadByteReadFileExReads data from a file asynchronously.System.IO.FileStream.BeginRead/EndReadRemoveDirectoryDeletes an existing empty directory.Either of the following:
System.IO.Directory.Delete
System.IO.DirectoryInfo.DeleteSearchPathSearches for the specified file.Any of the following:
System.IO.Directory.Exists
System.IO.Directory.GetDirectories
System.IO.Directory.GetFileSystemEntries
System.IO.Directory.GetFiles
System.IO.DirectoryInfo.Exists
System.IO.DirectoryInfo.GetDirectories
System.IO.DirectoryInfo.GetFileSystemInfos
System.IO.DirectoryInfo.GetFiles
System.IO.File.Exists
System.IO.FileInfo.ExistsSetCurrentDirectoryChanges the current directory for the current process.System.IO.Directory.SetCurrentDirectorySetEndOfFileMoves the end-of-file position for the specified file.System.IO.FileStream.SetLengthSetFileAttributesSets the attributes for a file.System.IO.File.SetAttributesSetFilePointerMoves the file pointer of an open file.Either of the following:
System.IO.FileStream.Position
System.IO.FileStream.SeekSetFilePointerExMoves the file pointer of an open file.Either of the following:
System.IO.FileStream.Position
System.IO.FileStream.SeekUnlockFileUnlocks a previously locked region in an open file.System.IO.FileStream.UnlockUnlockFileExUnlocks a previously locked region in an open file.System.IO.FileStream.UnlockWriteFileWrites data to a file.Any of the following:
System.IO.FileStream.BeginWrite and EndWrite
System.IO.FileStream.Write
System.IO.FileStream.WriteByte
System.IO.BinaryWriter.WriteWriteFileExWrites data to a file asynchronously.System.IO.FileStream.BeginWrite and EndWrite
Alphabetical Win32 Category List
Hierarchical Win32 Category List
File System Functions
Used with file systems:
System.Management.ManagementObject.PropertiesGetDiskFreeSpaceExRetrieves information about the specified disk, including the amount of free space on the disk.System.Management.ManagementObject("Win32_LogicalDisk.DeviceID=/"C:/"").Get
System.Management.ManagementObject.PropertiesGetLogicalDriveStringsFills a buffer with strings that specify valid drives in the system.Either of the following:
System.Environment.GetLogicalDrives
System.IO.Directory.GetLogicalDrives
Used with an encrypted file system:
Alphabetical Win32 Category List
Hierarchical Win32 Category List
Filled Shape Functions
System.Drawing.Graphics.DrawLineEllipseDraws an ellipse.System.Drawing.Graphics.DrawEllipse
System.Drawing.Graphics.FillEllipseFillRectFills a rectangle using a brush.System.Drawing.Graphics.FillRectangleInvertRectInverts the color values of the pixels in a rectangle.System.Windows.Forms.ControlPaint.DrawReversibleFrame
System.Windows.Forms.ControlPaint.DrawReversibleLinePieDraws a pie-shaped wedge bounded by an ellipse and two radials.System.Drawing.Graphics.DrawPie
System.Drawing.Graphics.FillPiePolygonDraws a polygon.System.Drawing.Graphics.DrawPolygon
System.Drawing.Graphics.FillPolygonRectangleDraws a rectangle.System.Drawing.Graphics.DrawRectangle
System.Drawing.Graphics.FillRectangleRoundRectDraws a rectangle with rounded corners.System.Drawing.Drawing2D.GraphicsPath.AddLines
System.Drawing.Pen.LineJoin = System.Drawing.Pen.LineJoin.Round
System.Drawing.Graphics.DrawPath
System.Drawing.Graphics.FillPath
Alphabetical Win32 Category List
Hierarchical Win32 Category List
Font and Text Functions
System.Drawing.Graphics.MeasureCharacterRanges;
Determine the width of each Region:
System.Drawing.Rectangle.Round(Region.GetBounds).Width
System.Drawing.Graphics.MeasureCharacterRanges;
Determine the width of each Region:
System.Drawing.Region.GetBounds.Width
System.Drawing.Graphics.MeasureCharacterRanges;
Determine the width of each Region:
System.Drawing.Rectangle.Round(Region.GetBounds).Width
System.Drawing.Graphics.MeasureCharacterRanges;
Determine the width of each Region:
System.Drawing.Region.GetBounds.Width
System.Drawing.StringFormat.LineAlignmentGetTextColorGets the text color for a device context.System.Drawing.SolidBrush.ColorGetTextExtentPoint32Computes the width and height of a string of text.System.Drawing.Graphics.MeasureStringGetTextFaceGets the name of the font that is selected into a device context.System.Drawing.Font.NameGetTextMetricsFills a buffer with the metrics for a font.System.Drawing.Font propertiesRemoveFontMemResourceExRemoves a font whose source was embedded in a document from the system font table.System.Drawing.Text.PrivateFontCollection.DisposeRemoveFontResourceExRemoves a private or non-enumerable font from the system font table.System.Drawing.Text.PrivateFontCollection.DisposeSetTextAlignSets the text-alignment flags for a device context.System.Drawing.StringFormat.Alignment
System.Drawing.StringFormat.LineAlignmentSetTextColorSets the text color for a device context.Either of the following:
System.Drawing.Brushes
System.Drawing.SolidBrush.SolidBrush(Color)TabbedTextOutWrites a character string at a location, expanding tabs to specified values.System.Drawing.Graphics.DrawString using System.Drawing.StringFormat.SetTabStops TextOutWrites a character string at a location.System.Drawing.Graphics.DrawString
Alphabetical Win32 Category List
Hierarchical Win32 Category List
Icon Functions
Alphabetical Win32 Category List
Hierarchical Win32 Category List
Input Method Editor Functions
System.Windows.Forms.Control.DefaultImeMode
System.Windows.Forms.Control.ImeModeImmAssociateContextExChanges the association between the input method context and the specified window or its children.Any of the following:
System.Windows.Forms.Control.DefaultImeMode
System.Windows.Forms.Control.ImeMode
System.Windows.Forms.Control.ResetImeModeImmDisableIMEDisables the Input Method Editor.System.Windows.Forms.Control.ImeMode = System.Windows.Forms.ImeMode.DisableImmGetContextRetrieves the input context associated with the specified window.System.Windows.Forms.Control.ImeMode
Alphabetical Win32 Category List
Hierarchical Win32 Category List
Keyboard Accelerator Functions
Alphabetical Win32 Category List
Hierarchical Win32 Category List
Keyboard Input Functions
Alphabetical Win32 Category List
Hierarchical Win32 Category List
Line and Curve Functions
System.Drawing.Graphics.DrawArcArcDraws an elliptical arc.System.Drawing.Graphics.DrawArcArcToDraws an elliptical arc.System.Drawing.Graphics.DrawArcLineToDraws a line from the current position up to, but not including, the specified point.System.Drawing.Graphics.DrawLinePolyBezierDraws one or more B&x00E9;zier curves.System.Drawing.Graphics.DrawBeziersPolylineDraws a series of line segments by connecting the points in the specified array.System.Drawing.Graphics.DrawLines
Alphabetical Win32 Category List
Hierarchical Win32 Category List
List Box Functions
Alphabetical Win32 Category List
Hierarchical Win32 Category List
Memory Management Functions
Memory management functions:
System.Management.ManagementClass.GetInstances
System.Management.ManagementObject.PropertiesGlobalMemoryStatusExObtains information about the system's current usage of both physical and virtual memory.System.Management.ManagementClass("Win32_OperatingSystem")
System.Management.ManagementClass.GetInstances
System.Management.ManagementObject.Properties
Global and local functions:
Alphabetical Win32 Category List
Hierarchical Win32 Category List
Menu Functions
System.Windows.Forms.ContextMenu constructor
System.Windows.Forms.MainMenu constructor
System.Windows.Forms.Menu.MenuItemCollection constructorCreatePopupMenuCreates a drop-down menu, submenu, or shortcut menu.Either of the following:
System.Windows.Forms.ContextMenu constructor
System.Windows.Forms.Menu.MenuItemCollection constructorDeleteMenuDeletes a menu item.System.Windows.Forms.Menu.MenuItemCollection.RemoveDestroyMenuDeletes a menu.System.Windows.Forms.Menu.DisposeEnableMenuItemEnables, disables, or grays a menu item.System.Windows.Forms.MenuItem.EnabledGetMenuGets a handle to the menu.System.Windows.Forms.Form.Menu.HandleGetMenuBarInfoGets information about a menu bar.System.Windows.Forms.Form.MenuGetMenuCheckMarkDimensionsReturns the dimensions of the default check-mark bitmap.System.Windows.Forms.SystemInformation.MenuCheckSizeGetMenuDefaultItemGets the default menu item on a menu.System.Windows.Forms.MenuItem.DefaultItemGetMenuInfoGets information about a menu.System.Windows.Forms.MenuItem propertiesGetMenuItemCountGets the number of items in a menu.System.Windows.Forms.Menu.MenuItemCollection.CountGetMenuItemIDGets the identifier of a menu item.System.Windows.Forms.MenuItem.MenuIDGetMenuItemInfoGets information about a menu item.System.Windows.Forms.MenuItem propertiesGetMenuItemRectGets the bounding rectangle for a menu item.System.Windows.Forms.MenuItem.DrawItem
System.Windows.Forms.DrawItemEventArgs.BoundsGetMenuStateGets the menu flags associated with a menu item.System.Windows.Forms.MenuItem.Break
System.Windows.Forms.MenuItem.BarBreak
System.Windows.Forms.MenuItem.Checked
System.Windows.Forms.MenuItem.Enabled
System.Windows.Forms.MenuItem.OwnerDrawGetMenuStringCopies the text string of a menu item into a buffer.System.Windows.Forms.MenuItem.TextGetSubMenuGets a handle to the drop-down menu or submenu activated by a menu item.System.Windows.Forms.Menu.MenuItems[].HandleInsertMenuInserts a new menu item into a menu.System.Windows.Forms.Menu.MenuItemCollection.AddInsertMenuItemInserts a new menu item in a menu.System.Windows.Forms.Menu.MenuItemCollection.AddModifyMenuChanges an existing menu item.System.Windows.Forms.MenuItem.Break
System.Windows.Forms.MenuItem.BarBreak
System.Windows.Forms.MenuItem.Checked
System.Windows.Forms.MenuItem.Enabled
System.Windows.Forms.MenuItem.OwnerDraw
System.Windows.Forms.MenuItem.TextRemoveMenuDeletes a menu item or detaches a submenu from a menu.System.Windows.Forms.Menu.MenuItemCollection.RemoveSetMenuAssigns a new menu to a window.System.Windows.Forms.Form.MenuSetMenuDefaultItemSets the default menu item for a menu.System.Windows.Forms.MenuItem.DefaultItemSetMenuInfoSets information for a menu.System.Windows.Forms.MenuItem propertiesSetMenuItemBitmapsAssociates a bitmap with a menu item.System.Windows.Forms.MenuItem.DrawItemSetMenuItemInfoChanges information about a menu item.System.Windows.Forms.MenuItem propertiesTrackPopupMenuDisplays a shortcut menu at a location and tracks item selection on a menu.System.Windows.Forms.ContextMenu.Show
Alphabetical Win32 Category List
Hierarchical Win32 Category List
Message and Message Queue Functions
System.Windows.Forms.Windows.Forms.Control.MousePositionPostQuitMessageIndicates to the system that a thread has made a request to terminate (quit).System.Windows.Forms.Application.ExitThreadSendMessageSends the specified message to a window or windows.Any of the following:
System.Windows.Forms.Control.DefWndProc
System.Windows.Forms.Control.WndProc
System.Windows.Forms.Form.DefWndProc
System.Windows.Forms.Form.WndProc
Alphabetical Win32 Category List
Hierarchical Win32 Category List
Metafile Functions
System.Drawing.Imaging.PlayRecordCallbackSetEnhMetaFileBitsCreates a memory-based enhanced-format metafile from the specified data.System.Drawing.Imaging.Metafile.SaveSetWinMetaFileBitsConverts a metafile from the older Windows format to the new enhanced format.System.Drawing.Imaging.Metafile.Save
Alphabetical Win32 Category List
Hierarchical Win32 Category List
Mouse Input Functions
–or–
_TrackMouseEventPosts messages when a mouse leaves a window or hovers over a window.System.Windows.Forms.Control.OnMouseLeave
System.Windows.Forms.Control.OnMouseHover
Alphabetical Win32 Category List
Hierarchical Win32 Category List
Multiple Display Monitor Functions
System.Windows.Forms.Screen.Primary
System.Windows.Forms.Screen.WorkingAreaMonitorFromPointRetrieves a handle to the display monitor that contains a specified point.System.Windows.Forms.Screen.FromPointMonitorFromRectRetrieves a handle to the display monitor that has the largest area of intersection with a specified rectangle.System.Windows.Forms.Screen.FromRectangleMonitorFromWindowRetrieves a handle to the display monitor that has the largest area of intersection with the bounding rectangle of a specified window.System.Windows.Forms.Screen.FromHandle
Alphabetical Win32 Category List
Hierarchical Win32 Category List
Multiple-Document Interface Functions
System.Windows.Forms.Form.AutoScroll
System.Windows.Forms.Form.DesktopBounds
System.Windows.Forms.Form.MdiParent
System.Windows.Forms.Form.WindowStateTranslateMDISysAccelProcesses accelerator keystrokes for window menu commands of the MDI child windows associated with the specified MDI client window.Keyboard events for MDI children are automatically translated.
Alphabetical Win32 Category List
Hierarchical Win32 Category List
National Language Functions
System.Globalization.CultureInfo.InstalledUICultureEnumCalendarInfoEnumerates calendar information for a specified locale.Access the System.Globalization.CultureInfo.DateTimeFormat property to get a System.Globalization.DateTimeFormatInfo object, and then access its properties:
System.Globalization.DateTimeFormatInfo.AbbreviatedDayNames
System.Globalization.DateTimeFormatInfo.AbbreviatedMonthNames
System.Globalization.DateTimeFormatInfo.DayNames
System.Globalization.DateTimeFormatInfo.LongDatePattern
System.Globalization.DateTimeFormatInfo.MonthNames
System.Globalization.DateTimeFormatInfo.ShortDatePatternEnumCalendarInfoExEnumerates calendar information for a specified locale.Iterate through the calendars:
System.Globalization.CultureInfo.DateTimeFormat.Calendar = System.Globalization.CultureInfo.OptionalCalendars[i]EnumCalendarInfoProcAn application-defined function used with EnumCalendarInfo.Same as EnumCalendarInfoEnumCalendarInfoProcExAn application-defined function used with EnumCalendarInfoEx.Same as EnumCalendarInfoExEnumCodePagesProcAn application-defined function used with EnumSystemCodePages.Same as EnumSystemCodePagesEnumDateFormatsEnumerates the long or short date formats that are available for a specified locale.System.DateTime.GetDateTimeFormats(System.Globalization.CultureInfo)EnumDateFormatsExEnumerates the long or short date formats that are available for a specified locale, including date formats for any alternate calendars.Iterate through the calendars:
System.Globalization.CultureInfo.DateTimeFormat.Calendar = System.Globalization.CultureInfo.OptionalCalendars[i];
System.DateTime.GetDateTimeFormats(System.Globalization.CultureInfo)EnumDateFormatsProcAn application-defined function used with EnumDateFormats.Same as EnumDateFormatsEnumDateFormatsProcExAn application-defined function used with EnumDateFormatsEx.Same as EnumDateFormatsExEnumGeoInfoProcA callback function used with EnumSystemGeoID.Same as EnumSystemGeoIDEnumLocalesProcAn application-defined function used with EnumSystemLocales.Same as EnumSystemLocalesEnumSystemCodePagesEnumerates the code pages that are either installed on or supported by a system.System.Globalization.CultureInfo.GetCultures(System.Globalization.CultureTypes.AllCultures) returns an array of CultureInfo
The various code page properties of System.Globalization.CultureInfo.TextInfo
EnumSystemGeoIDEnumerates all GeoIDs on the system.Retrieve an array of CultureInfo by calling System.Globalization.CultureInfo.GetCultures(System.Globalization.CultureTypes.AllCultures), and then access the following CultureInfo properties:System.Globalization.CultureInfo.ThreeLetterISOLanguageName
System.Globalization.CultureInfo.ThreeLetterWindowsLanguageName
System.Globalization.CultureInfo.TwoLetterISOLanguageNameEnumSystemLocalesEnumerates the locales that are either installed on or supported by a system.System.Globalization.CultureInfo.GetCultures(System.Globalization.CultureTypes.SpecificCultures)
System.Globalization.CultureInfo.GetCultures(System.Globalization.CultureTypes.InstalledWin32Cultures)EnumTimeFormatsEnumerates the time formats that are available for a specified locale.System.DateTime.GetDateTimeFormatsEnumTimeFormatsProcAn application-defined function used with EnumTimeFormats.Same as EnumTimeFormatsGetACPRetrieves the current ANSI code-page identifier for the system.System.Globalization.CultureInfo.InstalledUICulture.TextInfo.ANSICodePageGetCalendarInfoRetrieves information about a calendar.System.Globalization.CultureInfo.DateTimeFormatGetCurrencyFormatFormats a number string as a currency string for a specified locale.Create a System.Globalization.CultureInfo object using the constructor, specifying either the culture name or identifier (or use the current culture of the application available on System.Threading.Thread.CurrentCulture);
call System.Convert.ToDouble(str) where str is the numeric string you want to format;
and then call System.Double.ToString("C", ci) (or System.Double.ToString("C") to use the current culture), where C is the standard currency format specifier and ci is the CultureInfo object you created
Note For more information on the variety of formatting options available in the .NET Framework, see System.String.Format.
GetDateFormatFormats a date as a date string for a specified locale.System.DateTime(…, CultureInfo(LCID).Calendar).ToStringGetLocaleInfoRetrieves information about a locale.System.Globalization.CultureInfo.DateTimeFormatSystem.Globalization.CultureInfo.NumberFormat
System.Globalization.CultureInfo.TextInfoGetNumberFormatFormats a number string as a number string customized for a specified locale.Create a System.Globalization.CultureInfo object using the constructor, specifying either the culture name or identifier (or use the current culture of the application available on System.Threading.Thread.CurrentCulture);
call System.Convert.ToDouble(str). where str is the numeric string you want to format;
and then call System.Double.ToString("N", ci) (or System.Double.ToString("N") to use the current culture), where N is the standard number format specifier and ci is the CultureInfo object you created
Note For more information on the variety of formatting options available in the .NET Framework, see System.String.Format.
GetOEMCPRetrieves the current original equipment manufacturer (OEM) code-page identifier for the system.System.Globalization.CultureInfo.InstalledUICulture.TextInfo.OEMCodePageGetSystemDefaultLangIDRetrieves the language identifier of the system locale.System.Globalization.CultureInfo.InstalledUICultureGetSystemDefaultLCIDRetrieves the system default locale identifier.System.Globalization.CultureInfo.InstalledUICultureGetSystemDefaultUILanguageRetrieves the language identifier for the default language of the system.System.Globalization.CultureInfo.InstalledUICultureGetThreadLocaleRetrieves the current locale for the calling thread.Either of the following:System.Globalization.CultureInfo.CurrentCulture
System.Threading.Thread.CurrentCultureGetTimeFormatFormats time as a time string for a specified locale.System.DateTime(…, CultureInfo(LCID).Calendar).ToStringGetUserDefaultLangIDRetrieves the language identifier of the current user locale.System.Globalization.CultureInfo.CurrentCultureGetUserDefaultLCIDRetrieves the user default–locale identifier.System.Globalization.CultureInfo.CurrentCultureGetUserDefaultUILanguageRetrieves the language identifier for the current user language.System.Globalization.CultureInfo.CurrentUICultureGetUserGeoIDGets information about the user's location.System.Globalization.RegionInfoIsValidCodePageDetermines whether a specified code page is valid.Use an array of CultureInfo objects returned by:
System.Globalization.CultureInfo.GetCultures(System.Globalization.CultureTypes.AllCultures)
Compare to the code page properties of System.Globalization.CultureInfo.TextInfo
IsValidLocaleDetermines whether a specified locale identifier is valid.try{ System.Globalization.CultureInfo(LCID) }LCMapStringMaps one character string to another, performing a specified locale-dependent transformation.System.Globalization.SortKeySetCalendarInfoSets an item of locale information for a calendar.System.Globalization.CultureInfo.DateTimeFormatSetLocaleInfoSets an item of locale information.System.Globalization.CultureInfo.DateTimeFormatSystem.Globalization.CultureInfo.NumberFormatSetThreadLocaleSets the current locale for the calling thread.System.Threading.Thread.CurrentCulture
Note Sets langid only.
Alphabetical Win32 Category List
Hierarchical Win32 Category List
Painting and Drawing Functions
System.Drawing.Graphics.FromHwnd(Windows.Forms.Control.Handle)
System.Windows.Forms.Control.CreateGraphics.GetHdc
System.Windows.Forms.PaintEventArgs.Graphics.GetHdcGetWindowRgnGets a copy of the window region of a window.System.Windows.Forms.Control.RegionGrayStringDraws gray text at a location.System.Drawing.Graphics.DrawString(…, Drawing.Brushes.Gray, …)InvalidateRectAdds a rectangle to the update region of a window.System.Windows.Forms.Control.InvalidateInvalidateRgnInvalidates the client area within a region.System.Windows.Forms.Control.Invalidate(System.Windows.Forms.Form.ClientRectangle)RedrawWindowUpdates a region in the client area of a window.System.Windows.Forms.Control.UpdateSetBkColorSets the background to a color value.System.Windows.Forms.Form.BackColorSetBkModeSets the background mix mode of a device context.System.Windows.Forms.Form.SetStyle(System.Windows.Forms.ControlStyles.Opaque, System.Boolean)SetWindowRgnSets the window region of a window.System.Windows.Forms.Control.RegionUpdateWindowUpdates the client area of a window.System.Windows.Forms.Control.Update
Alphabetical Win32 Category List
Hierarchical Win32 Category List
Path Functions
System.Drawing.Drawing2D.GraphicsPath.CloseFiguresFlattenPathTransforms any curves in the path that is selected into the current device context, turning each curve into a sequence of lines.System.Drawing.Drawing2D.GraphicsPath.FlattenGetMiterLimitRetrieves the miter limit for the specified device context.System.Drawing.Pen.MiterLimitGetPathRetrieves the coordinates defining the endpoints of lines and the control points of curves found in the path that is selected into the specified device context.System.Drawing.Drawing2D.GraphicsPath.PathDataPathToRegionCreates a region from the path that is selected into the specified device context.System.Drawing.Region.Region(System.Drawing.Drawing2D.GraphicsPath)SetMiterLimitSets the limit for the length of miter joins for the specified device context.System.Drawing.Pen.MiterLimitStrokeAndFillPathCloses any open figures in a path, strokes the outline of the path by using the current pen, and fills its interior by using the current brush.System.Drawing.Graphics.DrawPath
System.Drawing.Graphics.FillPath
System.Drawing.Drawing2D.GraphicsPath.CloseFiguresStrokePathRenders the specified path by using the current pen.System.Drawing.Graphics.DrawPathWidenPathRedefines the current path as the area that would be painted if the path were stroked using the pen currently selected into the given device context.System.Drawing.Drawing2D.GraphicsPath.Widen
Alphabetical Win32 Category List
Hierarchical Win32 Category List
Pen Functions
Alphabetical Win32 Category List
Hierarchical Win32 Category List
Performance Monitoring Functions
System.Diagnostics.PerformanceCounterCategory.GetInstanceNamesPdhEnumObjectsReturns a list of objects available on the specified computer.System.Diagnostics.PerformanceCounterCategory.GetCategoriesPdhFormatFromRawValueConverts one raw performance data value to the specified format or two raw performance data values if the format conversion is time-based.System.Diagnostics.CounterSample.CalculatePdhGetCounterInfoRetrieves information about a counter, such as data size, counter type, path, and user-supplied data values.System.Diagnostics.PerformanceCounter propertiesPdhGetCounterTimeBaseReturns the time base of the specified counter.System.Diagnostics.CounterSample.CounterFrequencyPdhGetFormattedCounterValueReturns the current value of a specified counter in the format requested by the caller.System.Diagnostics.PerformanceCounter.NextValuePdhGetRawCounterArrayReturns an array of raw values from the specified counter.System.Diagnostics.PerformanceCounterCategory.ReadCategoryPdhGetRawCounterValueReturns the current raw value of the counter.System.Diagnostics.PerformanceCounter.NextSample
Note System.Diagnostics.InstanceData holds the raw data.
PdhMakeCounterPathCreates a full counter path using the members specified in the structure passed in the parameter list.All of the following:System.Diagnostics.PerformanceCounter.MachineName
System.Diagnostics.PerformanceCounter.CategoryName
System.Diagnostics.PerformanceCounter.InstanceName
System.Diagnostics.PerformanceCounter.CounterName
Note Must explicitly handle writing to the log file.
PdhOpenQueryCreates and initializes a unique query structure that is used to manage the collection of performance data.System.Diagnostics.PerformanceCounterCategory constructorPdhValidatePathValidates that the specified counter is present on the computer that is specified in the counter path.Either of the following:System.Diagnostics.PerformanceCounterCategory.Exists
System.Diagnostics.PerformanceCounterCategory.InstanceExists
Alphabetical Win32 Category List
Hierarchical Win32 Category List
Printing Functions
Functions used to print:
System.Drawing.Printing.PrinterSettings propertiesEndDocEnds a print job.Either of the following:
System.Drawing.Printing.PrintDocument.OnEndPrint
System.Drawing.Printing.PrintController.OnEndPrintEndPageNotifies the device that the application has finished writing to a page.System.Drawing.Printing.PrintController.OnEndPageStartDocStarts a print job.System.Drawing.Printing.PrintDocument.Print
System.Drawing.Printing.PrintDocument.OnBeginPrint
System.Drawing.Printing.PrintController.OnStartPrintStartPagePrepares the printer driver to accept data.System.Drawing.Printing.PrintDocument.OnQueryPageSettings
System.Drawing.Printing.PrintController.OnStartPage
System.Drawing.Printing.PrintDocument.OnPrintPage
Functions used to access the print spooler:
System.Windows.Forms.PrintDialogEndPagePrinterNotifies the print spooler that the application is at the end of a page in a print job.System.Drawing.Printing.PrintPageEventArgs.HasMorePagesEnumFormsEnumerates the forms supported by the specified printer.System.Drawing.Printing.PrinterSettings.PaperSizesEnumPrintersEnumerates available printers, print servers, domains, or print providers.System.Drawing.Printing.PrinterSettings.InstalledPrintersGetDefaultPrinterRetrieves the printer name of the default printer for the current user on the local computer.System.Drawing.Printing.PrinterSettings constructor
System.Drawing.Printing.PrinterSettings.PrinterNameGetFormRetrieves information about a specified form.System.Drawing.Printing.PrinterSettings.PaperSizes[]GetPrinterRetrieves information about a specified printer.System.Drawing.Printing.PrinterSettings.PrinterName
System.Drawing.Printing.PrinterSettings propertiesPrinterPropertiesDisplays a printer-properties property sheet for the specified printer.System.Windows.Forms.PageSetupDialog
System.Windows.Forms.PrintDialogSetPrinterSets the data for a specified printer or sets the state of the specified printer by pausing printing, resuming printing, or clearing all print jobs.System.Drawing.Printing.PrinterSettings.PrinterName
System.Drawing.Printing.PrinterSettings properties
Alphabetical Win32 Category List
Hierarchical Win32 Category List
Process and Thread Functions
Functions used with processes:
System.Diagnostics.Process.StartExitProcessEnds a process and all its threads.System.Diagnostics.Process.CloseMainWindowGetCommandLineRetrieves the command-line string for the current process.Either of the following:
System.Environment.CommandLine
System.Diagnostics.ProcessStartInfo.ArgumentsGetCurrentProcessRetrieves a pseudo handle for the current process.System.Diagnostics.Process.HandleGetCurrentProcessIdRetrieves the process identifier of the calling process.System.Diagnostics.Process.IdGetEnvironmentStringsRetrieves the environment block for the current process.System.Diagnostics.ProcessStartInfo.EnvironmentVariablesGetEnvironmentVariableRetrieves the value of the specified variable from the environment block of the calling process.System.Diagnostics.ProcessStartInfo.EnvironmentVariables[]GetExitCodeProcessRetrieves the termination status of the specified process.System.Diagnostics.Process.ExitCodeGetPriorityClassRetrieves the priority class for the specified process.System.Diagnostics.Process.PriorityClassGetProcessAffinityMaskRetrieves a process affinity mask for the specified process and the system affinity mask for the system.System.Diagnostics.Process.ProcessorAffinityGetProcessPriorityBoostRetrieves the priority boost control state of the specified process.System.Diagnostics.Process.PriorityBoostEnabledGetProcessTimesRetrieves timing information for the specified process.System.Diagnostics.Process.ExitTime
System.Diagnostics.Process.PrivilegedProcessorTime
System.Diagnostics.Process.StartTime
System.Diagnostics.Process.TotalProcessorTime
System.Diagnostics.Process.UserProcessorTimeGetProcessWorkingSetSizeRetrieves the minimum and maximum working set sizes of the specified process.System.Diagnostics.Process.MinWorkingSet
System.Diagnostics.Process.MaxWorkingSetGetStartupInfoRetrieves the contents of the STARTUPINFO structure that was specified when the calling process was created.System.Diagnostics.Process.StandardError
System.Diagnostics.Process.StandardInput
System.Diagnostics.Process.StandardOutput
System.Diagnostics.Process.StartInfo.WindowStyleOpenProcessOpens an existing process object.System.Diagnostics.Process.GetProcessByIdSetEnvironmentVariableSets the value of an environment variable for the current process.System.Diagnostics.ProcessStartInfo.EnvironmentVariables[]SetPriorityClassSets the priority class for the specified process.System.Diagnostics.Process.PriorityClassSetProcessAffinityMaskSets a processor affinity mask for the threads of a specified process.System.Diagnostics.Process.ProcessorAffinitySetProcessPriorityBoostDisables the ability of the system to temporarily boost the priority of the threads of the specified process.System.Diagnostics.Process.PriorityBoostEnabledSetProcessWorkingSetSizeSets the minimum and maximum working set sizes for the specified process.System.Diagnostics.Process.MaxWorkingSet
System.Diagnostics.Process.MinWorkingSetTerminateProcessTerminates the specified process and all of its threads.System.Diagnostics.Process.Kill
Functions used with threads:
System.Threading.Thread.StartGetCurrentThreadRetrieves a pseudo handle for the current thread.System.Threading.Thread.CurrentThreadGetCurrentThreadIdRetrieves the thread identifier of the calling thread.Either of the following:
System.AppDomain.GetCurrentThreadId
System.Diagnostics.ProcessThread.IdGetThreadPriorityRetrieves the priority value for the specified thread.Either of the following:
System.Diagnostics.ProcessThread.PriorityLevel
System.Threading.Thread.PriorityGetThreadPriorityBoostRetrieves the priority boost control state of the specified thread.System.Diagnostics.ProcessThread.PriorityBoostEnabledGetThreadTimesRetrieves timing information for the specified thread.System.Diagnostics.ProcessThread.PrivilegedProcessorTime
System.Diagnostics.ProcessThread.StartTime
System.Diagnostics.ProcessThread.TotalProcessorTime
System.Diagnostics.ProcessThread.UserProcessorTimeResumeThreadDecrements the suspend count for a thread.System.Threading.Thread.ResumeSetThreadAffinityMaskSets a processor affinity mask for the specified thread.System.Diagnostics.ProcessThread.ProcessorAffinitySetThreadIdealProcessorSpecifies a preferred processor for a thread.System.Diagnostics.ProcessThread.IdealProcessorSetThreadPrioritySets the priority value for the specified thread.Either of the following:
System.Diagnostics.ProcessThread.PriorityLevel
System.Threading.Thread.PrioritySetThreadPriorityBoostEnables or disables the ability of the system to temporarily boost the priority of a thread.System.Diagnostics.ProcessThread.PriorityBoostEnabledSleepSuspends the execution of the current thread for a specified interval.System.Threading.Thread.SleepSuspendThreadSuspends the specified thread.System.Threading.Thread.SuspendSwitchToThreadCauses the calling thread to yield execution to another thread that is ready to run on the current processor.System.Threading.Thread.Sleep(0)TerminateThreadTerminates a thread.System.Threading.Thread.AbortThreadProcAn application-defined function that serves as the starting address for a thread.See System.Threading.ThreadStart delegateTlsAllocAllocates a thread local storage (TLS) index.System.Threading.Thread.AllocateNamedDataSlotTlsFreeReleases a TLS index.System.Threading.Thread.FreeNamedDataSlotTlsGetValueRetrieves the value in the calling thread's TLS slot for a specified TLS index.System.Threading.Thread.GetDataTlsSetValueStores a value in the calling thread's TLS slot for a specified TLS index.System.Threading.Thread.SetDataWaitForInputIdleWaits until the specified process is waiting for user input with no input pending or until the time-out interval has elapsed.System.Diagnostics.Process.WaitForInputIdle
Functions used in thread pooling:
System.Threading.ThreadPool.UnsafeQueueUserWorkItem
Alphabetical Win32 Category List
Hierarchical Win32 Category List
PSAPI Functions
System.Diagnostics.ProcessModule.FileName
System.Reflection.Module.FullyQualifiedNameGetModuleInformationRetrieves information about the specified module.System.Diagnostics.ProcessModuleGetProcessMemoryInfoRetrieves information about the memory usage of the specified process.System.Diagnostics.Process.PagedMemorySize
System.Diagnostics.Process.PeakPagedMemorySize
System.Diagnostics.Process.PeakWorkingSet
System.Diagnostics.Process.WorkingSet
Alphabetical Win32 Category List
Hierarchical Win32 Category List
Rectangle Functions
Alphabetical Win32 Category List
Hierarchical Win32 Category List
Region Functions
System.Drawing.Region.Exclude
System.Drawing.Region.Intersect
System.Drawing.Region.Union
System.Drawing.Region.XorCreateEllipticRgnCreates an elliptical region.System.Drawing.Drawing2D.GraphicsPath constructor
System.Drawing.Drawing2D.GraphicsPath.AddEllipse
System.Drawing.Region.Region(System.Drawing.Drawing2D.GraphicsPath)CreateEllipticRgnIndirectCreates an elliptical region.System.Drawing.Drawing2D.GraphicsPath constructor
System.Drawing.Drawing2D.GraphicsPath.AddEllipse
System.Drawing.Region.Region(System.Drawing.Drawing2D.GraphicsPath)CreatePolygonRgnCreates a polygonal region.System.Drawing.Drawing2D.GraphicsPath constructor
System.Drawing.Drawing2D.GraphicsPath.AddPolygon
System.Drawing.Region.Region(System.Drawing.Drawing2D.GraphicsPath)CreatePolyPolygonRgnCreates a region consisting of a series of polygons.System.Drawing.Drawing2D.GraphicsPath constructor
System.Drawing.Drawing2D.GraphicsPath.AddPolygon
System.Drawing.Region.Region(System.Drawing.Drawing2D.GraphicsPath)CreateRectRgnIndirectCreates a rectangular region.System.Drawing.Region.Region(System.Drawing.Rectangle)CreateRoundRectRgnCreates a rectangular region with rounded corners.System.Drawing.Drawing2D.GraphicsPath.AddLines
System.Drawing.Pen.LineJoin = System.Drawing.Drawing2D.LineJoin.RoundEqualRgnChecks the two specified regions to determine whether they are identical.System.Drawing.Region.EqualsExtCreateRegionCreates a region from the specified region and transformation data.System.Drawing.Region.TransformFillRgnFills a region by using the specified brush.System.Drawing.Graphics.FillRegionGetPolyFillModeRetrieves the current polygon fill mode.System.Drawing.Drawing2D.GraphicsPath.FillModeGetRegionDataFills the specified buffer with data describing a region.System.Drawing.Region.GetRegionDataGetRgnBoxRetrieves the bounding rectangle of the specified region.System.Drawing.Region.GetBoundsOffsetRgnMoves a region by the specified offsets.System.Drawing.Region.TranslatePtInRegionDetermines whether the specified point is inside the specified region.System.Drawing.Region.IsVisibleRectInRegionDetermines whether any part of the specified rectangle is within the boundaries of a region.System.Drawing.Region.IsVisibleSetPolyFillModeSets the polygon fill mode for functions that fill polygons.System.Drawing.Drawing2D.GraphicsPath.FillMode
Alphabetical Win32 Category List
Hierarchical Win32 Category List
Registry Functions
Microsoft.Win32.RegistryKey.GetValueRegFlushKeyWrites all the attributes of the specified open registry key into the registry.Microsoft.Win32.RegistryKey.FlushRegOpenCurrentUserRetrieves a handle to the HKEY_CURRENT_USER key for the user that the current thread is impersonating.Microsoft.Win32.Registry.CurrentUserRegOpenKeyExOpens the specified registry key.Microsoft.Win32.RegistryKey.OpenSubKeyRegOpenUserClassesRootRetrieves a handle to the HKEY_CLASSES_ROOT key for the specified user.Microsoft.Win32.Registry.ClassesRootRegQueryInfoKeyRetrieves information about the specified registry key.Microsoft.Win32.RegistryKey.SubKeyCount
Microsoft.Win32.RegistryKey.ValueCountRegQueryValueExRetrieves the type and data for a specified value name associated with an open registry key.Microsoft.Win32.RegistryKey.GetValueRegSetValueExSets the data and type of a specified value under a registry key.Microsoft.Win32.RegistryKey.SetValue
Alphabetical Win32 Category List
Hierarchical Win32 Category List
Resource Functions
System.Drawing.Icon.Icon(System.Type, System.String)
System.Windows.Forms.Cursor.Cursor(System.Type, System.String)
System.Resources.ResourceManager.GetObject
System.Resources.ResourceSet.GetObject
Alphabetical Win32 Category List
Hierarchical Win32 Category List
Rich Edit Control Functions
System.Windows.Forms.RichTextBox.RichTextBox.SaveFile
Note Not a callback function.
Alphabetical Win32 Category List
Hierarchical Win32 Category List
Scroll Bar Functions
Note Cannot enable/disable built-in scrollbars (auto-scrolling).
GetScrollBarInfoRetrieves information about the specified scroll bar.System.Windows.Forms.ScrollBar.ValueSystem.Windows.Forms.ScrollEventArgs.TypeGetScrollInfoRetrieves the parameters of a scroll bar.System.Windows.Forms.ScrollBar.Maximum
System.Windows.Forms.ScrollBar.Minimum
System.Windows.Forms.ScrollBar.ValueGetScrollPosRetrieves the current position of the scroll box.System.Windows.Forms.ScrollBar.ValueGetScrollRangeRetrieves the current minimum and maximum scroll box positions.System.Windows.Forms.ScrollBar.Minimum
System.Windows.Forms.ScrollBar.MaximumSetScrollInfoSets the parameters of a scroll bar.System.Windows.Forms.ScrollBar.Maximum
System.Windows.Forms.ScrollBar.Minimum
System.Windows.Forms.ScrollBar.ValueSetScrollPosSets the position of the scroll box.System.Windows.Forms.ScrollBar.ValueSetScrollRangeSets the minimum and maximum scroll box position.System.Windows.Forms.ScrollBar.Minimum
System.Windows.Forms.ScrollBar.MaximumShowScrollBarShows or hides the specified scroll bar.Any of the following:
System.Windows.Forms.Form.AutoScroll
System.Windows.Forms.HScrollBar constructor
System.Windows.Forms.ListBox.HorizontalScrollBar
System.Windows.Forms.ListBox.ScrollAlwaysVisible
System.Windows.Forms.RichTextBox.ScrollBars
System.Windows.Forms.ScrollableControl.HScroll
System.Windows.Forms.ScrollableControl.VScroll
System.Windows.Forms.TextBox.ScrollBars
System.Windows.Forms.VScrollBar constructor
Alphabetical Win32 Category List
Hierarchical Win32 Category List
Service Functions
Functions implemented by services:
System.ServiceProcess.ServiceBase.OnContinue
System.ServiceProcess.ServiceBase.OnCustomCommand
ServiceProcess.ServiceBase.OnPause
System.ServiceProcess.ServiceBase.OnShutdown
System.ServiceProcess.ServiceBase.OnStopHandlerExAn application-defined callback function used with RegisterServiceCtrlHandlerEx.All of the following:
System.ServiceProcess.ServiceBase.OnContinue
System.ServiceProcess.ServiceBase.OnCustomCommand
System.ServiceProcess.ServiceBase.OnPause
System.ServiceProcess.ServiceBase.OnPowerEvent
System.ServiceProcess.ServiceBase.OnShutdown
System.ServiceProcess.ServiceBase.OnStopServiceMainAn application-defined function that serves as the entry point for a service.System.ServiceProcess.ServiceBase.Run
Functions used by programs that control or configure services:
System.ServiceProcess.ServiceController.Pause
System.ServiceProcess.ServiceController.StopCreateServiceCreates a service object and adds it to the specified service control manager database.System.ServiceProcess.ServiceBase.ServiceName
System.ServiceProcess.ServiceInstaller.InstallDeleteServiceMarks the specified service for deletion from the service control manager database.System.ServiceProcess.ServiceInstaller.UninstallEnumDependentServicesRetrieves the name and status of each service that depends on the specified service.System.ServiceProcess.ServiceController.DependentServicesEnumServicesStatusEnumerates services in the specified service control manager database.System.ServiceProcess.ServiceController.GetServicesGetServiceDisplayNameRetrieves the display name of the specified service.System.ServiceProcess.ServiceController.DisplayNameGetServiceKeyNameRetrieves the name of the specified service.System.ServiceProcess.ServiceBase.ServiceName
System.ServiceProcess.ServiceController.ServiceNameOpenServiceOpens an existing service.System.ServiceProcess.ServiceController constructorQueryServiceConfigRetrieves the configuration parameters of the specified service.System.ServiceProcess.ServiceController.DisplayName
System.ServiceProcess.ServiceController.ServicesDependedOn
System.ServiceProcess.ServiceController.ServiceName
System.ServiceProcess.ServiceController.ServiceTypeQueryServiceStatusRetrieves the current status of the specified service.System.ServiceProcess.ServiceController.StatusStartServiceStarts a service.System.ServiceProcess.ServiceController.Start
Alphabetical Win32 Category List
Hierarchical Win32 Category List
String Functions
Note Strings are immutable in the .NET Framework. Methods that appear to modify a string actually return a new string.
lstrcmpCompares two character strings.System.String.ComparelstrcmpiCompares two character strings.System.String.ComparelstrcpyCopies a string to a buffer.System.String.ToCharArraylstrcpynCopies a specified number of characters from a source string into a buffer.System.String.CopyToSystem.String.ToCharArraylstrlenRetrieves the length of the specified string (not including the terminating null character).System.String.LengthwsprintfFormats and stores a series of characters and values in a buffer.System.String.FormatwvsprintfFormats and stores a series of characters and values in a buffer.System.String.Format
Alphabetical Win32 Category List
Hierarchical Win32 Category List
Structured Exception-Handling Functions
Alphabetical Win32 Category List
Hierarchical Win32 Category List
Synchronization Functions
CriticalSection functions:
Event functions:
System.Threading.AutoResetEvent constructor
System.Threading.ManualResetEvent constructorResetEventSets the specified event object to the nonsignaled state.Either of the following:
System.Threading.AutoResetEvent.Reset
System.Threading.ManualResetEvent.ResetSetEventSets the specified event object to the signaled state.Either of the following:
System.Threading.AutoResetEvent.Set
System.Threading.ManualResetEvent.Set
Interlocked functions:
Mutex functions:
Wait functions:
System.Threading.ThreadPool.UnsafeRegisterWaitForSingleObjectUnregisterWaitCancels a registered wait operation.System.Threading.RegisteredWaitHandle.UnregisterWaitForMultipleObjectsReturns when the specified criteria for the specified objects is met.Either of the following:
System.Threading.WaitHandle.WaitAll
System.Threading.WaitHandle.WaitAnyWaitForSingleObjectReturns when the specified criteria for the specified object is met.System.Threading.WaitHandle.WaitOneWaitOrTimerCallbackReturns when the specified criteria is met.See System.Threading.WaitOrTimerCallback delegate
WaitableTimer functions:
Alphabetical Win32 Category List
Hierarchical Win32 Category List
System Information Functions
System.Windows.Forms.SystemInformation.ComputerNameGetCurrentHwProfileRetrieves the current hardware profile for the local computer.Use System.Management and Microsoft.Win32.RegistryKeyGetKeyboardTypeRetrieves information about the current keyboard.System.Management.ManagementClass("Win32_Keyboard")
System.Management.ManagementClass.GetInstances
System.Management.ManagementObject.PropertiesGetNativeSystemInfoRetrieves information about the current system for an application running under WOW64.System.Management.ManagementClass("Win32_Processor")
System.Management.ManagementClass.GetInstances
System.Management.ManagementObject.PropertiesGetSysColorRetrieves the current color of a display element.System.Drawing.SystemColorsGetSystemDirectoryRetrieves the path of the system directory.System.Environment.SystemDirectoryGetSystemInfoRetrieves information about the current system.System.Management.ManagementClass("Win32_Processor")
System.Management.ManagementClass.GetInstances
System.Management.ManagementObject.PropertiesGetSystemMetricsRetrieves system metrics and configuration settings.System.Windows.Forms.SystemInformation propertiesGetUserNameRetrieves the user name of the current thread.System.Environment.UserNameGetVersionRetrieves the version number of the operating system.System.Environment.OSVersionGetVersionExRetrieves the version number of the current operating system.System.Environment.OSVersionGetWindowsDirectoryRetrieves the path of the Windows directory.System.Management.ManagementClass("Win32_OperatingSystem")
System.Management.ManagementClass.GetInstances
System.Management.ManagementObject["WindowsDirectory"].ToString
Alphabetical Win32 Category List
Hierarchical Win32 Category List
Tape Backup Functions
System.Management.ManagementClass("Win32_TapeDrive")
System.Management.ManagementClass.GetInstances
System.Management.ManagementObject.Properties
Alphabetical Win32 Category List
Hierarchical Win32 Category List
Text Object Model Functions
Alphabetical Win32 Category List
Hierarchical Win32 Category List
Time Functions
System.IO.Directory.GetCreationTime
System.IO.Directory.GetLastAccessTime
System.IO.Directory.GetLastWriteTime
System.IO.DirectoryInfo.CreationTime
System.IO.DirectoryInfo.LastAccessTime
System.IO.DirectoryInfo.LastWriteTime
System.IO.File.GetCreationTime
System.IO.File.GetLastAccessTime
System.IO.File.GetLastWriteTime
System.IO.FileInfo.CreationTime
System.IO.FileInfo.LastAccessTime
System.IO.FileInfo.LastWriteTimeGetSystemTimeAsFileTimeRetrieves the current system date and time in UTC format.System.DateTime.UtcNow.ToFileTimeUtcLocalFileTimeToFileTimeConverts a local file time to a file time based on UTC.System.DateTime.ToFileTimeUtcSetFileTimeSets the date and time that a file was created, last accessed, or last modified.Any of the following:
System.IO.Directory.SetCreationTime
System.IO.Directory.SetLastAccessTime
System.IO.Directory.SetLastWriteTime
System.IO.DirectoryInfo.CreationTime
System.IO.DirectoryInfo.LastAccessTime
System.IO.DirectoryInfo.LastWriteTime
System.IO.File.SetCreationTime
System.IO.File.SetLastAccessTime
System.IO.File.SetLastWriteTime
System.IO.FileInfo.CreationTime
System.IO.FileInfo.LastAccessTime
System.IO.FileInfo.LastWriteTimeSystemTimeToFileTimeConverts a system time to a file time.System.DateTime.ToFileTimeGetTickCountRetrieves the number of milliseconds that have elapsed since the system was started.System.Environment.TickCount
Alphabetical Win32 Category List
Hierarchical Win32 Category List
Timer Functions
System.Timers.Timer.Dispose
System.Windows.Forms.Timer.DisposeQueryPerformanceCounterRetrieves the current value of the high-resolution performance counter.System.Diagnostics.PerformanceCounter.NextValue
System.Diagnostics.PerformanceCounter.RawValueQueryPerformanceFrequencyRetrieves the frequency of the high-resolution performance counter.System.Diagnostics.PerformanceCounter.CounterTypeSetTimerCreates a timer with the specified time-out value.Any of the following:
System.Threading.Timer constructor
System.Timers.Timer constructor
System.Windows.Forms.Timer constructor
System.Windows.Forms.Timer.IntervalTimerProcAn application-defined callback function that processes WM_TIMER messages.Either of the following:
System.Threading.TimerCallback delegate
System.Timers.ElapsedEventHandler delegate
Alphabetical Win32 Category List
Hierarchical Win32 Category List
Tool Help Functions
System.Diagnostics.Process.Modules
System.Diagnostics.Process.ThreadsModule32FirstRetrieves information about the first module associated with a process.System.Diagnostics.Process.ModulesModule32NextRetrieves information about the next module associated with a process or thread.System.Diagnostics.Process.ModulesProcess32FirstRetrieves information about the first process encountered in a system snapshot.System.Diagnostics.Process.GetProcessesProcess32NextRetrieves information about the next process recorded in a system snapshot.System.Diagnostics.Process.GetProcessesThread32FirstRetrieves information about the first thread of any process encountered in a system snapshot.System.Diagnostics.Process.ThreadsThread32NextRetrieves information about the next thread of any process encountered in the system memory snapshot.System.Diagnostics.Process.Threads
Alphabetical Win32 Category List
Hierarchical Win32 Category List
Unicode and Character Set Functions
Alphabetical Win32 Category List
Hierarchical Win32 Category List
User Profile Functions
Microsoft.Win32.RegistryKey.OpenSubKey(name).GetValueDeleteProfileDeletes the user profile and all user-related settings from the specified computer.System.IO.Directory.Delete
Microsoft.Win32.Registry
Microsoft.Win32.RegistryKey.DeleteSubKeyExpandEnvironmentStringsForUserExpands the source string by using the environment block established for the specified user.Microsoft.Win32.Registry class
Microsoft.Win32.RegistryKey.OpenSubKey(name).GetValueNames, and then call GetValue for each name
GetAllUsersProfileDirectoryRetrieves the path to the root of the All Users profile.Microsoft.Win32.Registry classMicrosoft.Win32.RegistryKey.OpenSubKey(name).GetValueGetDefaultUserProfileDirectoryRetrieves the path to the root of the Default User profile.Microsoft.Win32.Registry class
Microsoft.Win32.RegistryKey.OpenSubKey(name).GetValueGetProfilesDirectoryRetrieves the path to the root directory where all of the user profiles are stored.Microsoft.Win32.Registry class
Microsoft.Win32.RegistryKey.OpenSubKey(name).GetValueGetUserProfileDirectoryRetrieves the path to the root directory of the profile for the specified user.Microsoft.Win32.Registry class
Microsoft.Win32.RegistryKey.OpenSubKey(name).GetValue
Alphabetical Win32 Category List
Hierarchical Win32 Category List
Version Information Functions
Alphabetical Win32 Category List
Hierarchical Win32 Category List
Window Functions
System.Windows.Forms.Form.Owner
System.Windows.Forms.Form.ParentGetClientRectRetrieves the coordinates of the client area for a window.System.Windows.Forms.Form.ClientRectangleGetForegroundWindowReturns a handle to the foreground window.System.Windows.Forms.Form.ActiveFormGetLayeredWindowAttributesRetrieves the opacity and transparency color key of a layered window.System.Windows.Forms.Form.Opacity
System.Windows.Forms.Form.TransparencyKeyGetNextWindowRetrieves a handle to the next or previous window in Z order.System.Windows.Forms.Form.Controls[1 +/- Control.IndexOf]GetParentRetrieves a handle to the parent window for the specified child window.System.Windows.Forms.Form.FindForm
System.Windows.Forms.Form.ParentGetTitleBarInfoRetrieves information about the specified title bar.System.Windows.Forms.Form.SystemInformation.CaptionButtonSize
System.Windows.Forms.Form.SystemInformation.CaptionHeight
System.Windows.Forms.Form.HelpButton
System.Windows.Forms.Form.MaximizeBox
System.Windows.Forms.Form.MinimizeBoxGetTopWindowRetrieves a handle to the child window at the top of the Z order.System.Windows.Forms.Form.Controls[0]GetWindowRetrieves a handle to a window that has the specified relationship to the specified window.System.Windows.Forms.Form.ControlsGetWindowInfoRetrieves information about the specified window.System.Windows.Forms.Form.ClientSize
System.Windows.Forms.Form.CreateParams.ExStyle
System.Windows.Forms.Form.CreateParams.Style
System.Windows.Forms.Form.Name
System.Windows.Forms.Form.ProductVersion
System.Windows.Forms.Form.Size
System.Windows.Forms.SystemInformation.BorderSize GetWindowPlacementRetrieves the show state and the restored, minimized, and maximized positions of the specified window.System.Windows.Forms.Form.Bounds
System.Windows.Forms.Form.MaximizedBounds
System.Windows.Forms.Form.Visible
System.Windows.Forms.Form.WindowStateGetWindowRectRetrieves the dimensions of the bounding rectangle of the specified window.System.Windows.Forms.Form.BoundsGetWindowTextCopies the text of the title bar of the specified window.System.Windows.Forms.Form.TextGetWindowTextLengthRetrieves the length of the title bar text for the specified window.System.Windows.Forms.Form.Text.LengthIsChildTests whether a window is a child window or descendant window of a specified parent window.System.Windows.Forms.Form.Contains
System.Windows.Forms.Form.IsMdiChildIsIconicDetermines whether the specified window is minimized (iconic).System.Windows.Forms.Form.WindowStateIsWindowVisibleRetrieves the visibility state of the specified window.System.Windows.Forms.Form.VisibleIsZoomedDetermines whether a window is maximized (zoomed).System.Windows.Forms.Form.WindowStateMoveWindowChanges the position and dimensions of the specified window.System.Windows.Forms.Form.SetBoundsOpenIconRestores a minimized (iconic) window to its previous size and position.System.Windows.Forms.Form.WindowState = System.Windows.Forms.FormWindowState.NormalSetForegroundWindowPuts the thread that created the specified window into the foreground and activates the window.System.Windows.Forms.Form.ActivateSetLayeredWindowAttributesSets the opacity and transparency color key of a layered window.System.Windows.Forms.Form.Opacity
System.Windows.Forms.Form.TransparencyKeySetParentChanges the parent window of the specified child window.System.Windows.Forms.Form.ParentSetWindowPlacementSets the show state and the restored, minimized, and maximized positions of the specified window.System.Windows.Forms.Form.Bounds
System.Windows.Forms.Form.MaximizedBounds
System.Windows.Forms.Form.SetBounds
System.Windows.Forms.Form.Visible
System.Windows.Forms.Form.WindowStateSetWindowPosChanges the size, position, and Z order of a window.System.Windows.Forms.Form.BringToFront
System.Windows.Forms.Form.Enabled
System.Windows.Forms.Form.SendToBack
System.Windows.Forms.Form.SetBounds
System.Windows.Forms.Form.TopMost
System.Windows.Forms.Form.VisibleSetWindowTextChanges the text of the title bar for the specified window.System.Windows.Forms.Form.TextShowWindowSets the show state of the specified window.System.Windows.Forms.Form.Show
System.Windows.Forms.Form.Visible
System.Windows.Forms.Form.WindowStateTileWindowsTiles the specified child windows of the specified parent window.System.Windows.Forms.Form.LayoutMdi(MdiLayout.TileHorizontal)
System.Windows.Forms.Form.LayoutMdi(MdiLayout.TileVertical)WindowFromPointRetrieves a handle to the window that contains the specified point.System.Windows.Forms.Form.GetChildAtPoint
Alphabetical Win32 Category List
Hierarchical Win32 Category List
Window Class Functions
System.Windows.Forms.Control.Cursor
System.Windows.Forms.Control.Name
System.Windows.Forms.Form.BackColor
System.Windows.Forms.Form.Icon
System.Windows.Forms.Form.Menu
System.Windows.Forms.Form.CreateParams.ClassStyleGetClassLongRetrieves the specified 32-bit value from the WNDCLASSEX structure associated with the specified window.System.ComponentModel.Component.Events
System.Windows.Forms.Control.Cursor
System.Windows.Forms.Control.Name
System.Windows.Forms.Form.BackColor
System.Windows.Forms.Form.Icon
System.Windows.Forms.Form.Menu
System.Windows.Forms.Form.CreateParams.ClassStyleGetClassLongPtrRetrieves the specified value from the WNDCLASSEX structure associated with the specified window.System.ComponentModel.Component.Events
System.Windows.Forms.Control.Cursor
System.Windows.Forms.Control.Name
System.Windows.Forms.Form.BackColor
System.Windows.Forms.Form.Icon
System.Windows.Forms.Form.Menu
System.Windows.Forms.Form.CreateParams.ClassStyleGetClassNameRetrieves the name of the class to which the specified window belongs.System.Windows.Forms.Control.NameGetWindowLongRetrieves information about the specified window.System.ComponentModel.Component.Events
System.Windows.Forms.Control.Parent
System.Windows.Forms.Form.CreateParams.ExStyle
System.Windows.Forms.Form.CreateParams.Style
System.Windows.Forms.Form propertiesGetWindowLongPtrRetrieves information about the specified window.System.ComponentModel.Component.Events
System.Windows.Forms.Control.Parent
System.Windows.Forms.Form.CreateParams.ExStyle
System.Windows.Forms.Form.CreateParams.Style
System.Windows.Forms.Form propertiesRegisterClassRegisters a window class.System.Windows.Forms.Control.Cursor
System.Windows.Forms.Control.Name
System.Windows.Forms.Form.BackColor
System.Windows.Forms.Form.Icon
System.Windows.Forms.Form.Menu
System.Windows.Forms.Form.CreateParams.ClassStyle
System.Windows.Forms.Form eventsSetClassLongReplaces the specified 32-bit value at the specified offset into the extra class memory or the WNDCLASSEX structure.System.Windows.Forms.Control.Cursor
System.Windows.Forms.Control.Name
System.Windows.Forms.Form.BackColor
System.Windows.Forms.Form.Icon
System.Windows.Forms.Form.Menu
System.Windows.Forms.Form.CreateParams.ClassStyle
System.Windows.Forms.Form eventsSetClassLongPtrReplaces the specified value at the specified offset into the extra class memory or the WNDCLASSEX structure.System.Windows.Forms.Control.Cursor
System.Windows.Forms.Control.Name
System.Windows.Forms.Form.BackColor
System.Windows.Forms.Form.Icon
System.Windows.Forms.Form.Menu
System.Windows.Forms.Form.CreateParams.ClassStyle
System.Windows.Forms.Form eventsSetWindowLongChanges an attribute of the specified window.System.Windows.Forms.Control.Parent
System.Windows.Forms.Form.CreateParams.ExStyle
System.Windows.Forms.Form.CreateParams.Style
System.Windows.Forms.Form properties
System.Windows.Forms.Form eventsSetWindowLongPtrChanges an attribute of the specified window.System.Windows.Forms.Control.Parent
System.Windows.Forms.Form.CreateParams.ExStyle
System.Windows.Forms.Form.CreateParams.Style
System.Windows.Forms.Form properties
System.Windows.Forms.Form events
Alphabetical Win32 Category List
Hierarchical Win32 Category List
Window Procedure Functions
System.Windows.Forms.Form.DefWndProc
System.Windows.Forms.Control.DefWndProc
System.Windows.Forms.NativeWindow.DefWndProcWindowProcAn application-defined function that processes messages sent to a window.Any of the following:
System.Windows.Forms.Form.WndProc
System.Windows.Forms.Control.WndProc
System.Windows.Forms.NativeWindow.WndProc
Alphabetical Win32 Category List
Hierarchical Win32 Category List
Window Property Functions
Alphabetical Win32 Category List
Hierarchical Win32 Category List
- Microsoft Win32 to Microsoft .NET Framework API Map
- Microsoft Win32 to Microsoft .NET Framework API Map
- Microsoft Win32 to Microsoft .NET Framework API Map
- Microsoft Win32 to Microsoft .NET Framework API Map
- Microsoft Win32 to Microsoft .NET Framework API Map
- Microsoft Win32 to Microsoft .NET Framework API Map
- Microsoft Win32 to Microsoft .NET Framework API Map
- c#学习必修:Microsoft Win32 to Microsoft .NET Framework API Map
- Win32 to .NET API Map
- Win32 to .NET API Map
- An Introduction to Microsoft .NET Remoting Framework
- Microsoft .Net Framework
- Microsoft .NET Framework 3.0
- Microsoft .NET Framework 版本
- 深入Microsoft .NET Framework
- Microsoft.NET和Microsoft.NET Framework
- Unable to load image C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorwks.dll, Win32 error 0n2
- 从 Microsoft .NET Framework 精简版访问电话 API
- C#中几种换行符
- 网上找来的一个比较好用的3DES,找了很多都有问题。先用着这个吧。再次感谢提供算法的同学
- 三年(一)
- 文件双向同步的一点想法
- Android下修改hosts文件
- Microsoft Win32 to Microsoft .NET Framework API Map
- sql 权限语句
- HTTP 错误 404.13 - Not Found,请求筛选模块被配置为拒绝超过请求内容长度的请求
- Hibernate性能优化策略
- FLV连续播放,object参数设置
- Access contents of Google Chrome Cache Folder
- 利用winrar实现定时备份 实现全备份和增量备份
- Textbox的用法
- 怎么让模态对话框最小化时,主窗口也最小化