Detlef Riekenberg : shlwapi: Add a stub for SHSetDefaultDialogFont.

Alexandre Julliard julliard at winehq.org
Wed Sep 10 06:01:43 CDT 2008


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

Author: Detlef Riekenberg <wine.dev at web.de>
Date:   Tue Sep  9 23:04:14 2008 +0200

shlwapi: Add a stub for SHSetDefaultDialogFont.

---

 dlls/shlwapi/ordinal.c    |   19 +++++++++++++++++++
 dlls/shlwapi/shlwapi.spec |    2 +-
 2 files changed, 20 insertions(+), 1 deletions(-)

diff --git a/dlls/shlwapi/ordinal.c b/dlls/shlwapi/ordinal.c
index b7be1f1..bd549a1 100644
--- a/dlls/shlwapi/ordinal.c
+++ b/dlls/shlwapi/ordinal.c
@@ -2261,6 +2261,25 @@ HRESULT WINAPI QISearch(
 }
 
 /*************************************************************************
+ * @ [SHLWAPI.220]
+ *
+ * Set the Font for a window and the "PropDlgFont" property of the parent window.
+ *
+ * PARAMS
+ *  hWnd [I] Parent Window to set the property
+ *  id   [I] Index of child Window to set the Font
+ *
+ * RETURNS
+ *  Success: S_OK
+ *
+ */
+HRESULT WINAPI SHSetDefaultDialogFont(HWND hWnd, INT id)
+{
+    FIXME("(%p, %d) stub\n", hWnd, id);
+    return S_OK;
+}
+
+/*************************************************************************
  *      @	[SHLWAPI.221]
  *
  * Remove the "PropDlgFont" property from a window.
diff --git a/dlls/shlwapi/shlwapi.spec b/dlls/shlwapi/shlwapi.spec
index 0e63e9f..f86bd7c 100644
--- a/dlls/shlwapi/shlwapi.spec
+++ b/dlls/shlwapi/shlwapi.spec
@@ -217,7 +217,7 @@
 217 stdcall -noname SHUnicodeToAnsi(wstr ptr ptr)
 218 stdcall -noname SHUnicodeToAnsiCP(long wstr ptr ptr)
 219 stdcall -noname QISearch(long long long long)
-220 stub -noname SHSetDefaultDialogFont
+220 stdcall -noname SHSetDefaultDialogFont(ptr long)
 221 stdcall -noname SHRemoveDefaultDialogFont(ptr)
 222 stdcall -noname SHGlobalCounterCreate(long)
 223 stdcall -noname SHGlobalCounterGetValue(long)




More information about the wine-cvs mailing list