Leaked source code of windows server 2003
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.

62 lines
853 B

  1. /*++
  2. Copyright (C) 2001 Microsoft Corporation
  3. All rights reserved.
  4. Module Name:
  5. NCmgr.hxx
  6. Abstract:
  7. Declaration of functions used for initializing the name cache.
  8. Author:
  9. Felix Maxa (AMaxa) 16 May 2001
  10. Revision History:
  11. --*/
  12. #ifndef _NAME_CACHE_MGR_HXX_
  13. #define _NAME_CACHE_MGR_HXX_
  14. typedef VOID (* PFNVOID)(VOID);
  15. typedef struct SIPAddressChangeArgs
  16. {
  17. HANDLE hWaitEvent;
  18. HANDLE hTerminateEvent;
  19. PFNVOID pfnCallBack;
  20. } SIPADDRESSCHANGEARGS;
  21. #ifdef __cplusplus
  22. extern "C" {
  23. #endif
  24. HRESULT
  25. CacheInitNameCache(
  26. VOID
  27. );
  28. VOID
  29. CacheDeleteNameCache(
  30. VOID
  31. );
  32. HRESULT
  33. CacheRefresh(
  34. VOID
  35. );
  36. HRESULT
  37. InitializePnPIPAddressChangeListener(
  38. IN PFNVOID pfnCallBack
  39. );
  40. #ifdef __cplusplus
  41. }
  42. #endif
  43. #endif // _NAME_CACHE_MGR_HXX_