Microsoft Win32 から Microsoft .NET Framework API マップ

 

Microsoft .NET Framework と Microsoft Visual Studio User Education Teams
Microsoft Corporation

2004 年 1 月

適用対象:
    Microsoft® .NET Framework バージョン 1.0 または 1.1
    Microsoft Visual Studio® .NET
    Microsoft Win32® 関数

概要:この記事では、Microsoft Win32 関数と同様の機能を提供する Microsoft .NET Framework バージョン 1.0 または 1.1 API を特定します。 表示される Win32 関数ごとに、1 つ以上の関連する.NET Framework API が表示されます。 この記事の対象ユーザーは、Microsoft .NET Frameworkに基づいてアプリケーションまたはライブラリを作成している経験豊富な Win32 開発者ですが、Win32 関数に対応するマネージドを探しているユーザーは、このドキュメントが役立つ可能性があります。 (85ページ印刷)

この記事では、Microsoft® Win32® 関数をカテゴリ別に整理します。 一覧表示されている各 Win32 関数は 1 つのカテゴリにのみ属し、各カテゴリは独自のテーブルに表示されます。 Win32 カテゴリのアルファベット順のリストと階層リストが用意されています。 Win32 関数を見つけるには、カテゴリ リストの 1 つから適切なカテゴリを選択するか、記事で関数の名前を検索します。 探している Win32 関数が見つからない場合は、.NET Framework バージョン 1.0 または 1.1 に同等の.NET Framework API が存在しないか、Win32 関数と関連する.NET Framework API が誤ってリストから省略されたことを意味します。

Win32 関数と関連する.NET Framework API がこの記事から省略されていると思われる場合は、フィードバック リンクを使用してお知らせください。 この記事に記載されている API の詳細については、プラットフォーム SDK のドキュメントまたは MSDN® ライブラリの .NET Framework SDK ドキュメントを参照してください。

Win32 カテゴリ リストのアルファベット順

A から C

Atom 関数 色関数
ビットマップ関数 コンボ ボックス関数
ブラシ関数 共通のダイアログ ボックス関数
ボタン関数 コンソール関数
クリップボード関数 座標関数
クリッピング ファンクトン カーソル関数

D-I

デバッグ関数 ファイル I/O 関数
デバイス コンテキスト関数 ファイル システム関数
ダイアログ ボックス関数 塗りつぶされた図形関数
ダイナミック リンク ライブラリ関数 フォント関数とテキスト関数
エラー処理関数 アイコン関数
イベント ログ関数 入力メソッド エディター関数

J-N

キーボード アクセラレータ機能 メッセージおよびメッセージ キュー関数
キーボード入力関数 メタファイル関数
線関数と曲線関数 マウス入力ファンクトン
リスト ボックス関数 複数の表示モニター機能
メモリ管理関数 複数ドキュメント インターフェイス関数
メニュー関数 各国語関数

O-R

描画と描画の機能 PSAPI 関数
パス関数 四角形関数
ペン関数 リージョン関数
パフォーマンス監視機能 レジストリ関数
印刷機能 リソース関数
プロセス関数とスレッド関数 リッチエディットコントロール機能

S-T

スクロール バー関数 テープ バックアップ機能
サービス関数 テキスト オブジェクト モデル関数
文字列関数 Time 関数
構造化例外処理関数 タイマー関数
同期関数 ツール ヘルプ関数
システム情報関数  

U-Z

Unicode および文字セット関数 ウィンドウ関数
ユーザー プロファイル関数 Window クラス関数
バージョン情報関数 ウィンドウ プロシージャ関数
  Window プロパティ関数

階層 Win32 カテゴリ リスト

基本サービス

デバッグとエラー処理 その他
デバッグ メモリ管理
エラー処理 User Profile
イベント ログ パフォーマンス
構造化例外処理 パフォーマンスの監視
DLL、プロセス、スレッド PSAPI
コンソール アプリケーション ツールのヘルプ
ダイナミック リンク ライブラリ Windows システム情報
プロセスとスレッド レジストリ
サービス システム情報
同期 Time
ファイルと I/O  
File I/O (ファイル I/O)  
ファイル システム  
テープ バックアップ  

Graphics-device interface (グラフィックス デバイス インターフェイス)

Bitmap Metafile
ブラシ マルチディスプレイモニター
クリッピング 各国語
Color 描画と描画
座標 パス
デバイスのコンテキスト ペン
塗りつぶされた図形 印刷および印刷スプーラー
[フォントとテキスト] Rectangle
入力方式エディター リージョン
線と曲線 Unicode と文字セット

ユーザー インターフェイス

コントロール ユーザー入力
Button [共通] ダイアログ ボックス
コンボ ボックス キーボード アクセラレータ
リスト ボックス キーボード入力
リッチ エディット コントロール マウス入力
スクロール バー ウィンドウ化
テキスト オブジェクト モデル ダイアログ ボックス
データ交換 メッセージキューとメッセージキュー
Atom 複数ドキュメント インターフェイス
クリップボードのトピック Timer
リソース ウィンドウ
カーソル Window クラス
アイコン ウィンドウ プロシージャ
メニュー Window プロパティ
リソース  
String  
バージョン情報  

Atom 関数

Win32 関数 説明 .NET Framework API
AddAtom ローカル atom テーブルに文字列を追加します。 System.String.Intern

メモ String は、厳密にはアトムではありません。

FindAtom 指定した文字列をローカル atom テーブルで検索します。 System.String.IsInterned

メモString は、厳密にはアトムではありません。

Win32 カテゴリ リストのアルファベット順
階層 Win32 カテゴリ リスト

ビットマップ関数

Win32 関数 説明 .NET Framework API
AlphaBlend 透明または半透明のピクセルを含むビットマップを表示します。 System.Drawing.Graphics.DrawImage
Bitblt ビット ブロック転送を実行します。 System.Drawing.Graphics.DrawImage
CreateBitmap ビットマップを作成します。 System.Drawing.Bitmap コンストラクター

メモDDB ではなく DIB を作成します。

GetBitmapDimensionEx ビットマップの寸法を取得します。 System.Drawing.Bitmap.Size
GetDIBColorTable DIB セクションビットマップから RGB カラー値を取得します。 System.Drawing.Bitmap.Palette
GetDIBits ビットマップをバッファーにコピーします。 System.Drawing.Bitmap.LockBits
GetPixel 指定した座標にあるピクセルの RGB カラー値を取得します。 System.Drawing.Bitmap.GetPixel
GradientFill 四角形と三角形の構造体を塗りつぶします。 System.Drawing.Graphics.FillRectangle(Drawing2D.LinearGradiantBrush, Rectangle)
LoadBitmap モジュールの実行可能ファイルからビットマップを読み込みます。 System.Drawing.Bitmap.Bitmap(Type, String)
SetPixel ピクセルの色を設定します。 System.Drawing.Bitmap.SetPixel
SetPixelV ピクセルを色の最適な近似値に設定します。 System.Drawing.Bitmap.SetPixel(...、Graphics.GetNearestColor(Color))
Stretchblt ビットマップをコピーし、拡大または圧縮します。 System.Drawing.Graphics.DrawImage

Win32 カテゴリリストのアルファベット順
階層 Win32 カテゴリ リスト

ブラシ関数

Win32 関数 説明 .NET Framework API
CreateBrushIndirect 指定したスタイル、色、パターンを持つブラシを作成します。 次のいずれかになります。
System.Drawing.ブラシ
System.Drawing.SolidBrush
System.Drawing.TextureBrush
System.Drawing.Drawing2D.HatchBrush
System.Drawing.Drawing2D.LinearGradientBrush
System.Drawing.Drawing2D.PathGradientBrush
CreateHatchBrush ハッチング パターンと色を持つブラシを作成します。 System.Drawing.Drawing2D.HatchBrush コンストラクター
CreatePatternBrush ビットマップ パターンを使用してブラシを作成します。 System.Drawing.TextureBrush コンストラクター
CreateSolidBrush 単色のブラシを作成します。 System.Drawing.SolidBrush コンストラクター
GetSysColorBrush カラー インデックスに対応するブラシのハンドルを取得します。 System.Drawing.Brushes クラス

Win32 カテゴリリストのアルファベット順
階層 Win32 カテゴリ リスト

ボタン関数

Win32 関数 説明 .NET Framework API
CheckDlgButton ボタン コントロールのチェック状態を変更します。 System.Windows.Forms.CheckBox.Checked
CheckRadioButton グループ内の指定したラジオ ボタンにチェック マークを追加し、グループ内の他のすべてのラジオ ボタンからチェックマークを削除します。 System.Windows.Forms.RadioButton.Checked
IsDlgButtonChecked ボタン コントロールの横にチェックマークを付けるか、3 状態のボタン コントロールを灰色にするか、オンにするか、どちらにするかを指定します。 System.Windows.Forms.CheckBox.CheckState

Win32 カテゴリリストのアルファベット順
階層 Win32 カテゴリ リスト

クリップボード関数

Win32 関数 説明 .NET Framework API
CountClipboardFormats クリップボードに現在表示されているさまざまなデータ形式の数を取得します。 System.Windows.Forms.DataObject.GetFormats
EnumClipboardFormats クリップボードで現在使用できるデータ形式を列挙します。 System.Windows.Forms.DataObject.GetFormats
GetClipboardData クリップボードから指定した形式でデータを取得します。 System.Windows.Forms.ClipBoard.GetDataObject
IsClipboardFormatAvailable クリップボードに指定した形式のデータが含まれているかどうかを判断します。 System.Windows.Forms.DataObject.GetDataPresent
RegisterClipboardFormat 新しいクリップボード形式を登録します。 System.Windows.Forms.DataFormats.GetFormat
SetClipboardData 指定したクリップボード形式でクリップボードにデータを配置します。 System.Windows.Forms.ClipBoard.SetDataObject

Win32 カテゴリリストのアルファベット順
階層 Win32 カテゴリ リスト

クリッピング関数

Win32 関数 説明 .NET Framework API
ExcludeClipRect 既存のクリッピング領域から指定した四角形を引いた領域で構成される新しいクリッピング領域を作成します。 System.Drawing.Graphics.ExcludeClip
ExtSelectClipRgn 指定したモードを使用して、指定した領域と現在のクリッピング領域を結合します。 System.Drawing.Graphics.SetClip
GetClipBox デバイス上の現在の表示領域の周囲に描画できる最も狭い境界四角形の寸法を取得します。 System.Drawing.Graphics.VisibleClipBounds
GetClipRgn 指定したデバイス コンテキストの現在のアプリケーション定義のクリッピング領域を識別するハンドルを取得します。 System.Drawing.Graphics.Clip
IntersectClipRect 現在のクリッピング領域と指定した四角形の交差部分から新しいクリッピング領域を作成します。 System.Drawing.Graphics.IntersectClip
OffsetClipRgn デバイス コンテキストのクリッピング領域を、指定したオフセットだけ移動します。 System.Drawing.Graphics.TranslateClip
PtVisible 指定したポイントがデバイス コンテキストのクリッピング領域内にあるかどうかを判断します。 System.Drawing.Graphics.IsVisible
RectVisible 指定した四角形の任意の部分が、デバイス コンテキストのクリッピング領域内にあるかどうかを判断します。 System.Drawing.Graphics.IsVisible
SelectClipPath 指定したモードを使用して、新しいリージョンと既存のクリッピング領域を組み合わせて、デバイス コンテキストのクリッピング領域として現在のパスを選択します。 System.Drawing.Graphics.SetClip
SelectClipRgn 指定したデバイス コンテキストの現在のクリッピング領域としてリージョンを選択します。 System.Drawing.Graphics.Clip

Win32 カテゴリ リストのアルファベット順
階層 Win32 カテゴリ リスト

カラー関数

Win32 関数 説明 .NET Framework API
CreateHalftonePalette 指定したデバイス コンテキストのハーフトーン パレットを作成します。 System.Drawing.Graphics.GetHalftonePalette
CreatePalette 論理パレットを作成します。 System.Drawing.Image.Palette
GetNearestColor 指定した色の値を使用したときに表示されるシステム パレットから色を識別する色の値を取得します。 System.Drawing.Graphics.GetNearestColor
GetPaletteEntries 指定された論理パレットから、指定した範囲のパレット エントリを取得します。 System.Drawing.Image.Palette.Entries

Win32 カテゴリ リストのアルファベット順
階層 Win32 カテゴリ リスト

コンボ ボックス関数

Win32 関数 説明 .NET Framework API
DlgDirListComboBox コンボ ボックスの内容を、指定したサブディレクトリとファイルの名前に置き換えます。 System.Windows.Forms.ComboBox.Items.AddRange(System.IO.Directory.GetFileSystemEntries)
DlgDirSelectComboBoxEx DlgDirListComboBox を使用して入力されたコンボ ボックスから現在の選択範囲を取得します。 System.Windows.Forms.ComboBox.SelectedItem
GetComboBoxInfo 指定したコンボ ボックスに関する情報を取得します。 System.Windows.Forms.ComboBox プロパティ

Win32 カテゴリ リストのアルファベット順
階層 Win32 カテゴリ リスト

共通ダイアログ ボックス関数

Win32 関数 説明 .NET Framework API
ChooseColor ユーザーが を選択できるようにする [色] ダイアログ ボックスを作成します。 System.Windows.Forms.ColorDialog コンストラクター

メモフックを使用してダイアログを変更することはできません。

ChooseFont ユーザーが論理フォントの属性を選択できるようにする [ フォント ] ダイアログ ボックスを作成します。 System.Windows.Forms.FontDialog コンストラクター

メモフックを使用してダイアログを変更することはできません。

GetFileTitle 指定したファイルの名前を取得します。 System.IO.FileInfo.Name

メモユーザー設定を考慮しません。

GetOpenFileName ユーザーが 開く ファイルまたはファイルセットのドライブ、ディレクトリ、名前を指定できる [開く] ダイアログ ボックスを作成します。 System.Windows.Forms.OpenFileDialog.ShowDialog

メモフックを使用してダイアログを変更することはできません。

GetSaveFileName ユーザーが 保存 するファイルのドライブ、ディレクトリ、名前を指定できる [保存] ダイアログ ボックスを作成します。 System.Windows.Forms.SaveFileDialog.ShowDialog

メモフックを使用してダイアログを変更することはできません。

PageSetupDlg ユーザーが印刷ページの属性を指定できるようにする [ページ設定] ダイアログ ボックスを作成します。 System.Windows.Forms.PageSetupDialog.ShowDialog

メモフックを使用してダイアログを変更することはできません。

PrintDlg [ 印刷 ] ダイアログ ボックスを表示します。 System.Windows.Forms.PrintDialog.ShowDialog

メモフックを使用してダイアログを変更することはできません。

Win32 カテゴリ リストのアルファベット順
階層 Win32 カテゴリ リスト

コンソール関数

Win32 関数 説明 .NET Framework API
GetStdHandle 標準入力、標準出力、または標準エラー デバイスのハンドルを取得します。 System.Console.OpenStandardIn
System.Console.OpenStandardOut
System.Console.OpenStandardError
ReadConsole コンソール入力バッファーから文字入力を読み取り、バッファーから削除します。 System.Console.Read
SetStdHandle 標準入力、標準出力、または標準エラー デバイスのハンドルを設定します。 System.Console.SetIn
System.Console.SetOut
System.Console.SetError
WriteConsole 文字列を現在のカーソル位置からコンソール画面バッファーに書き込みます。 System.Console.Write

Win32 カテゴリ リストのアルファベット順
階層 Win32 カテゴリ リスト

座標関数

