mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Enable stubs for a few functions needed by dependancy walker.
Add new file stubs.c for the functions I didnt know where to place. svn path=/trunk/; revision=4976
This commit is contained in:
parent
f99f43d367
commit
bf1abd5a1c
6 changed files with 162 additions and 14 deletions
|
@ -1,4 +1,4 @@
|
||||||
; $Id: advapi32.def,v 1.7 2003/03/24 13:45:27 ekohl Exp $
|
; $Id: advapi32.def,v 1.8 2003/06/27 15:19:18 sedwards Exp $
|
||||||
;
|
;
|
||||||
; advapi32.def
|
; advapi32.def
|
||||||
;
|
;
|
||||||
|
@ -405,6 +405,8 @@ SystemFunction030@8
|
||||||
SystemFunction031@8
|
SystemFunction031@8
|
||||||
SystemFunction032@8
|
SystemFunction032@8
|
||||||
SystemFunction033@8
|
SystemFunction033@8
|
||||||
|
;SystemFunction034@8
|
||||||
|
SystemFunction035@8
|
||||||
UnlockServiceDatabase@4
|
UnlockServiceDatabase@4
|
||||||
WinLoadTrustProvider@4
|
WinLoadTrustProvider@4
|
||||||
WinSubmitCertificate@4
|
WinSubmitCertificate@4
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
; $Id: advapi32.edf,v 1.19 2003/02/02 19:24:43 hyperion Exp $
|
; $Id: advapi32.edf,v 1.20 2003/06/27 15:19:18 sedwards Exp $
|
||||||
;
|
;
|
||||||
; advapi32.edf
|
; advapi32.edf
|
||||||
;
|
;
|
||||||
|
@ -83,7 +83,7 @@ DeleteAce=DeleteAce@8
|
||||||
DeleteService=DeleteService@4
|
DeleteService=DeleteService@4
|
||||||
;DenyAccessRightsA
|
;DenyAccessRightsA
|
||||||
;DenyAccessRightsW
|
;DenyAccessRightsW
|
||||||
;DeregisterEventSource=DeregisterEventSource@4
|
DeregisterEventSource=DeregisterEventSource@4
|
||||||
;DestroyPrivateObjectSecurity=DestroyPrivateObjectSecurity@4
|
;DestroyPrivateObjectSecurity=DestroyPrivateObjectSecurity@4
|
||||||
DuplicateToken=DuplicateToken@12
|
DuplicateToken=DuplicateToken@12
|
||||||
DuplicateTokenEx=DuplicateTokenEx@24
|
DuplicateTokenEx=DuplicateTokenEx@24
|
||||||
|
@ -133,8 +133,8 @@ GetAclInformation=GetAclInformation@16
|
||||||
;GetExplicitAccessRightsW=GetExplicitAccessRightsW@16
|
;GetExplicitAccessRightsW=GetExplicitAccessRightsW@16
|
||||||
;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
|
||||||
|
@ -348,14 +348,14 @@ RegSetValueExW=RegSetValueExW@24
|
||||||
RegSetValueW=RegSetValueW@20
|
RegSetValueW=RegSetValueW@20
|
||||||
RegUnLoadKeyA=RegUnLoadKeyA@8
|
RegUnLoadKeyA=RegUnLoadKeyA@8
|
||||||
RegUnLoadKeyW=RegUnLoadKeyW@8
|
RegUnLoadKeyW=RegUnLoadKeyW@8
|
||||||
;RegisterEventSourceA=RegisterEventSourceA@8
|
RegisterEventSourceA=RegisterEventSourceA@8
|
||||||
;RegisterEventSourceW=RegisterEventSourceW@8
|
RegisterEventSourceW=RegisterEventSourceW@8
|
||||||
RegisterServiceCtrlHandlerA=RegisterServiceCtrlHandlerA@8
|
RegisterServiceCtrlHandlerA=RegisterServiceCtrlHandlerA@8
|
||||||
RegisterServiceCtrlHandlerW=RegisterServiceCtrlHandlerW@8
|
RegisterServiceCtrlHandlerW=RegisterServiceCtrlHandlerW@8
|
||||||
;ReplaceAllAccessRightsA
|
;ReplaceAllAccessRightsA
|
||||||
;ReplaceAllAccessRightsW
|
;ReplaceAllAccessRightsW
|
||||||
;ReportEventA=ReportEventA@36
|
ReportEventA=ReportEventA@36
|
||||||
;ReportEventW=ReportEventW@36
|
ReportEventW=ReportEventW@36
|
||||||
RevertToSelf=RevertToSelf@0
|
RevertToSelf=RevertToSelf@0
|
||||||
;RevokeExplicitAccessRightsA=RevokeExplicitAccessRightsA@16
|
;RevokeExplicitAccessRightsA=RevokeExplicitAccessRightsA@16
|
||||||
;RevokeExplicitAccessRightsW=RevokeExplicitAccessRightsW@16
|
;RevokeExplicitAccessRightsW=RevokeExplicitAccessRightsW@16
|
||||||
|
@ -364,8 +364,8 @@ RevertToSelf=RevertToSelf@0
|
||||||
SetAclInformation=SetAclInformation@16
|
SetAclInformation=SetAclInformation@16
|
||||||
;SetEntriesInAclA=SetEntriesInAclA@16
|
;SetEntriesInAclA=SetEntriesInAclA@16
|
||||||
;SetEntriesInAclW=SetEntriesInAclW@16
|
;SetEntriesInAclW=SetEntriesInAclW@16
|
||||||
;SetFileSecurityA=SetFileSecurityA@12
|
SetFileSecurityA=SetFileSecurityA@12
|
||||||
;SetFileSecurityW=SetFileSecurityW@12
|
SetFileSecurityW=SetFileSecurityW@12
|
||||||
SetKernelObjectSecurity=SetKernelObjectSecurity@12
|
SetKernelObjectSecurity=SetKernelObjectSecurity@12
|
||||||
;SetNamedSecurityInfoA=SetNamedSecurityInfoA@28
|
;SetNamedSecurityInfoA=SetNamedSecurityInfoA@28
|
||||||
;SetNamedSecurityInfoW=SetNamedSecurityInfoW@28
|
;SetNamedSecurityInfoW=SetNamedSecurityInfoW@28
|
||||||
|
@ -418,6 +418,8 @@ SystemFunction030=SystemFunction030@8
|
||||||
SystemFunction031=SystemFunction031@8
|
SystemFunction031=SystemFunction031@8
|
||||||
SystemFunction032=SystemFunction032@8
|
SystemFunction032=SystemFunction032@8
|
||||||
SystemFunction033=SystemFunction033@8
|
SystemFunction033=SystemFunction033@8
|
||||||
|
SystemFunction033=SystemFunction034@8
|
||||||
|
SystemFunction033=SystemFunction035@8
|
||||||
UnlockServiceDatabase=UnlockServiceDatabase@4
|
UnlockServiceDatabase=UnlockServiceDatabase@4
|
||||||
;WinLoadTrustProvider=WinLoadTrustProvider@4
|
;WinLoadTrustProvider=WinLoadTrustProvider@4
|
||||||
;WinSubmitCertificate=WinSubmitCertificate@4
|
;WinSubmitCertificate=WinSubmitCertificate@4
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $Id: makefile,v 1.26 2003/04/14 01:19:06 hyperion Exp $
|
# $Id: makefile,v 1.27 2003/06/27 15:19:18 sedwards Exp $
|
||||||
|
|
||||||
PATH_TO_TOP = ../..
|
PATH_TO_TOP = ../..
|
||||||
|
|
||||||
|
@ -22,7 +22,8 @@ TARGET_BASE = 0x77DB0000
|
||||||
MISC_OBJECTS=\
|
MISC_OBJECTS=\
|
||||||
misc/dllmain.o \
|
misc/dllmain.o \
|
||||||
misc/shutdown.o \
|
misc/shutdown.o \
|
||||||
misc/sysfunc.o
|
misc/sysfunc.o \
|
||||||
|
misc/stubs.o
|
||||||
|
|
||||||
REGISTRY_OBJECTS=\
|
REGISTRY_OBJECTS=\
|
||||||
reg/reg.o
|
reg/reg.o
|
||||||
|
|
83
reactos/lib/advapi32/misc/stubs.c
Normal file
83
reactos/lib/advapi32/misc/stubs.c
Normal file
|
@ -0,0 +1,83 @@
|
||||||
|
/*
|
||||||
|
* Some of these functions may be wrong
|
||||||
|
*/
|
||||||
|
|
||||||
|
#define NTOS_MODE_USER
|
||||||
|
#include <ntos.h>
|
||||||
|
#include <windows.h>
|
||||||
|
|
||||||
|
WINBOOL
|
||||||
|
STDCALL
|
||||||
|
DeregisterEventSource (
|
||||||
|
HANDLE hEventLog
|
||||||
|
)
|
||||||
|
{
|
||||||
|
return(FALSE);
|
||||||
|
}
|
||||||
|
|
||||||
|
HANDLE
|
||||||
|
STDCALL
|
||||||
|
RegisterEventSourceA (
|
||||||
|
LPCSTR lpUNCServerName,
|
||||||
|
LPCSTR lpSourceName
|
||||||
|
)
|
||||||
|
{
|
||||||
|
return(FALSE);
|
||||||
|
}
|
||||||
|
|
||||||
|
HANDLE
|
||||||
|
STDCALL
|
||||||
|
RegisterEventSourceW (
|
||||||
|
LPCWSTR lpUNCServerName,
|
||||||
|
LPCWSTR lpSourceName
|
||||||
|
)
|
||||||
|
{
|
||||||
|
return(FALSE);
|
||||||
|
}
|
||||||
|
|
||||||
|
WINBOOL
|
||||||
|
STDCALL
|
||||||
|
ReportEventA (
|
||||||
|
HANDLE hEventLog,
|
||||||
|
WORD wType,
|
||||||
|
WORD wCategory,
|
||||||
|
DWORD dwEventID,
|
||||||
|
PSID lpUserSid,
|
||||||
|
WORD wNumStrings,
|
||||||
|
DWORD dwDataSize,
|
||||||
|
LPCSTR *lpStrings,
|
||||||
|
LPVOID lpRawData
|
||||||
|
)
|
||||||
|
{
|
||||||
|
return(FALSE);
|
||||||
|
}
|
||||||
|
|
||||||
|
WINBOOL
|
||||||
|
STDCALL
|
||||||
|
ReportEventW (
|
||||||
|
HANDLE hEventLog,
|
||||||
|
WORD wType,
|
||||||
|
WORD wCategory,
|
||||||
|
DWORD dwEventID,
|
||||||
|
PSID lpUserSid,
|
||||||
|
WORD wNumStrings,
|
||||||
|
DWORD dwDataSize,
|
||||||
|
LPCWSTR *lpStrings,
|
||||||
|
LPVOID lpRawData
|
||||||
|
)
|
||||||
|
{
|
||||||
|
return(FALSE);
|
||||||
|
}
|
||||||
|
|
||||||
|
WINBOOL
|
||||||
|
STDCALL
|
||||||
|
SetFileSecurityW (
|
||||||
|
LPCWSTR lpFileName,
|
||||||
|
SECURITY_INFORMATION SecurityInformation,
|
||||||
|
PSECURITY_DESCRIPTOR pSecurityDescriptor
|
||||||
|
)
|
||||||
|
{
|
||||||
|
return(FALSE);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* EOF */
|
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: sysfunc.c,v 1.5 2002/09/08 10:22:36 chorns Exp $
|
/* $Id: sysfunc.c,v 1.6 2003/06/27 15:19:19 sedwards 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
|
||||||
|
@ -406,5 +406,27 @@ SystemFunction033(INT a, INT b)
|
||||||
return 33;
|
return 33;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**********************************************************************
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
INT
|
||||||
|
STDCALL
|
||||||
|
SystemFunction034(INT a, INT b)
|
||||||
|
{
|
||||||
|
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
||||||
|
return 34;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**********************************************************************
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
INT
|
||||||
|
STDCALL
|
||||||
|
SystemFunction035(INT a, INT b)
|
||||||
|
{
|
||||||
|
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
||||||
|
return 35;
|
||||||
|
}
|
||||||
|
|
||||||
/* EOF */
|
/* EOF */
|
||||||
|
|
|
@ -4,8 +4,10 @@
|
||||||
* FILE: lib/advapi32/sec/sec.c
|
* FILE: lib/advapi32/sec/sec.c
|
||||||
* PURPOSE: Registry functions
|
* PURPOSE: Registry functions
|
||||||
* PROGRAMMER: Ariadne ( ariadne@xs4all.nl)
|
* PROGRAMMER: Ariadne ( ariadne@xs4all.nl)
|
||||||
|
* Steven Edwards ( Steven_Ed4153@yahoo.com )
|
||||||
* UPDATE HISTORY:
|
* UPDATE HISTORY:
|
||||||
* Created 01/11/98
|
* Created 01/11/98
|
||||||
|
* Added a few new stubs 6/27/03
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define NTOS_MODE_USER
|
#define NTOS_MODE_USER
|
||||||
|
@ -363,4 +365,40 @@ GetUserNameW(LPWSTR lpBuffer, LPDWORD nSize)
|
||||||
return(FALSE);
|
return(FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
WINBOOL
|
||||||
|
STDCALL
|
||||||
|
GetFileSecurityA (
|
||||||
|
LPCSTR lpFileName,
|
||||||
|
SECURITY_INFORMATION RequestedInformation,
|
||||||
|
PSECURITY_DESCRIPTOR pSecurityDescriptor,
|
||||||
|
DWORD nLength,
|
||||||
|
LPDWORD lpnLengthNeeded
|
||||||
|
)
|
||||||
|
{
|
||||||
|
return(FALSE);
|
||||||
|
}
|
||||||
|
|
||||||
|
WINBOOL
|
||||||
|
STDCALL
|
||||||
|
GetFileSecurityW (
|
||||||
|
LPCWSTR lpFileName,
|
||||||
|
SECURITY_INFORMATION RequestedInformation,
|
||||||
|
PSECURITY_DESCRIPTOR pSecurityDescriptor,
|
||||||
|
DWORD nLength,
|
||||||
|
LPDWORD lpnLengthNeeded
|
||||||
|
)
|
||||||
|
{
|
||||||
|
return(FALSE);
|
||||||
|
}
|
||||||
|
|
||||||
|
WINBOOL
|
||||||
|
STDCALL
|
||||||
|
SetFileSecurityA (
|
||||||
|
LPCSTR lpFileName,
|
||||||
|
SECURITY_INFORMATION SecurityInformation,
|
||||||
|
PSECURITY_DESCRIPTOR pSecurityDescriptor
|
||||||
|
)
|
||||||
|
{
|
||||||
|
return(FALSE);
|
||||||
|
}
|
||||||
/* EOF */
|
/* EOF */
|
||||||
|
|
Loading…
Reference in a new issue