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.

76 lines
1.1 KiB

  1. /*++
  2. Copyright (C) 2001 Microsoft Corporation
  3. All rights reserved.
  4. Module Name:
  5. NCshared.hxx
  6. Abstract:
  7. Declaration of name cache functions.
  8. Author:
  9. Felix Maxa (AMaxa) 6 August 2001
  10. Revision History:
  11. --*/
  12. #ifndef _SHARED_NCACHE_HXX_
  13. #define _SHARED_NCACHE_HXX_
  14. //
  15. // For Longhorn: Take the function declarations below and put them in an HXX file
  16. // shared between spooler components. For the time being, there is no right header
  17. // file where these should go.
  18. //
  19. #ifdef __cplusplus
  20. extern "C" {
  21. #endif
  22. HRESULT
  23. CacheAddName(
  24. IN LPCWSTR pszName
  25. );
  26. HRESULT
  27. CacheCreateAndAddNode(
  28. IN LPCWSTR pszName,
  29. IN BOOL bClusterNode
  30. );
  31. HRESULT
  32. CacheCreateAndAddNodeWithIPAddresses(
  33. IN LPCWSTR pszName,
  34. IN BOOL bClusterNode,
  35. IN LPCWSTR *ppszIPAddresses,
  36. IN DWORD cIPAddresses
  37. );
  38. HRESULT
  39. CacheDeleteNode(
  40. IN LPCWSTR pszNode
  41. );
  42. HRESULT
  43. CacheIsNameInNodeList(
  44. IN LPCWSTR pszNode,
  45. IN LPCWSTR pszName
  46. );
  47. HRESULT
  48. CacheRefresh(
  49. VOID
  50. );
  51. #ifdef __cplusplus
  52. }
  53. #endif
  54. #endif // _SHARED_NCACHE_HXX_