Thumbnail of post image 064

Windows API

メモリの動的確保編も3回目に突入しました。 今回はVirtualAlloc関数を使用してメ ...

Thumbnail of post image 107

Windows API

前回に引き続きメモリを動的に確保するための関数について取り扱います。 今回はHeapAll ...

Thumbnail of post image 064

Windows API

構造体や配列のサイズを動的に確保する場合、CやC++では可変長配列が無いため このような処 ...

Thumbnail of post image 059

Windows API

現在実行中のプロセスを列挙するプログラムです。タスクマネージャの「プロセス」タブで 表示さ ...

Thumbnail of post image 125

Windows API

Windowsにおいて回復不可能なタイプのエラーが発生したときに表示されるダイアログ があ ...

Thumbnail of post image 088

Windows API

ポインタってありますよね。基本的に難しいと言われていますが、 慣れてしまえばどうということ ...

Thumbnail of post image 059

Windows API

構造体や配列の複製を作る場合は「CopyMemory」を使用します。 自分でコピーを書くよ ...

Thumbnail of post image 069

Windows API

C言語では配列を確保しても初期化されていないため、そのまま使用すると予期しない 動作をする ...

Thumbnail of post image 124

Windows API

キーボードの各種情報を取得するときは「GetKeyboardType」関数を利用することで ...

Thumbnail of post image 030

Windows API

パソコンのシャットダウンなどの制御は「ExitWindowsEx」関数を使用することで行う ...