I'm slowly building a C# library that wraps Everything into a fluent .NET API (https://github.com/ju2pom/EverythingNet).
I'd like to add support for file results attributes like size, filename, dates ...
But it's sometimes hard to find the correct way to declare the function prototype.
It would be very useful if you could extend the C# sample to wrap all available functions.
For example I could find the a working syntax for file size:
UInt32 i;
for (i = 0; i < Everything_GetNumResults(); i++)
{
long size;
// get the result's full path and file name.
Everything_GetResultSize(i, out size);
// add it to the list box
listBox1.Items.Insert((int)i, size.ToString());
}
Thanks a lot for your answer and the really fast update !
Unless I missed something there are still a few missing functions that I spotted:
Everything_GetResultListRequestFlags (easy one)
Everything_GetResultFileName (easy but not working?)
Everything_GetResultPath (already wrapped but always return null)