2004-04-16 13:37:18 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2004 Eric Kohl
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
2009-10-27 10:34:16 +00:00
|
|
|
* You should have received a copy of the GNU General Public License along
|
|
|
|
* with this program; if not, write to the Free Software Foundation, Inc.,
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
2004-04-16 13:37:18 +00:00
|
|
|
*/
|
|
|
|
|
2014-01-25 19:51:44 +00:00
|
|
|
#pragma once
|
2004-11-05 11:48:45 +00:00
|
|
|
|
2014-01-18 14:26:07 +00:00
|
|
|
typedef struct _ADMIN_INFO
|
|
|
|
{
|
|
|
|
LPWSTR Name;
|
|
|
|
LPWSTR Domain;
|
|
|
|
LPWSTR Password;
|
|
|
|
} ADMIN_INFO, *PADMIN_INFO;
|
2004-04-16 13:37:18 +00:00
|
|
|
|
|
|
|
extern HINSTANCE hDllInstance;
|
2004-08-28 11:08:50 +00:00
|
|
|
extern HINF hSysSetupInf;
|
2014-01-18 14:26:07 +00:00
|
|
|
extern ADMIN_INFO AdminInfo;
|
2004-04-16 13:37:18 +00:00
|
|
|
|
2013-05-17 21:40:46 +00:00
|
|
|
BOOL RegisterTypeLibraries (HINF hinf, LPCWSTR szSection);
|
|
|
|
|
2012-05-13 16:16:18 +00:00
|
|
|
/* security.c */
|
2016-04-24 11:29:40 +00:00
|
|
|
|
2012-05-17 21:30:30 +00:00
|
|
|
VOID InstallSecurity(VOID);
|
2013-05-27 13:34:59 +00:00
|
|
|
NTSTATUS
|
|
|
|
SetAdministratorPassword(LPCWSTR Password);
|
2012-05-13 16:16:18 +00:00
|
|
|
|
2014-01-18 14:26:07 +00:00
|
|
|
VOID
|
|
|
|
SetAutoAdminLogon(VOID);
|
|
|
|
|
2004-04-16 13:37:18 +00:00
|
|
|
/* wizard.c */
|
|
|
|
VOID InstallWizard (VOID);
|
|
|
|
|
|
|
|
/* EOF */
|