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.

48 lines
876 B

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1997.
  5. //
  6. // File: cipt.cxx
  7. //
  8. // Contents: Pipe tracing
  9. //
  10. // History: 21 Nov 1997 DLee Created
  11. //
  12. //--------------------------------------------------------------------------
  13. #include <windows.h>
  14. STDAPI Before(
  15. HANDLE hPipe,
  16. ULONG cbWrite,
  17. void * pvWrite,
  18. ULONG & rcbWritten,
  19. void *& rpvWritten )
  20. {
  21. rcbWritten = cbWrite;
  22. rpvWritten = pvWrite;
  23. return S_OK;
  24. } //Before
  25. STDAPI After(
  26. HANDLE hPipe,
  27. ULONG cbWrite,
  28. void * pvWrite,
  29. ULONG cbWritten,
  30. void * pvWritten,
  31. ULONG cbRead,
  32. void * pvRead )
  33. {
  34. return S_OK;
  35. } //After
  36. extern "C"
  37. {
  38. BOOL APIENTRY DllInit(HANDLE hInst, DWORD fdwReason, LPVOID lpReserved)
  39. {
  40. return TRUE;
  41. } //DllInit
  42. }