| |
|
|
| Andreas Miethe
$H Windows.ph
Var Nums& = 1
CLS
External("User32.dll","EnumDisplayMonitors",~GetDC(0),0,ProcAddr("MonitorProc",4),0)
waitinput
end
Proc MonitorProc
parameters hMonitor&,hdcMonitor&,lprcMonitor&,dwData&
Print "Monitor : "+Str$(Nums&)
Print Long(lprcMonitor&,0)
Print Long(lprcMonitor&,4)
Print Long(lprcMonitor&,8)
Print Long(lprcMonitor&,12)
Print
Inc Nums&
EndProc$H Windows.ph
Var Nums& = 1
CLS
External("User32.dll","EnumDisplayMonitors",~GetDC(0),0,ProcAddr("MonitorProc",4),0)
waitinput
end
Proc MonitorProc
parameters hMonitor&,hdcMonitor&,lprcMonitor&,dwData&
Print "Monitor : "+Str$(Nums&)
Print Long(lprcMonitor&,0)
Print Long(lprcMonitor&,4)
Print Long(lprcMonitor&,8)
Print Long(lprcMonitor&,12)
Print
Inc Nums&
EndProc
|
|
|
| |
|
|