netapi32: add a stub for DsGetSiteNameA (try 2)
Austin English
austinenglish at gmail.com
Thu Jun 16 14:48:59 CDT 2011
Brought to you by the keeping Anastasius Focht happy with stubs department :)
fixes http://bugs.winehq.org/show_bug.cgi?id=27405
try 2: fix spec file.
--
-Austin
-------------- next part --------------
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..19a6118 100644
--- a/dlls/netapi32/netapi32.spec
+++ b/dlls/netapi32/netapi32.spec
@@ -9,7 +9,7 @@
@ stub DsGetDcOpen
@ stub DsGetDcSiteCoverage
@ stub DsGetForestTrustInformationW
-@ stub DsGetSiteNameA # (str str)
+@ stdcall DsGetSiteNameA(str ptr)
@ stdcall DsGetSiteNameW(wstr wstr)
@ stub DsMergeForestTrustInformationW
@ stdcall DsRoleFreeMemory(ptr)
More information about the wine-patches
mailing list