mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 03:54:02 +00:00
[NETAPI32]
- Add DsValidateSubnetNameA/W stubs. - Move DsRoleFreeMemory to a better location. [SDK/INCLUDE] Add DsValidateSubnetNameA/W prototypes to dsgetdc.h. svn path=/trunk/; revision=75306
This commit is contained in:
parent
a18e985b12
commit
f45220c16f
4 changed files with 39 additions and 7 deletions
|
@ -77,6 +77,16 @@ DsSetupUnbind(
|
|||
}
|
||||
|
||||
|
||||
VOID
|
||||
WINAPI
|
||||
DsRoleFreeMemory(
|
||||
_In_ PVOID Buffer)
|
||||
{
|
||||
TRACE("DsRoleFreeMemory(%p)\n", Buffer);
|
||||
HeapFree(GetProcessHeap(), 0, Buffer);
|
||||
}
|
||||
|
||||
|
||||
DWORD
|
||||
WINAPI
|
||||
DsRoleGetPrimaryDomainInformation(
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -436,13 +436,25 @@ DsMergeForestTrustInformationW(
|
|||
}
|
||||
|
||||
|
||||
VOID
|
||||
DWORD
|
||||
WINAPI
|
||||
DsRoleFreeMemory(
|
||||
_In_ PVOID Buffer)
|
||||
DsValidateSubnetNameA(
|
||||
_In_ LPCSTR SubnetName)
|
||||
{
|
||||
TRACE("DsRoleFreeMemory(%p)\n", Buffer);
|
||||
HeapFree(GetProcessHeap(), 0, Buffer);
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -176,6 +176,14 @@ DsMergeForestTrustInformationW(
|
|||
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;
|
||||
typedef DS_DOMAIN_TRUSTSW DS_DOMAIN_TRUSTS, *PDS_DOMAIN_TRUSTS;
|
||||
|
@ -185,6 +193,7 @@ typedef DS_DOMAIN_TRUSTSW DS_DOMAIN_TRUSTS, *PDS_DOMAIN_TRUSTS;
|
|||
#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 @@ typedef DS_DOMAIN_TRUSTSA DS_DOMAIN_TRUSTS, *PDS_DOMAIN_TRUSTS;
|
|||
#define DsGetDcName DsGetDcNameA
|
||||
#define DsGetDcSiteCoverage DsGetDcSiteCoverageA
|
||||
#define DsGetSiteName DsGetSiteNameA
|
||||
#define DsValidateSubnetName DsValidateSubnetNameA
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
Loading…
Reference in a new issue