diff options
Diffstat (limited to 'private/utils/ifsutil/inc/autoentr.hxx')
-rw-r--r-- | private/utils/ifsutil/inc/autoentr.hxx | 131 |
1 files changed, 131 insertions, 0 deletions
diff --git a/private/utils/ifsutil/inc/autoentr.hxx b/private/utils/ifsutil/inc/autoentr.hxx new file mode 100644 index 000000000..1be4b6b7e --- /dev/null +++ b/private/utils/ifsutil/inc/autoentr.hxx @@ -0,0 +1,131 @@ +/*++ + +Copyright (c) 1992 Microsoft Corporation + +Module Name: + + autoentr.hxx + +Abstract: + + This module contains the declaration of the AUTOENTRY class. + + The AUTOENTRY class models an entry in the registry used to + execute a program at boot time. + +Author: + + Ramon J. San Andres (ramonsa) 11 Mar 1991 + +Environment: + + Ulib, User Mode + + +--*/ + + +#if !defined( _AUTOENTRY_ ) + +#define _AUTOENTRY_ + +#include "wstring.hxx" + +DECLARE_CLASS( AUTOENTRY ); + + +class AUTOENTRY : public OBJECT { + + + public: + + DECLARE_CONSTRUCTOR( AUTOENTRY ); + + NONVIRTUAL + VOID + Construct ( + ); + + VIRTUAL + ~AUTOENTRY( + ); + + NONVIRTUAL + BOOLEAN + Initialize ( + IN PCWSTRING EntryName, + IN PCWSTRING CommandLine + ); + + NONVIRTUAL + PCWSTRING + GetCommandLine ( + ); + + NONVIRTUAL + PCWSTRING + GetEntryName ( + ); + private: + + NONVIRTUAL + VOID + Destroy ( + ); + + DSTRING _EntryName; + DSTRING _CommandLine; + +}; + + +INLINE +PCWSTRING +AUTOENTRY::GetCommandLine ( + ) +/*++ + +Routine Description: + + Gets the command line + +Arguments: + + None + +Return Value: + + The command line + +--*/ +{ + return &_CommandLine; +} + + + +INLINE +PCWSTRING +AUTOENTRY::GetEntryName ( + ) +/*++ + +Routine Description: + + Gets the command line + +Arguments: + + None + +Return Value: + + The command line + +--*/ +{ + return &_EntryName; +} + + +#endif // _AUTOENTRY_ |