You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.2 KiB
44 lines
1.2 KiB
//+-------------------------------------------------------------------
|
|
//
|
|
// File: excladdr.hxx
|
|
//
|
|
// Contents: Defines classes for managing the current address
|
|
// exclusion list
|
|
//
|
|
// Classes: CAddrExclusionMgr
|
|
//
|
|
// History: 09-Oct-00 jsimmons Created
|
|
//
|
|
//--------------------------------------------------------------------
|
|
|
|
#pragma once
|
|
|
|
class CAddrExclusionMgr
|
|
{
|
|
public:
|
|
CAddrExclusionMgr();
|
|
|
|
HRESULT EnableDisableDynamicTracking(BOOL fEnable);
|
|
|
|
HRESULT GetExclusionList(DWORD* pdwNumStrings,
|
|
LPWSTR** pppszStrings);
|
|
|
|
HRESULT SetExclusionList(DWORD pdwNumStrings,
|
|
LPWSTR* ppszStrings);
|
|
|
|
HRESULT BuildExclusionDSA(DUALSTRINGARRAY* pdsaFull,
|
|
DUALSTRINGARRAY** ppdsaOut);
|
|
|
|
void InitializeFromRegistry();
|
|
|
|
private:
|
|
void FreeCurrentBuffers();
|
|
BOOL IsExcludedAddress(LPWSTR pszAddress);
|
|
|
|
DWORD _dwNumStrings;
|
|
LPWSTR* _ppszStrings;
|
|
BOOL _bInitRegistry;
|
|
};
|
|
|
|
// References the single instance of this object
|
|
extern CAddrExclusionMgr gAddrExclusionMgr;
|