- Add some stubs needed by native Windows DLLs.

svn path=/trunk/; revision=9373
This commit is contained in:
Filip Navara 2004-05-13 20:42:28 +00:00
parent 81728cf1b8
commit 63c655e5d1
6 changed files with 64 additions and 16 deletions

View file

@ -1,4 +1,4 @@
; $Id: advapi32.def,v 1.17 2004/03/20 04:32:05 sedwards Exp $ ; $Id: advapi32.def,v 1.18 2004/05/13 20:42:27 navaraf Exp $
; ;
; advapi32.def ; advapi32.def
; ;
@ -137,7 +137,7 @@ GetCurrentHwProfileA@4
;GetExplicitEntriesFromAclA@12 ;GetExplicitEntriesFromAclA@12
;GetExplicitEntriesFromAclW@12 ;GetExplicitEntriesFromAclW@12
GetFileSecurityA@20 GetFileSecurityA@20
;GetFileSecurityW@20 GetFileSecurityW@20
GetKernelObjectSecurity@20 GetKernelObjectSecurity@20
GetLengthSid@4 GetLengthSid@4
;GetMultipleTrusteeA@4 ;GetMultipleTrusteeA@4

View file

@ -1,4 +1,4 @@
; $Id: advapi32.edf,v 1.37 2004/03/20 04:32:06 sedwards Exp $ ; $Id: advapi32.edf,v 1.38 2004/05/13 20:42:27 navaraf Exp $
; ;
; advapi32.edf ; advapi32.edf
; ;
@ -133,7 +133,7 @@ GetCurrentHwProfileA=GetCurrentHwProfileA@4
;GetExplicitEntriesFromAclA=GetExplicitEntriesFromAclA@12 ;GetExplicitEntriesFromAclA=GetExplicitEntriesFromAclA@12
;GetExplicitEntriesFromAclW=GetExplicitEntriesFromAclW@12 ;GetExplicitEntriesFromAclW=GetExplicitEntriesFromAclW@12
GetFileSecurityA=GetFileSecurityA@20 GetFileSecurityA=GetFileSecurityA@20
;GetFileSecurityW=GetFileSecurityW@20 GetFileSecurityW=GetFileSecurityW@20
GetKernelObjectSecurity=GetKernelObjectSecurity@20 GetKernelObjectSecurity=GetKernelObjectSecurity@20
GetLengthSid=GetLengthSid@4 GetLengthSid=GetLengthSid@4
;GetMultipleTrusteeA=GetMultipleTrusteeA@4 ;GetMultipleTrusteeA=GetMultipleTrusteeA@4

View file

@ -1,4 +1,4 @@
/* $Id: misc.c,v 1.14 2004/04/12 15:22:52 navaraf Exp $ /* $Id: misc.c,v 1.15 2004/05/13 20:42:28 navaraf Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS system libraries
@ -67,10 +67,22 @@ GetFileSecurityA (LPCSTR lpFileName,
DWORD nLength, DWORD nLength,
LPDWORD lpnLengthNeeded) LPDWORD lpnLengthNeeded)
{ {
DPRINT("GetFileSecurityW : stub\n"); DPRINT("GetFileSecurityA: stub\n");
return TRUE; return TRUE;
} }
/*
* @unimplemented
*/
BOOL WINAPI
GetFileSecurityW (LPCWSTR lpFileName,
SECURITY_INFORMATION RequestedInformation,
PSECURITY_DESCRIPTOR pSecurityDescriptor,
DWORD nLength, LPDWORD lpnLengthNeeded)
{
DPRINT("GetFileSecurityW: stub\n");
return TRUE;
}
/* /*
* @implemented * @implemented

View file

@ -48,15 +48,15 @@ BackupRead@28
BackupSeek@24 BackupSeek@24
BackupWrite@28 BackupWrite@28
BaseAttachCompleteThunk@0 BaseAttachCompleteThunk@0
;BaseCheckAppcompatCache BaseCheckAppcompatCache@16
;BaseCleanupAppcompatCache ;BaseCleanupAppcompatCache
;BaseCleanupAppcompatCacheSupport ;BaseCleanupAppcompatCacheSupport
;BaseDumpAppcompatCache BaseDumpAppcompatCache@0
;BaseFlushAppcompatCache BaseFlushAppcompatCache@0
;BaseInitAppcompatCache ;BaseInitAppcompatCache
;BaseInitAppcompatCacheSupport ;BaseInitAppcompatCacheSupport
;BaseProcessInitPostImport ;BaseProcessInitPostImport
;BaseUpdateAppcompatCache BaseUpdateAppcompatCache@12
Beep@8 Beep@8
BeginUpdateResourceA@8 BeginUpdateResourceA@8
BeginUpdateResourceW@8 BeginUpdateResourceW@8

View file

@ -1,4 +1,4 @@
; $Id: kernel32.edf,v 1.31 2003/12/17 01:46:08 hyperion Exp $ ; $Id: kernel32.edf,v 1.32 2004/05/13 20:42:28 navaraf Exp $
; ;
; kernel32.edf ; kernel32.edf
; ;
@ -52,15 +52,15 @@ BackupRead=BackupRead@28
BackupSeek=BackupSeek@24 BackupSeek=BackupSeek@24
BackupWrite=BackupWrite@28 BackupWrite=BackupWrite@28
BaseAttachCompleteThunk=BaseAttachCompleteThunk@0 BaseAttachCompleteThunk=BaseAttachCompleteThunk@0
;BaseCheckAppcompatCache BaseCheckAppcompatCache=BaseCheckAppcompatCache@16
;BaseCleanupAppcompatCache ;BaseCleanupAppcompatCache
;BaseCleanupAppcompatCacheSupport ;BaseCleanupAppcompatCacheSupport
;BaseDumpAppcompatCache BaseDumpAppcompatCache=BaseDumpAppcompatCache@0
;BaseFlushAppcompatCache BaseFlushAppcompatCache=BaseFlushAppcompatCache@0
;BaseInitAppcompatCache ;BaseInitAppcompatCache
;BaseInitAppcompatCacheSupport ;BaseInitAppcompatCacheSupport
;BaseProcessInitPostImport ;BaseProcessInitPostImport
;BaseUpdateAppcompatCache BaseUpdateAppcompatCache=BaseUpdateAppcompatCache@12
Beep=Beep@8 Beep=Beep@8
BeginUpdateResourceA=BeginUpdateResourceA@8 BeginUpdateResourceA=BeginUpdateResourceA@8
BeginUpdateResourceW=BeginUpdateResourceW@8 BeginUpdateResourceW=BeginUpdateResourceW@8

View file

@ -1,4 +1,4 @@
/* $Id: stubs.c,v 1.75 2004/05/03 14:34:44 weiden Exp $ /* $Id: stubs.c,v 1.76 2004/05/13 20:42:28 navaraf Exp $
* *
* KERNEL32.DLL stubs (unimplemented functions) * KERNEL32.DLL stubs (unimplemented functions)
* Remove from this file, if you implement them. * Remove from this file, if you implement them.
@ -23,6 +23,41 @@ BaseAttachCompleteThunk (VOID)
return FALSE; return FALSE;
} }
/*
* @unimplemented
*/
VOID STDCALL
BaseDumpAppcompatCache(VOID)
{
DPRINT1("BaseDumpAppcompatCache: stub\n");
}
/*
* @unimplemented
*/
VOID STDCALL
BaseFlushAppcompatCache(VOID)
{
DPRINT1("BaseFlushAppcompatCache: stub\n");
}
/*
* @unimplemented
*/
VOID STDCALL
BaseCheckAppcompatCache(ULONG Unknown1, ULONG Unknown2, ULONG Unknown3, ULONG Unknown4)
{
DPRINT1("BaseCheckAppcompatCache: stub\n");
}
/*
* @unimplemented
*/
VOID STDCALL
BaseUpdateAppcompatCache(ULONG Unknown1, ULONG Unknown2, ULONG Unknown3)
{
DPRINT1("BaseUpdateAppcompatCache: stub\n");
}
/* /*
* @unimplemented * @unimplemented
@ -707,6 +742,7 @@ DeactivateActCtx(
ULONG_PTR ulCookie ULONG_PTR ulCookie
) )
{ {
DbgPrint("DeactivateActCtx: stub\n");
SetLastError(ERROR_CALL_NOT_IMPLEMENTED); SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return 0; return 0;
} }