A Bunch of Stubs and kernel32.FatalExit

Robert Shearman R.J.Shearman at warwick.ac.uk
Sat Jan 11 19:28:02 CST 2003


Hi,

This is a collection of stubs for stuff all over the place. Also included is
an implementation for kernel32.FatalExit as it was hard to seperate from
this patch.

ChangeLog:
- Add some stubs
- Implement kernel32.FatalExit
-------------- next part --------------
Index: wine/dlls/advapi32/advapi32.spec
===================================================================
RCS file: /home/wine/wine/dlls/advapi32/advapi32.spec,v
retrieving revision 1.30
diff -u -r1.30 advapi32.spec
--- wine/dlls/advapi32/advapi32.spec	19 Dec 2002 04:15:23 -0000	1.30
+++ wine/dlls/advapi32/advapi32.spec	11 Jan 2003 21:07:00 -0000
@@ -333,3 +333,7 @@
 @ stub EnumServiceGroupA
 @ stub EnumServiceGroupW
 @ stdcall CheckTokenMembership(long ptr ptr) CheckTokenMembership
+@ stub WmiQuerySingleInstanceW
+@ stub WmiSetSingleInstanceW
+@ stub WmiOpenBlock
+@ stub WmiCloseBlock
Index: wine/dlls/kernel/kernel32.spec
===================================================================
RCS file: /home/wine/wine/dlls/kernel/kernel32.spec,v
retrieving revision 1.89
diff -u -r1.89 kernel32.spec
--- wine/dlls/kernel/kernel32.spec	3 Jan 2003 03:03:07 -0000	1.89
+++ wine/dlls/kernel/kernel32.spec	11 Jan 2003 21:07:08 -0000
@@ -286,7 +286,7 @@
 @ stdcall -register -i386 FT_Thunk() FT_Thunk
 @ stdcall FatalAppExitA(long str) FatalAppExitA
 @ stdcall FatalAppExitW(long wstr) FatalAppExitW
-@ stub FatalExit
+@ stdcall FatalExit(long) FatalExit
 @ stdcall FileTimeToDosDateTime(ptr ptr ptr) FileTimeToDosDateTime
 @ stdcall FileTimeToLocalFileTime(ptr ptr) FileTimeToLocalFileTime
 @ stdcall FileTimeToSystemTime(ptr ptr) FileTimeToSystemTime
@@ -512,7 +512,7 @@
 @ stdcall GetVolumeInformationA(str ptr long ptr ptr ptr ptr long) GetVolumeInformationA
 @ stdcall GetVolumeInformationW(wstr ptr long ptr ptr ptr ptr long) GetVolumeInformationW
 @ stub GetVolumeNameForVolumeMountPointA
-@ stub GetVolumeNameForVolumeMountPointW
+@ stdcall GetVolumeNameForVolumeMountPointW(wstr long long) GetVolumeNameForVolumeMountPointW
 @ stub GetVolumePathNameA
 @ stub GetVolumePathNameW
 @ stdcall GetWindowsDirectoryA(ptr long) GetWindowsDirectoryA
@@ -1039,6 +1039,8 @@
 @ stdcall SetThreadExecutionState(long) SetThreadExecutionState
 
 # Windows 2000, Terminal Server 4.0 SP4 functions
+@ stub AssignProcessToJobObject
+@ stub CreateJobObjectW
 @ stdcall CreateTimerQueue () CreateTimerQueue
 @ stdcall CreateTimerQueueTimer(ptr long ptr ptr long long long) CreateTimerQueueTimer
 @ stdcall DeleteTimerQueueEx (long long) DeleteTimerQueueEx
@@ -1055,6 +1057,8 @@
 @ stdcall SetCalendarInfoA(long long long str) SetCalendarInfoA
 @ stdcall SetCalendarInfoW(long long long wstr) SetCalendarInfoW
 @ stdcall SetCriticalSectionSpinCount(ptr long) SetCriticalSectionSpinCount
+@ stub SetInformationJobObject
+@ stub SetTermsrvAppInstallMode
 @ stdcall VerifyVersionInfoA(long long long long) VerifyVersionInfoA
 @ stdcall VerifyVersionInfoW(long long long long) VerifyVersionInfoW
 
Index: wine/dlls/ntdll/ntdll.spec
===================================================================
RCS file: /home/wine/wine/dlls/ntdll/ntdll.spec,v
retrieving revision 1.86
diff -u -r1.86 ntdll.spec
--- wine/dlls/ntdll/ntdll.spec	12 Dec 2002 02:20:47 -0000	1.86
+++ wine/dlls/ntdll/ntdll.spec	11 Jan 2003 21:07:09 -0000
@@ -894,6 +894,7 @@
 @ stub _fltused
 @ cdecl _ftol() NTDLL__ftol
 @ cdecl _itoa(long ptr long) _itoa
+@ stub _itow #(long ptr long) _itow
 @ cdecl _ltoa(long ptr long) _ltoa
 @ cdecl _memccpy(ptr ptr long long) memccpy
 @ cdecl _memicmp(str str long) NTDLL__memicmp
Index: wine/dlls/setupapi/setupapi.spec
===================================================================
RCS file: /home/wine/wine/dlls/setupapi/setupapi.spec,v
retrieving revision 1.19
diff -u -r1.19 setupapi.spec
--- wine/dlls/setupapi/setupapi.spec	29 Oct 2002 21:31:26 -0000	1.19
+++ wine/dlls/setupapi/setupapi.spec	11 Jan 2003 21:07:12 -0000
@@ -68,6 +125,7 @@
 @ stdcall SetupCommitFileQueueW(long long ptr ptr) SetupCommitFileQueueW
 @ stub SetupCopyErrorA
 @ stub SetupCopyErrorW
+@ stub SetupCopyOEMInfW
 @ stub SetupCreateDiskSpaceListA
 @ stub SetupCreateDiskSpaceListW
 @ stub SetupDecompressOrCopyFileA
@@ -120,6 +178,7 @@
 @ stdcall SetupDiGetClassDevsW(ptr ptr long long) SetupDiGetClassDevsW
 @ stub SetupDiGetClassImageIndex
 @ stub SetupDiGetClassImageList
+@ stub SetupDiGetClassImageListExW
 @ stub SetupDiGetClassInstallParamsA
 @ stub SetupDiGetClassInstallParamsW
 @ stub SetupDiGetDeviceInfoListClass
@@ -157,6 +216,7 @@
 @ stub SetupDiOpenDevRegKey
 @ stub SetupDiOpenDeviceInfoA
 @ stub SetupDiOpenDeviceInfoW
+@ stub SetupDiOpenDeviceInterfaceRegKey
 @ stub SetupDiRegisterDeviceInfo
 @ stub SetupDiRemoveDevice
 @ stub SetupDiSelectDevice
@@ -245,6 +305,7 @@
 @ stub SetupQueryInfFileInformationW
 @ stub SetupQueryInfVersionInformationA
 @ stub SetupQueryInfVersionInformationW
+@ stub SetupQueryInfOriginalFileInformationW
 @ stub SetupQuerySourceListA
 @ stub SetupQuerySourceListW
 @ stub SetupQuerySpaceRequiredOnDriveA
Index: wine/dlls/urlmon/umon.c
===================================================================
RCS file: /home/wine/wine/dlls/urlmon/umon.c,v
retrieving revision 1.19
diff -u -r1.19 umon.c
--- wine/dlls/urlmon/umon.c	7 Jan 2003 20:36:23 -0000	1.19
+++ wine/dlls/urlmon/umon.c	11 Jan 2003 21:07:25 -0000
@@ -880,12 +880,31 @@
 }
 
 /***********************************************************************
+ *           CoInternetQueryInfo (URLMON.@)
+ *
+ * Retrieves information relevant to a specified URL
+ *
+ * RETURNS
+ *    S_OK 			success
+ *    S_FALSE			buffer too small
+ *    INET_E_QUERYOPTIONUNKNOWN	invalid option
+ *
+ */
+HRESULT CoInternetQueryInfo(LPCWSTR pwzUrl, QUERYOPTION QueryOption,
+  DWORD dwQueryFlags, LPVOID pvBuffer, DWORD cbBuffer, DWORD * pcbBuffer,
+  DWORD dwReserved)
+{
+  FIXME("(%s, %x, %lx, %p, %lx, %p, %lx): stub\n", debugstr_w(pwzUrl),
+    QueryOption, dwQueryFlags, pvBuffer, cbBuffer, pcbBuffer, dwReserved);
+  return S_OK;
+}
+/***********************************************************************
  *           FindMimeFromData (URLMON.@)
  *
  * Determines the Multipurpose Internet Mail Extensions (MIME) type from the data provided.
  *
  */
