We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0281583 commit f44d273Copy full SHA for f44d273
examples/GetCursorPos.php
@@ -1,7 +1,5 @@
1
<?php
2
3
-function cursor_pos(){
4
- $point = new DFFIStruct("POINT", ["int", "int"]);
5
- DFFI::callFunction("user32", "int", "GetCursorPos", [$point], ["struct"]);
6
- pre($point->getResponse());
7
-}
+$point = new DFFIStruct("POINT", ["int", "int"]);
+DFFI::callFunction("user32", "int", "GetCursorPos", [$point], ["struct"]);
+pre($point->getResponse());
0 commit comments