From e6abe0e83ecffe2a2e41b65220c464d32e6280d7 Mon Sep 17 00:00:00 2001 From: Christian Costa Date: Sun, 14 Dec 2008 18:49:45 +0100 Subject: [PATCH] setupx: Add stub for DiInstallClass. --- dlls/setupapi/setupx.spec | 2 +- dlls/setupapi/setupx_main.c | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/dlls/setupapi/setupx.spec b/dlls/setupapi/setupx.spec index 7243a9749d7..590355fb633 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 82593f37973..06903336683 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. -- 2.11.4.GIT