in reply to Re^3: Win32::API to import function
in thread Win32::API to import function

To make it work, write:

my $sReturn = $sFuncRscIoCheck->Call($sConnectionHandle, $sSessionHandle, $sCheckAll,<br> $sReplyBuffer, $sReplySize) & 0xFF; print "My Return is : $sReturn\n";

The return value will be set to 17 as expected.