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.

72 lines
1.9 KiB

  1. /***************************************************************************
  2. Copyright (c) 1999 Microsoft Corporation
  3. Module Name:
  4. RNDISIOC.H
  5. Abstract:
  6. Header file for controlling the RNDIS Miniport driver.
  7. Environment:
  8. User/Kernel mode
  9. Notes:
  10. THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
  11. KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
  12. IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
  13. PURPOSE.
  14. Copyright (c) 1999 Microsoft Corporation. All Rights Reserved.
  15. Revision History:
  16. 10/19/99: created
  17. Author:
  18. ArvindM
  19. ****************************************************************************/
  20. #ifndef _RNDISIOC__H
  21. #define _RNDISIOC__H
  22. #define OID_RNDISMP_STATISTICS 0xFFA0C90A
  23. #ifdef BINARY_MOF_TEST
  24. #define OID_RNDISMP_DEVICE_OID 0xFFA0C90B
  25. #define OID_RNDISMP_GET_MOF_OID 0xFFA0C90C
  26. #endif // BINARY_MOF_TEST
  27. typedef struct _RNDISMP_ADAPTER_STATS
  28. {
  29. ULONG XmitToMicroport;
  30. ULONG XmitOk;
  31. ULONG XmitError;
  32. ULONG SendMsgLowRes;
  33. ULONG RecvOk;
  34. ULONG RecvError;
  35. ULONG RecvNoBuf;
  36. ULONG RecvLowRes;
  37. ULONG Resets;
  38. ULONG KeepAliveTimeout;
  39. ULONG MicroportSendError;
  40. } RNDISMP_ADAPTER_STATS, *PRNDISMP_ADAPTER_STATS;
  41. typedef struct _RNDISMP_ADAPTER_INFO
  42. {
  43. RNDISMP_ADAPTER_STATS Statistics;
  44. ULONG HiWatPendedMessages;
  45. ULONG LoWatPendedMessages;
  46. ULONG CurPendedMessages;
  47. } RNDISMP_ADAPTER_INFO, *PRNDISMP_ADAPTER_INFO;
  48. #endif // _RNDISIOC__H