Module: wine Branch: master Commit: afbe00a85eb96dd2c433dad86b7e285ce3347e13 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=afbe00a85eb96dd2c433dad8...
Author: Juan Lang juan_lang@yahoo.com Date: Wed Sep 27 07:23:29 2006 -0700
netapi32: Add stubs for DsGetDcNameW and DsGetSiteNameW.
---
dlls/netapi32/ds.c | 17 +++++++++++++++++ dlls/netapi32/netapi32.spec | 6 ++++-- include/dsgetdc.h | 4 ++++ 3 files changed, 25 insertions(+), 2 deletions(-)
diff --git a/dlls/netapi32/ds.c b/dlls/netapi32/ds.c index fbcd665..1715257 100644 --- a/dlls/netapi32/ds.c +++ b/dlls/netapi32/ds.c @@ -29,9 +29,26 @@ #include "winternl.h" #include "ntsecapi.h" #include "wine/debug.h" #include "dsrole.h" +#include "dsgetdc.h"
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.@) * diff --git a/dlls/netapi32/netapi32.spec b/dlls/netapi32/netapi32.spec index 702abac..a4f46e2 100644 --- a/dlls/netapi32/netapi32.spec +++ b/dlls/netapi32/netapi32.spec @@ -3,12 +3,14 @@ @ stub DsDeregisterDnsHostRecords @ stub DsEnumerateDomainTrusts @ stub DsGetDcClose -@ stub DsGetDcName +@ stub DsGetDcNameA # (str str ptr str long ptr) +@ stdcall DsGetDcNameW(wstr wstr ptr wstr long ptr) @ stub DsGetDcNext @ stub DsGetDcOpen @ stub DsGetDcSiteCoverage @ stub DsGetForestTrustInformationW -@ stub DsGetSiteName +@ stub DsGetSiteNameA # (str str) +@ stdcall DsGetSiteNameW(wstr wstr) @ stub DsMergeForestTrustInformationW @ stdcall DsRoleFreeMemory(ptr) @ stdcall DsRoleGetPrimaryDomainInformation(wstr long ptr) diff --git a/include/dsgetdc.h b/include/dsgetdc.h index ea947bf..faae31a 100644 --- a/include/dsgetdc.h +++ b/include/dsgetdc.h @@ -92,6 +92,10 @@ DWORD WINAPI DsGetDcNameA(LPCSTR,LPCSTR, DWORD WINAPI DsGetDcNameW(LPCWSTR,LPCWSTR,GUID*,LPCWSTR,ULONG,PDOMAIN_CONTROLLER_INFOW*); #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 } #endif