private static int Stat(IntPtr @this, out STATSTG pstatstg, int grfStatFlag)
{
#if MAP_EX_TO_HR
try
{
#endif
GetObject(@this).managedInterface.Stat(out pstatstg, grfStatFlag);
return S_OK;
#if MAP_EX_TO_HR
}
catch (Exception e)
{
pstatstg = new STATSTG();
return GetHRForException(e);
}
#endif
}