Exemplo n.º 1
0
        }// Showing

        internal override int onRestoreView(MMC_RESTORE_VIEW mrv, IntPtr param)
        {
            // See if we should be displaying our HTML page or the result view
            if (mrv.pViewType == (IntPtr)0)
            {
                // We should display the column view
                m_oResults = this;
            }
            else
            {
                m_fShowHTMLPage = true;
                m_oResults      = m_taskPad;
            }
            // Now we need to tell MMC we handled this.
            Marshal.WriteIntPtr(param, (IntPtr)1);
            return(HRESULT.S_OK);
        }// onRestoreView
Exemplo n.º 2
0
        }// onDelete

        internal virtual int onRestoreView(MMC_RESTORE_VIEW mrv, IntPtr param)
        {
            return(HRESULT.S_FALSE);
        }