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.

64 lines
1.3 KiB

  1. /*++
  2. Copyright (c) 1992-1997 Microsoft Corporation
  3. Module Name:
  4. ws2atmsp.h
  5. Abstract:
  6. This header file defines constants and types for accessing the ATM-specific
  7. component of the NT RAW WAN driver.
  8. Author:
  9. ArvindM October 13, 1997
  10. Revision History:
  11. --*/
  12. #ifndef _WS2ATMSP__H
  13. #define _WS2ATMSP__H
  14. #define DD_ATM_DEVICE_NAME L"\\Device\\Atm"
  15. typedef UINT ATM_OBJECT_ID;
  16. //
  17. // ATM Object IDs
  18. //
  19. #define ATMSP_OID_NUMBER_OF_DEVICES ((ATM_OBJECT_ID)10)
  20. #define ATMSP_OID_ATM_ADDRESS ((ATM_OBJECT_ID)11)
  21. #define ATMSP_OID_PVC_ID ((ATM_OBJECT_ID)12)
  22. #define ATMSP_OID_CONNECTION_ID ((ATM_OBJECT_ID)13)
  23. //
  24. // Query Information structure. This is passed in as the InputBuffer in
  25. // the DeviceIoControl. The return information is to be filled into the
  26. // OutputBuffer.
  27. //
  28. typedef struct _ATM_QUERY_INFORMATION_EX
  29. {
  30. ATM_OBJECT_ID ObjectId;
  31. INT ContextLength;
  32. UCHAR Context[1];
  33. } ATM_QUERY_INFORMATION_EX, *PATM_QUERY_INFORMATION_EX;
  34. //
  35. // Set Information structure. This is passed in as the InputBuffer to
  36. // the DeviceIoControl. There is no OutputBuffer.
  37. //
  38. typedef struct _ATM_SET_INFORMATION_EX
  39. {
  40. ATM_OBJECT_ID ObjectId;
  41. INT BufferSize;
  42. UCHAR Buffer[1];
  43. } ATM_SET_INFORMATION_EX, *PATM_SET_INFORMATION_EX;
  44. #endif // _WS2ATMSP__H