-HRESULT WINAPI FindMimeFromData(LPBC pBC, LPCWSTR pwzUrl, LPVOID pBuffer, 
+HRESULT WINAPI FindMimeFromData(LPBC pBC, LPCWSTR pwzUrl, LPVOID pBuffer,
    DWORD cbSize, LPCWSTR pwzMimeProposed, DWORD dwMimeFlags,
    LPWSTR* ppwzMimeOut, DWORD dwReserved)
 {
Index: wine/dlls/urlmon/urlmon.spec
===================================================================
RCS file: /home/wine/wine/dlls/urlmon/urlmon.spec,v
retrieving revision 1.20
diff -u -r1.20 urlmon.spec
--- wine/dlls/urlmon/urlmon.spec	19 Dec 2002 21:16:56 -0000	1.20
+++ wine/dlls/urlmon/urlmon.spec	11 Jan 2003 21:07:25 -0000
@@ -13,7 +13,7 @@
 @ stub CoInternetGetSecurityUrl
 @ stdcall CoInternetGetSession(long ptr long) CoInternetGetSession
 @ stub CoInternetParseUrl
-@ stub CoInternetQueryInfo
+@ stdcall CoInternetQueryInfo(ptr long long ptr long ptr long) CoInternetQueryInfo
 @ stub CopyBindInfo
 @ stub CopyStgMedium
 @ stub CreateAsyncBindCtx
Index: wine/dlls/wintrust/wintrust.spec
===================================================================
RCS file: /home/wine/wine/dlls/wintrust/wintrust.spec,v
retrieving revision 1.4
diff -u -r1.4 wintrust.spec
--- wine/dlls/wintrust/wintrust.spec	21 Jun 2002 19:15:51 -0000	1.4
+++ wine/dlls/wintrust/wintrust.spec	11 Jan 2003 21:07:29 -0000
@@ -1 +1,7 @@
+@ stub CryptCATAdminAcquireContext
+@ stub CryptCATAdminCalcHashFromFileHandle
+@ stub CryptCATAdminEnumCatalogFromHash
+@ stub CryptCATAdminReleaseContext
+@ stub CryptCATAdminReleaseCatalogContext
+@ stub CryptCATCatalogInfoFromContext
 @ stdcall WinVerifyTrust(long ptr ptr) WinVerifyTrust
Index: wine/files/drive.c
===================================================================
RCS file: /home/wine/wine/files/drive.c,v
retrieving revision 1.82
diff -u -r1.82 drive.c
--- wine/files/drive.c	7 Jan 2003 20:36:22 -0000	1.82
+++ wine/files/drive.c	11 Jan 2003 21:07:33 -0000
@@ -2061,3 +2061,12 @@
     RtlFreeUnicodeString(&volnameW);
     return ret;
 }
+
+/***********************************************************************
+ *           GetVolumeNameForVolumeMountPointW   (KERNEL32.@)
+ */
+DWORD WINAPI GetVolumeNameForVolumeMountPointW(LPWSTR str, DWORD a, DWORD b)
+{
+    FIXME("(%s, %lx, %lx): stub\n", debugstr_w(str), a, b);
+    return 0;
+}
Index: wine/win32/except.c
===================================================================
RCS file: /home/wine/wine/win32/except.c,v
retrieving revision 1.63
diff -u -r1.63 except.c
--- wine/win32/except.c	12 Dec 2002 23:34:01 -0000	1.63
+++ wine/win32/except.c	11 Jan 2003 21:07:43 -0000
@@ -522,3 +522,9 @@
     else ERR( "%s\n", debugstr_w(str) );
     ExitProcess(0);
 }
+
+void WINAPI FatalExit(int ExitCode)
+{
+    WARN("FatalExit\n");
+    ExitProcess(ExitCode);
+}
Index: wine/include/winbase.h
===================================================================
RCS file: /home/wine/wine/include/winbase.h,v
retrieving revision 1.177
diff -u -r1.177 winbase.h
--- wine/include/winbase.h	4 Jan 2003 00:52:20 -0000	1.177
+++ wine/include/winbase.h	11 Jan 2003 21:07:35 -0000
@@ -1564,6 +1564,7 @@
 #define     DeleteFile WINELIB_NAME_AW(DeleteFile)
 void        WINAPI FatalAppExitA(UINT,LPCSTR);
 void        WINAPI FatalAppExitW(UINT,LPCWSTR);
+void        WINAPI FatalExit(int);
 #define     FatalAppExit WINELIB_NAME_AW(FatalAppExit)
 ATOM        WINAPI FindAtomA(LPCSTR);
 ATOM        WINAPI FindAtomW(LPCWSTR);


More information about the wine-patches mailing list