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 @@
@ stub EnumServiceGroupA
@ stub EnumServiceGroupW
@ stdcall CheckTokenMembership(long ptr ptr) CheckTokenMembership
@ stub WmiQuerySingleInstanceW
@ stub WmiSetSingleInstanceW
@ stub WmiOpenBlock
@ stub WmiCloseBlock
......@@ -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
......
......@@ -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
......
......@@ -68,6 +68,7 @@
@ stdcall SetupCommitFileQueueW(long long ptr ptr) SetupCommitFileQueueW
@ stub SetupCopyErrorA
@ stub SetupCopyErrorW
@ stub SetupCopyOEMInfW
@ stub SetupCreateDiskSpaceListA
@ stub SetupCreateDiskSpaceListW
@ stub SetupDecompressOrCopyFileA
......@@ -120,6 +121,7 @@
@ stdcall SetupDiGetClassDevsW(ptr ptr long long) SetupDiGetClassDevsW
@ stub SetupDiGetClassImageIndex
@ stub SetupDiGetClassImageList
@ stub SetupDiGetClassImageListExW
@ stub SetupDiGetClassInstallParamsA
@ stub SetupDiGetClassInstallParamsW
@ stub SetupDiGetDeviceInfoListClass
......@@ -157,6 +159,7 @@
@ stub SetupDiOpenDevRegKey
@ stub SetupDiOpenDeviceInfoA
@ stub SetupDiOpenDeviceInfoW
@ stub SetupDiOpenDeviceInterfaceRegKey
@ stub SetupDiRegisterDeviceInfo
@ stub SetupDiRemoveDevice
@ stub SetupDiSelectDevice
......@@ -245,6 +248,7 @@
@ stub SetupQueryInfFileInformationW
@ stub SetupQueryInfVersionInformationA
@ stub SetupQueryInfVersionInformationW
@ stub SetupQueryInfOriginalFileInformationW
@ stub SetupQuerySourceListA
@ stub SetupQuerySourceListW
@ stub SetupQuerySpaceRequiredOnDriveA
......
......@@ -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.@)
*
* 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)
{
......
......@@ -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
......
@ stub CryptCATAdminAcquireContext
@ stub CryptCATAdminCalcHashFromFileHandle
@ stub CryptCATAdminEnumCatalogFromHash
@ stub CryptCATAdminReleaseContext
@ stub CryptCATAdminReleaseCatalogContext
@ stub CryptCATCatalogInfoFromContext
@ stdcall WinVerifyTrust(long ptr ptr) WinVerifyTrust
......@@ -2061,3 +2061,12 @@ BOOL WINAPI SetVolumeLabelA(LPCSTR root, LPCSTR volname)
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;
}
......@@ -1564,6 +1564,7 @@ BOOL WINAPI DeleteFileW(LPCWSTR);
#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);
......
......@@ -522,3 +522,13 @@ void WINAPI FatalAppExitW( UINT action, LPCWSTR str )
else ERR( "%s\n", debugstr_w(str) );
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