Commit afbe00a8 authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

netapi32: Add stubs for DsGetDcNameW and DsGetSiteNameW.

parent 180c814c
...@@ -29,9 +29,26 @@ ...@@ -29,9 +29,26 @@
#include "ntsecapi.h" #include "ntsecapi.h"
#include "wine/debug.h" #include "wine/debug.h"
#include "dsrole.h" #include "dsrole.h"
#include "dsgetdc.h"
WINE_DEFAULT_DEBUG_CHANNEL(ds); WINE_DEFAULT_DEBUG_CHANNEL(ds);
DWORD WINAPI DsGetDcNameW(LPCWSTR ComputerName, LPCWSTR AvoidDCName,
GUID* DomainGuid, LPCWSTR SiteName, ULONG Flags,
PDOMAIN_CONTROLLER_INFOW *DomainControllerInfo)
{
FIXME("(%s, %s, %s, %s, %08lx, %p): stub\n", debugstr_w(ComputerName),
debugstr_w(AvoidDCName), debugstr_guid(DomainGuid),
debugstr_w(SiteName), Flags, DomainControllerInfo);
return ERROR_CALL_NOT_IMPLEMENTED;
}
DWORD WINAPI DsGetSiteNameW(LPCWSTR ComputerName, LPWSTR *SiteName)
{
FIXME("(%s, %p): stub\n", debugstr_w(ComputerName), SiteName);
return ERROR_CALL_NOT_IMPLEMENTED;
}
/************************************************************ /************************************************************
* DsRoleFreeMemory (NETAPI32.@) * DsRoleFreeMemory (NETAPI32.@)
* *
......
...@@ -3,12 +3,14 @@ ...@@ -3,12 +3,14 @@
@ stub DsDeregisterDnsHostRecords @ stub DsDeregisterDnsHostRecords
@ stub DsEnumerateDomainTrusts @ stub DsEnumerateDomainTrusts
@ stub DsGetDcClose @ stub DsGetDcClose
@ stub DsGetDcName @ stub DsGetDcNameA # (str str ptr str long ptr)
@ stdcall DsGetDcNameW(wstr wstr ptr wstr long ptr)
@ stub DsGetDcNext @ stub DsGetDcNext
@ stub DsGetDcOpen @ stub DsGetDcOpen
@ stub DsGetDcSiteCoverage @ stub DsGetDcSiteCoverage
@ stub DsGetForestTrustInformationW @ stub DsGetForestTrustInformationW
@ stub DsGetSiteName @ stub DsGetSiteNameA # (str str)
@ stdcall DsGetSiteNameW(wstr wstr)
@ stub DsMergeForestTrustInformationW @ stub DsMergeForestTrustInformationW
@ stdcall DsRoleFreeMemory(ptr) @ stdcall DsRoleFreeMemory(ptr)
@ stdcall DsRoleGetPrimaryDomainInformation(wstr long ptr) @ stdcall DsRoleGetPrimaryDomainInformation(wstr long ptr)
......
...@@ -92,6 +92,10 @@ DWORD WINAPI DsGetDcNameA(LPCSTR,LPCSTR,GUID*,LPCSTR,ULONG,PDOMAIN_CONTROLLER_IN ...@@ -92,6 +92,10 @@ DWORD WINAPI DsGetDcNameA(LPCSTR,LPCSTR,GUID*,LPCSTR,ULONG,PDOMAIN_CONTROLLER_IN
DWORD WINAPI DsGetDcNameW(LPCWSTR,LPCWSTR,GUID*,LPCWSTR,ULONG,PDOMAIN_CONTROLLER_INFOW*); DWORD WINAPI DsGetDcNameW(LPCWSTR,LPCWSTR,GUID*,LPCWSTR,ULONG,PDOMAIN_CONTROLLER_INFOW*);
#define DsGetDcName WINELIB_NAME_AW(DsGetDcName) #define DsGetDcName WINELIB_NAME_AW(DsGetDcName)
DWORD WINAPI DsGetSiteNameA(LPCSTR ComputerName, LPSTR *SiteName);
DWORD WINAPI DsGetSiteNameW(LPCWSTR ComputerName, LPWSTR *SiteName);
#define DsGetSiteName WINELIB_NAME_AW(DsGetSiteName)
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment