Hello guys,
Can someone please help me with EstimateFileRiskLevel function in Windows Shell with Interop.Call?
I read official documentation
here but i found it not simple enough..
I wrote this:
code:
function test() {
var MAX_PATH = 260;
var url = "C:\Documents and Settings\MyName\Desktop\myfile.exe"
var result = Interop.Allocate((MAX_PATH+1)*2);
Interop.Call('shell32.dll', 'EstimateFileRiskLevel', url, ".exe", pszHandler, result);
return result;
}
but i don't know what to use as a handler ("pszHandler").
Can someone help me on this?
Thanks in advance...