The simplest fix is to set the size of the structure manually.
$pci->{cbSize} = 20; ## $pci->sizeof();
That allows the call to return successfully.
In reply to Re: Win32::API::Struct and GetCursorInfo with PCURSORINFO
by BrowserUk
in thread Win32::API::Struct and GetCursorInfo with PCURSORINFO
by EdwardG
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |