[KERNEL32]: Fix the spec/pspec files to match 100% the exports on NT 5.2's Kernel32.dll

[KERNEL32]: Remove, add, fix, stub functions where necessary to handle these new/modified exports.

svn path=/trunk/; revision=52854
This commit is contained in:
Alex Ionescu 2011-07-24 23:42:09 +00:00
parent 6b64e5ce54
commit 425c57b083
8 changed files with 253 additions and 1055 deletions

View file

@ -17,6 +17,17 @@
/* FUNCTIONS ******************************************************************/
/*
* @unimplemented
*/
NTSTATUS
WINAPI
BasepCheckBadapp(int a, wchar_t *Str, int b, int c, int d, int e, int f, int g, int h)
{
STUB;
return STATUS_NOT_IMPLEMENTED;
}
/*
* @unimplemented
*/
@ -37,6 +48,27 @@ BaseFlushAppcompatCache(VOID)
STUB;
}
/*
* @unimplemented
*/
VOID
WINAPI
BasepFreeAppCompatData(PVOID A, PVOID B)
{
STUB;
}
/*
* @unimplemented
*/
BOOL
WINAPI
BaseIsAppcompatInfrastructureDisabled(VOID)
{
STUB;
return TRUE;
}
/*
* @unimplemented
*/

View file

@ -509,4 +509,26 @@ ExpandEnvironmentStringsW (
return (Length / sizeof(WCHAR));
}
/*
* @implemented
*/
BOOL
WINAPI
SetEnvironmentStringsA(IN LPCH NewEnvironment)
{
STUB;
return FALSE;
}
/*
* @implemented
*/
BOOL
WINAPI
SetEnvironmentStringsW(IN LPWCH NewEnvironment)
{
STUB;
return FALSE;
}
/* EOF */

View file

@ -446,6 +446,16 @@ GetSystemTimes(LPFILETIME lpIdleTime,
return TRUE;
}
/*
* @implemented
*/
BOOL
WINAPI
IsTimeZoneRedirectionEnabled(VOID)
{
/* To be implemented soon */
//return (BaseStaticServerData->TermsrvClientTimeZoneId != TIME_ZONE_ID_INVALID);
return FALSE;
}
/* EOF */

View file

@ -30,23 +30,6 @@ CmdBatNotification (
return FALSE;
}
/*
* @unimplemented
*/
DWORD
WINAPI
CreateVirtualBuffer (
DWORD Unknown0,
DWORD Unknown1,
DWORD Unknown2
)
{
STUB;
return 0;
}
/*
* @unimplemented
*/
@ -62,35 +45,6 @@ ExitVDM (
}
/*
* @unimplemented
*/
BOOL
WINAPI
ExtendVirtualBuffer (
DWORD Unknown0,
DWORD Unknown1
)
{
STUB;
return FALSE;
}
/*
* @unimplemented
*/
BOOL
WINAPI
FreeVirtualBuffer (
HANDLE hVirtualBuffer
)
{
STUB;
return FALSE;
}
/*
* @unimplemented
*/
@ -186,21 +140,6 @@ SetVDMCurrentDirectories (
return FALSE;
}
/*
* @unimplemented
*/
DWORD
WINAPI
TrimVirtualBuffer (
DWORD Unknown0
)
{
STUB;
return 0;
}
/*
* @unimplemented
*/
@ -228,18 +167,3 @@ VDMOperationStarted (
STUB;
return 0;
}
/*
* @unimplemented
*/
DWORD
WINAPI
VirtualBufferExceptionHandler (
DWORD Unknown0,
DWORD Unknown1,
DWORD Unknown2
)
{
STUB;
return 0;
}

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -593,3 +593,31 @@ void WINAPI LZClose( HFILE fd )
HeapFree( GetProcessHeap(), 0, lzs );
}
}
/*
* @implemented
*/
VOID
WINAPI
LZCloseFile(IN HFILE FileHandle)
{
/* One function uses _lclose, the other CloseHandle -- same thing */
LZClose(FileHandle);
}
/*
* @unimplemented
*/
ULONG
WINAPI
LZCreateFileW(IN LPCWSTR FileName,
IN DWORD dwDesiredAccess,
IN DWORD dwShareMode,
IN DWORD dwCreationDisposition,
IN LPWSTR lpString1)
{
WARN(" LZCreateFileW Not implemented!\n");
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return ERROR_CALL_NOT_IMPLEMENTED;
}

View file

@ -2066,6 +2066,20 @@ UINT WINAPI SetCPGlobal(UINT CodePage)
return 0;
}
/*
* @unimplemented
*/
BOOL
WINAPI
ValidateLCType(int a1, unsigned int a2, int a3, int a4)
{
STUB;
return FALSE;
}
/*
* @unimplemented
*/
BOOL
WINAPI
NlsResetProcessLocale(VOID)
@ -2074,6 +2088,9 @@ NlsResetProcessLocale(VOID)
return TRUE;
}
/*
* @unimplemented
*/
VOID
WINAPI
GetDefaultSortkeySize(LPVOID lpUnknown)
@ -2082,6 +2099,9 @@ GetDefaultSortkeySize(LPVOID lpUnknown)
lpUnknown = NULL;
}
/*
* @unimplemented
*/
VOID
WINAPI
GetLinguistLangSize(LPVOID lpUnknown)
@ -2090,6 +2110,20 @@ GetLinguistLangSize(LPVOID lpUnknown)
lpUnknown = NULL;
}
/*
* @unimplemented
*/
BOOL
WINAPI
ValidateLocale(IN ULONG LocaleId)
{
STUB;
return TRUE;
}
/*
* @unimplemented
*/
ULONG
WINAPI
NlsGetCacheUpdateCount(VOID)
@ -2098,4 +2132,32 @@ NlsGetCacheUpdateCount(VOID)
return 0;
}
/*
* @unimplemented
*/
BOOL
WINAPI
IsNLSDefinedString(IN NLS_FUNCTION Function,
IN DWORD dwFlags,
IN LPNLSVERSIONINFO lpVersionInformation,
IN LPCWSTR lpString,
IN INT cchStr)
{
STUB;
return TRUE;
}
/*
* @unimplemented
*/
BOOL
WINAPI
GetNLSVersion(IN NLS_FUNCTION Function,
IN LCID Locale,
IN OUT LPNLSVERSIONINFO lpVersionInformation)
{
STUB;
return TRUE;
}
/* EOF */