Windows NT 4.0 source code leak
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.
 
 
 
 
 
 

79 lines
1.2 KiB

/*++
Copyright (c) 1992 Microsoft Corporation
Module Name:
autoreg.hxx
Abstract:
This module contains the declaration of the AUTOREG class.
The AUTOREG class contains methods for the registration and
de-registration of those programs that are to be executed at
boot time.
Author:
Ramon J. San Andres (ramonsa) 11 Mar 1991
Environment:
Ulib, User Mode
--*/
#if !defined( _AUTOREG_ )
#define _AUTOREG_
#include "ulib.hxx"
#include "wstring.hxx"
#if defined ( _AUTOCHECK_ )
#define IFSUTIL_EXPORT
#elif defined ( _IFSUTIL_MEMBER_ )
#define IFSUTIL_EXPORT __declspec(dllexport)
#else
#define IFSUTIL_EXPORT __declspec(dllimport)
#endif
DECLARE_CLASS( AUTOREG );
class AUTOREG : public OBJECT {
public:
STATIC
IFSUTIL_EXPORT
BOOLEAN
AddEntry (
IN PCWSTRING CommandLine
);
STATIC
IFSUTIL_EXPORT
BOOLEAN
DeleteEntry (
IN PCWSTRING LineToMatch,
IN BOOLEAN PrefixOnly DEFAULT FALSE
);
STATIC
IFSUTIL_EXPORT
BOOLEAN
IsEntryPresent (
IN PCWSTRING LineToMatch
);
};
#endif // _AUTOREG_