Win32 関数 説明 .NET Framework API
ClientToScreen 指定したポイントのクライアント領域座標を画面座標に変換します。 System.Windows.Forms.Form.PointToScreen
CombineTransform 2 つのワールド空間変換をページ空間変換に連結します。 System.Drawing.Drawing2D.Matrix.Multiply
DPtoLP デバイス座標を論理座標に変換します。 System.Drawing.Graphics.TransformPoints
GetMapMode 現在のマッピング モードを取得します。 System.Drawing.Graphics.PageUnit
GetWindowExtEx 指定したデバイス コンテキストのウィンドウの x エクステントと y エクステントを取得します。 System.Drawing.Graphics.PageScale
GetWindowOrgEx 指定したデバイス コンテキストのウィンドウの原点の x 座標と y 座標を取得します。 System.Drawing.Graphics.Transform.OffsetX
System.Drawing.Graphics.Transform.OffsetY
GetWorldTransform 現在のワールド空間からページ空間への変換を取得します。 System.Drawing.Graphics.Transform
LPtoDP 論理座標をデバイス座標に変換します。 System.Drawing.Graphics.TransformPoints
ModifyWorldTransform 指定したモードを使用して、デバイス コンテキストのワールド変換を変更します。 System.Drawing.Graphics.Transform
OffsetViewportOrgEx 指定した水平オフセットと垂直オフセットを使用して、デバイス コンテキストのビューポート原点を変更します。 System.Drawing.Graphics.TranslateTransform
OffsetWindowOrgEx 指定した水平オフセットと垂直オフセットを使用して、デバイス コンテキストのウィンドウの原点を変更します。 System.Drawing.Graphics.TranslateTransform
ScreenToClient 画面とクライアントの座標上の指定したポイントの画面座標を変換します。 System.Windows.Forms.Form.PointToClient
SetMapMode 指定したデバイス コンテキストのマッピング モードを設定します。 System.Drawing.Graphics.PageUnit
SetWindowExtEx 指定した値を使用して、デバイス コンテキストのウィンドウの水平方向と垂直方向のエクステントを設定します。 System.Drawing.Graphics.PageScale
Drawing.Graphics.ScaleTransform
SetWindowOrgEx ビューポートの原点 (0,0) にマップするウィンドウ ポイントを指定します。 System.Drawing.Graphics.TranslateTransform
SetWorldTransform 指定したデバイス コンテキストのワールド空間とページ空間の間の 2 次元線形変換を設定します。 System.Drawing.Graphics.Transform

Win32 カテゴリ リストのアルファベット順
階層 Win32 カテゴリ リスト

カーソル関数

Win32 関数 説明 .NET Framework API
ClipCursor 画面上の四角形の領域にカーソルを閉じ込めます。 System.Windows.Forms.Cursor.Clip
CopyCursor 指定したカーソルをコピーします。 System.Windows.Forms.Cursor.CopyHandle
CreateCursor 指定したサイズ、ビット パターン、ホット スポットを持つカーソルを作成します。 System.Windows.Forms.Cursor コンストラクター
System.Windows.Forms.Cursor.Size
System.Windows.Forms.Cursor.Position
DestroyCursor カーソルを破棄します。 System.Windows.Forms.Cursor.Dispose
GetClipCursor カーソルを閉じ込める四角形領域の画面座標を取得します。 System.Windows.Forms.Cursor.Clip
GetCursor 現在のカーソルへのハンドルを取得します。 System.Windows.Forms.Cursor.Handle
GetCursorInfo グローバル カーソルに関する情報を取得します。 System.Windows.Forms.Cursor.Position
System.Windows.Forms.SystemInformation.CursorSize
GetCursorPos カーソルの位置を取得します。 System.Windows.Forms.Control.MousePosition
System.Windows.Forms.Cursor.Position
LoadCursor 実行可能ファイルからカーソル リソースを読み込みます。 System.Windows.Forms.Cursor コンストラクター
LoadCursorFromFile ファイルに含まれるデータに基づいてカーソルを作成します。 System.Windows.Forms.Cursor コンストラクター
SetCursor カーソルの図形を設定します。 System.Windows.Forms.Cursor.Current
SetCursorPos 指定した画面座標にカーソルを移動します。 System.Windows.Forms.Cursor.Position
ShowCursor カーソルを表示または非表示にします。 System.Windows.Forms.Cursor.Show
Windows.Forms.Cursor.Hide

Win32 カテゴリ リストのアルファベット順
階層 Win32 カテゴリ リスト

Debugging 関数

Win32 関数 説明 .NET Framework API
DebugActiveProcess デバッガーでアクティブなプロセスにアタッチしてデバッグできるようにします。 System.Diagnostics.Debugger.Launch
DebugBreak 現在のプロセスでブレークポイント例外を発生させます。 System.Diagnostics.Debugger.Break
IsDebuggerPresent 呼び出し元プロセスがデバッガーのコンテキストで実行されているかどうかを判断します。 System.Diagnostics.Debugger.IsAttached
OutputDebugString 文字列を表示するためにデバッガーに送信します。 System.Diagnostics.Debugger.Log

Win32 カテゴリ リストのアルファベット順
階層 Win32 カテゴリ リスト

デバイス コンテキスト関数

Win32 関数 説明 .NET Framework API
ChangeDisplaySettings 既定のディスプレイ デバイスの設定を、指定したグラフィックス モードに変更します。 System.Management.ManagementClass("Win32_VideoController")
ChangeDisplaySettingsEx 指定したディスプレイ デバイスの設定を、指定したグラフィックス モードに変更します。 System.Management.ManagementClass("Win32_VideoController")
DeviceCapabilities プリンター デバイス ドライバーの機能を取得します。 System.Drawing.Printing.PageSettings
System.Drawing.Printing.PrinterSettings
EnumDisplayDevices システム内のディスプレイ デバイスに関する情報を取得します。 System.Management.ManagementClass("Win32_DesktopMonitor")
EnumDisplaySettings ディスプレイ デバイスのグラフィックス モードの 1 つに関する情報を取得します。 System.Management.ManagementClass("CIM_VideoControllerResolution")
Getdc 指定したウィンドウのクライアント領域または画面全体のディスプレイ デバイス コンテキストへのハンドルを取得します。 Graphics オブジェクトを取得するには、次のいずれかを使用します。
System.Drawing.Graphics.FromHwnd(Windows.Forms.Control.Handle)
System.Drawing.Printing.PrintPageEventArgs.Graphics
System.Windows.Forms.PaintEventArgs.Graphics

ハンドルを明示的に取得するには、次を使用します。
System.Drawing.Graphics.GetHdc

GetDCEx 指定したウィンドウのクライアント領域または画面全体のディスプレイ デバイス コンテキストへのハンドルを取得します。 Graphics オブジェクトを取得するには、次のいずれかを使用します。
System.Drawing.Graphics.FromHwnd(Windows.Forms.Control.Handle)
System.Drawing.Printing.PrintPageEventArgs.Graphics
System.Windows.Forms.PaintEventArgs.Graphics

ハンドルを明示的に取得するには、次を使用します。
System.Drawing.Graphics.GetHdc

GetDeviceCaps 指定したデバイスのデバイス固有の情報を取得します。 System.Drawing.Graphics プロパティ
System.Drawing.Printing.PrinterSettings
System.Management
クラス
GetLayout デバイス コンテキストのレイアウトを取得します。 System.Windows.Forms.Control.RightToLeft
GetObject 指定したグラフィックス オブジェクトの情報を取得します。 System.Drawing.Bitmap プロパティ
System.Drawing.Brush
プロパティ
System.Drawing.Font
プロパティ
System.Drawing.Pen
プロパティ
GetObjectType 指定したオブジェクトの型を取得します。 System.Object.GetType
GetStockObject いずれかのストック ペン、ブラシ、フォント、またはパレットへのハンドルを取得します。 System.Drawing.Brushes
System.Drawing.Pens
Releasedc デバイス コンテキストを解放し、他のアプリケーションで使用できるようにします。 System.Drawing.Graphics.ReleaseHdc
SetLayout デバイス コンテキストのレイアウトを設定します。 System.Windows.Forms.Control.RightToLeft = System.Windows.Forms.RightToLeft.Yes

Win32 カテゴリ リストのアルファベット順
階層 Win32 カテゴリ リスト

ダイアログ ボックス関数

Win32 関数 説明 .NET Framework API
CreateDialog ダイアログ ボックス テンプレート リソースからモードレス ダイアログ ボックスを作成します。 System.Windows.Forms.Form コンストラクター
System.Windows.Forms.Form
プロパティ
CreateDialogIndirect メモリ内のダイアログ ボックス テンプレートからモードレス ダイアログ ボックスを作成します。 System.Windows.Forms.Form コンストラクター
System.Windows.Forms.Form
プロパティ
DefDlgProc 既定のダイアログ ボックス ウィンドウ プロシージャを呼び出して、プライベート ウィンドウ クラスを持つダイアログ ボックスで処理されないウィンドウ メッセージの既定の処理を提供します。 System.Windows.Forms.Form.DefWndProc
ダイアログ ダイアログ ボックス テンプレート リソースからモーダル ダイアログ ボックスを作成します。 System.Windows.Forms.Form コンストラクター
System.Windows.Forms.Form.ShowDialog
DialogBoxIndirect メモリ内のダイアログ ボックス テンプレートからモーダル ダイアログ ボックスを作成します。 System.Windows.Forms.Form コンストラクター
System.Windows.Forms.Form.ShowDialog
DialogProc 関数の CreateDialog および DialogBox ファミリで使用されるアプリケーション定義のコールバック関数。 System.Windows.Forms.Form.WndProc
EndDialog モーダル ダイアログ ボックスを破棄します。 System.Windows.Forms.Form.Close
GetDlgCtrlID 指定したコントロールの識別子を取得します。 System.Windows.Forms.Form.Controls.IndexOf
GetDlgItem 指定したダイアログ ボックス内のコントロールへのハンドルを取得します。 System.Windows.Forms.Form.Controls.Item
GetDlgItemInt ダイアログ ボックス内の指定したコントロールのテキストを整数値に変換します。 System.Int32.Parse(Form.Text)
System.UInt32.Parse(Form.Text)
GetDlgItemText ダイアログ ボックス内のコントロールに関連付けられているタイトルまたはテキストを取得します。 System.Windows.Forms.Form.Controls.Item[].テキスト
GetNextDlgGroupItem 指定したコントロールの前 (または後に続く) コントロールのグループ内の最初のコントロールへのハンドルを取得します。 コントロールを反復処理します。
System.Windows.Forms.Form.Controls項目

コントロールの Enabled プロパティと Visible プロパティを参照して、コントロールがアクティブかどうかを確認してください。

メモ コントロールが表示される順序は、 GetNextDlgGroupItem がコントロールを表示する順序と同じでない場合があります。

GetNextDlgTabItem 指定したコントロールの前 (または後に続く) WS_TABSTOP スタイルを持つ最初のコントロールへのハンドルを取得します。 コントロールを反復処理します。
System.Windows.Forms.Form.Controls項目

コントロールの EnabledVisibleTabStop の各プロパティを参照して、コントロールがアクティブかどうかを確認してください。

メモ コントロールが表示される順序は、 GetNextDlgGroupItem がコントロールを表示する順序と同じでない場合があります。

メッセージ ボックス メッセージ ボックスを作成、表示、および操作します。 System.Windows.Forms.MessageBox.Show
MessageBoxEx メッセージ ボックスを作成、表示、および操作します。 System.Windows.Forms.MessageBox.Show
MessageBoxIndirect メッセージ ボックスを作成、表示、および操作します。 System.Windows.Forms.MessageBox.Show
SendDlgItemMessage ダイアログ ボックス内の指定したコントロールにメッセージを送信します。 System.Windows.Forms.Form.WndProc(System.Windows.Forms.Message)
SetDlgItemInt ダイアログ ボックス内のコントロールのテキストを、指定した整数値の文字列表現に設定します。 System.Windows.Forms.Control.Text = System.Int32.ToString
SetDlgItemText ダイアログ ボックス内のコントロールのタイトルまたはテキストを設定します。 System.Windows.Forms.Control.Text

Win32 カテゴリ リストのアルファベット順
階層 Win32 カテゴリ リスト

Win32 関数 説明 .NET Framework API
GetModuleFileName 指定したモジュールを含むファイルの完全なパスとファイル名を取得します。 System.Reflection.Module.FullyQualifiedName
GetModuleHandle 指定したモジュールのモジュール ハンドルを取得します。 System.Runtime.InteropServices.Marshal.GetHINSTANCE
LoadLibrary 指定した実行可能モジュールを呼び出し元プロセスのアドレス空間にマップします。 次のいずれか:
System.Reflection.Assembly.Load
System.Reflection.Assembly.LoadFrom
System.Reflection.Assembly.LoadWithPartialName
LoadLibraryEx 指定した実行可能モジュールを呼び出し元プロセスのアドレス空間にマップします。 次のいずれか:
System.Reflection.Assembly.Load
System.Reflection.Assembly.LoadFrom
System.Reflection.Assembly.LoadWithPartialName

Win32 カテゴリ リストのアルファベット順
階層 Win32 カテゴリ リスト

エラー処理関数

Win32 関数 説明 .NET Framework API
FatalAppExit メッセージ ボックスを表示し、メッセージ ボックスが閉じられたときにアプリケーションを終了します。 System.Windows.Forms.MessageBox.Show
System.Diagnostics.Process.Kill
GetLastError 呼び出し元のスレッドの最終エラー コード値を取得します。 System.Runtime.InteropServices.Marshall.GetLastWin32Error

Win32 カテゴリ リストのアルファベット順
階層 Win32 カテゴリ リスト

イベント ログ関数

Win32 関数 説明 .NET Framework API
ClearEventLog 指定したイベント ログをクリアし、必要に応じてログ ファイルの現在のコピーをバックアップ ファイルに保存します。 System.Diagnostics.EventLog.Clear
CloseEventLog 指定したイベント ログへの読み取りハンドルを閉じます。 System.Diagnostics.EventLog.Close
DeregisterEventSource 指定したイベント ログへの書き込みハンドルを閉じます。 System.Diagnostics.EventLog.DeleteEventSource
GetNumberOfEventLogRecords 指定したイベント ログ内のレコードの数を取得します。 System.Diagnostics.EventLog.Entries.Count
GetOldestEventLogRecord 指定したイベント ログ内の最も古いレコードの絶対レコード番号を取得します。 System.Diagnostics.EventLogEntryCollection[0]
System.Diagnostics.EventLogEntry.TimeWritten
NotifyChangeEventLog 指定したイベント ログ ファイルにイベントが書き込まれるときに、アプリケーションが通知を受信できるようにします。 System.Diagnostics.EventLog.EnableRaisingEvents
OpenBackupEventLog バックアップ イベント ログへのハンドルを開きます。 System.Diagnostics.EventLog コンストラクター
OpenEventLog イベント ログへのハンドルを開きます。 System.Diagnostics.EventLog コンストラクター
ReadEventLog 指定したイベント ログからエントリの合計数を読み取ります。 System.Diagnostics.EventLogEntryCollection.CopyTo
RegisterEventSource イベント ログに登録されたハンドルを取得します。 System.Diagnostics.EventLog.CreateEventSource
ReportEvent 指定したイベント ログの末尾にエントリを書き込みます。 System.Diagnostics.EventLog.WriteEntry

Win32 カテゴリ リストのアルファベット順
階層 Win32 カテゴリ リスト

ファイル I/O 関数

Win32 関数 説明 .NET Framework API
CopyFile 既存のファイルを新しいファイルにコピーします。 次のいずれかになります。
System.IO.File.Copy
Io。FileInfo.CopyTo
CreateDirectory 新しいディレクトリを作成します。 次のいずれか:
System.IO.Directory.CreateDirectory
System.IO.Directory.CreateSubdirectory
System.IO.DirectoryInfo.Create
CreateFile ファイル オブジェクトを作成または開きます。 System.IO.File クラスと System.IO.FileInfo クラス
DeleteFile 既存のファイルを削除します。 次のいずれか:
System.IO.Directory.Delete
System.IO.DirectoryInfo.Delete
System.IO.File.Delete
System.IO.FileInfo.Delete
FileIOCompletionRoutine ReadFileEx および WriteFileEx で使用されるアプリケーション定義のコールバック関数。 ユーザー定義。
FindClose 指定した検索ハンドルを閉じます。 FindFirstFileFindNextFile に関するページを参照してください。
FindCloseChangeNotification 変更通知ハンドル監視を停止します。 System.IO.FileSystemWatcher.EnableRaisingEvents
FindFirstChangeNotification 変更通知ハンドルを作成します。 System.IO.FileSystemWatcher クラス
FindFirstFile 指定したファイル名と一致する名前のファイルをディレクトリで検索します。 次のいずれか:
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.Exists
FindFirstFileEx 指定したファイル名と一致する名前と属性を持つファイルをディレクトリで検索します。 FindFirstFile と同じ
FindNextChangeNotification 次回、適切な変更が検出されたとき、オペレーティング システムから変更通知ハンドルの信号を送るように要求します。 System.IO.FileSystemWatcher クラス
FindNextFile ファイル検索を続行します。 次のいずれか:
System.IO.Directory.GetDirectories
System.IO.Directory.GetFileSystemEntries
System.IO.Directory.GetFiles
System.IO.DirectoryInfo.GetDirectories
System.IO.DirectoryInfo.GetFileSystemInfos
System.IO.DirectoryInfo.GetFiles
FlushFileBuffers 指定したファイルのバッファーをクリアし、バッファー内のすべてのデータをファイルに書き込みます。 System.IO.FileStream.Flush
GetBinaryType ファイルが実行可能かどうかを判断します。 System.IO.FileSystemInfo.Extension

