EnumDisplayMonitors()関数のコールバック関数
Function MonitorEnumProc (ByVal hMoinitor As Long, ByVal hdcMonitor As Long, _
lprcMonitor As RECT, ByVal dwData As Long) As Long
Function MonitorEnumProc (ByVal hMoinitor As Integer, ByVal hdcMonitor As Integer, _
lprcMonitor As RECT, ByVal dwData As Integer) As Integer
BOOL CALLBACK MonitorEnumProc(
HMONITOR hMonitor,
HDC hdcMonitor,
LPRECT lprcMonitor,
LPARAM dwData
);
引数
hMonitor
ディスプレイモニターのハンドル(0不可)hdcMonitor
デバイスコンテキストのハンドル(EnumDisplayMonitors()関数のhdcが0のとき0)lprcMonitor
RECT構造体dwData
アプリケーション定義の32ビット値戻り値
リストアップを継続するとき1