windows-nt/Source/XPSP1/NT/base/fs/utils/ifsutil/inc/autoentr.hxx
2020-09-26 16:20:57 +08:00

132 lines
1.5 KiB
C++
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*++
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_