Austin English : netapi32: Add a stub for DsGetSiteNameA.

Alexandre Julliard julliard at winehq.org
Fri Jun 17 13:13:45 CDT 2011


Module: wine
Branch: master
Commit: 94ae7ebdaada5e590db0402946d8b76056417e9f
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=94ae7ebdaada5e590db0402946d8b76056417e9f

Author: Austin English <austinenglish at gmail.com>
Date:   Thu Jun 16 12:48:59 2011 -0700

netapi32: Add a stub for DsGetSiteNameA.

---

 dlls/netapi32/ds.c          |    6 ++++++
 dlls/netapi32/netapi32.spec |    4 ++--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/dlls/netapi32/ds.c b/dlls/netapi32/ds.c
index 386e222..e7bbe9c 100644
--- a/dlls/netapi32/ds.c
+++ b/dlls/netapi32/ds.c
@@ -58,6 +58,12 @@ DWORD WINAPI DsGetSiteNameW(LPCWSTR ComputerName, LPWSTR *SiteName)
     return ERROR_CALL_NOT_IMPLEMENTED;
 }
 
+DWORD WINAPI DsGetSiteNameA(LPCSTR ComputerName, LPSTR *SiteName)
+{
+    FIXME("(%s, %p): stub\n", debugstr_a(ComputerName), SiteName);
+    return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
 /************************************************************
  *  DsRoleFreeMemory (NETAPI32.@)
  *
diff --git a/dlls/netapi32/netapi32.spec b/dlls/netapi32/netapi32.spec
index 7905504..28d6427 100644
--- a/dlls/netapi32/netapi32.spec
+++ b/dlls/netapi32/netapi32.spec
@@ -9,8 +9,8 @@
 @ stub DsGetDcOpen
 @ stub DsGetDcSiteCoverage
 @ stub DsGetForestTrustInformationW
-@ stub DsGetSiteNameA # (str str)
-@ stdcall DsGetSiteNameW(wstr wstr)
+@ stdcall DsGetSiteNameA(str ptr)
+@ stdcall DsGetSiteNameW(wstr ptr)
 @ stub DsMergeForestTrustInformationW
 @ stdcall DsRoleFreeMemory(ptr)
 @ stdcall DsRoleGetPrimaryDomainInformation(wstr long ptr)




More information about the wine-cvs mailing list