Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
|
|
@ -0,0 +1,19 @@
|
|||
' FB 1.05.0 Win64
|
||||
|
||||
' Using SystemParametersInfo function in Win32 API
|
||||
Dim As Any Ptr library = DyLibLoad("user32")
|
||||
Dim Shared SystemParametersInfo As Function (ByVal As ULong, ByVal As ULong, ByVal As Any Ptr, ByVal As ULong) As Long
|
||||
SystemParametersInfo = DyLibSymbol(library, "SystemParametersInfoA")
|
||||
|
||||
Type Rect
|
||||
As Long left, top, right, bottom
|
||||
End Type
|
||||
|
||||
#Define SPI_GETWORKAREA &H30
|
||||
Dim r As Rect
|
||||
SystemParametersInfo(SPI_GETWORKAREA, 0, @r, 0)
|
||||
DyLibFree(library)
|
||||
Print "Maximum usable desktop area : W" ; r.right - r.left; " x H"; r.bottom - r.top; " pixels"
|
||||
Print
|
||||
Print "Press any key to quit"
|
||||
Sleep
|
||||
Loading…
Add table
Add a link
Reference in a new issue