Microsoft Internet Security and Acceleration Server 2000 |
Follow the procedure in this section to create the property sheet. This must be done on a computer that has the ISA administration tool installed.
To create the property sheet
Warning Be sure not to select ISA Application Filters.
Comment out the line
if (type == CCT_SCOPE || type == CCT_RESULT)
that is shown as a comment in the following code. This line appears several times in the code, so be certain to comment out the right line.
HRESULT CSmtpFltrSnapInExtData::CreatePropertyPages(LPPROPERTYSHEETCALLBACK lpProvider, long handle, IUnknown* pUnk, DATA_OBJECT_TYPES type) { // if (type == CCT_SCOPE || type == CCT_RESULT) { CSmtpFltrSnapInPage* pPage = new CSmtpFltrSnapInPage(handle, true, _T("SmtpFltrSnapIn")); lpProvider->AddPage(pPage->Create()); // The second parameter to the property page class constructor // should be true for only one page. // TODO : Add code here to add additional pages return S_OK; } return E_UNEXPECTED; }
STDMETHOD(QueryPagesFor)(DATA_OBJECT_TYPES type) { // if (type == CCT_SCOPE || type == CCT_RESULT) return S_OK; return S_FALSE; }