Author: ekohl
Date: Sun Apr 24 11:29:40 2016
New Revision: 71194
URL:
http://svn.reactos.org/svn/reactos?rev=71194&view=rev
Log:
[SYSSETUP]
Rename SetAccountDomain to SetAccountsDomainSid and export it.
Modified:
trunk/reactos/dll/win32/syssetup/globals.h
trunk/reactos/dll/win32/syssetup/security.c
trunk/reactos/dll/win32/syssetup/syssetup.spec
trunk/reactos/dll/win32/syssetup/wizard.c
trunk/reactos/sdk/include/reactos/libs/syssetup/syssetup.h
Modified: trunk/reactos/dll/win32/syssetup/globals.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/syssetup/globals…
==============================================================================
--- trunk/reactos/dll/win32/syssetup/globals.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/syssetup/globals.h [iso-8859-1] Sun Apr 24 11:29:40 2016
@@ -74,8 +74,7 @@
BOOL RegisterTypeLibraries (HINF hinf, LPCWSTR szSection);
/* security.c */
-NTSTATUS SetAccountDomain(LPCWSTR DomainName,
- PSID DomainSid);
+
VOID InstallSecurity(VOID);
NTSTATUS
SetAdministratorPassword(LPCWSTR Password);
Modified: trunk/reactos/dll/win32/syssetup/security.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/syssetup/securit…
==============================================================================
--- trunk/reactos/dll/win32/syssetup/security.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/syssetup/security.c [iso-8859-1] Sun Apr 24 11:29:40 2016
@@ -21,8 +21,10 @@
/* FUNCTIONS ****************************************************************/
NTSTATUS
-SetAccountDomain(LPCWSTR DomainName,
- PSID DomainSid)
+WINAPI
+SetAccountsDomainSid(
+ PSID DomainSid,
+ LPCWSTR DomainName)
{
PPOLICY_ACCOUNT_DOMAIN_INFO OrigInfo = NULL;
POLICY_ACCOUNT_DOMAIN_INFO Info;
@@ -35,7 +37,7 @@
NTSTATUS Status;
- DPRINT("SYSSETUP: SetAccountDomain\n");
+ DPRINT("SYSSETUP: SetAccountsDomainSid\n");
memset(&ObjectAttributes, 0, sizeof(LSA_OBJECT_ATTRIBUTES));
ObjectAttributes.Length = sizeof(LSA_OBJECT_ATTRIBUTES);
Modified: trunk/reactos/dll/win32/syssetup/syssetup.spec
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/syssetup/syssetu…
==============================================================================
--- trunk/reactos/dll/win32/syssetup/syssetup.spec [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/syssetup/syssetup.spec [iso-8859-1] Sun Apr 24 11:29:40 2016
@@ -38,7 +38,7 @@
@ stub ReportError
@ stub RunOEMExtraTasks
@ stdcall ScsiClassInstaller(long ptr ptr)
-@ stub SetAccountDomainSid
+@ stdcall SetAccountsDomainSid(ptr wstr)
@ stub SetupAddOrRemoveTestCertificate
@ stdcall SetupChangeFontSize(ptr wstr)
@ stdcall SetupChangeLocale(ptr long)
Modified: trunk/reactos/dll/win32/syssetup/wizard.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/syssetup/wizard.…
==============================================================================
--- trunk/reactos/dll/win32/syssetup/wizard.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/syssetup/wizard.c [iso-8859-1] Sun Apr 24 11:29:40 2016
@@ -587,8 +587,8 @@
/* Try to also set DNS hostname */
SetComputerNameExW(ComputerNamePhysicalDnsHostname, ComputerName);
- /* Set the account domain name */
- SetAccountDomain(ComputerName, NULL);
+ /* Set the accounts domain name */
+ SetAccountsDomainSid(NULL, ComputerName);
return TRUE;
}
Modified: trunk/reactos/sdk/include/reactos/libs/syssetup/syssetup.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/include/reactos/libs/s…
==============================================================================
--- trunk/reactos/sdk/include/reactos/libs/syssetup/syssetup.h [iso-8859-1] (original)
+++ trunk/reactos/sdk/include/reactos/libs/syssetup/syssetup.h [iso-8859-1] Sun Apr 24
11:29:40 2016
@@ -25,9 +25,16 @@
/* System setup APIs */
-DWORD WINAPI
-InstallReactOS (HINSTANCE hInstance);
+DWORD
+WINAPI
+InstallReactOS(
+ HINSTANCE hInstance);
+NTSTATUS
+WINAPI
+SetAccountsDomainSid(
+ PSID DomainSid,
+ LPCWSTR DomainName);
/* Log File APIs */