protected static void NotImplemented() { ExternalException e = new ExternalException("Not implemented.", SafeNativeMethods.E_NOTIMPL); throw e; }
protected static ExternalException EFail(string msg) { ExternalException e = new ExternalException(msg, SafeNativeMethods.E_FAIL); throw e; }