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.

50 lines
766 B

  1. /*++
  2. Copyright (c) 2001 Microsoft Corporation
  3. Module Name:
  4. namedpipes.hxx
  5. Abstract:
  6. namedpipes
  7. Author:
  8. Larry Zhu (LZhu) January 1, 2002
  9. Environment:
  10. User Mode
  11. Revision History:
  12. --*/
  13. #ifndef NAMED_PIPES_HXX
  14. #define NAMED_PIPES_HXX
  15. extern PCTSTR g_PipeName;
  16. #if defined(UNICODE) || defined(_UNICODE)
  17. #define lstrtol wcstol
  18. #else
  19. #define lstrtol strtol
  20. #endif
  21. struct TServerWorkerThreadParam {
  22. HANDLE hPipe;
  23. PTSTR pszCommandLine;
  24. };
  25. struct TClientThreadParam {
  26. PTSTR pszPipeName;
  27. PTSTR pszS4uClientRealm;
  28. PTSTR pszS4uClientUpn;
  29. ULONG S4u2SelfFlags;
  30. ULONG ProcessId;
  31. ULONG FlagsAndAttributes;
  32. };
  33. #endif // #ifndef NAMED_PIPES_HXX