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
69 lines
928 B
/*++
|
|
|
|
Copyright (c) 1991 Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
redir.hxx
|
|
|
|
Abstract:
|
|
|
|
This module contains redirection routines.
|
|
|
|
Author:
|
|
|
|
Ramon San Andres (ramonsa) 04-Sep-91
|
|
|
|
--*/
|
|
|
|
|
|
#if !defined( _REDIR_DEFN_ )
|
|
|
|
#define _REDIR_DEFN_
|
|
|
|
DECLARE_CLASS( PATH );
|
|
|
|
|
|
typedef enum _REDIR_STATUS {
|
|
|
|
REDIR_STATUS_NONEXISTENT,
|
|
REDIR_STATUS_ERROR
|
|
|
|
} REDIR_STATUS, *PREDIR_STATUS;
|
|
|
|
class REDIR {
|
|
|
|
public:
|
|
|
|
STATIC
|
|
BOOLEAN
|
|
IsRedirected (
|
|
OUT PREDIR_STATUS Status,
|
|
IN PCPATH Device,
|
|
IN PCPATH Destination
|
|
);
|
|
|
|
STATIC
|
|
BOOLEAN
|
|
IsRedirected (
|
|
OUT PREDIR_STATUS Status,
|
|
IN PCPATH Device
|
|
);
|
|
|
|
STATIC
|
|
BOOLEAN
|
|
EndRedirection (
|
|
IN PCPATH Device
|
|
);
|
|
|
|
STATIC
|
|
BOOLEAN
|
|
Redirect (
|
|
IN PCPATH Source,
|
|
IN PCPATH Destination
|
|
);
|
|
|
|
};
|
|
|
|
|
|
#endif // _REDIR_DEFN_
|