protected void RemoveSetup ()
{
CheckPtr (m_setup);
string sResult;
if (m_ampleReset != null) {
sResult = m_ampleReset (m_setup);
ThrowIfError (sResult);
}
if (m_ampleDeleteSetup != null) {
sResult = m_ampleDeleteSetup (m_setup);
ThrowIfError (sResult);
}
m_setup = IntPtr.Zero;
}