メモ文字列のみを操作します。では、ファイル システムのチェックは実行されません。

GetCurrentDirectory 現在のプロセスの現在のディレクトリを取得します。 System.IO.Directory.GetCurrentDirectory
GetDriveType ディスク ドライブがリムーバブル、固定、CD-ROM、RAM ディスク、またはネットワークのどのドライブかを特定します。 System.Management.ManagementObject("Win32_LogicalDisk.DeviceID=\"C:\"")。取得
System.Management.ManagementObject.Properties
System.IO.DriveInfo.DriveType
GetFileAttributes 指定したファイルまたはディレクトリの属性を取得します。 次のいずれか:
System.IO.Directory.GetAttributes
System.IO.File.GetAttributes
System.IO.FileSystemInfo.Attributes
GetFileAttributesEx 指定したファイルまたはディレクトリの属性を取得します。 次のいずれか:
System.IO.Directory.GetAttributes
System.IO.File.GetAttributes
System.IO.FileSystemInfo.Attributes
GetFileInformationByHandle 指定したファイルのファイル情報を取得します。 System.IO.FileInfo プロパティ
GetFileSize 指定したファイルのサイズを取得します。 次のいずれかになります。
System.IO.FileInfo.Length
System.IO.FileStream.Length
GetFileSizeEx 指定したファイルのサイズを取得します。 次のいずれかになります。
System.IO.FileInfo.Length
System.IO.FileStream.Length
GetFullPathName 指定したファイルの完全なパスとファイル名を取得します。 次のいずれかになります。
System.IO.FileSystemInfo.FullName
System.IO.Path.GetFullPath
GetTempFileName 一時ファイル名を作成します。 System.IO.Path.GetTempFileName
GetTempPath 一時ファイル用に指定されたディレクトリのパスを取得します。 System.IO.Path.GetTempPath
LockFile 開いているファイル内のリージョンをロックします。 System.IO.FileStream.Lock
LockFileEx 共有または排他アクセスのために、開いているファイル内のリージョンをロックします。 System.IO.FileStream.Lock
MoveFile 既存のファイルまたはディレクトリを移動します。 次のいずれか:
System.IO.Directory.Move
System.IO.DirectoryInfo.MoveTo
System.IO.File.Move
System.IO.FileInfo.MoveTo
ReadDirectoryChangesW ディレクトリ内で発生する変更を記述する情報を取得します。 System.IO.FileSystemWatcher クラス
ReadFile 指定した位置からファイルからデータを読み取ります。 次のいずれか:
System.IO.FileStream.BeginRead/EndRead
System.IO.FileStream.Read
System.IO.FileStream.ReadByte
ReadFileEx ファイルから非同期的にデータを読み取ります。 System.IO.FileStream.BeginRead/EndRead
RemoveDirectory 既存の空ディレクトリを削除します。 次のいずれかになります。
System.IO.Directory.Delete
System.IO.DirectoryInfo.Delete
SearchPath 指定したファイルを検索します。 次のいずれか:
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.Exists
SetCurrentDirectory 現在のプロセスの現在のディレクトリを変更します。 System.IO.Directory.SetCurrentDirectory
SetEndOfFile 指定したファイルのファイルの末尾の位置を移動します。 System.IO.FileStream.SetLength
SetFileAttributes ファイルの属性を設定します。 System.IO.File.SetAttributes
SetFilePointer 開いているファイルのファイル ポインターを移動します。 次のいずれかになります。
System.IO.FileStream.Position
System.IO.FileStream.Seek
SetFilePointerEx 開いているファイルのファイル ポインターを移動します。 次のいずれかになります。
System.IO.FileStream.Position
System.IO.FileStream.Seek
UnlockFile 開いているファイル内の以前にロックされた領域のロックを解除します。 System.IO.FileStream.Unlock
UnlockFileEx 開いているファイル内の以前にロックされた領域のロックを解除します。 System.IO.FileStream.Unlock
WriteFile ファイルにデータを書き込みます。 次のいずれか:
System.IO.FileStream.BeginWrite
EndWrite
System.IO.FileStream.Write
System.IO.FileStream.WriteByte
System.IO.BinaryWriter.Write
WriteFileEx ファイルに非同期的にデータを書き込みます。 System.IO.FileStream.BeginWriteEndWrite

Win32 カテゴリリストのアルファベット順
階層 Win32 カテゴリ リスト

ファイル システム関数

ファイル システムで使用されます。

Win32 関数 説明 .NET Framework API
GetDiskFreeSpace 指定したディスクに関する情報 (ディスク上の空き領域を含む) を取得します。 System.Management.ManagementObject("Win32_LogicalDisk.DeviceID=\"C:\"")。取得
System.Management.ManagementObject.Properties
GetDiskFreeSpaceEx 指定したディスクに関する情報 (ディスク上の空き領域を含む) を取得します。 System.Management.ManagementObject("Win32_LogicalDisk.DeviceID=\"C:\"")。取得
System.Management.ManagementObject.Properties
GetLogicalDriveStrings システム内の有効なドライブを指定する文字列でバッファーを埋めます。 次のいずれかになります。
System.Environment.GetLogicalDrives
System.IO.Directory.GetLogicalDrives

暗号化されたファイル システムで使用されます。

Win32 関数 説明 .NET Framework API
DecryptFile 暗号化されたファイルまたはディレクトリの暗号化を解除します。 System.Security.Cryptography.CryptoStream.Read
EncryptFile ファイルまたはディレクトリを暗号化します。 System.Security.Cryptography.CryptoStream.Write
FileEncryptionStatus 指定したファイルの暗号化状態を取得します。 System.IO.FileSystemInfo.Attributes

Win32 カテゴリリストのアルファベット順
階層 Win32 カテゴリ リスト

塗りつぶされた図形関数

Win32 関数 説明 .NET Framework API
楕円と線分で囲まれた領域を描画します。 System.Drawing.Graphics.DrawArc
System.Drawing.Graphics.DrawLine
楕円 楕円を描きます。 System.Drawing.Graphics.DrawEllipse
System.Drawing.Graphics.FillEllipse
Fillrect ブラシを使用して四角形を塗りつぶします。 System.Drawing.Graphics.FillRectangle
InvertRect 四角形のピクセルの色の値を反転します。 System.Windows.Forms.ControlPaint.DrawReversibleFrame
System.Windows.Forms.ControlPaint.DrawReversibleLine
楕円と 2 つの放射状で囲まれた円状のくさびを描画します。 System.Drawing.Graphics.DrawPie
System.Drawing.Graphics.FillPie
Polygon 多角形を描画します。 System.Drawing.Graphics.DrawPolygon
System.Drawing.Graphics.FillPolygon
四角形 四角形を描きます。 System.Drawing.Graphics.DrawRectangle
System.Drawing.Graphics.FillRectangle
RoundRect 角が丸い四角形を描画します。 System.Drawing.Drawing2D.GraphicsPath.AddLines
System.Drawing.Pen.LineJoin = System.Drawing.Pen.LineJoin.Round
System.Drawing.Graphics.DrawPath
System.Drawing.Graphics.FillPath

Win32 カテゴリ リストのアルファベット順
階層 Win32 カテゴリ リスト

フォント関数とテキスト関数

Win32 関数 説明 .NET Framework API
AddFontMemResourceEx 埋め込みフォントをシステム フォント テーブルに追加します。 System.Drawing.Text.PrivateFontCollection.AddMemoryFont
AddFontResourceEx システム フォント テーブルにプライベートまたは列挙不可能なフォントを追加します。 System.Drawing.Text.PrivateFontCollection.AddFontFile
CreateFont 論理フォントを作成します。 System.Drawing.Font コンストラクター
Drawtext 書式設定されたテキストを四角形に描画します。 System.Drawing.Graphics.DrawString
DrawTextEx 書式設定されたテキストを四角形に描画します。 System.Drawing.Graphics.DrawString
EnumFontFamExProc フォントを処理するために EnumFontFamiliesEx と共に使用されるアプリケーション定義のコールバック関数。 System.Drawing.Text.InstalledFontCollection.Families
EnumFontFamiliesEx 特定の特性を持つシステム内のすべてのフォントを列挙します。 System.Drawing.Text.InstalledFontCollection.Families
ExtTextOut 文字列を描画します。 System.Drawing.Graphics.DrawString
GetCharABCWidths TrueType フォントから連続する文字の幅を取得します。 文字の Region[] を 取得します。
System.Drawing.Graphics.MeasureCharacterRanges;

各リージョンの幅を決定 します
System.Drawing.Rectangle.Round(Region.GetBounds)。幅

GetCharABCWidthsFloat 現在のフォントから連続する文字の幅を取得します。 文字の Region[] を 取得します。
System.Drawing.Graphics.MeasureCharacterRanges;

各リージョンの幅を決定 します
System.Drawing.Region.GetBounds.Width

GetCharWidth32 現在のフォントから連続する文字の幅を取得します。 文字の Region[] を 取得します。
System.Drawing.Graphics.MeasureCharacterRanges;

各リージョンの幅を決定 します
System.Drawing.Rectangle.Round(Region.GetBounds)。幅

GetCharWidthFloat 現在のフォントから連続する文字の小数部の幅を取得します。 文字の Region[] を 取得します。
System.Drawing.Graphics.MeasureCharacterRanges;

各リージョンの幅を決定 します
System.Drawing.Region.GetBounds.Width

GetOutlineTextMetrics TrueType フォントのテキスト メトリックを取得します。 System.Drawing.Font プロパティ
GetTabbedTextExtent タブを含む文字列の幅と高さを計算します。 System.Drawing.Graphics.MeasureString
GetTextAlign デバイス コンテキストのテキスト配置設定を取得します。 System.Drawing.StringFormat.Alignment
System.Drawing.StringFormat.LineAlignment
GetTextColor デバイス コンテキストのテキストの色を取得します。 System.Drawing.SolidBrush.Color
GetTextExtentPoint32 文字列の幅と高さを計算します。 System.Drawing.Graphics.MeasureString
GetTextFace デバイス コンテキストに選択されているフォントの名前を取得します。 System.Drawing.Font.Name
GetTextMetrics バッファーにフォントのメトリックを入力します。 System.Drawing.Font プロパティ
RemoveFontMemResourceEx ソースが文書に埋め込まれたフォントをシステム フォント テーブルから削除します。 System.Drawing.Text.PrivateFontCollection.Dispose
RemoveFontResourceEx システム フォント テーブルからプライベートまたは列挙不可能なフォントを削除します。 System.Drawing.Text.PrivateFontCollection.Dispose
SetTextAlign デバイス コンテキストのテキスト配置フラグを設定します。 System.Drawing.StringFormat.Alignment
System.Drawing.StringFormat.LineAlignment
SetTextColor デバイス コンテキストのテキストの色を設定します。 次のいずれかになります。
System.Drawing.Brushes
System.Drawing.SolidBrush.SolidBrush(Color)
TabbedTextOut 位置に文字列を書き込み、タブを指定した値に展開します。 System.Drawing.StringFormat.SetTabStops を使用した System.Drawing.Graphics.DrawString
Textout 場所に文字列を書き込みます。 System.Drawing.Graphics.DrawString

Win32 カテゴリ リストのアルファベット順
階層 Win32 カテゴリ リスト

アイコン関数

Win32 関数 説明 .NET Framework API
CopyIcon 別のモジュールからアイコンをコピーします。 System.Drawing.Icon.FromHandle
CreateIcon 指定したサイズ、色、およびビット パターンを持つアイコンを作成します。 System.Drawing.Icon コンストラクター
DestroyIcon アイコンを破棄します。 System.Drawing.Icon.Dispose
DrawIcon アイコンを描画します。 System.Drawing.Graphics.DrawIcon
DuplicateIcon 指定したアイコンの複製を作成します。 System.Drawing.Icon.Clone
LoadIcon アプリケーションに関連付けられている実行可能ファイルからアイコンを読み込みます。 System.Drawing.Icon コンストラクター

Win32 カテゴリ リストのアルファベット順
階層 Win32 カテゴリ リスト

入力メソッド エディター関数

Win32 関数 説明 .NET Framework API
ImmAssociateContext 指定した入力コンテキストを指定したウィンドウに関連付けます。 次のいずれかになります。
System.Windows.Forms.Control.DefaultImeMode
System.Windows.Forms.Control.ImeMode
ImmAssociateContextEx 入力メソッド コンテキストと、指定したウィンドウまたはその子の間の関連付けを変更します。 次のいずれか:
System.Windows.Forms.Control.DefaultImeMode
System.Windows.Forms.Control.ImeMode
System.Windows.Forms.Control.ResetImeMode
ImmDisableIME 入力メソッド エディターを無効にします。 System.Windows.Forms.Control.ImeMode = System.Windows.Forms.ImeMode.Disable
ImmGetContext 指定したウィンドウに関連付けられている入力コンテキストを取得します。 System.Windows.Forms.Control.ImeMode

Win32 カテゴリ リストのアルファベット順
階層 Win32 カテゴリ リスト

キーボード アクセラレータ関数

Win32 関数 説明 .NET Framework API
TranslateAccelerator メニュー コマンドのアクセラレータ キーを処理します。 System.Windows.Forms.MenuItem.Shortcut

Win32 カテゴリ リストのアルファベット順
階層 Win32 カテゴリ リスト

キーボード入力関数

Win32 関数 説明 .NET Framework API
ActivateKeyboardLayout 呼び出し元スレッドまたは現在のプロセスの入力ロケール識別子を設定します。 System.Windows.Forms.InputLanguage.CurrentInputLanguage
EnableWindow 指定したウィンドウまたはコントロールへのマウスとキーボードの入力を有効または無効にします。 System.Windows.Forms.Control.Enabled
GetActiveWindow 呼び出し元スレッドのメッセージ キューにアタッチされたアクティブなウィンドウのウィンドウ ハンドルを取得します。 System.Windows.Forms.Form.ActiveForm
GetFocus キーボード フォーカスを持つウィンドウへのハンドルを取得します。 System.Windows.Forms.Control.Controls[].集中
GetKeyboardLayout 指定したスレッドのアクティブな入力ロケール識別子を取得します。 System.Windows.Forms.InputLanguage.CurrentInputLanguage
GetKeyboardLayoutList システム内の入力ロケールの現在のセットに対応する入力ロケール識別子を取得します。 System.Windows.Forms.InputLanguage.InstalledInputLanguages
GetKeyboardLayoutName アクティブな入力ロケール識別子の名前を取得します。 System.Windows.Forms.InputLanguage.LayoutName
GetKeyNameText キーの名前を表す文字列を取得します。 System.Windows.Forms.KeyEventArgs.KeyCode.ToString
IsWindowEnabled 指定したウィンドウでマウス入力およびキーボード入力が有効かどうかを判別します。 System.Windows.Forms.Form.Enabled
SetActiveWindow ウィンドウをアクティブにします。 System.Windows.Forms.Activate
SetFocus 指定したウィンドウにキーボード フォーカスを設定します。 System.Windows.Forms.Form.Focus
ToAscii 指定した仮想キー コードとキーボードの状態を、対応する 1 つまたは複数の文字に変換します。 System.Windows.Forms.KeyPressEventArgs.KeyChar
ToUnicode 指定した仮想キー コードとキーボードの状態を、対応する 1 つまたは複数の Unicode 文字に変換します。 System.Windows.Forms.KeyPressEventArgs.KeyChar

Win32 カテゴリリストのアルファベット順
階層 Win32 カテゴリ リスト

線関数と曲線関数

Win32 関数 説明 .NET Framework API
AngleArc 線分と円弧を描画します。 System.Drawing.Graphics.DrawLine
System.Drawing.Graphics.DrawArc
Arc 楕円の円弧を描画します。 System.Drawing.Graphics.DrawArc
ArcTo 楕円の円弧を描画します。 System.Drawing.Graphics.DrawArc
Lineto 現在の位置から、指定した点までの線を描画しますが、含まれません。 System.Drawing.Graphics.DrawLine
PolyBezier 1 つ以上の B&x00E9;zier 曲線を描画します。 System.Drawing.Graphics.DrawBeziers
ポリライン 指定した配列内のポイントを接続して、一連の線分を描画します。 System.Drawing.Graphics.DrawLines

