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.

69 lines
928 B

  1. /*++
  2. Copyright (c) 1991 Microsoft Corporation
  3. Module Name:
  4. redir.hxx
  5. Abstract:
  6. This module contains redirection routines.
  7. Author:
  8. Ramon San Andres (ramonsa) 04-Sep-91
  9. --*/
  10. #if !defined( _REDIR_DEFN_ )
  11. #define _REDIR_DEFN_
  12. DECLARE_CLASS( PATH );
  13. typedef enum _REDIR_STATUS {
  14. REDIR_STATUS_NONEXISTENT,
  15. REDIR_STATUS_ERROR
  16. } REDIR_STATUS, *PREDIR_STATUS;
  17. class REDIR {
  18. public:
  19. STATIC
  20. BOOLEAN
  21. IsRedirected (
  22. OUT PREDIR_STATUS Status,
  23. IN PCPATH Device,
  24. IN PCPATH Destination
  25. );
  26. STATIC
  27. BOOLEAN
  28. IsRedirected (
  29. OUT PREDIR_STATUS Status,
  30. IN PCPATH Device
  31. );
  32. STATIC
  33. BOOLEAN
  34. EndRedirection (
  35. IN PCPATH Device
  36. );
  37. STATIC
  38. BOOLEAN
  39. Redirect (
  40. IN PCPATH Source,
  41. IN PCPATH Destination
  42. );
  43. };
  44. #endif // _REDIR_DEFN_