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.

55 lines
1.2 KiB

  1. /***************************************************************************
  2. *
  3. * tdpipe.h
  4. *
  5. * This module contains internal defines and structures for the named pipe TD.
  6. *
  7. * Copyright 1998, Microsoft
  8. *
  9. ****************************************************************************/
  10. /*
  11. * TD stack endpoint structure
  12. *
  13. * This structure is passed on the stack
  14. */
  15. typedef struct _TD_STACK_ENDPOINT {
  16. // ULONG AddressType; // Address type (family) for this endpoint
  17. struct _TD_ENDPOINT *pEndpoint; // Pointer to real endpoint structure
  18. } TD_STACK_ENDPOINT, *PTD_STACK_ENDPOINT;
  19. /*
  20. * TD endpoint structure
  21. *
  22. * This structure contains all information about an endpoint.
  23. * An endpoint may be either an address endpoint or a connection endpoint.
  24. */
  25. typedef struct _TD_ENDPOINT {
  26. HANDLE PipeHandle;
  27. PEPROCESS PipeHandleProcess;
  28. PFILE_OBJECT pFileObject;
  29. PDEVICE_OBJECT pDeviceObject;
  30. UNICODE_STRING PipeName;
  31. HANDLE hConnectionEndPointIcaHandle; // handle for TD_ENDPOINT (this structure)
  32. } TD_ENDPOINT, *PTD_ENDPOINT;
  33. /*
  34. * PIPE TD structure
  35. */
  36. typedef struct _TDPIPE {
  37. PTD_ENDPOINT pAddressEndpoint;
  38. PTD_ENDPOINT pConnectionEndpoint;
  39. IO_STATUS_BLOCK IoStatus;
  40. } TDPIPE, * PTDPIPE;