Skip to content

Commit f44d273

Browse files
author
HackMemory
authored
Update GetCursorPos.php
1 parent 0281583 commit f44d273

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

examples/GetCursorPos.php

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<?php
22

3-
function cursor_pos(){
4-
$point = new DFFIStruct("POINT", ["int", "int"]);
5-
DFFI::callFunction("user32", "int", "GetCursorPos", [$point], ["struct"]);
6-
pre($point->getResponse());
7-
}
3+
$point = new DFFIStruct("POINT", ["int", "int"]);
4+
DFFI::callFunction("user32", "int", "GetCursorPos", [$point], ["struct"]);
5+
pre($point->getResponse());

0 commit comments

Comments
 (0)