mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 19:42:57 +00:00
[NETAPI32]
- Add DsDeregisterDnsHostRecordsA stub. - Implement DsDeregisterDnsHostRecordsW. [SDK/INCLUDE] Add DsDeregisterDnsHostRecordsA/W prototypes to dsgetdc.h. svn path=/trunk/; revision=75305
This commit is contained in:
parent
0a7125a8be
commit
a18e985b12
3 changed files with 73 additions and 14 deletions
|
@ -3,8 +3,8 @@
|
||||||
@ stub DsAddressToSiteNamesExA
|
@ stub DsAddressToSiteNamesExA
|
||||||
@ stub DsAddressToSiteNamesExW
|
@ stub DsAddressToSiteNamesExW
|
||||||
@ stdcall DsAddressToSiteNamesW(wstr long ptr wstr)
|
@ stdcall DsAddressToSiteNamesW(wstr long ptr wstr)
|
||||||
@ stub DsDeregisterDnsHostRecordsA
|
@ stdcall DsDeregisterDnsHostRecordsA(str str ptr ptr str)
|
||||||
@ stub DsDeregisterDnsHostRecordsW
|
@ stdcall DsDeregisterDnsHostRecordsW(wstr wstr ptr ptr wstr)
|
||||||
8 stdcall DsEnumerateDomainTrustsA(wstr long ptr ptr)
|
8 stdcall DsEnumerateDomainTrustsA(wstr long ptr ptr)
|
||||||
9 stdcall DsEnumerateDomainTrustsW(wstr long ptr ptr)
|
9 stdcall DsEnumerateDomainTrustsW(wstr long ptr ptr)
|
||||||
@ stub DsGetDcCloseW
|
@ stub DsGetDcCloseW
|
||||||
|
|
|
@ -160,6 +160,55 @@ DsAddressToSiteNamesW(
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
DWORD
|
||||||
|
WINAPI
|
||||||
|
DsDeregisterDnsHostRecordsA(
|
||||||
|
_In_opt_ LPSTR ServerName,
|
||||||
|
_In_opt_ LPSTR DnsDomainName,
|
||||||
|
_In_opt_ GUID *DomainGuid,
|
||||||
|
_In_opt_ GUID *DsaGuid,
|
||||||
|
_In_ LPSTR DnsHostName)
|
||||||
|
{
|
||||||
|
FIXME("DsDeregisterDnsHostRecordsA(%s, %s, %p, %p, %s)\n",
|
||||||
|
debugstr_a(ServerName), debugstr_a(DnsDomainName),
|
||||||
|
DomainGuid, DsaGuid, debugstr_a(DnsHostName));
|
||||||
|
return ERROR_CALL_NOT_IMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
DWORD
|
||||||
|
WINAPI
|
||||||
|
DsDeregisterDnsHostRecordsW(
|
||||||
|
_In_opt_ LPWSTR ServerName,
|
||||||
|
_In_opt_ LPWSTR DnsDomainName,
|
||||||
|
_In_opt_ GUID *DomainGuid,
|
||||||
|
_In_opt_ GUID *DsaGuid,
|
||||||
|
_In_ LPWSTR DnsHostName)
|
||||||
|
{
|
||||||
|
NET_API_STATUS status;
|
||||||
|
|
||||||
|
TRACE("DsDeregisterDnsHostRecordsW(%s, %s, %p, %p, %s)\n",
|
||||||
|
debugstr_w(ServerName), debugstr_w(DnsDomainName),
|
||||||
|
DomainGuid, DsaGuid, debugstr_w(DnsHostName));
|
||||||
|
|
||||||
|
RpcTryExcept
|
||||||
|
{
|
||||||
|
status = DsrDeregisterDnsHostRecords(ServerName,
|
||||||
|
DnsDomainName,
|
||||||
|
DomainGuid,
|
||||||
|
DsaGuid,
|
||||||
|
DnsHostName);
|
||||||
|
}
|
||||||
|
RpcExcept(EXCEPTION_EXECUTE_HANDLER)
|
||||||
|
{
|
||||||
|
status = I_RpcMapWin32Status(RpcExceptionCode());
|
||||||
|
}
|
||||||
|
RpcEndExcept;
|
||||||
|
|
||||||
|
return status;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
DWORD
|
DWORD
|
||||||
WINAPI
|
WINAPI
|
||||||
DsEnumerateDomainTrustsA(
|
DsEnumerateDomainTrustsA(
|
||||||
|
|
|
@ -92,6 +92,22 @@ DsAddressToSiteNamesExW(
|
||||||
LPWSTR **SiteNames,
|
LPWSTR **SiteNames,
|
||||||
LPWSTR **SubnetNames);
|
LPWSTR **SubnetNames);
|
||||||
|
|
||||||
|
DWORD WINAPI
|
||||||
|
DsDeregisterDnsHostRecordsA(
|
||||||
|
LPSTR ServerName,
|
||||||
|
LPSTR DnsDomainName,
|
||||||
|
GUID *DomainGuid,
|
||||||
|
GUID *DsaGuid,
|
||||||
|
LPSTR DnsHostName);
|
||||||
|
|
||||||
|
DWORD WINAPI
|
||||||
|
DsDeregisterDnsHostRecordsW(
|
||||||
|
LPWSTR ServerName,
|
||||||
|
LPWSTR DnsDomainName,
|
||||||
|
GUID *DomainGuid,
|
||||||
|
GUID *DsaGuid,
|
||||||
|
LPWSTR DnsHostName);
|
||||||
|
|
||||||
DWORD WINAPI
|
DWORD WINAPI
|
||||||
DsEnumerateDomainTrustsA(
|
DsEnumerateDomainTrustsA(
|
||||||
LPSTR ServerName,
|
LPSTR ServerName,
|
||||||
|
@ -124,42 +140,36 @@ DsGetDcNameW(
|
||||||
ULONG Flags,
|
ULONG Flags,
|
||||||
PDOMAIN_CONTROLLER_INFOW* DomainControllerInfo);
|
PDOMAIN_CONTROLLER_INFOW* DomainControllerInfo);
|
||||||
|
|
||||||
DWORD
|
DWORD WINAPI
|
||||||
WINAPI
|
|
||||||
DsGetDcSiteCoverageA(
|
DsGetDcSiteCoverageA(
|
||||||
LPCSTR ServerName,
|
LPCSTR ServerName,
|
||||||
PULONG EntryCount,
|
PULONG EntryCount,
|
||||||
LPSTR **SiteNames);
|
LPSTR **SiteNames);
|
||||||
|
|
||||||
DWORD
|
DWORD WINAPI
|
||||||
WINAPI
|
|
||||||
DsGetDcSiteCoverageW(
|
DsGetDcSiteCoverageW(
|
||||||
LPCWSTR ServerName,
|
LPCWSTR ServerName,
|
||||||
PULONG EntryCount,
|
PULONG EntryCount,
|
||||||
LPWSTR **SiteNames);
|
LPWSTR **SiteNames);
|
||||||
|
|
||||||
DWORD
|
DWORD WINAPI
|
||||||
WINAPI
|
|
||||||
DsGetForestTrustInformationW(
|
DsGetForestTrustInformationW(
|
||||||
LPCWSTR ServerName,
|
LPCWSTR ServerName,
|
||||||
LPCWSTR TrustedDomainName,
|
LPCWSTR TrustedDomainName,
|
||||||
DWORD Flags,
|
DWORD Flags,
|
||||||
PLSA_FOREST_TRUST_INFORMATION *ForestTrustInfo);
|
PLSA_FOREST_TRUST_INFORMATION *ForestTrustInfo);
|
||||||
|
|
||||||
DWORD
|
DWORD WINAPI
|
||||||
WINAPI
|
|
||||||
DsGetSiteNameA(
|
DsGetSiteNameA(
|
||||||
LPCSTR ComputerName,
|
LPCSTR ComputerName,
|
||||||
LPSTR *SiteName);
|
LPSTR *SiteName);
|
||||||
|
|
||||||
DWORD
|
DWORD WINAPI
|
||||||
WINAPI
|
|
||||||
DsGetSiteNameW(
|
DsGetSiteNameW(
|
||||||
LPCWSTR ComputerName,
|
LPCWSTR ComputerName,
|
||||||
LPWSTR *SiteName);
|
LPWSTR *SiteName);
|
||||||
|
|
||||||
DWORD
|
DWORD WINAPI
|
||||||
WINAPI
|
|
||||||
DsMergeForestTrustInformationW(
|
DsMergeForestTrustInformationW(
|
||||||
LPCWSTR DomainName,
|
LPCWSTR DomainName,
|
||||||
PLSA_FOREST_TRUST_INFORMATION NewForestTrustInfo,
|
PLSA_FOREST_TRUST_INFORMATION NewForestTrustInfo,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue