netapi32: Add stubs for DsGetDcNameW and DsGetSiteNameW.

This commit is contained in:
Juan Lang 2006-09-27 07:23:29 -07:00 committed by Alexandre Julliard
parent 180c814c67
commit afbe00a85e
3 changed files with 25 additions and 2 deletions

View File

@ -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.@)
* *

View File

@ -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)

View File

@ -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