Commit bda22de5 authored by Robert Shearman's avatar Robert Shearman Committed by Alexandre Julliard

- Add some stubs.

- Implement kernel32.FatalExit.
parent a96bfbd1
...@@ -333,3 +333,7 @@ ...@@ -333,3 +333,7 @@
@ stub EnumServiceGroupA @ stub EnumServiceGroupA
@ stub EnumServiceGroupW @ stub EnumServiceGroupW
@ stdcall CheckTokenMembership(long ptr ptr) CheckTokenMembership @ stdcall CheckTokenMembership(long ptr ptr) CheckTokenMembership
@ stub WmiQuerySingleInstanceW
@ stub WmiSetSingleInstanceW
@ stub WmiOpenBlock
@ stub WmiCloseBlock
...@@ -286,7 +286,7 @@ ...@@ -286,7 +286,7 @@
@ stdcall -register -i386 FT_Thunk() FT_Thunk @ stdcall -register -i386 FT_Thunk() FT_Thunk
@ stdcall FatalAppExitA(long str) FatalAppExitA @ stdcall FatalAppExitA(long str) FatalAppExitA
@ stdcall FatalAppExitW(long wstr) FatalAppExitW @ stdcall FatalAppExitW(long wstr) FatalAppExitW
@ stub FatalExit @ stdcall FatalExit(long) FatalExit
@ stdcall FileTimeToDosDateTime(ptr ptr ptr) FileTimeToDosDateTime @ stdcall FileTimeToDosDateTime(ptr ptr ptr) FileTimeToDosDateTime
@ stdcall FileTimeToLocalFileTime(ptr ptr) FileTimeToLocalFileTime @ stdcall FileTimeToLocalFileTime(ptr ptr) FileTimeToLocalFileTime
@ stdcall FileTimeToSystemTime(ptr ptr) FileTimeToSystemTime @ stdcall FileTimeToSystemTime(ptr ptr) FileTimeToSystemTime
...@@ -512,7 +512,7 @@ ...@@ -512,7 +512,7 @@
@ stdcall GetVolumeInformationA(str ptr long ptr ptr ptr ptr long) GetVolumeInformationA @ stdcall GetVolumeInformationA(str ptr long ptr ptr ptr ptr long) GetVolumeInformationA
@ stdcall GetVolumeInformationW(wstr ptr long ptr ptr ptr ptr long) GetVolumeInformationW @ stdcall GetVolumeInformationW(wstr ptr long ptr ptr ptr ptr long) GetVolumeInformationW
@ stub GetVolumeNameForVolumeMountPointA @ stub GetVolumeNameForVolumeMountPointA
@ stub GetVolumeNameForVolumeMountPointW @ stdcall GetVolumeNameForVolumeMountPointW(wstr long long) GetVolumeNameForVolumeMountPointW
@ stub GetVolumePathNameA @ stub GetVolumePathNameA
@ stub GetVolumePathNameW @ stub GetVolumePathNameW
@ stdcall GetWindowsDirectoryA(ptr long) GetWindowsDirectoryA @ stdcall GetWindowsDirectoryA(ptr long) GetWindowsDirectoryA
...@@ -1039,6 +1039,8 @@ ...@@ -1039,6 +1039,8 @@
@ stdcall SetThreadExecutionState(long) SetThreadExecutionState @ stdcall SetThreadExecutionState(long) SetThreadExecutionState
# Windows 2000, Terminal Server 4.0 SP4 functions # Windows 2000, Terminal Server 4.0 SP4 functions
@ stub AssignProcessToJobObject
@ stub CreateJobObjectW
@ stdcall CreateTimerQueue () CreateTimerQueue @ stdcall CreateTimerQueue () CreateTimerQueue
@ stdcall CreateTimerQueueTimer(ptr long ptr ptr long long long) CreateTimerQueueTimer @ stdcall CreateTimerQueueTimer(ptr long ptr ptr long long long) CreateTimerQueueTimer
@ stdcall DeleteTimerQueueEx (long long) DeleteTimerQueueEx @ stdcall DeleteTimerQueueEx (long long) DeleteTimerQueueEx
...@@ -1055,6 +1057,8 @@ ...@@ -1055,6 +1057,8 @@
@ stdcall SetCalendarInfoA(long long long str) SetCalendarInfoA @ stdcall SetCalendarInfoA(long long long str) SetCalendarInfoA
@ stdcall SetCalendarInfoW(long long long wstr) SetCalendarInfoW @ stdcall SetCalendarInfoW(long long long wstr) SetCalendarInfoW
@ stdcall SetCriticalSectionSpinCount(ptr long) SetCriticalSectionSpinCount @ stdcall SetCriticalSectionSpinCount(ptr long) SetCriticalSectionSpinCount
@ stub SetInformationJobObject
@ stub SetTermsrvAppInstallMode
@ stdcall VerifyVersionInfoA(long long long long) VerifyVersionInfoA @ stdcall VerifyVersionInfoA(long long long long) VerifyVersionInfoA
@ stdcall VerifyVersionInfoW(long long long long) VerifyVersionInfoW @ stdcall VerifyVersionInfoW(long long long long) VerifyVersionInfoW
......
...@@ -894,6 +894,7 @@ ...@@ -894,6 +894,7 @@
@ stub _fltused @ stub _fltused
@ cdecl _ftol() NTDLL__ftol @ cdecl _ftol() NTDLL__ftol
@ cdecl _itoa(long ptr long) _itoa @ cdecl _itoa(long ptr long) _itoa
@ stub _itow #(long ptr long) _itow
@ cdecl _ltoa(long ptr long) _ltoa @ cdecl _ltoa(long ptr long) _ltoa
@ cdecl _memccpy(ptr ptr long long) memccpy @ cdecl _memccpy(ptr ptr long long) memccpy
@ cdecl _memicmp(str str long) NTDLL__memicmp @ cdecl _memicmp(str str long) NTDLL__memicmp
......
...@@ -68,6 +68,7 @@ ...@@ -68,6 +68,7 @@
@ stdcall SetupCommitFileQueueW(long long ptr ptr) SetupCommitFileQueueW @ stdcall SetupCommitFileQueueW(long long ptr ptr) SetupCommitFileQueueW
@ stub SetupCopyErrorA @ stub SetupCopyErrorA
@ stub SetupCopyErrorW @ stub SetupCopyErrorW
@ stub SetupCopyOEMInfW
@ stub SetupCreateDiskSpaceListA @ stub SetupCreateDiskSpaceListA
@ stub SetupCreateDiskSpaceListW @ stub SetupCreateDiskSpaceListW
@ stub SetupDecompressOrCopyFileA @ stub SetupDecompressOrCopyFileA
...@@ -120,6 +121,7 @@ ...@@ -120,6 +121,7 @@
@ stdcall SetupDiGetClassDevsW(ptr ptr long long) SetupDiGetClassDevsW @ stdcall SetupDiGetClassDevsW(ptr ptr long long) SetupDiGetClassDevsW
@ stub SetupDiGetClassImageIndex @ stub SetupDiGetClassImageIndex
@ stub SetupDiGetClassImageList @ stub SetupDiGetClassImageList
@ stub SetupDiGetClassImageListExW
@ stub SetupDiGetClassInstallParamsA @ stub SetupDiGetClassInstallParamsA
@ stub SetupDiGetClassInstallParamsW @ stub SetupDiGetClassInstallParamsW
@ stub SetupDiGetDeviceInfoListClass @ stub SetupDiGetDeviceInfoListClass
...@@ -157,6 +159,7 @@ ...@@ -157,6 +159,7 @@
@ stub SetupDiOpenDevRegKey @ stub SetupDiOpenDevRegKey
@ stub SetupDiOpenDeviceInfoA @ stub SetupDiOpenDeviceInfoA
@ stub SetupDiOpenDeviceInfoW @ stub SetupDiOpenDeviceInfoW
@ stub SetupDiOpenDeviceInterfaceRegKey
@ stub SetupDiRegisterDeviceInfo @ stub SetupDiRegisterDeviceInfo
@ stub SetupDiRemoveDevice @ stub SetupDiRemoveDevice
@ stub SetupDiSelectDevice @ stub SetupDiSelectDevice
...@@ -245,6 +248,7 @@ ...@@ -245,6 +248,7 @@
@ stub SetupQueryInfFileInformationW @ stub SetupQueryInfFileInformationW
@ stub SetupQueryInfVersionInformationA @ stub SetupQueryInfVersionInformationA
@ stub SetupQueryInfVersionInformationW @ stub SetupQueryInfVersionInformationW
@ stub SetupQueryInfOriginalFileInformationW
@ stub SetupQuerySourceListA @ stub SetupQuerySourceListA
@ stub SetupQuerySourceListW @ stub SetupQuerySourceListW
@ stub SetupQuerySpaceRequiredOnDriveA @ stub SetupQuerySpaceRequiredOnDriveA
......
...@@ -880,12 +880,32 @@ HRESULT WINAPI CoInternetGetSession(DWORD dwSessionMode, /*IInternetSession*/voi ...@@ -880,12 +880,32 @@ HRESULT WINAPI CoInternetGetSession(DWORD dwSessionMode, /*IInternetSession*/voi
} }
/*********************************************************************** /***********************************************************************
* 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.@) * FindMimeFromData (URLMON.@)
* *
* Determines the Multipurpose Internet Mail Extensions (MIME) type from the data provided. * 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, DWORD cbSize, LPCWSTR pwzMimeProposed, DWORD dwMimeFlags,
LPWSTR* ppwzMimeOut, DWORD dwReserved) LPWSTR* ppwzMimeOut, DWORD dwReserved)
{ {
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
@ stub CoInternetGetSecurityUrl @ stub CoInternetGetSecurityUrl
@ stdcall CoInternetGetSession(long ptr long) CoInternetGetSession @ stdcall CoInternetGetSession(long ptr long) CoInternetGetSession
@ stub CoInternetParseUrl @ stub CoInternetParseUrl
@ stub CoInternetQueryInfo @ stdcall CoInternetQueryInfo(ptr long long ptr long ptr long) CoInternetQueryInfo
@ stub CopyBindInfo @ stub CopyBindInfo
@ stub CopyStgMedium @ stub CopyStgMedium
@ stub CreateAsyncBindCtx @ stub CreateAsyncBindCtx
......
@ stub CryptCATAdminAcquireContext
@ stub CryptCATAdminCalcHashFromFileHandle
@ stub CryptCATAdminEnumCatalogFromHash
@ stub CryptCATAdminReleaseContext
@ stub CryptCATAdminReleaseCatalogContext
@ stub CryptCATCatalogInfoFromContext
@ stdcall WinVerifyTrust(long ptr ptr) WinVerifyTrust @ stdcall WinVerifyTrust(long ptr ptr) WinVerifyTrust
...@@ -2061,3 +2061,12 @@ BOOL WINAPI SetVolumeLabelA(LPCSTR root, LPCSTR volname) ...@@ -2061,3 +2061,12 @@ BOOL WINAPI SetVolumeLabelA(LPCSTR root, LPCSTR volname)
RtlFreeUnicodeString(&volnameW); RtlFreeUnicodeString(&volnameW);
return ret; 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;
}
...@@ -1564,6 +1564,7 @@ BOOL WINAPI DeleteFileW(LPCWSTR); ...@@ -1564,6 +1564,7 @@ BOOL WINAPI DeleteFileW(LPCWSTR);
#define DeleteFile WINELIB_NAME_AW(DeleteFile) #define DeleteFile WINELIB_NAME_AW(DeleteFile)
void WINAPI FatalAppExitA(UINT,LPCSTR); void WINAPI FatalAppExitA(UINT,LPCSTR);
void WINAPI FatalAppExitW(UINT,LPCWSTR); void WINAPI FatalAppExitW(UINT,LPCWSTR);
void WINAPI FatalExit(int);
#define FatalAppExit WINELIB_NAME_AW(FatalAppExit) #define FatalAppExit WINELIB_NAME_AW(FatalAppExit)
ATOM WINAPI FindAtomA(LPCSTR); ATOM WINAPI FindAtomA(LPCSTR);
ATOM WINAPI FindAtomW(LPCWSTR); ATOM WINAPI FindAtomW(LPCWSTR);
......
...@@ -522,3 +522,13 @@ void WINAPI FatalAppExitW( UINT action, LPCWSTR str ) ...@@ -522,3 +522,13 @@ void WINAPI FatalAppExitW( UINT action, LPCWSTR str )
else ERR( "%s\n", debugstr_w(str) ); else ERR( "%s\n", debugstr_w(str) );
ExitProcess(0); ExitProcess(0);
} }
/**************************************************************************
* FatalExit (KERNEL32.@)
*/
void WINAPI FatalExit(int ExitCode)
{
WARN("FatalExit\n");
ExitProcess(ExitCode);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment