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.

44 lines
906 B

  1. /****************************** Module Header ******************************\
  2. * Module Name: pipe.h
  3. *
  4. * Copyright (c) 1991, Microsoft Corporation
  5. *
  6. * Defines functions exported by pipe.c
  7. *
  8. * History:
  9. * 06-29-92 Davidc Created.
  10. \***************************************************************************/
  11. //
  12. // Function prototypes
  13. //
  14. BOOL
  15. RcCreatePipe(
  16. LPHANDLE ReadHandle,
  17. LPHANDLE WriteHandle,
  18. LPSECURITY_ATTRIBUTES SecurityAttributes,
  19. DWORD Size,
  20. DWORD Timeout,
  21. DWORD ReadHandleFlags,
  22. DWORD WriteHandleFlags
  23. );
  24. DWORD
  25. ReadPipe(
  26. HANDLE PipeHandle,
  27. LPVOID lpBuffer,
  28. DWORD nNumberOfBytesToRead,
  29. LPDWORD lpNumberOfBytesRead,
  30. DWORD Timeout
  31. );
  32. DWORD
  33. WritePipe(
  34. HANDLE PipeHandle,
  35. LPVOID lpBuffer,
  36. DWORD nNumberOfBytesToWrite,
  37. LPDWORD lpNumberOfBytesWritten,
  38. DWORD Timeout
  39. );