Author: ekohl
Date: Sat Jul 8 12:00:44 2017
New Revision: 75306
URL:
http://svn.reactos.org/svn/reactos?rev=75306&view=rev
Log:
[NETAPI32]
- Add DsValidateSubnetNameA/W stubs.
- Move DsRoleFreeMemory to a better location.
[SDK/INCLUDE]
Add DsValidateSubnetNameA/W prototypes to dsgetdc.h.
Modified:
trunk/reactos/dll/win32/netapi32/dssetup.c
trunk/reactos/dll/win32/netapi32/netapi32.spec
trunk/reactos/dll/win32/netapi32/netlogon.c
trunk/reactos/sdk/include/psdk/dsgetdc.h
Modified: trunk/reactos/dll/win32/netapi32/dssetup.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netapi32/dssetup…
==============================================================================
--- trunk/reactos/dll/win32/netapi32/dssetup.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/netapi32/dssetup.c [iso-8859-1] Sat Jul 8 12:00:44 2017
@@ -77,6 +77,16 @@
}
+VOID
+WINAPI
+DsRoleFreeMemory(
+ _In_ PVOID Buffer)
+{
+ TRACE("DsRoleFreeMemory(%p)\n", Buffer);
+ HeapFree(GetProcessHeap(), 0, Buffer);
+}
+
+
DWORD
WINAPI
DsRoleGetPrimaryDomainInformation(
Modified: trunk/reactos/dll/win32/netapi32/netapi32.spec
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netapi32/netapi3…
==============================================================================
--- trunk/reactos/dll/win32/netapi32/netapi32.spec [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/netapi32/netapi32.spec [iso-8859-1] Sat Jul 8 12:00:44 2017
@@ -36,8 +36,8 @@
@ stub DsRoleIfmHandleFree
@ stub DsRoleServerSaveStateForUpgrade
@ stub DsRoleUpgradeDownlevelServer
-@ stub DsValidateSubnetNameA
-@ stub DsValidateSubnetNameW
+@ stdcall DsValidateSubnetNameA(str)
+@ stdcall DsValidateSubnetNameW(wstr)
@ stub I_BrowserDebugCall
@ stdcall I_BrowserDebugTrace(wstr str)
@ stdcall I_BrowserQueryEmulatedDomains(wstr ptr ptr)
Modified: trunk/reactos/dll/win32/netapi32/netlogon.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netapi32/netlogo…
==============================================================================
--- trunk/reactos/dll/win32/netapi32/netlogon.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/netapi32/netlogon.c [iso-8859-1] Sat Jul 8 12:00:44 2017
@@ -436,13 +436,25 @@
}
-VOID
-WINAPI
-DsRoleFreeMemory(
- _In_ PVOID Buffer)
-{
- TRACE("DsRoleFreeMemory(%p)\n", Buffer);
- HeapFree(GetProcessHeap(), 0, Buffer);
+DWORD
+WINAPI
+DsValidateSubnetNameA(
+ _In_ LPCSTR SubnetName)
+{
+ FIXME("DsValidateSubnetNameA(%s)\n",
+ debugstr_a(SubnetName));
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+
+DWORD
+WINAPI
+DsValidateSubnetNameW(
+ _In_ LPCWSTR SubnetName)
+{
+ FIXME("DsValidateSubnetNameW(%s)\n",
+ debugstr_w(SubnetName));
+ return ERROR_CALL_NOT_IMPLEMENTED;
}
Modified: trunk/reactos/sdk/include/psdk/dsgetdc.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/include/psdk/dsgetdc.h…
==============================================================================
--- trunk/reactos/sdk/include/psdk/dsgetdc.h [iso-8859-1] (original)
+++ trunk/reactos/sdk/include/psdk/dsgetdc.h [iso-8859-1] Sat Jul 8 12:00:44 2017
@@ -175,6 +175,14 @@
PLSA_FOREST_TRUST_INFORMATION NewForestTrustInfo,
PLSA_FOREST_TRUST_INFORMATION OldForestTrustInfo,
PLSA_FOREST_TRUST_INFORMATION *ForestTrustInfo);
+
+DWORD WINAPI
+DsValidateSubnetNameA(
+ LPCSTR SubnetName);
+
+DWORD WINAPI
+DsValidateSubnetNameW(
+ LPCWSTR SubnetName);
#ifdef UNICODE
typedef DOMAIN_CONTROLLER_INFOW DOMAIN_CONTROLLER_INFO, *PDOMAIN_CONTROLLER_INFO;
@@ -185,6 +193,7 @@
#define DsGetDcName DsGetDcNameW
#define DsGetDcSiteCoverage DsGetDcSiteCoverageW
#define DsGetSiteName DsGetSiteNameW
+#define DsValidateSubnetName DsValidateSubnetNameW
#else
typedef DOMAIN_CONTROLLER_INFOA DOMAIN_CONTROLLER_INFO, *PDOMAIN_CONTROLLER_INFO;
typedef DS_DOMAIN_TRUSTSA DS_DOMAIN_TRUSTS, *PDS_DOMAIN_TRUSTS;
@@ -194,6 +203,7 @@
#define DsGetDcName DsGetDcNameA
#define DsGetDcSiteCoverage DsGetDcSiteCoverageA
#define DsGetSiteName DsGetSiteNameA
+#define DsValidateSubnetName DsValidateSubnetNameA
#endif
#ifdef __cplusplus