private static LockRegion ( |
||
@this | ||
libOffset | long | |
cb | long | |
dwLockType | int | |
return | int |
private static int LockRegion(IntPtr @this, long libOffset, long cb, int dwLockType)
{
#if MAP_EX_TO_HR
try
{
#endif
GetObject(@this).managedInterface.LockRegion(libOffset, cb, dwLockType);
return S_OK;
#if MAP_EX_TO_HR
}
catch (Exception e)
{
return GetHRForException(e);
}
#endif
}