Source code of Windows XP (NT5)
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.

71 lines
932 B

  1. /*++
  2. Copyright (c) 1997 Microsoft Corporation
  3. Module Name :
  4. cal.hxx
  5. Abstract:
  6. Control licensing policy enforcement for W3 server
  7. Author:
  8. Philippe Choquier (Phillich)
  9. Environment:
  10. Win32 - User Mode
  11. Project:
  12. Internet Server DLL
  13. --*/
  14. #if !defined(_CAL_INCLUDED)
  15. #define _CAL_INCLUDED
  16. #define INVALID_CAL_EXEMPT_HANDLE 0xffffffff
  17. DWORD
  18. InitializeCal(
  19. W3_SERVER_STATISTICS*,
  20. DWORD,
  21. DWORD,
  22. DWORD
  23. );
  24. VOID
  25. TerminateCal(
  26. VOID
  27. );
  28. // can SetLastError( ERROR_ACCESS_DENIED )
  29. BOOL
  30. CalConnect(
  31. LPSTR pszIpAddr,
  32. UINT cIpAddr,
  33. BOOL fSsl,
  34. LPSTR pszUserName,
  35. UINT cUserName,
  36. HANDLE hAccessToken,
  37. LPVOID* ppCtx
  38. );
  39. BOOL
  40. CalDisconnect(
  41. LPVOID pCtx
  42. );
  43. BOOL
  44. CalExemptAddRef(
  45. LPSTR pszAcct,
  46. LPDWORD pdwHnd
  47. );
  48. BOOL
  49. CalExemptRelease(
  50. DWORD dwHnd
  51. );
  52. #endif