mirror of
https://github.com/reactos/reactos.git
synced 2025-01-05 22:12:46 +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
|
DWORD
|
||||||
WINAPI
|
WINAPI
|
||||||
DsRoleGetPrimaryDomainInformation(
|
DsRoleGetPrimaryDomainInformation(
|
||||||
|
|
|
@ -36,8 +36,8 @@
|
||||||
@ stub DsRoleIfmHandleFree
|
@ stub DsRoleIfmHandleFree
|
||||||
@ stub DsRoleServerSaveStateForUpgrade
|
@ stub DsRoleServerSaveStateForUpgrade
|
||||||
@ stub DsRoleUpgradeDownlevelServer
|
@ stub DsRoleUpgradeDownlevelServer
|
||||||
@ stub DsValidateSubnetNameA
|
@ stdcall DsValidateSubnetNameA(str)
|
||||||
@ stub DsValidateSubnetNameW
|
@ stdcall DsValidateSubnetNameW(wstr)
|
||||||
@ stub I_BrowserDebugCall
|
@ stub I_BrowserDebugCall
|
||||||
@ stdcall I_BrowserDebugTrace(wstr str)
|
@ stdcall I_BrowserDebugTrace(wstr str)
|
||||||
@ stdcall I_BrowserQueryEmulatedDomains(wstr ptr ptr)
|
@ stdcall I_BrowserQueryEmulatedDomains(wstr ptr ptr)
|
||||||
|
|
|
@ -436,13 +436,25 @@ DsMergeForestTrustInformationW(
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
VOID
|
DWORD
|
||||||
WINAPI
|
WINAPI
|
||||||
DsRoleFreeMemory(
|
DsValidateSubnetNameA(
|
||||||
_In_ PVOID Buffer)
|
_In_ LPCSTR SubnetName)
|
||||||
{
|
{
|
||||||
TRACE("DsRoleFreeMemory(%p)\n", Buffer);
|
FIXME("DsValidateSubnetNameA(%s)\n",
|
||||||
HeapFree(GetProcessHeap(), 0, Buffer);
|
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 OldForestTrustInfo,
|
||||||
PLSA_FOREST_TRUST_INFORMATION *ForestTrustInfo);
|
PLSA_FOREST_TRUST_INFORMATION *ForestTrustInfo);
|
||||||
|
|
||||||
|
DWORD WINAPI
|
||||||
|
DsValidateSubnetNameA(
|
||||||
|
LPCSTR SubnetName);
|
||||||
|
|
||||||
|
DWORD WINAPI
|
||||||
|
DsValidateSubnetNameW(
|
||||||
|
LPCWSTR SubnetName);
|
||||||
|
|
||||||
#ifdef UNICODE
|
#ifdef UNICODE
|
||||||
typedef DOMAIN_CONTROLLER_INFOW DOMAIN_CONTROLLER_INFO, *PDOMAIN_CONTROLLER_INFO;
|
typedef DOMAIN_CONTROLLER_INFOW DOMAIN_CONTROLLER_INFO, *PDOMAIN_CONTROLLER_INFO;
|
||||||
typedef DS_DOMAIN_TRUSTSW DS_DOMAIN_TRUSTS, *PDS_DOMAIN_TRUSTS;
|
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 DsGetDcName DsGetDcNameW
|
||||||
#define DsGetDcSiteCoverage DsGetDcSiteCoverageW
|
#define DsGetDcSiteCoverage DsGetDcSiteCoverageW
|
||||||
#define DsGetSiteName DsGetSiteNameW
|
#define DsGetSiteName DsGetSiteNameW
|
||||||
|
#define DsValidateSubnetName DsValidateSubnetNameW
|
||||||
#else
|
#else
|
||||||
typedef DOMAIN_CONTROLLER_INFOA DOMAIN_CONTROLLER_INFO, *PDOMAIN_CONTROLLER_INFO;
|
typedef DOMAIN_CONTROLLER_INFOA DOMAIN_CONTROLLER_INFO, *PDOMAIN_CONTROLLER_INFO;
|
||||||
typedef DS_DOMAIN_TRUSTSA DS_DOMAIN_TRUSTS, *PDS_DOMAIN_TRUSTS;
|
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 DsGetDcName DsGetDcNameA
|
||||||
#define DsGetDcSiteCoverage DsGetDcSiteCoverageA
|
#define DsGetDcSiteCoverage DsGetDcSiteCoverageA
|
||||||
#define DsGetSiteName DsGetSiteNameA
|
#define DsGetSiteName DsGetSiteNameA
|
||||||
|
#define DsValidateSubnetName DsValidateSubnetNameA
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|
Loading…
Reference in a new issue