rem: if( pd->m_SuperException != NULL ) { DeactivateException( pd->m_SuperException ); RemContextHook( pd->m_SuperException ); pd->m_SuperException = NULL; }  if( pd->m_UserException != NULL ) { DeactivateException( pd->m_UserException ); RemContextHook( pd->m_UserException ); pd->m_UserException = NULL; }  pd->m_Active = FALSE;
add: SetPageProperties( pd->m_SuperContext, MAPP_SINGLEPAGE | MAPP_REPAIRABLE, MAPP_INVALID | MAPP_SINGLEPAGE | MAPP_REPAIRABLE, (ULONG) pd->m_Intercepted, TAG_DONE );
context: DeactivatePUH( struct PUHData* pd ){  if( pd->m_Active )  {    RestoreCustom( pd );  }  if( pd->m_SuperException != NULL )  {    DeactivateException( pd->m_SuperException );    RemContextHook( pd->m_SuperException );    pd->m_SuperException = NULL;  }  if( pd->m_UserException != NULL )  {    DeactivateException( pd->m_UserException );    RemContextHook( pd->m_UserException );    pd->m_UserException = NULL;  }    pd->m_Active = FALSE;}