Added some stubs

Christian Costa titan.costa at wanadoo.fr
Mon Feb 16 16:09:29 CST 2004


Hi,

Changelog :
Added some stubs.

Christian Costa   titan.costa at wanadoo.fr

-------------- next part --------------
Index: include/setupapi.h
===================================================================
RCS file: /home/wine/wine/include/setupapi.h,v
retrieving revision 1.16
diff -u -r1.16 setupapi.h
--- include/setupapi.h	9 Feb 2004 20:57:40 -0000	1.16
+++ include/setupapi.h	16 Feb 2004 21:00:07 -0000
@@ -219,6 +219,12 @@
 DECL_WINELIB_SETUPAPI_TYPE_AW(CABINET_INFO);
 DECL_WINELIB_SETUPAPI_TYPE_AW(PCABINET_INFO);
 
+typedef struct _SP_INF_INFORMATION {
+    DWORD InfStyle;
+    DWORD InfCount;
+    BYTE VersionData[ANYSIZE_ARRAY];
+} SP_INF_INFORMATION, *PSP_INF_INFORMATION;
+
 #define INF_STYLE_NONE           0x00
 #define INF_STYLE_OLDNT          0x01
 #define INF_STYLE_WIN4           0x02
Index: dlls/setupapi/setupapi.spec
===================================================================
RCS file: /home/wine/wine/dlls/setupapi/setupapi.spec,v
retrieving revision 1.23
diff -u -r1.23 setupapi.spec
--- dlls/setupapi/setupapi.spec	27 Oct 2003 22:05:33 -0000	1.23
+++ dlls/setupapi/setupapi.spec	16 Feb 2004 21:00:08 -0000
@@ -195,7 +195,7 @@
 @ stdcall SetupGetFileQueueFlags(long ptr)
 @ stub SetupGetInfFileListA
 @ stub SetupGetInfFileListW
-@ stub SetupGetInfInformationA
+@ stdcall SetupGetInfInformationA(ptr long ptr long ptr)
 @ stub SetupGetInfInformationW
 @ stdcall SetupGetIntField(ptr long ptr)
 @ stdcall SetupGetLineByIndexA(long str long ptr)
Index: dlls/setupapi/stubs.c
===================================================================
RCS file: /home/wine/wine/dlls/setupapi/stubs.c,v
retrieving revision 1.16
diff -u -r1.16 stubs.c
--- dlls/setupapi/stubs.c	5 Jan 2004 21:12:22 -0000	1.16
+++ dlls/setupapi/stubs.c	16 Feb 2004 21:00:09 -0000
@@ -195,3 +195,14 @@
 {
     FIXME("stub, hwnd %p, handle %p, cmdline %s\n", hwnd, handle, debugstr_a(cmdline));
 }
+
+/***********************************************************************
+ *		SetupGetInfInformationA    (SETUPAPI.@)
+ */
+BOOL WINAPI SetupGetInfInformationA( LPCVOID InfSpec, DWORD SearchControl,
+                                     PSP_INF_INFORMATION ReturnBuffer,
+                                     DWORD ReturnBufferSize, PDWORD RequiredSize)
+{
+    FIXME("(%p, %d, %p, %d, %p) Stub!\n");
+    return TRUE;
+}
Index: dlls/msi/msi.spec
===================================================================
RCS file: /home/wine/wine/dlls/msi/msi.spec,v
retrieving revision 1.7
diff -u -r1.7 msi.spec
--- dlls/msi/msi.spec	5 Nov 2003 01:42:02 -0000	1.7
+++ dlls/msi/msi.spec	16 Feb 2004 21:00:09 -0000
@@ -1,6 +1,6 @@
 1 stdcall DllCanUnloadNow() MSI_DllCanUnloadNow
 2 stub DllGetClassObject
-3 stub DllRegisterServer
+3 stdcall -private DllRegisterServer() MSI_DllRegisterServer
 4 stub DllUnregisterServer
 5 stdcall MsiAdvertiseProductA(str str str long)
 6 stdcall MsiAdvertiseProductW(wstr wstr wstr long)
Index: dlls/msi/msi.c
===================================================================
RCS file: /home/wine/wine/dlls/msi/msi.c,v
retrieving revision 1.9
diff -u -r1.9 msi.c
--- dlls/msi/msi.c	5 Nov 2003 01:50:19 -0000	1.9
+++ dlls/msi/msi.c	16 Feb 2004 21:00:10 -0000
@@ -834,3 +834,10 @@
 {
     return FALSE;
 }
+
+HRESULT WINAPI MSI_DllRegisterServer(void)
+{
+    FIXME("Stub!\n");
+    return S_OK;
+}
+


More information about the wine-patches mailing list