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.

100 lines
2.2 KiB

  1. /*++
  2. Copyright (c) 1997 Microsoft Corporation
  3. Module Name:
  4. cnettest.h
  5. Abstract:
  6. Test IOCTL definitions for Cluster Network Driver.
  7. Author:
  8. Mike Massa (mikemas) February 3, 1997
  9. Revision History:
  10. Who When What
  11. -------- -------- ----------------------------------------------
  12. mikemas 02-03-97 created
  13. Notes:
  14. --*/
  15. #ifndef _CNETTEST_INCLUDED_
  16. #define _CNETTEST_INCLUDED_
  17. #if DBG
  18. //
  19. // General test ioctls. Codes 25-49.
  20. //
  21. #define IOCTL_CLUSNET_SET_DEBUG_MASK \
  22. _NTDDCNET_CTL_CODE(25, METHOD_BUFFERED, FILE_WRITE_ACCESS)
  23. //
  24. // General test ioctl structures.
  25. //
  26. typedef struct {
  27. ULONG DebugMask;
  28. } CLUSNET_SET_DEBUG_MASK_REQUEST, *PCLUSNET_SET_DEBUG_MASK_REQUEST;
  29. //
  30. // Transport test ioctls. Codes 150-199.
  31. //
  32. #define IOCTL_CX_ONLINE_PENDING_INTERFACE \
  33. _NTDDCNET_CTL_CODE(150, METHOD_BUFFERED, FILE_WRITE_ACCESS)
  34. #define IOCTL_CX_ONLINE_INTERFACE \
  35. _NTDDCNET_CTL_CODE(151, METHOD_BUFFERED, FILE_WRITE_ACCESS)
  36. #define IOCTL_CX_OFFLINE_INTERFACE \
  37. _NTDDCNET_CTL_CODE(152, METHOD_BUFFERED, FILE_WRITE_ACCESS)
  38. #define IOCTL_CX_FAIL_INTERFACE \
  39. _NTDDCNET_CTL_CODE(153, METHOD_BUFFERED, FILE_WRITE_ACCESS)
  40. #define IOCTL_CX_SEND_MM_MSG \
  41. _NTDDCNET_CTL_CODE(154, METHOD_BUFFERED, FILE_WRITE_ACCESS)
  42. //
  43. // IOCTL structure definitions
  44. //
  45. typedef CX_INTERFACE_COMMON_REQUEST CX_ONLINE_PENDING_INTERFACE_REQUEST;
  46. typedef PCX_INTERFACE_COMMON_REQUEST PCX_ONLINE_PENDING_INTERFACE_REQUEST;
  47. typedef CX_INTERFACE_COMMON_REQUEST CX_ONLINE_INTERFACE_REQUEST;
  48. typedef PCX_INTERFACE_COMMON_REQUEST PCX_ONLINE_INTERFACE_REQUEST;
  49. typedef CX_INTERFACE_COMMON_REQUEST CX_OFFLINE_INTERFACE_REQUEST;
  50. typedef PCX_INTERFACE_COMMON_REQUEST PCX_OFFLINE_INTERFACE_REQUEST;
  51. typedef CX_INTERFACE_COMMON_REQUEST CX_FAIL_INTERFACE_REQUEST;
  52. typedef PCX_INTERFACE_COMMON_REQUEST PCX_FAIL_INTERFACE_REQUEST;
  53. #define CX_MM_MSG_DATA_LEN 64
  54. typedef struct {
  55. CL_NODE_ID DestNodeId;
  56. ULONG MessageData[CX_MM_MSG_DATA_LEN];
  57. } CX_SEND_MM_MSG_REQUEST, *PCX_SEND_MM_MSG_REQUEST;
  58. //
  59. // IOCTL status codes
  60. //
  61. // Codes 0x1000 - 1999 are reserved for test values.
  62. //
  63. #endif // DBG
  64. #endif // _CNETTEST_INCLUDED_
  65.