Christian Costa : setupx: Add stub for DiInstallClass.
Alexandre Julliard
julliard at winehq.org
Mon Dec 15 08:27:06 CST 2008
Module: wine
Branch: master
Commit: e6abe0e83ecffe2a2e41b65220c464d32e6280d7
URL: http://source.winehq.org/git/wine.git/?a=commit;h=e6abe0e83ecffe2a2e41b65220c464d32e6280d7
Author: Christian Costa <titan.costa at wanadoo.fr>
Date: Sun Dec 14 18:49:45 2008 +0100
setupx: Add stub for DiInstallClass.
---
dlls/setupapi/setupx.spec | 2 +-
dlls/setupapi/setupx_main.c | 11 +++++++++++
2 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/dlls/setupapi/setupx.spec b/dlls/setupapi/setupx.spec
index 7243a97..590355f 100644
--- a/dlls/setupapi/setupx.spec
+++ b/dlls/setupapi/setupx.spec
@@ -154,7 +154,7 @@
318 pascal -ret16 DiCreateDevRegKey (ptr ptr word str word) DiCreateDevRegKey16
319 pascal -ret16 DiOpenDevRegKey (ptr ptr word) DiOpenDevRegKey16
320 stub DiInstallDrvSection #(str str str str long)
-321 stub DiInstallClass #(str long)
+321 pascal -ret16 DiInstallClass (str long) DiInstallClass16
322 stub DiOpenClassRegKey #(ptr str)
323 stub Display_SetFontSize #(str)
324 stub Display_OpenFontSizeKey #(ptr)
diff --git a/dlls/setupapi/setupx_main.c b/dlls/setupapi/setupx_main.c
index 82593f3..0690333 100644
--- a/dlls/setupapi/setupx_main.c
+++ b/dlls/setupapi/setupx_main.c
@@ -587,6 +587,17 @@ RETERR16 WINAPI CtlGetLddPath16(LOGDISKID16 ldid, LPSTR szPath)
}
/***********************************************************************
+ * DiInstallClass (SETUPX.321)
+ *
+ * Install Class from an INF file (in [ClassInstall] section)
+ */
+RETERR16 WINAPI DiInstallClass16(LPCSTR lpszInfFileName, DWORD dwFlags)
+{
+ FIXME("(%s, %u), stub.\n", lpszInfFileName, dwFlags);
+ return 0;
+}
+
+/***********************************************************************
* CtlSetLddPath (SETUPX.508)
*
* Sets the path of an LDD.
More information about the wine-cvs
mailing list