Win32 カテゴリリストのアルファベット順
階層 Win32 カテゴリ リスト

リスト ボックス関数

Win32 関数 説明 .NET Framework API
DlgDirList リスト ボックスの内容を、指定したディレクトリ内のサブディレクトリとファイルの名前に置き換えます。 System.Windows.Forms.ListBox.Items.AddRange(System.IO.Directory.GetFileSystemEntries)
DlgDirSelectEx 単一選択リスト ボックスから現在の選択範囲を取得します。 System.Windows.Forms.ListBox.SelectedItem
GetListBoxInfo 指定したリスト ボックスに関する情報を取得します。 System.Windows.Forms.ListBox プロパティ

Win32 カテゴリリストのアルファベット順
階層 Win32 カテゴリ リスト

メモリ管理関数

メモリ管理機能:

Win32 関数 説明 .NET Framework API
GlobalMemoryStatus 物理メモリと仮想メモリの両方のシステムの現在の使用状況に関する情報を取得します。 System.Management.ManagementClass("Win32_OperatingSystem")
System.Management.ManagementClass.GetInstances
System.Management.ManagementObject.Properties
GlobalMemoryStatusEx 物理メモリと仮想メモリの両方のシステムの現在の使用状況に関する情報を取得します。 System.Management.ManagementClass("Win32_OperatingSystem")
System.Management.ManagementClass.GetInstances
System.Management.ManagementObject.Properties

グローバル関数とローカル関数:

Win32 関数 説明 .NET Framework API
GlobalAlloc ヒープから指定したバイト数を割り当てます。 System.Runtime.InteropServices.Marshall.AllocHGlobal
GlobalFree 指定したグローバル メモリ オブジェクトを解放します。 System.Runtime.InteropServices.Marshall.FreeHGlobal
GlobalReAlloc 指定したグローバル メモリ オブジェクトのサイズまたは属性を変更します。 System.Runtime.InteropServices.Marshall.ReAllocHGlobal
LocalAlloc ヒープから指定したバイト数を割り当てます。 System.Runtime.InteropServices.Marshall.AllocHGlobal
LocalFree 指定したローカル メモリ オブジェクトを解放します。 System.Runtime.InteropServices.Marshall.FreeHGlobal
LocalReAlloc 指定したローカル メモリ オブジェクトのサイズまたは属性を変更します。 System.Runtime.InteropServices.Marshall.ReAllocHGlobal

Win32 カテゴリ リストのアルファベット順
階層 Win32 カテゴリ リスト

Win32 関数 説明 .NET Framework API
AppendMenu 項目をさまざまなメニューとサブメニューに追加します。 System.Windows.Forms.Menu.MenuItemCollection.Add
CheckMenuItem メニュー項目をオンまたはオフにします。 System.Windows.Forms.MenuItem.Checked
CheckMenuRadioItem 指定したメニュー項目をチェックし、ラジオ項目にします。 System.Windows.Forms.MenuItem.RadioCheck
CreateMenu メニューを作成します。 次のいずれか:
System.Windows.Forms.ContextMenu
コンストラクター
System.Windows.Forms.MainMenu
コンストラクター
System.Windows.Forms.Menu.MenuItemCollection
コンストラクター
CreatePopupMenu ドロップダウン メニュー、サブメニュー、またはショートカット メニューを作成します。 次のいずれかになります。
System.Windows.Forms.ContextMenu
コンストラクター
System.Windows.Forms.Menu.MenuItemCollection
コンストラクター
DeleteMenu メニュー項目を削除します。 System.Windows.Forms.Menu.MenuItemCollection.Remove
DestroyMenu メニューを削除します。 System.Windows.Forms.Menu.Dispose
EnableMenuItem メニュー項目を有効、無効、または灰色にします。 System.Windows.Forms.MenuItem.Enabled
GetMenu メニューへのハンドルを取得します。 System.Windows.Forms.Form.Menu.Handle
GetMenuBarInfo メニュー バーに関する情報を取得します。 System.Windows.Forms.Form.Menu
GetMenuCheckMarkDimensions 既定のチェックマーク ビットマップの寸法を返します。 System.Windows.Forms.SystemInformation.MenuCheckSize
GetMenuDefaultItem メニューの既定のメニュー項目を取得します。 System.Windows.Forms.MenuItem.DefaultItem
GetMenuInfo メニューに関する情報を取得します。 System.Windows.Forms.MenuItem プロパティ
GetMenuItemCount メニュー内の項目の数を取得します。 System.Windows.Forms.Menu.MenuItemCollection.Count
GetMenuItemID メニュー項目の識別子を取得します。 System.Windows.Forms.MenuItem.MenuID
GetMenuItemInfo メニュー項目に関する情報を取得します。 System.Windows.Forms.MenuItem プロパティ
GetMenuItemRect メニュー項目の外接する四角形を取得します。 System.Windows.Forms.MenuItem.DrawItem
System.Windows.Forms.DrawItemEventArgs.Bounds
GetMenuState メニュー項目に関連付けられているメニュー フラグを取得します。 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
GetMenuString メニュー項目のテキスト文字列をバッファーにコピーします。 System.Windows.Forms.MenuItem.Text
GetSubMenu メニュー項目によってアクティブ化されたドロップダウン メニューまたはサブメニューへのハンドルを取得します。 System.Windows.Forms.Menu.MenuItems[].処理
InsertMenu 新しいメニュー項目をメニューに挿入します。 System.Windows.Forms.Menu.MenuItemCollection.Add
InsertMenuItem メニューに新しいメニュー項目を挿入します。 System.Windows.Forms.Menu.MenuItemCollection.Add
ModifyMenu 既存のメニュー項目を変更します。 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.Text
RemoveMenu メニュー項目を削除するか、メニューからサブメニューをデタッチします。 System.Windows.Forms.Menu.MenuItemCollection.Remove
SetMenu ウィンドウに新しいメニューを割り当てます。 System.Windows.Forms.Form.Menu
SetMenuDefaultItem メニューの既定のメニュー項目を設定します。 System.Windows.Forms.MenuItem.DefaultItem
SetMenuInfo メニューの情報を設定します。 System.Windows.Forms.MenuItem プロパティ
SetMenuItemBitmaps ビットマップをメニュー項目に関連付けます。 System.Windows.Forms.MenuItem.DrawItem
SetMenuItemInfo メニュー項目に関する情報を変更します。 System.Windows.Forms.MenuItem プロパティ
TrackPopupMenu ショートカット メニューを場所に表示し、メニューの項目選択を追跡します。 System.Windows.Forms.ContextMenu.Show

Win32 カテゴリ リストのアルファベット順
階層 Win32 カテゴリ リスト

メッセージおよびメッセージ キュー関数

Win32 関数 説明 .NET Framework API
GetMessagePos GetMessage によって取得された最後のメッセージのカーソル位置を取得します。 イベント ハンドラー内:
System.Windows.Forms.Windows.Forms.Control.MousePosition
PostQuitMessage スレッドが終了 (終了) を要求したことをシステムに示します。 System.Windows.Forms.Application.ExitThread
SendMessage 指定したメッセージをウィンドウまたはウィンドウに送信します。 次のいずれか:
System.Windows.Forms.Control.DefWndProc
System.Windows.Forms.Control.WndProc
System.Windows.Forms.Form.DefWndProc
System.Windows.Forms.Form.WndProc

Win32 カテゴリ リストのアルファベット順
階層 Win32 カテゴリ リスト

メタファイル関数

Win32 関数 説明 .NET Framework API
CopyEnhMetaFile 拡張形式のメタファイルの内容を指定したファイルにコピーします。 System.Drawing.Imaging.Metafile.Save
CreateEnhMetaFile 拡張形式のメタファイルのデバイス コンテキストを作成します。 System.Drawing.Imaging.Metafile コンストラクター
DeleteEnhMetaFile 拡張形式のメタファイルまたは拡張形式のメタファイル ハンドルを削除します。 System.Drawing.Imaging.Metafile.Dispose
EnhMetaFileProc EnumEnhMetaFile で使用されるアプリケーション定義のコールバック関数。 System.Drawing.Graphics.EnumerateMetafileProc
EnumEnhMetaFile 拡張形式のメタファイル内のレコードを列挙します。 System.Drawing.Graphics.EnumerateMetafile
GdiComment バッファーから指定した拡張形式のメタファイルにコメントをコピーします。 System.Drawing.Graphics.AddMetafileComment
GetEnhMetaFile 指定したファイルに格納されている拡張形式のメタファイルを識別するハンドルを作成します。 System.Drawing.Imaging.Metafile コンストラクター
GetEnhMetaFileBits 指定した拡張形式メタファイルの内容を取得し、バッファーにコピーします。 System.Drawing.Imaging.Metafile.Save
GetEnhMetaFileHeader 指定した拡張形式メタファイルのヘッダーを含むレコードを取得します。 System.Drawing.Imaging.Metafile.GetMetafileHeader
GetEnhMetaFilePaletteEntries 指定した拡張メタファイルからオプションのパレット エントリを取得します。 System.Drawing.Imaging.Metafile.Palette.Entries
GetWinMetaFileBits 拡張形式のレコードをメタファイルから Windows 形式のレコードに変換します。 System.Drawing.Imaging.Metafile.Save
PlayEnhMetaFile 指定した拡張形式のメタファイルに格納されている図を表示します。 System.Drawing.Graphics.DrawImage
PlayEnhMetaFileRecord レコードによって識別されるグラフィックス デバイス インターフェイス関数を実行して、拡張メタファイル レコードを再生します。 System.Drawing.Imaging.Metafile.PlayRecord
System.Drawing.Imaging.PlayRecordCallback
SetEnhMetaFileBits 指定したデータからメモリベースの拡張形式メタファイルを作成します。 System.Drawing.Imaging.Metafile.Save
SetWinMetaFileBits メタファイルを以前の Windows 形式から新しい拡張形式に変換します。 System.Drawing.Imaging.Metafile.Save

Win32 カテゴリ リストのアルファベット順
階層 Win32 カテゴリ リスト

マウス入力関数

Win32 関数 説明 .NET Framework API
GetDoubleClickTime マウスのダブルクリック時間を取得します。 System.Windows.Forms.SystemInformation.DoubleClickTime
mouse_event マウスの動きとボタンのクリックを合成します。 System.Windows.Forms.MouseEventArgs
ReleaseCapture マウス キャプチャを解放し、マウス入力処理を復元します。 System.Windows.Forms.Control.Capture
SetCapture マウス キャプチャをウィンドウに設定します。 System.Windows.Forms.Control.Capture
TrackMouseEvent
–または–
_TrackMouseEvent
マウスがウィンドウを離れるか、ウィンドウの上にマウスポインターを置いたときにメッセージを投稿します。 System.Windows.Forms.Control.OnMouseLeave
System.Windows.Forms.Control.OnMouseHover

Win32 カテゴリリストのアルファベット順
階層 Win32 カテゴリ リスト

複数のディスプレイ モニター関数

Win32 関数 説明 .NET Framework API
GetMonitorInfo ディスプレイ モニターに関する情報を取得します。 System.Windows.Forms.Screen.Bounds
System.Windows.Forms.Screen.Primary
System.Windows.Forms.Screen.WorkingArea
MonitorFromPoint 指定したポイントを含むディスプレイ モニターへのハンドルを取得します。 System.Windows.Forms.Screen.FromPoint
MonitorFromRect 指定した四角形との交差領域が最も大きいディスプレイ モニターへのハンドルを取得します。 System.Windows.Forms.Screen.FromRectangle
MonitorFromWindow 指定したウィンドウの外接する四角形との交差領域が最も大きいディスプレイ モニターへのハンドルを取得します。 System.Windows.Forms.Screen.FromHandle

Win32 カテゴリリストのアルファベット順
階層 Win32 カテゴリ リスト

Multiple-Document インターフェイス関数

Win32 関数 説明 .NET Framework API
CreateMDIWindow マルチドキュメント インターフェイス (MDI) 子ウィンドウを作成します。 System.Windows.Forms.Form コンストラクター
System.Windows.Forms.Form.AutoScroll
System.Windows.Forms.Form.DesktopBounds
System.Windows.Forms.Form.MdiParent
System.Windows.Forms.Form.WindowState
TranslateMDISysAccel 指定した MDI クライアント ウィンドウに関連付けられている MDI 子ウィンドウのウィンドウ メニュー コマンドのアクセラレータ キーストロークを処理します。 MDI 子のキーボード イベントは自動的に変換されます。

Win32 カテゴリリストのアルファベット順
階層 Win32 カテゴリ リスト

各国語関数

Win32 関数 説明 .NET Framework API
ConvertDefaultLocale 既定のロケール値を実際のロケール識別子に変換します。 System.Globalization.CultureInfo.CurrentCulture
System.Globalization.CultureInfo.InstalledUICulture
EnumCalendarInfo 指定したロケールの予定表情報を列挙します。 System.Globalization.CultureInfo.DateTimeFormat プロパティにアクセスして System.Globalization.DateTimeFormatInfo オブジェクトを取得し、そのプロパティにアクセスします。
System.Globalization.DateTimeFormatInfo.AbbreviatedDayNames
System.Globalization.DateTimeFormatInfo.AbbreviatedMonthNames
System.Globalization.DateTimeFormatInfo.DayNames
System.Globalization.DateTimeFormatInfo.LongDatePattern
System.Globalization.DateTimeFormatInfo.MonthNames
System.Globalization.DateTimeFormatInfo.ShortDatePattern
EnumCalendarInfoEx 指定したロケールの予定表情報を列挙します。 予定表を反復処理します。
System.Globalization.CultureInfo.DateTimeFormat.Calendar = System.Globalization.CultureInfo.OptionalCalendars[i]
EnumCalendarInfoProc EnumCalendarInfo で使用されるアプリケーション定義関数。 EnumCalendarInfo と同じ
EnumCalendarInfoProcEx EnumCalendarInfoEx と共に使用されるアプリケーション定義関数。 EnumCalendarInfoEx と同じ
EnumCodePagesProc EnumSystemCodePages で使用されるアプリケーション定義関数。 EnumSystemCodePages と同じ
EnumDateFormats 指定したロケールで使用できる長い日付形式または短い日付形式を列挙します。 System.DateTime.GetDateTimeFormats(System.Globalization.CultureInfo)
EnumDateFormatsEx 代替カレンダーの日付形式など、指定したロケールで使用できる長い日付形式または短い日付形式を列挙します。 予定表を反復処理します。
System.Globalization.CultureInfo.DateTimeFormat.Calendar = System.Globalization.CultureInfo.OptionalCalendars[i];
System.DateTime.GetDateTimeFormats(System.Globalization.CultureInfo)
EnumDateFormatsProc EnumDateFormats で使用されるアプリケーション定義関数。 EnumDateFormats と同じ
EnumDateFormatsProcEx EnumDateFormatsEx で使用されるアプリケーション定義関数。 EnumDateFormatsEx と同じ
EnumGeoInfoProc EnumSystemGeoID で使用されるコールバック関数。 EnumSystemGeoID と同じ
EnumLocalesProc EnumSystemLocales で使用されるアプリケーション定義関数。 EnumSystemLocales と同じ
EnumSystemCodePages システムにインストールされているか、システムでサポートされているコード ページを列挙します。 System.Globalization.CultureInfo.GetCultures(System.Globalization.CultureTypes.AllCultures) はCultureInfo の配列を返します

System.Globalization.CultureInfo.TextInfo のさまざまなコード ページ プロパティ

