Page 1 of 1

SBIE DLL API

Posted: Fri Apr 08, 2011 12:25 am
by MessageBoxA
Hi,

Some of the SbieDll exported functions are version dependent. I think it would be useful if I could query the SandBoxie version and recieve a packed DWORD as the return value. I can get the version from the SbieDll.dll version information block... but maybe it would be better if this was an exported function?

What do you think?

-MessageBoxA

Posted: Fri Apr 08, 2011 6:22 am
by tzuk
You can't get a DWORD but you can get a string.

LONG __stdcall SbieApi_GetVersion(WCHAR *version)

Pass a buffer of WCHAR[16] for the version argument.