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.

61 lines
1000 B

  1. #ifndef _CLUSPRTP_H
  2. #define _CLUSPRTP_H
  3. /*++
  4. Copyright (c) 1996 Microsoft Corporation
  5. Module Name:
  6. clusprtp.h
  7. Abstract:
  8. Private header file for cluster support api
  9. Author:
  10. Sunita Shrivastava (sunitas) 15-Jan-1997
  11. Revision History:
  12. --*/
  13. #include "windows.h"
  14. #include "cluster.h"
  15. #include "api_rpc.h"
  16. //
  17. // Define CLUSTER structure. There is one cluster structure created
  18. // for each OpenCluster API call. An HCLUSTER is really a pointer to
  19. // this structure.
  20. //
  21. #define CLUSTER_SPRT_SIGNATURE 'SULC'
  22. typedef struct _CLUSTER_SPRT {
  23. DWORD dwSignature;
  24. RPC_BINDING_HANDLE RpcBinding;
  25. } CLUSTER_SPRT, *PCLUSTER_SPRT;
  26. HANDLE
  27. WINAPI
  28. BindToClusterSvc(
  29. IN LPWSTR lpszClusterName);
  30. DWORD
  31. WINAPI
  32. UnbindFromClusterSvc(
  33. IN HANDLE hCluster);
  34. DWORD
  35. WINAPI
  36. PropagateEvents(
  37. IN HANDLE hCluster,
  38. IN DWORD dwEventInfoSize,
  39. IN PPACKEDEVENTINFO pPackedEventInfo);
  40. #endif //_CLUSPRTP_H