EnumSystemGeoID システム上のすべての GeoID を列挙します。 System.Globalization.CultureInfo.GetCultures(System.Globalization.CultureTypes.AllCultures)を呼び出して CultureInfo の配列を取得し、次の CultureInfo プロパティにアクセスします。
System.Globalization.CultureInfo.ThreeLetterISOLanguageName
System.Globalization.CultureInfo.ThreeLetterWindowsLanguageName
System.Globalization.CultureInfo.TwoLetterISOLanguageName
EnumSystemLocales システムにインストールされているか、システムでサポートされているロケールを列挙します。 System.Globalization.CultureInfo.GetCultures(System.Globalization.CultureTypes.SpecificCultures)
System.Globalization.CultureInfo.GetCultures(System.Globalization.CultureTypes.InstalledWin32Cultures)
EnumTimeFormats 指定したロケールで使用できる時刻形式を列挙します。 System.DateTime.GetDateTimeFormats
EnumTimeFormatsProc EnumTimeFormats で使用されるアプリケーション定義関数。 EnumTimeFormats と同じ
GetACP システムの現在の ANSI コード ページ識別子を取得します。 System.Globalization.CultureInfo.InstalledUICulture.TextInfo.ANSICodePage
GetCalendarInfo 予定表に関する情報を取得します。 System.Globalization.CultureInfo.DateTimeFormat
GetCurrencyFormat 指定したロケールの通貨文字列として数値文字列を書式設定します。 コンストラクターを使用して、カルチャ名または識別子を指定して System.Globalization.CultureInfo オブジェクトを作成します (または 、System.Threading.Thread.CurrentCulture で使用できるアプリケーションの現在のカルチャを使用します)。
system.Convert.ToDouble(str) を呼び出します。str は書式設定する数値文字列です。
次に 、System.Double.ToString("C", ci) (または System.Double.ToString("C") を呼び出して現在のカルチャを使用します。ここで 、C は標準通貨書式指定子、 ci は作成した CultureInfo オブジェクトです

メモ.NET Frameworkで使用できるさまざまな書式設定オプションの詳細については、「System.String.Format」を参照してください。

GetDateFormat 指定したロケールの日付文字列として日付を書式設定します。 System.DateTime(...、CultureInfo(LCID)。予定表)。Tostring
GetLocaleInfo ロケールに関する情報を取得します。 System.Globalization.CultureInfo.DateTimeFormat
System.Globalization.CultureInfo.NumberFormat
System.Globalization.CultureInfo.TextInfo
GetNumberFormat 指定したロケール用にカスタマイズされた数値文字列として数値文字列を書式設定します。 コンストラクターを使用して、カルチャ名または識別子を指定して System.Globalization.CultureInfo オブジェクトを作成します (または 、System.Threading.Thread.CurrentCulture で使用できるアプリケーションの現在のカルチャを使用します)。
System.Convert.ToDouble(str) を呼び出します。ここで、str は書式設定する数値文字列です。
次に 、System.Double.ToString("N", ci) (または System.Double.ToString("N") を 呼び出して現在のカルチャを使用します。 N は標準の数値書式指定子で 、ci は作成した CultureInfo オブジェクトです

メモ.NET Frameworkで使用できるさまざまな書式設定オプションの詳細については、「System.String.Format」を参照してください。

GetOEMCP システムの現在の元の機器製造元 (OEM) コード ページ識別子を取得します。 System.Globalization.CultureInfo.InstalledUICulture.TextInfo.OEMCodePage
GetSystemDefaultLangID システム ロケールの言語識別子を取得します。 System.Globalization.CultureInfo.InstalledUICulture
GetSystemDefaultLCID システムの既定のロケール識別子を取得します。 System.Globalization.CultureInfo.InstalledUICulture
GetSystemDefaultUILanguage システムの既定の言語の言語識別子を取得します。 System.Globalization.CultureInfo.InstalledUICulture
GetThreadLocale 呼び出し元スレッドの現在のロケールを取得します。 次のいずれかになります。
System.Globalization.CultureInfo.CurrentCulture
System.Threading.Thread.CurrentCulture
GetTimeFormat 指定したロケールの時刻文字列として時刻を書式設定します。 System.DateTime(...、CultureInfo(LCID)。予定表)。Tostring
GetUserDefaultLangID 現在のユーザー ロケールの言語識別子を取得します。 System.Globalization.CultureInfo.CurrentCulture
GetUserDefaultLCID ユーザーの既定のロケール識別子を取得します。 System.Globalization.CultureInfo.CurrentCulture
GetUserDefaultUILanguage 現在のユーザー言語の言語識別子を取得します。 System.Globalization.CultureInfo.CurrentUICulture
GetUserGeoID ユーザーの場所に関する情報を取得します。 System.Globalization.RegionInfo
IsValidCodePage 指定したコード ページが有効かどうかを判断します。 次の方法で返される CultureInfo オブジェクトの配列を使用します。
System.Globalization.CultureInfo.GetCultures(System.Globalization.CultureTypes.AllCultures)

System.Globalization.CultureInfo.TextInfo のコード ページ プロパティと比較する

IsValidLocale 指定したロケール識別子が有効かどうかを判断します。 try{ System.Globalization.CultureInfo(LCID) }
LCMapString 1 つの文字列を別の文字列にマップして、指定したロケールに依存する変換を実行します。 System.Globalization.SortKey
SetCalendarInfo カレンダーのロケール情報の項目を設定します。 System.Globalization.CultureInfo.DateTimeFormat
SetLocaleInfo ロケール情報の項目を設定します。 System.Globalization.CultureInfo.DateTimeFormat
System.Globalization.CultureInfo.NumberFormat
SetThreadLocale 呼び出し元スレッドの現在のロケールを設定します。 System.Threading.Thread.CurrentCulture

メモlangid のみを設定します。

Win32 カテゴリリストのアルファベット順
階層 Win32 カテゴリ リスト

描画関数と描画関数

Win32 関数 説明 .NET Framework API
BeginPaint 描画用のウィンドウを準備します。 System.Windows.Forms.Form.OnPaint
DrawFrameControl フレーム コントロールを描画します。 System.Window.Forms.ControlPaint
GetBkColor デバイス コンテキストの背景色を返します。 System.Windows.Forms.Form.BackColor
GetBkMode デバイス コンテキストのバックグラウンド ミックス モードを返します。 System.Windows.Forms.Form.GetStyle(ControlStyles.Opaque)
GetUpdateRect ウィンドウの更新領域を囲む最小の四角形の座標を取得します。 System.Windows.Forms.PaintEventArgs.ClipRectangle
GetWindowDC タイトル バー、メニュー、スクロール バーなど、ウィンドウのデバイス コンテキストを取得します。 次のいずれか:
System.Drawing.Graphics.FromHwnd(Windows.Forms.Control.Handle)
System.Windows.Forms.Control.CreateGraphics.GetHdc
System.Windows.Forms.PaintEventArgs.Graphics.GetHdc
GetWindowRgn ウィンドウのウィンドウ領域のコピーを取得します。 System.Windows.Forms.Control.Region
GrayString 場所に灰色のテキストを描画します。 System.Drawing.Graphics.DrawString(...、Drawing.Brushes.Gray、 ...)
InvalidateRect ウィンドウの更新領域に四角形を追加します。 System.Windows.Forms.Control.Invalidate
InvalidateRgn リージョン内のクライアント領域を無効にします。 System.Windows.Forms.Control.Invalidate(System.Windows.Forms.Form.ClientRectangle)
RedrawWindow ウィンドウのクライアント領域にリージョンを更新します。 System.Windows.Forms.Control.Update
SetBkColor 背景を色の値に設定します。 System.Windows.Forms.Form.BackColor
SetBkMode デバイス コンテキストのバックグラウンド ミックス モードを設定します。 System.Windows.Forms.Form.SetStyle(System.Windows.Forms.ControlStyles.Opaque, System.Boolean)
SetWindowRgn ウィンドウのウィンドウ領域を設定します。 System.Windows.Forms.Control.Region
UpdateWindow ウィンドウのクライアント領域を更新します。 System.Windows.Forms.Control.Update

Win32 カテゴリリストのアルファベット順
階層 Win32 カテゴリ リスト

Path 関数

Win32 関数 説明 .NET Framework API
CloseFigure パス内の開いている図形を閉じます。 System.Drawing.Drawing2D.GraphicsPath.CloseFigure
FillPath 現在のパス内の開いている図形を閉じ、現在のブラシとポリゴン塗りつぶしモードを使用してパスの内部を塗りつぶします。 System.Drawing.Graphics.FillPath
System.Drawing.Drawing2D.GraphicsPath.CloseFigures
FlattenPath 現在のデバイス コンテキストに選択されているパス内のすべての曲線を変換し、各曲線を一連の線に変換します。 System.Drawing.Drawing2D.GraphicsPath.Flatten
GetMiterLimit 指定したデバイス コンテキストのマイター制限を取得します。 System.Drawing.Pen.MiterLimit
GetPath 指定したデバイス コンテキストで選択されたパス内の曲線の端点とコントロール ポイントを定義する座標を取得します。 System.Drawing.Drawing2D.GraphicsPath.PathData
PathToRegion 指定したデバイス コンテキストに選択されたパスからリージョンを作成します。 System.Drawing.Region.Region(System.Drawing.Drawing2D.GraphicsPath)
SetMiterLimit 指定したデバイス コンテキストのマイター結合の長さの制限を設定します。 System.Drawing.Pen.MiterLimit
StrokeAndFillPath パス内の開いている図形を閉じ、現在のペンを使用してパスの輪郭をストロークし、現在のブラシを使用してその内部を塗りつぶします。 System.Drawing.Graphics.DrawPath
System.Drawing.Graphics.FillPath
System.Drawing.Drawing2D.GraphicsPath.CloseFigures
StrokePath 現在のペンを使用して、指定したパスをレンダリングします。 System.Drawing.Graphics.DrawPath
WidenPath 現在のパスを、特定のデバイス コンテキストで現在選択されているペンを使用してパスがストロークされた場合に描画される領域として再定義します。 System.Drawing.Drawing2D.GraphicsPath.Widen

Win32 カテゴリリストのアルファベット順
階層 Win32 カテゴリ リスト

ペン関数

Win32 関数 説明 .NET Framework API
Createpen 指定したスタイル、幅、色を持つ論理ペンを作成します。 System.Drawing.Pen コンストラクター
ExtCreatePen 指定したスタイル、幅、ブラシ属性を持つ論理的な外観または幾何学的なペンを作成します。 System.Drawing.Pen コンストラクター

Win32 カテゴリリストのアルファベット順
階層 Win32 カテゴリ リスト

パフォーマンス監視関数

Win32 関数 説明 .NET Framework API
PdhAddCounter 指定したクエリで、指定したカウンターのカウンター構造を初期化します。 System.Diagnostics.PerformanceCounter コンストラクター
PdhCalculateCounterFromRawValue パラメーター リストで渡された生カウンター データを使用して、カウンターの現在の値を計算します。 System.Diagnostics.CounterSample.Calculate
PdhCloseLog 指定したログ ファイルを閉じます。 System.Diagnostics.EventLog.Close
PdhCloseQuery 指定したクエリに含まれるすべてのカウンターを閉じ、クエリに関連するすべてのハンドルを閉じ、クエリに関連付けられているすべてのメモリを解放します。 System.Diagnostics.PerformanceCounterCategory.Delete
PdhCollectQueryData 指定したクエリ内のすべてのカウンターの現在の生データ値を収集し、各カウンターの状態コードを更新します。 System.Diagnostics.PerformanceCounterCategory.ReadCategory
PdhEnumObjectItems 指定したコンピューター上の指定したオブジェクトによって提供される使用可能なカウンターとインスタンスを返します。 System.Diagnostics.PerformanceCounterCategory.GetCounters
System.Diagnostics.PerformanceCounterCategory.GetInstanceNames
PdhEnumObjects 指定したコンピューターで使用できるオブジェクトの一覧を返します。 System.Diagnostics.PerformanceCounterCategory.GetCategories
PdhFormatFromRawValue 形式変換が時間ベースの場合は、1 つの生パフォーマンス データ値を指定された形式に変換するか、2 つの生パフォーマンス データ値に変換します。 System.Diagnostics.CounterSample.Calculate
PdhGetCounterInfo データ サイズ、カウンターの種類、パス、ユーザー指定のデータ値など、カウンターに関する情報を取得します。 System.Diagnostics.PerformanceCounter プロパティ
PdhGetCounterTimeBase 指定したカウンターの時間ベースを返します。 System.Diagnostics.CounterSample.CounterFrequency
PdhGetFormattedCounterValue 指定したカウンターの現在の値を、呼び出し元が要求した形式で返します。 System.Diagnostics.PerformanceCounter.NextValue
PdhGetRawCounterArray 指定したカウンターから生の値の配列を返します。 System.Diagnostics.PerformanceCounterCategory.ReadCategory
PdhGetRawCounterValue カウンターの現在の生の値を返します。 System.Diagnostics.PerformanceCounter.NextSample

System.Diagnostics.InstanceData は生データを保持します。

PdhMakeCounterPath パラメーター リストで渡される構造体で指定されたメンバーを使用して、完全なカウンター パスを作成します。 次のすべて:

System.Diagnostics.PerformanceCounter.MachineName
System.Diagnostics.PerformanceCounter.CategoryName
System.Diagnostics.PerformanceCounter.InstanceName
System.Diagnostics.PerformanceCounter.CounterName

PdhOpenLog 指定したログ ファイルを開きます。 System.Diagnotics.EventLog コンストラクター

メモログ ファイルへの書き込みを明示的に処理する必要があります。

PdhOpenQuery パフォーマンス データのコレクションを管理するために使用される一意のクエリ構造を作成および初期化します。 System.Diagnostics.PerformanceCounterCategory コンストラクター
PdhValidatePath カウンター パスで指定されたコンピューターに、指定したカウンターが存在することを検証します。 次のいずれかになります。
System.Diagnostics.PerformanceCounterCategory.Exists
System.Diagnostics.PerformanceCounterCategory.InstanceExists

Win32 カテゴリリストのアルファベット順
階層 Win32 カテゴリ リスト

印刷関数

印刷に使用される関数:

Win32 関数 説明 .NET Framework API
Abortdoc 現在の印刷ジョブを停止し、 StartDoc の最後の呼び出し以降に描画されたすべてを消去します。 System.Drawing.Printing.PrintPageEventArgs.Cancel
DeviceCapabilities プリンター デバイス ドライバーの機能を取得します。 System.Drawing.Printing.PrinterSettings.PrinterName
System.Drawing.Printing.PrinterSettings
プロパティ
EndDoc 印刷ジョブを終了します。 次のいずれかになります。
System.Drawing.Printing.PrintDocument.OnEndPrint
System.Drawing.Printing.PrintController.OnEndPrint
EndPage アプリケーションがページへの書き込みを完了したことをデバイスに通知します。 System.Drawing.Printing.PrintController.OnEndPage
Startdoc 印刷ジョブを開始します。 System.Drawing.Printing.PrintDocument.Print
System.Drawing.Printing.PrintDocument.OnBeginPrint
System.Drawing.Printing.PrintController.OnStartPrint
StartPage データを受け入れるようにプリンター ドライバーを準備します。 System.Drawing.Printing.PrintDocument.OnQueryPageSettings
System.Drawing.Printing.PrintController.OnStartPage
System.Drawing.Printing.PrintDocument.OnPrintPage

印刷スプーラーへのアクセスに使用される関数:

Win32 関数 説明 .NET Framework API
DocumentProperties プリンターの初期化情報を取得または変更するか、指定したプリンターのプリンター構成プロパティ シートを表示します。 System.Windows.Forms.PageSetupDialog
System.Windows.Forms.PrintDialog
EndPagePrinter 印刷ジョブのページの最後にアプリケーションがあることを印刷スプーラーに通知します。 System.Drawing.Printing.PrintPageEventArgs.HasMorePages
EnumForms 指定したプリンターでサポートされているフォームを列挙します。 System.Drawing.Printing.PrinterSettings.PaperSizes
EnumPrinters 使用可能なプリンター、プリント サーバー、ドメイン、または印刷プロバイダーを列挙します。 System.Drawing.Printing.PrinterSettings.InstalledPrinters
GetDefaultPrinter ローカル コンピューター上の現在のユーザーの既定のプリンターのプリンター名を取得します。 System.Drawing.Printing.PrinterSettings コンストラクター
System.Drawing.Printing.PrinterSettings.PrinterName
GetForm 指定したフォームに関する情報を取得します。 System.Drawing.Printing.PrinterSettings.PaperSizes[]
GetPrinter 指定したプリンターに関する情報を取得します。 System.Drawing.Printing.PrinterSettings.PrinterName
System.Drawing.Printing.PrinterSettings
プロパティ
PrinterProperties 指定したプリンターの printer-properties プロパティ シートを表示します。 System.Windows.Forms.PageSetupDialog
System.Windows.Forms.PrintDialog
SetPrinter 印刷の一時停止、印刷の再開、またはすべての印刷ジョブのクリアによって、指定したプリンターのデータを設定するか、指定したプリンターの状態を設定します。 System.Drawing.Printing.PrinterSettings.PrinterName
System.Drawing.Printing.PrinterSettings
プロパティ

Win32 カテゴリ リストのアルファベット順
階層 Win32 カテゴリ リスト

プロセス関数とスレッド関数

プロセスで使用される関数:

Win32 関数 説明 .NET Framework API
CreateProcess 新しいプロセスとそのプライマリ スレッドを作成します。 System.Diagnostics.Process コンストラクター
System.Diagnostics.Process.Start
ExitProcess プロセスとそのすべてのスレッドを終了します。 System.Diagnostics.Process.CloseMainWindow
GetCommandLine 現在のプロセスのコマンド ライン文字列を取得します。 次のいずれかになります。
System.Environment.CommandLine
System.Diagnostics.ProcessStartInfo.Arguments
GetCurrentProcess 現在のプロセスの擬似ハンドルを取得します。 System.Diagnostics.Process.Handle
GetCurrentProcessId 呼び出し元プロセスのプロセス識別子を取得します。 System.Diagnostics.Process.Id
GetEnvironmentStrings 現在のプロセスの環境ブロックを取得します。 System.Diagnostics.ProcessStartInfo.EnvironmentVariables
GetEnvironmentVariable 呼び出しプロセスの環境ブロックから、指定した変数の値を取得します。 System.Diagnostics.ProcessStartInfo.EnvironmentVariables[]
GetExitCodeProcess 指定したプロセスの終了状態を取得します。 System.Diagnostics.Process.ExitCode
GetPriorityClass 指定したプロセスの優先度クラスを取得します。 System.Diagnostics.Process.PriorityClass
GetProcessAffinityMask 指定したプロセスのプロセス アフィニティ マスクと、システムのシステム アフィニティ マスクを取得します。 System.Diagnostics.Process.ProcessorAffinity
GetProcessPriorityBoost 指定したプロセスの優先度ブースト制御状態を取得します。 System.Diagnostics.Process.PriorityBoostEnabled
GetProcessTimes 指定したプロセスのタイミング情報を取得します。 System.Diagnostics.Process.ExitTime
System.Diagnostics.Process.PrivilegedProcessorTime
System.Diagnostics.Process.StartTime
System.Diagnostics.Process.TotalProcessorTime
System.Diagnostics.Process.UserProcessorTime
GetProcessWorkingSetSize 指定したプロセスのワーキング セットの最小サイズと最大サイズを取得します。 System.Diagnostics.Process.MinWorkingSet
System.Diagnostics.Process.MaxWorkingSet
GetStartupInfo 呼び出し元プロセスの作成時に指定された STARTUPINFO 構造体の内容を取得します。 System.Diagnostics.Process.StandardError
System.Diagnostics.Process.StandardInput
System.Diagnostics.Process.StandardOutput
System.Diagnostics.Process.StartInfo.WindowStyle
OpenProcess 既存のプロセス オブジェクトを開きます。 System.Diagnostics.Process.GetProcessById
SetEnvironmentVariable 現在のプロセスの環境変数の値を設定します。 System.Diagnostics.ProcessStartInfo.EnvironmentVariables[]
SetPriorityClass 指定したプロセスの優先度クラスを設定します。 System.Diagnostics.Process.PriorityClass
SetProcessAffinityMask 指定したプロセスのスレッドのプロセッサ アフィニティ マスクを設定します。 System.Diagnostics.Process.ProcessorAffinity
SetProcessPriorityBoost 指定したプロセスのスレッドの優先度を一時的に高めるシステムの機能を無効にします。 System.Diagnostics.Process.PriorityBoostEnabled
SetProcessWorkingSetSize 指定したプロセスのワーキング セットの最小サイズと最大サイズを設定します。 System.Diagnostics.Process.MaxWorkingSet
System.Diagnostics.Process.MinWorkingSet
TerminateProcess 指定したプロセスとそのすべてのスレッドを終了します。 System.Diagnostics.Process.Kill

スレッドで使用される関数:

Win32 関数 説明 .NET Framework API
CreateThread 呼び出し元プロセスの仮想アドレス空間内で実行するスレッドを作成します。 System.Threading.Thread コンストラクター
System.Threading.Thread.Start
GetCurrentThread 現在のスレッドの擬似ハンドルを取得します。 System.Threading.Thread.CurrentThread
GetCurrentThreadId 呼び出し元スレッドのスレッド識別子を取得します。 次のいずれかになります。
System.AppDomain.GetCurrentThreadId
System.Diagnostics.ProcessThread.Id
GetThreadPriority 指定したスレッドの優先度値を取得します。 次のいずれかになります。
System.Diagnostics.ProcessThread.PriorityLevel
System.Threading.Thread.Priority
GetThreadPriorityBoost 指定したスレッドの優先度ブースト制御状態を取得します。 System.Diagnostics.ProcessThread.PriorityBoostEnabled
GetThreadTimes 指定したスレッドのタイミング情報を取得します。 System.Diagnostics.ProcessThread.PrivilegedProcessorTime
System.Diagnostics.ProcessThread.StartTime
System.Diagnostics.ProcessThread.TotalProcessorTime
System.Diagnostics.ProcessThread.UserProcessorTime
ResumeThread スレッドの中断カウントをデクリメントします。 System.Threading.Thread.Resume
SetThreadAffinityMask 指定したスレッドのプロセッサ アフィニティ マスクを設定します。 System.Diagnostics.ProcessThread.ProcessorAffinity
SetThreadIdealProcessor スレッドの優先プロセッサを指定します。 System.Diagnostics.ProcessThread.IdealProcessor
SetThreadPriority 指定したスレッドの優先度値を設定します。 次のいずれかになります。
System.Diagnostics.ProcessThread.PriorityLevel
System.Threading.Thread.Priority
SetThreadPriorityBoost システムがスレッドの優先度を一時的に昇格させる機能を有効または無効にします。 System.Diagnostics.ProcessThread.PriorityBoostEnabled
Sleep 指定した間隔で現在のスレッドの実行を中断します。 System.Threading.Thread.Sleep
SuspendThread 指定したスレッドを中断します。 System.Threading.Thread.Suspend
SwitchToThread 呼び出し元のスレッドから、現在のプロセッサ上で実行する準備が整っている別のスレッドに実行を切り替えます。 System.Threading.Thread.Sleep(0)
TerminateThread スレッドを終了します。 System.Threading.Thread.Abort
ThreadProc スレッドの開始アドレスとして機能するアプリケーション定義関数。 「System.Threading.ThreadStart デリゲート」を参照してください。
TlsAlloc スレッド ローカル ストレージ (TLS) インデックスを割り当てます。 System.Threading.Thread.AllocateNamedDataSlot
TlsFree TLS インデックスを解放します。 System.Threading.Thread.FreeNamedDataSlot
TlsGetValue 指定した TLS インデックスの呼び出し元スレッドの TLS スロット内の値を取得します。 System.Threading.Thread.GetData
TlsSetValue 指定した TLS インデックスの呼び出し元スレッドの TLS スロットに値を格納します。 System.Threading.Thread.SetData
WaitForInputIdle 指定されたプロセスが、保留中の入力がないユーザー入力を待機するか、タイムアウト間隔が経過するまで待機します。 System.Diagnostics.Process.WaitForInputIdle

スレッド プールで使用される関数:

Win32 関数 説明 .NET Framework API
BindIoCompletionCallback 指定したファイル ハンドルをスレッド プールの I/O 完了ポートにバインドします。 System.Threading.ThreadPool.BindHandle
QueueUserWorkItem スレッド プール内のワーカー スレッドに作業項目をキューに入れます。 System.Threading.ThreadPool.QueueUserWorkItem
System.Threading.ThreadPool.UnsafeQueueUserWorkItem

Win32 カテゴリ リストのアルファベット順
階層 Win32 カテゴリ リスト

PSAPI 関数

Win32 関数 説明 .NET Framework API
EnumProcesses システム内の各プロセス オブジェクトのプロセス識別子を取得します。 System.Diagnostics.Process.GetProcesses
EnumProcessModules 指定したプロセス内の各モジュールのハンドルを取得します。 System.Diagnostics.Process.Modules
GetModuleBaseName 指定したモジュールのベース名を取得します。 System.Diagnostics.ProcessModule.ModuleName
GetModuleFileNameEx 指定したモジュールの完全修飾パスを取得します。 次のいずれかになります。
System.Diagnostics.ProcessModule.FileName
System.Reflection.Module.FullyQualifiedName
GetModuleInformation 指定したモジュールに関する情報を取得します。 System.Diagnostics.ProcessModule
GetProcessMemoryInfo 指定したプロセスのメモリ使用量に関する情報を取得します。 System.Diagnostics.Process.PagedMemorySize
System.Diagnostics.Process.PeakPagedMemorySize
System.Diagnostics.Process.PeakWorkingSet
System.Diagnostics.Process.WorkingSet

Win32 カテゴリ リストのアルファベット順
階層 Win32 カテゴリ リスト

四角形関数

Win32 関数 説明 .NET Framework API
EqualRect 左上隅と右下隅の座標を比較して、指定した 2 つの四角形が等しいかどうかを判断します。 System.Drawing.Rectangle.Equals
InflateRect 指定した四角形の幅と高さを増減します。 System.Drawing.Rectangle.Inflate
IntersectRect 2 つのソース四角形の交差部分を計算し、交差する四角形の座標を移動先の四角形に配置します。 System.Drawing.Rectangle.Intersect
IsRectEmpty 指定した四角形が空かどうかを判断します。 System.Drawing.Rectangle.IsEmpty
OffsetRect 指定した四角形を指定したオフセットだけ移動します。 System.Drawing.Rectangle.Offset
PtInRect 指定した点が指定した四角形内にあるかどうかを判断します。 System.Drawing.Rectangle.Contains
Setrect 指定した四角形の座標を設定します。 System.Drawing.Rectangle.FromLTRB
SetRectEmpty すべての座標が 0 に設定されている空の四角形を作成します。 System.Drawing.Rectangle.FromLTRB
UnionRect 2 つの四角形の和集合を作成します。 System.Drawing.Rectangle.Union

Win32 カテゴリ リストのアルファベット順
階層 Win32 カテゴリ リスト

リージョン関数

Win32 関数 説明 .NET Framework API
CombineRgn 2 つのリージョンを結合し、結果を 3 番目のリージョンに格納します。 System.Drawing.Region.Clone
System.Drawing.Region.Exclude
System.Drawing.Region.Intersect
System.Drawing.Region.Union
System.Drawing.Region.Xor
CreateEllipticRgn 楕円領域を作成します。 System.Drawing.Drawing2D.GraphicsPath コンストラクター
System.Drawing.Drawing2D.GraphicsPath.AddEllipse
System.Drawing.Region.Region(System.Drawing.Drawing2D.GraphicsPath)
CreateEllipticRgnIndirect 楕円領域を作成します。 System.Drawing.Drawing2D.GraphicsPath コンストラクター
System.Drawing.Drawing2D.GraphicsPath.AddEllipse
System.Drawing.Region.Region(System.Drawing.Drawing2D.GraphicsPath)
CreatePolygonRgn 多角形領域を作成します。 System.Drawing.Drawing2D.GraphicsPath コンストラクター
System.Drawing.Drawing2D.GraphicsPath.AddPolygon
System.Drawing.Region.Region(System.Drawing.Drawing2D.GraphicsPath)
CreatePolyPolygonRgn 一連のポリゴンで構成される領域を作成します。 System.Drawing.Drawing2D.GraphicsPath コンストラクター
System.Drawing.Drawing2D.GraphicsPath.AddPolygon
System.Drawing.Region.Region(System.Drawing.Drawing2D.GraphicsPath)
CreateRectRgnIndirect 四角形の領域を作成します。 System.Drawing.Region.Region(System.Drawing.Rectangle)
CreateRoundRectRgn 角が丸い四角形の領域を作成します。 System.Drawing.Drawing2D.GraphicsPath.AddLines
System.Drawing.Pen.LineJoin = System.Drawing.Drawing2D.LineJoin.Round
EqualRgn 指定した 2 つの領域が同一かどうかを確認します。 System.Drawing.Region.Equals
ExtCreateRegion 指定したリージョンと変換データからリージョンを作成します。 System.Drawing.Region.Transform
FillRgn 指定したブラシを使用して領域を塗りつぶします。 System.Drawing.Graphics.FillRegion
GetPolyFillMode 現在のポリゴン塗りつぶしモードを取得します。 System.Drawing.Drawing2D.GraphicsPath.FillMode
GetRegionData 指定したバッファーに、領域を記述するデータを入力します。 System.Drawing.Region.GetRegionData
GetRgnBox 指定した領域の外接する四角形を取得します。 System.Drawing.Region.GetBounds
OffsetRgn 指定したオフセットで領域を移動します。 System.Drawing.Region.Translate
PtInRegion 指定したポイントが指定した領域内にあるかどうかを判断します。 System.Drawing.Region.IsVisible
RectInRegion 指定した四角形の任意の部分が領域の境界内にあるかどうかを判断します。 System.Drawing.Region.IsVisible
SetPolyFillMode 多角形を塗りつぶす関数の多角形塗りつぶしモードを設定します。 System.Drawing.Drawing2D.GraphicsPath.FillMode

Win32 カテゴリリストのアルファベット順
階層 Win32 カテゴリ リスト

レジストリ関数

Win32 関数 説明 .NET Framework API
RegCloseKey 指定したレジストリ キーへのハンドルを解放します。 Microsoft.Win32.RegistryKey.Close
RegConnectRegistry 別のコンピューター上の定義済みのレジストリ ハンドルへの接続を確立します。 Microsoft.Win32.RegistryKey.OpenRemoteBaseKey
RegCreateKeyEx 指定したレジストリ キーが作成されます。 Microsoft.Win32.RegistryKey.CreateSubKey
RegDeleteKey サブキーを削除します。 Microsoft.Win32.RegistryKey.DeleteSubKeyTree
RegDeleteValue 指定したレジストリ キーから名前付き値を削除します。 Microsoft.Win32.RegistryKey.DeleteValue
RegEnumKeyEx 指定した開いているレジストリ キーのサブキーを列挙します。 Microsoft.Win32.RegistryKey.GetSubKeyNames
RegEnumValue 指定した開いているレジストリ キーの値を列挙します。 Microsoft.Win32.RegistryKey.GetValueNames
Microsoft.Win32.RegistryKey.GetValue
RegFlushKey 指定したオープン レジストリ キーのすべての属性をこのレジストリへ書き込みます。 Microsoft.Win32.RegistryKey.Flush
RegOpenCurrentUser 現在のスレッドが偽装しているユーザーの HKEY_CURRENT_USER キーへのハンドルを取得します。 Microsoft.Win32.Registry.CurrentUser
RegOpenKeyEx 指定したレジストリ キーが開きます。 Microsoft.Win32.RegistryKey.OpenSubKey
RegOpenUserClassesRoot 指定したユーザーの HKEY_CLASSES_ROOT キーへのハンドルを取得します。 Microsoft.Win32.Registry.ClassesRoot
RegQueryInfoKey 指定したレジストリ キーに関する情報を取得します。 Microsoft.Win32.RegistryKey.SubKeyCount
Microsoft.Win32.RegistryKey.ValueCount
RegQueryValueEx 開いているレジストリ キーに関連付けられている指定した値名の型とデータを取得します。 Microsoft.Win32.RegistryKey.GetValue
RegSetValueEx レジストリ キーの下にある指定した値のデータと型を設定します。 Microsoft.Win32.RegistryKey.SetValue

Win32 カテゴリリストのアルファベット順
階層 Win32 カテゴリ リスト

リソース関数

Win32 関数 説明 .NET Framework API
CopyImage 新しいアイコン、カーソル、またはビットマップを作成し、古いアイコンの属性を新しいアイコンにコピーします。 System.Drawing.Image.Clone
EnumResNameProc EnumResourceNames で使用されるアプリケーション定義のコールバック関数。 System.Resources.ResourceReader.GetEnumerator
EnumResourceNames 指定した型のリソースを検索し、名前または ID をコールバック関数に渡します。 System.Resources.ResourceReader.GetEnumerator
Loadimage アイコン、カーソル、またはビットマップを読み込みます。 System.Drawing.Bitmap.Bitmap(System.Type, System.String)
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

Win32 カテゴリリストのアルファベット順
階層 Win32 カテゴリ リスト

リッチ エディット コントロール関数

Win32 Funtion 説明 .NET Framework API
EditStreamCallback EM_STREAMINメッセージとEM_STREAMOUT メッセージで使用されるアプリケーション定義のコールバック関数。 System.Windows.Forms.RichTextBox.LoadFile
System.Windows.Forms.RichTextBox.RichTextBox.SaveFile

メモコールバック関数ではありません。

Win32 カテゴリリストのアルファベット順
階層 Win32 カテゴリ リスト

スクロール バー関数

Win32 関数 説明 .NET Framework API
EnableScrollBar 一方または両方のスクロール バー矢印を有効または無効にします。 System.Windows.Forms.ScrollBar.Enabled

メモ組み込みのスクロール バー (自動スクロール) を有効または無効にすることはできません。

GetScrollBarInfo 指定されたスクロール バーの情報を取得します。 System.Windows.Forms.ScrollBar.Value
System.Windows.Forms.ScrollEventArgs.Type
GetScrollInfo スクロール バーのパラメーターを取得します。 System.Windows.Forms.ScrollBar.Maximum
System.Windows.Forms.ScrollBar.Minimum
System.Windows.Forms.ScrollBar.Value
GetScrollPos スクロール ボックスの現在位置を取得します。 System.Windows.Forms.ScrollBar.Value
GetScrollRange 現在の最小スクロール ボックス位置と最大スクロール ボックス位置を取得します。 System.Windows.Forms.ScrollBar.Minimum
System.Windows.Forms.ScrollBar.Maximum
SetScrollInfo スクロール バーのパラメーターを設定します。 System.Windows.Forms.ScrollBar.Maximum
System.Windows.Forms.ScrollBar.Minimum
System.Windows.Forms.ScrollBar.Value
SetScrollPos スクロール ボックスの位置を設定します。 System.Windows.Forms.ScrollBar.Value
SetScrollRange スクロール ボックスの最小位置と最大位置を設定します。 System.Windows.Forms.ScrollBar.Minimum
System.Windows.Forms.ScrollBar.Maximum
ShowScrollBar 指定したスクロール バーを表示または非表示にします。 次のいずれか:
System.Windows.Forms.Form.AutoScroll
System.Windows.Forms.HScrollBar
コンストラクター
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
コンストラクター

Win32 カテゴリリストのアルファベット順
階層 Win32 カテゴリ リスト

サービス関数

サービスによって実装される関数:

Win32 関数 説明 .NET Framework API
Handler RegisterServiceCtrlHandler で使用されるアプリケーション定義のコールバック関数。 次のすべて:
System.ServiceProcess.ServiceBase.OnContinue
System.ServiceProcess.ServiceBase.OnCustomCommand
ServiceProcess.ServiceBase.OnPause
System.ServiceProcess.ServiceBase.OnShutdown
System.ServiceProcess.ServiceBase.OnStop
HandlerEx RegisterServiceCtrlHandlerEx で使用されるアプリケーション定義のコールバック関数。 次のすべて:
System.ServiceProcess.ServiceBase.OnContinue
System.ServiceProcess.ServiceBase.OnCustomCommand
System.ServiceProcess.ServiceBase.OnPause
System.ServiceProcess.ServiceBase.OnPowerEvent
System.ServiceProcess.ServiceBase.OnShutdown
System.ServiceProcess.ServiceBase.OnStop
ServiceMain サービスのエントリ ポイントとして機能するアプリケーション定義関数。 System.ServiceProcess.ServiceBase.Run

サービスを制御または構成するプログラムによって使用される関数:

Win32 関数 説明 .NET Framework API
ChangeServiceConfig サービスの構成パラメーターを変更します。 System.ServiceProcess.ServiceController.DisplayName
CloseServiceHandle 指定したハンドルをサービス コントロール マネージャー オブジェクトまたはサービス オブジェクトに閉じます。 System.ServiceProcess.ServiceController.Close
ControlService コントロール コードをサービスに送信します。 System.ServiceProcess.ServiceController.Continue
System.ServiceProcess.ServiceController.Pause
System.ServiceProcess.ServiceController.Stop
CreateService サービス オブジェクトを作成し、指定したサービス コントロール マネージャー データベースに追加します。 System.ServiceProcess.ServiceBase.ServiceName
System.ServiceProcess.ServiceInstaller.Install
DeleteService 指定したサービスをサービス コントロール マネージャー データベースから削除するマークを付けます。 System.ServiceProcess.ServiceInstaller.Uninstall
EnumDependentServices 指定したサービスに依存する各サービスの名前と状態を取得します。 System.ServiceProcess.ServiceController.DependentServices
EnumServicesStatus 指定したサービス コントロール マネージャー データベース内のサービスを列挙します。 System.ServiceProcess.ServiceController.GetServices
GetServiceDisplayName 指定したサービスの表示名を取得します。 System.ServiceProcess.ServiceController.DisplayName
GetServiceKeyName 指定したサービスの名前を取得します。 System.ServiceProcess.ServiceBase.ServiceName
System.ServiceProcess.ServiceController.ServiceName
OpenService 既存のサービスを開きます。 System.ServiceProcess.ServiceController コンストラクター
QueryServiceConfig 指定したサービスの構成パラメーターを取得します。 System.ServiceProcess.ServiceController.DisplayName
System.ServiceProcess.ServiceController.ServicesDependedOn
System.ServiceProcess.ServiceController.ServiceName
System.ServiceProcess.ServiceController.ServiceType
QueryServiceStatus 指定したサービスの現在の状態を取得します。 System.ServiceProcess.ServiceController.Status
StartService サービスを開始します。 System.ServiceProcess.ServiceController.Start

Win32 カテゴリ リストのアルファベット順
階層 Win32 カテゴリ リスト

文字列関数

Win32 関数 説明 .NET Framework API
CharLower 文字列または 1 つの文字を小文字に変換します。 System.String.ToLower
CharNext 文字列内の次の文字へのポインターを取得します。 System.String.GetEnumerator.MoveNext
CharUpper 文字列または 1 つの文字を大文字に変換します。 System.String.ToUpper
[CompareString] 指定したロケールを使用して、2 つの文字列を比較します。 System.String.Compare
IsCharAlpha 文字がアルファベット文字かどうかを判断します。 System.Char.IsLetter
IsCharAlphaNumeric 文字がアルファベット文字か数字かを指定します。 System.Char.IsLetterOrDigit
IsCharLower 文字が小文字かどうかを判断します。 System.Char.IsLower
IsCharUpper 文字が大文字かどうかを判断します。 System.Char.IsUpper
LoadString 指定したモジュールに関連付けられている実行可能ファイルから文字列リソースを読み込みます。 System.Resources.ResourceManager.GetString
lstrcat 1 つの文字列を別の文字列に追加します。 System.String.Concat

メモ.NET Frameworkでは、文字列は変更できません。 文字列を変更するように見えるメソッドは、実際には新しい文字列を返します。

lstrcmp 2 つの文字列を比較します。 System.String.Compare
lstrcmpi 2 つの文字列を比較します。 System.String.Compare
lstrcpy 文字列をバッファーにコピーします。 System.String.ToCharArray
lstrcpyn 指定した文字数をソース文字列からバッファーにコピーします。 System.String.CopyTo
System.String.ToCharArray
lstrlen 指定した文字列の長さを取得します (終端の null 文字は含まれません)。 System.String.Length
wsprintf 一連の文字と値を書式設定してバッファーに格納します。 System.String.Format
wvsprintf 一連の文字と値を書式設定してバッファーに格納します。 System.String.Format

Win32 カテゴリリストのアルファベット順
階層 Win32 カテゴリ リスト

構造化Exception-Handling関数

Win32 関数 説明 .NET Framework API
GetExceptionCode 発生した例外の型を識別するコードを取得します。 System.Exception.GetType
GetExceptionInformation 例外のマシンに依存しない説明と、例外が発生したときにスレッドに存在していたマシンの状態に関する情報を取得します。 System.Exception クラス
RaiseException 呼び出し元のスレッドで例外を発生させます。 System.Exception のインスタンスをスローする

Win32 カテゴリリストのアルファベット順
階層 Win32 カテゴリ リスト

同期関数

CriticalSection 関数:

Win32 関数 説明 .NET Framework API
EnterCriticalSection 指定したクリティカル セクション オブジェクトの所有権を待機します。 System.Threading.Monitor.Enter
LeaveCriticalSection 指定したクリティカル セクション オブジェクトの所有権を解放します。 System.Threading.Monitor.Exit
TryEnterCriticalSection ブロックせずにクリティカル セクションの入力を試します。 System.Threading.Monitor.TryEnter

イベント 関数:

Win32 関数 説明 .NET Framework API
CreateEvent 名前付きまたは名前のないイベント オブジェクトを作成または開きます。 次のいずれかになります。
System.Threading.AutoResetEvent
コンストラクター
System.Threading.ManualResetEvent
コンストラクター
ResetEvent 指定したイベント オブジェクトを非署名状態に設定します。 次のいずれかになります。
System.Threading.AutoResetEvent.Reset
System.Threading.ManualResetEvent.Reset
SetEvent 指定したイベント オブジェクトをシグナル状態に設定します。 次のいずれかになります。
System.Threading.AutoResetEvent.Set
System.Threading.ManualResetEvent.Set

インターロックされた 関数:

Win32 関数 説明 .NET Framework API
InterlockedCompareExchange 指定した値のアトミック比較を実行し、比較の結果に基づいて値を交換します。 System.Threading.Interlocked.CompareExchange
InterlockedCompareExchangePointer 比較の結果に基づいて、指定された値のアトミック比較と値の交換を実行します。 System.Threading.Interlocked.CompareExchange
InterlockedDecrement 指定した変数の値をデクリメント (1 ずつ減少) し、結果の値を確認します。 System.Threading.Interlocked.Decrement
InterlockedExchange 値のペアをアトミックに交換します。 System.Threading.Interlocked.Exchange
InterlockedIncrement 指定した変数の値をインクリメント (1 ずつ増加) し、結果の値を確認します。 System.Threading.Interlocked.Increment

ミューテックス 関数:

Win32 関数 説明 .NET Framework API
CreateMutex 名前付きまたは名前のないミューテックス オブジェクトを作成または開きます。 System.Threading.Mutex コンストラクター
OpenMutex 既存の名前付きミューテックス オブジェクトを開きます。 System.Threading.Mutex(false, string, name) コンストラクター
ReleaseMutex 指定したミューテックス オブジェクトの所有権を解放します。 System.Threading.Mutex.ReleaseMutex

待機 関数:

Win32 関数 説明 .NET Framework API
RegisterWaitForSingleObject オブジェクトで待機するようにスレッド プール内の待機スレッドを指示します。 System.Threading.ThreadPool.RegisterWaitForSingleObject
System.Threading.ThreadPool.UnsafeRegisterWaitForSingleObject
UnregisterWait 登録済みの待機操作を取り消します。 System.Threading.RegisteredWaitHandle.Unregister
WaitForMultipleObjects 指定したオブジェクトの指定した条件が満たされた場合に を返します。 次のいずれかになります。
System.Threading.WaitHandle.WaitAll
System.Threading.WaitHandle.WaitAny
WaitForSingleObject 指定したオブジェクトの指定した条件が満たされた場合に を返します。 System.Threading.WaitHandle.WaitOne
WaitOrTimerCallback 指定した条件が満たされた場合に を返します。 「System.Threading.WaitOrTimerCallback デリゲート」を参照してください。

WaitableTimer 関数:

Win32 関数 説明 .NET Framework API
CancelWaitableTimer 指定した待機可能タイマーを非アクティブ状態に設定します。 System.Threading.Timer.Change(System.Threading.Timeout.Infinite, System.Threading.Timeout.Infinite)
CreateWaitableTimer 待機可能タイマー オブジェクトを作成または開きます。 System.Threading.Timer コンストラクター
SetWaitableTimer 指定した待機可能タイマーをアクティブにします。 System.Threading.Timer コンストラクター
TimerAPCProc SetWaitableTimer で使用されるアプリケーション定義のタイマー補完ルーチン。 「System.Threading.TimerCallback デリゲート」を参照してください。

Win32 カテゴリ リストのアルファベット順
階層 Win32 カテゴリ リスト

システム情報関数

Win32 関数 説明 .NET Framework API
ExpandEnvironmentStrings 環境変数文字列を定義された値に置き換えます。 System.Environment.ExpandEnvironmentVariables
GetComputerName ローカル コンピューターの NetBIOS 名を取得します。 System.Environment.MachineName
System.Windows.Forms.SystemInformation.ComputerName
GetCurrentHwProfile ローカル コンピューターの現在のハードウェア プロファイルを取得します。 System.ManagementMicrosoft.Win32.RegistryKey を使用する
GetKeyboardType 現在のキーボードに関する情報を取得します。 System.Management.ManagementClass("Win32_Keyboard")
System.Management.ManagementClass.GetInstances
System.Management.ManagementObject.Properties
GetNativeSystemInfo WOW64 で実行されているアプリケーションの現在のシステムに関する情報を取得します。 System.Management.ManagementClass("Win32_Processor")
System.Management.ManagementClass.GetInstances
System.Management.ManagementObject.Properties
GetSysColor 表示要素の現在の色を取得します。 System.Drawing.SystemColors
GetSystemDirectory システム ディレクトリのパスを取得します。 System.Environment.SystemDirectory
GetSystemInfo 現在のシステムに関する情報を取得します。 System.Management.ManagementClass("Win32_Processor")
System.Management.ManagementClass.GetInstances
System.Management.ManagementObject.Properties
GetSystemMetrics システム メトリックと構成設定を取得します。 System.Windows.Forms.SystemInformation プロパティ
GetUserName 現在のスレッドのユーザー名を取得します。 System.Environment.UserName
Getversion オペレーティング システムのバージョン番号を取得します。 System.Environment.OSVersion
GetVersionEx 現在のオペレーティング システムのバージョン番号を取得します。 System.Environment.OSVersion
GetWindowsDirectory Windows ディレクトリのパスを取得します。 System.Management.ManagementClass("Win32_OperatingSystem")
System.Management.ManagementClass.GetInstances
System.Management.ManagementObject["WindowsDirectory"]。Tostring

Win32 カテゴリ リストのアルファベット順
階層 Win32 カテゴリ リスト

テープ バックアップ機能

Win32 関数 説明 .NET Framework API
GetTapeParameters テープまたはテープ ドライブを説明する情報を取得します。 System.Management.ManagementClass("MSTapeMediaCapacity")
System.Management.ManagementClass("Win32_TapeDrive")
System.Management.ManagementClass.GetInstances
System.Management.ManagementObject.Properties

Win32 カテゴリ リストのアルファベット順
階層 Win32 カテゴリ リスト

Text オブジェクト モデル関数

Win32 関数 説明 .NET Framework API
ITextDocument 文書内の任意のストーリーのアクティブな選択範囲と範囲オブジェクトを取得します。 System.Windows.Forms.RichTextBox
ITextFont [Microsoft Word フォント] ダイアログ ボックスの機能をカプセル化します。 System.Windows.Forms.RichTextBox
ITextPara [Microsoft Word 段落] ダイアログ ボックスの機能をカプセル化します。 System.Windows.Forms.RichTextBox
ITextRange アプリケーションでストーリー内のテキストを選択し、そのテキストを調べたり変更したりできます。 System.Windows.Forms.RichTextBox

Win32 カテゴリ リストのアルファベット順
階層 Win32 カテゴリ リスト

時間関数

Win32 関数 説明 .NET Framework API
GetSystemTime 現在のシステムの日付と時刻を UTC 形式で取得します。 System.DateTime.UtcNow
GetTimeFormat システム時刻を、指定したロケールの時刻文字列として書式設定します。 System.DateTime.ToString
SystemTimeToFileTime システム時刻をファイル時刻に変換します。 System.DateTime.ToFileTime
FileTimeToLocalFileTime UTC ファイル時刻をローカル ファイル時刻に変換します。 System.DateTime.ToFileTime
GetLocalTime 現在のローカルの日付と時刻を取得します。 System.DateTime.Now
GetTimeZoneInformation 現在のタイム ゾーン パラメーターを取得します。 System.TimeZone.CurrentTimeZone
CompareFileTime 2 つのファイル時刻を比較します。 System.DateTime.Compare
FileTimeToLocalFileTime UTC ファイル時刻をローカル ファイル時刻に変換します。 System.DateTime.ToLocalTime
FileTimeToSystemTime ファイル時刻をシステム時刻形式に変換します。 System.DateTime.ToUniversalTime
GetFileTime ファイルが作成され、最後にアクセスされ、最後に変更された日時を取得します。 次のいずれか:
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.LastWriteTime
GetSystemTimeAsFileTime 現在のシステムの日付と時刻を UTC 形式で取得します。 System.DateTime.UtcNow.ToFileTimeUtc
LocalFileTimeToFileTime ローカル ファイル時刻を UTC に基づいてファイル時刻に変換します。 System.DateTime.ToFileTimeUtc
SetFileTime ファイルが作成された日時、最後にアクセスされた日時、または最終変更日時を設定します。 次のいずれか:
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.LastWriteTime
SystemTimeToFileTime システム時刻をファイル時刻に変換します。 System.DateTime.ToFileTime
GetTickCount システムが開始されてから経過したミリ秒数を取得します。 System.Environment.TickCount

Win32 カテゴリ リストのアルファベット順
階層 Win32 カテゴリ リスト

タイマー関数

Win32 関数 説明 .NET Framework API
KillTimer 指定したタイマーを破棄します。 System.Threading.Timer.Dispose
System.Timers.Timer.Dispose
System.Windows.Forms.Timer.Dispose
QueryPerformanceCounter 高解像度パフォーマンス カウンターの現在の値を取得します。 System.Diagnostics.PerformanceCounter.NextValue
System.Diagnostics.PerformanceCounter.RawValue
QueryPerformanceFrequency 高解像度パフォーマンス カウンターの頻度を取得します。 System.Diagnostics.PerformanceCounter.CounterType
SetTimer 指定したタイムアウト値を持つタイマーを作成します。 次のいずれか:
System.Threading.Timer
コンストラクター
System.Timers.Timer
コンストラクター
System.Windows.Forms.Timer
コンストラクター
System.Windows.Forms.Timer.Interval
TimerProc メッセージを処理するアプリケーション定義のコールバック関数 WM_TIMER 次のいずれかになります。
System.Threading.TimerCallback
デリゲート
System.Timers.ElapsedEventHandler
デリゲート

Win32 カテゴリ リストのアルファベット順
階層 Win32 カテゴリ リスト

ツール ヘルプ関数

Win32 関数 説明 .NET Framework API
CreateToolhelp32Snapshot プロセスと、プロセスによって使用されるヒープ、モジュール、スレッドのスナップショットを受け取ります。 System.Diagnostics.Process.GetProcesses
System.Diagnostics.Process.Modules
System.Diagnostics.Process.Threads
Module32First プロセスに関連付けられている最初のモジュールに関する情報を取得します。 System.Diagnostics.Process.Modules
Module32Next プロセスまたはスレッドに関連付けられている次のモジュールに関する情報を取得します。 System.Diagnostics.Process.Modules
Process32First システム スナップショットで最初に検出されたプロセスに関する情報を取得します。 System.Diagnostics.Process.GetProcesses
Process32Next システム スナップショットに記録された次のプロセスに関する情報を取得します。 System.Diagnostics.Process.GetProcesses
Thread32First システム スナップショットで検出されたプロセスの最初のスレッドに関する情報を取得します。 System.Diagnostics.Process.Threads
Thread32Next システム メモリ スナップショットで発生したプロセスの次のスレッドに関する情報を取得します。 System.Diagnostics.Process.Threads

Win32 カテゴリ リストのアルファベット順
階層 Win32 カテゴリ リスト

Unicode 関数と文字セット関数

Win32 関数 説明 .NET Framework API
GetTextCharset 指定したデバイス コンテキストで現在選択されているフォントの文字セット識別子を取得します。 System.Drawing.Font.GdiCharSet

Win32 カテゴリ リストのアルファベット順
階層 Win32 カテゴリ リスト

ユーザー プロファイル関数

Win32 関数 説明 .NET Framework API
CreateEnvironmentBlock 指定したユーザーの環境変数を取得します。 Microsoft.Win32.Registry クラス
Microsoft.Win32.RegistryKey.OpenSubKey(name)。Getvalue
DeleteProfile 指定したコンピューターからユーザー プロファイルとすべてのユーザー関連の設定を削除します。 System.IO.Directory.Delete
Microsoft.Win32.Registry
Microsoft.Win32.RegistryKey.DeleteSubKey
ExpandEnvironmentStringsForUser 指定したユーザーに対して確立された環境ブロックを使用して、ソース文字列を展開します。 Microsoft.Win32.Registry クラス

Microsoft.Win32.RegistryKey.OpenSubKey(name)。GetValueNames を指定し、名前ごとに GetValue を呼び出します

GetAllUsersProfileDirectory すべてのユーザー プロファイルのルートへのパスを取得します。 Microsoft.Win32.Registry クラス
Microsoft.Win32.RegistryKey.OpenSubKey(name)。Getvalue
GetDefaultUserProfileDirectory 既定のユーザー プロファイルのルートへのパスを取得します。 Microsoft.Win32.Registry クラス
Microsoft.Win32.RegistryKey.OpenSubKey(name)。Getvalue
GetProfilesDirectory すべてのユーザー プロファイルが格納されているルート ディレクトリへのパスを取得します。 Microsoft.Win32.Registry クラス
Microsoft.Win32.RegistryKey.OpenSubKey(name)。Getvalue
GetUserProfileDirectory 指定したユーザーのプロファイルのルート ディレクトリへのパスを取得します。 Microsoft.Win32.Registry クラス
Microsoft.Win32.RegistryKey.OpenSubKey(name)。Getvalue

Win32 カテゴリ リストのアルファベット順
階層 Win32 カテゴリ リスト

バージョン情報関数

Win32 関数 説明 .NET Framework API
GetFileVersionInfo 指定したファイルのバージョン情報を取得します。 System.Diagnostics.FileVersionInfo.GetVersionInfo
GetFileVersionInfoSize オペレーティング システムが指定したファイルのバージョン情報を取得できるかどうかを判断します。 バージョン情報が使用可能な場合、関数はその情報のサイズ (バイト単位) を返します。 System.Diagnostics.FileVersionInfo.GetVersionInfo
VerLanguageName 指定したバイナリ Microsoft 言語識別子に関連付けられている言語の説明文字列を取得します。 System.Globalization.CultureInfo.Name
VerQueryValue 指定したバージョン情報リソースから、指定したバージョン情報を取得します。 System.Diagnostics.FileVersionInfo プロパティ

Win32 カテゴリ リストのアルファベット順
階層 Win32 カテゴリ リスト

ウィンドウ関数

Win32 関数 説明 .NET Framework API
AdjustWindowRect 目的のクライアント四角形のサイズに基づいて、ウィンドウの四角形の必要なサイズを計算します。 System.Windows.Forms.Form.ClientSize
AdjustWindowRectEx 目的のクライアント四角形のサイズに基づいて、ウィンドウの四角形の必要なサイズを計算します。 System.Windows.Forms.Form.ClientSize
ArrangeIconicWindows 指定した親ウィンドウのすべての最小化 (アイコン) 子ウィンドウを配置します。 System.Windows.Forms.Form.LayoutMdi(MdiLayout.ArrangeIcons)
BringWindowToTop 指定したウィンドウを Z オーダーの先頭に移動します。 System.Windows.Forms.Form.BringToFront
CascadeWindows 指定した親ウィンドウの指定した子ウィンドウをカスケードします。 System.Windows.Forms.Form.LayoutMdi(MdiLayout.Cascade)
ChildWindowFromPoint 親ウィンドウに属する子ウィンドウのうち、指定したポイントを含む子ウィンドウを指定します (存在する場合)。 System.Windows.Forms.Form.GetChildAtPoint
CloseWindow 指定したウィンドウを最小化 (ただし破棄しません) します。 System.Windows.Forms.Form.WindowState = System.Windows.Forms.FormWindowState.Minimized
CreateWindow 重複するウィンドウ、ポップアップ ウィンドウ、または子ウィンドウを作成します。 System.Windows.Forms.Form コンストラクター
CreateWindowEx ウィンドウ スタイルを拡張して、重なり合うウィンドウ、ポップアップ ウィンドウ、または子ウィンドウを作成します。 System.Windows.Forms.Form コンストラクター
DestroyWindow 指定したウィンドウを破棄します。 System.Windows.Forms.Form.Close
EnumChildProc EnumChildWindows で使用されるアプリケーション定義のコールバック関数。 EnumChildWindows と同じ
EnumChildWindows 指定した親ウィンドウに属する子ウィンドウを列挙します。 System.Windows.Forms.Form.Controls
GetAncestor 指定したウィンドウの先祖へのハンドルを取得します。 System.Windows.Forms.Form.FindForm
System.Windows.Forms.Form.Owner
System.Windows.Forms.Form.Parent
GetClientRect ウィンドウのクライアント領域の座標を取得します。 System.Windows.Forms.Form.ClientRectangle
GetForegroundWindow 前景ウィンドウへのハンドルを返します。 System.Windows.Forms.Form.ActiveForm
GetLayeredWindowAttributes レイヤード ウィンドウの不透明度および透明度のカラー キーを取得します。 System.Windows.Forms.Form.Opacity
System.Windows.Forms.Form.TransparencyKey
GetNextWindow 次または前のウィンドウへのハンドルを Z 順に取得します。 System.Windows.Forms.Form.Controls[1 +/- Control.IndexOf]
GetParent 指定した子ウィンドウの親ウィンドウへのハンドルを取得します。 System.Windows.Forms.Form.FindForm
System.Windows.Forms.Form.Parent
GetTitleBarInfo 指定されたタイトル バーの情報を取得します。 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.MinimizeBox
GetTopWindow Z オーダーの上部にある子ウィンドウへのハンドルを取得します。 System.Windows.Forms.Form.Controls[0]
GetWindow 指定したウィンドウとのリレーションシップが指定されたウィンドウへのハンドルを取得します。 System.Windows.Forms.Form.Controls
GetWindowInfo 指定したウィンドウに関する情報を取得します。 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
GetWindowPlacement 指定したウィンドウの表示状態と、復元、最小化、最大化された位置を取得します。 System.Windows.Forms.Form.Bounds
System.Windows.Forms.Form.MaximizedBounds
System.Windows.Forms.Form.Visible
System.Windows.Forms.Form.WindowState
GetWindowRect 指定したウィンドウの外接する四角形の寸法を取得します。 System.Windows.Forms.Form.Bounds
GetWindowText 指定したウィンドウのタイトル バーのテキストをコピーします。 System.Windows.Forms.Form.Text
GetWindowTextLength 指定したウィンドウのタイトル バー テキストの長さを取得します。 System.Windows.Forms.Form.Text.Length
IsChild ウィンドウが子ウィンドウか、指定された親ウィンドウの子孫ウィンドウかをテストします。 System.Windows.Forms.Form.Contains
System.Windows.Forms.Form.IsMdiChild
IsIconic 指定したウィンドウを最小化 (アイコン) するかどうかを決定します。 System.Windows.Forms.Form.WindowState
IsWindowVisible 指定したウィンドウの表示状態を取得します。 System.Windows.Forms.Form.Visible
IsZoomed ウィンドウを最大化 (ズーム) するかどうかを指定します。 System.Windows.Forms.Form.WindowState
MoveWindow 指定したウィンドウの位置と寸法を変更します。 System.Windows.Forms.Form.SetBounds
OpenIcon 最小化された (アイコン) ウィンドウを以前のサイズと位置に復元します。 System.Windows.Forms.Form.WindowState = System.Windows.Forms.FormWindowState.Normal
SetForegroundWindow 指定したウィンドウを作成したスレッドをフォアグラウンドに配置し、ウィンドウをアクティブにします。 System.Windows.Forms.Form.Activate
SetLayeredWindowAttributes レイヤード ウィンドウの不透明度および透明度のカラー キーを設定します。 System.Windows.Forms.Form.Opacity
System.Windows.Forms.Form.TransparencyKey
SetParent 指定した子ウィンドウの親ウィンドウを変更します。 System.Windows.Forms.Form.Parent
SetWindowPlacement 表示状態と、指定したウィンドウの復元、最小化、最大化された位置を設定します。 System.Windows.Forms.Form.Bounds
System.Windows.Forms.Form.MaximizedBounds
System.Windows.Forms.Form.SetBounds
System.Windows.Forms.Form.Visible
System.Windows.Forms.Form.WindowState
Setwindowpos ウィンドウのサイズ、位置、Z の順序を変更します。 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.Visible
SetWindowText 指定したウィンドウのタイトル バーのテキストを変更します。 System.Windows.Forms.Form.Text
Showwindow 指定したウィンドウの表示状態を設定します。 System.Windows.Forms.Form.Show
System.Windows.Forms.Form.Visible
System.Windows.Forms.Form.WindowState
TileWindows 指定した親ウィンドウの指定した子ウィンドウをタイル化します。 System.Windows.Forms.Form.LayoutMdi(MdiLayout.TileHorizontal)
System.Windows.Forms.Form.LayoutMdi(MdiLayout.TileVertical)
WindowFromPoint 指定したポイントを含むウィンドウへのハンドルを取得します。 System.Windows.Forms.Form.GetChildAtPoint

Win32 カテゴリリストのアルファベット順
階層 Win32 カテゴリ リスト

Window クラス関数

Win32 関数 説明 .NET Framework API
GetClassInfo ウィンドウ クラスに関する情報を取得します。 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.ClassStyle
GetClassLong 指定したウィンドウに関連付けられている WNDCLASSEX 構造体から、指定した 32 ビット値を取得します。 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.ClassStyle
GetClassLongPtr 指定したウィンドウに関連付けられている WNDCLASSEX 構造体から、指定した値を取得します。 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.ClassStyle
GetClassName 指定したウィンドウが属するクラスの名前を取得します。 System.Windows.Forms.Control.Name
GetWindowLong 指定したウィンドウに関する情報を取得します。 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
プロパティ
GetWindowLongPtr 指定したウィンドウに関する情報を取得します。 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
プロパティ
RegisterClass ウィンドウ クラスを登録します。 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
イベント
SetClassLong 指定したオフセットの指定した 32 ビット値を、追加のクラス メモリまたは WNDCLASSEX 構造体に置き換えます。 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
イベント
SetClassLongPtr 指定したオフセットの指定した値を、追加のクラス メモリまたは WNDCLASSEX 構造体に置き換えます。 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
イベント
SetWindowLong 指定したウィンドウの属性を変更します。 System.Windows.Forms.Control.Parent
System.Windows.Forms.Form.CreateParams.ExStyle
System.Windows.Forms.Form.CreateParams.Style
System.Windows.Forms.Form
プロパティ
System.Windows.Forms.Form
イベント
SetWindowLongPtr 指定したウィンドウの属性を変更します。 System.Windows.Forms.Control.Parent
System.Windows.Forms.Form.CreateParams.ExStyle
System.Windows.Forms.Form.CreateParams.Style
System.Windows.Forms.Form
プロパティ
System.Windows.Forms.Form
イベント

Win32 カテゴリリストのアルファベット順
階層 Win32 カテゴリ リスト

ウィンドウ プロシージャ関数

Win32 関数 説明 .NET Framework API
DefWindowProc 既定のウィンドウ プロシージャを呼び出して、アプリケーションが処理しないウィンドウ メッセージの既定の処理を提供します。 次のいずれか:
System.Windows.Forms.Form.DefWndProc
System.Windows.Forms.Control.DefWndProc
System.Windows.Forms.NativeWindow.DefWndProc
WindowProc ウィンドウに送信されたメッセージを処理するアプリケーション定義関数。 次のいずれか:
System.Windows.Forms.Form.WndProc
System.Windows.Forms.Control.WndProc
System.Windows.Forms.NativeWindow.WndProc

Win32 カテゴリリストのアルファベット順
階層 Win32 カテゴリ リスト

Window プロパティ関数

Win32 関数 説明 .NET Framework API
GetProp 指定したウィンドウのプロパティ リストからデータ ハンドルを取得します。 System.Windows.Forms.Control.Tag
RemoveProp 指定したウィンドウのプロパティ リストからエントリを削除します。 System.Windows.Forms.Control.Tag
SetProp 新しいエントリを追加するか、指定したウィンドウのプロパティ リスト内の既存のエントリを変更します。 System.Windows.Forms.Control.Tag

Win32 カテゴリリストのアルファベット順
階層 Win32 カテゴリ リスト