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.

89 lines
984 B

  1. /*++
  2. Copyright (C) Microsoft Corporation, 1997 - 1999
  3. Module Name:
  4. sensapi.hxx
  5. Abstract:
  6. Header file for SENS Connectivity API implementation.
  7. Author:
  8. Gopal Parupudi <GopalP>
  9. [Notes:]
  10. optional-notes
  11. Revision History:
  12. GopalP 12/4/1997 Start.
  13. --*/
  14. #ifndef __SENSAPI_HXX__
  15. #define __SENSAPI_HXX__
  16. //
  17. // Macros
  18. //
  19. #define RequestLock() EnterCriticalSection(&gSensapiLock)
  20. #define ReleaseLock() LeaveCriticalSection(&gSensapiLock)
  21. //
  22. // Forward declarations
  23. //
  24. RPC_STATUS
  25. DoRpcSetup(
  26. void
  27. );
  28. DWORD
  29. InitializeSensIfNecessary(
  30. void
  31. );
  32. BOOL
  33. MapSensCacheView(
  34. void
  35. );
  36. void
  37. UnmapSensCacheView(
  38. void
  39. );
  40. BOOL
  41. ReadConnectivityCache(
  42. OUT LPDWORD lpdwFlags
  43. );
  44. #if !defined(SENS_NT5)
  45. #if defined(SENS_CHICAGO)
  46. DWORD
  47. WaitForSensToStart(
  48. DWORD dwWaitFactor
  49. );
  50. #endif // SENS_CHICAGO
  51. DWORD
  52. StartSensNow(
  53. void
  54. );
  55. #endif // !SENS_NT5
  56. #endif // __SENSAPI_HXX__