- Add some stubs.

- Implement kernel32.FatalExit.
This commit is contained in:
Robert Shearman 2003-01-13 20:44:13 +00:00 committed by Alexandre Julliard
parent a96bfbd181
commit bda22de541
10 changed files with 63 additions and 4 deletions

View File

@ -333,3 +333,7 @@
@ stub EnumServiceGroupA
@ stub EnumServiceGroupW
@ stdcall CheckTokenMembership(long ptr ptr) CheckTokenMembership
@ stub WmiQuerySingleInstanceW
@ stub WmiSetSingleInstanceW
@ stub WmiOpenBlock
@ stub WmiCloseBlock

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -879,6 +879,26 @@ HRESULT WINAPI CoInternetGetSession(DWORD dwSessionMode, /*IInternetSession*/voi
return E_OUTOFMEMORY;
}
/***********************************************************************
* 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.@)
*

View File

@ -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

View File

@ -1 +1,7 @@
@ stub CryptCATAdminAcquireContext
@ stub CryptCATAdminCalcHashFromFileHandle
@ stub CryptCATAdminEnumCatalogFromHash
@ stub CryptCATAdminReleaseContext
@ stub CryptCATAdminReleaseCatalogContext
@ stub CryptCATCatalogInfoFromContext
@ stdcall WinVerifyTrust(long ptr ptr) WinVerifyTrust

View File

@ -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;
}

View File

@ -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);

View File

@ -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);
}