mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Fixed some more STDCALL issues
svn path=/trunk/; revision=905
This commit is contained in:
parent
38d1018911
commit
005106acbb
8 changed files with 103 additions and 38 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $Id: rtl.h,v 1.22 1999/12/26 17:22:18 ea Exp $
|
||||
/* $Id: rtl.h,v 1.23 1999/12/27 15:04:50 ekohl Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
|
@ -865,6 +865,20 @@ RtlRetrieveUshort (
|
|||
PUSHORT SourceAddress
|
||||
);
|
||||
|
||||
VOID
|
||||
STDCALL
|
||||
RtlSecondsSince1970ToTime (
|
||||
ULONG SecondsSince1970,
|
||||
PLARGE_INTEGER Time
|
||||
);
|
||||
|
||||
VOID
|
||||
STDCALL
|
||||
RtlSecondsSince1980ToTime (
|
||||
ULONG SecondsSince1980,
|
||||
PLARGE_INTEGER Time
|
||||
);
|
||||
|
||||
NTSTATUS
|
||||
STDCALL
|
||||
RtlSetDaclSecurityDescriptor (
|
||||
|
@ -908,12 +922,28 @@ RtlStoreUshort (
|
|||
);
|
||||
|
||||
BOOLEAN
|
||||
STDCALL
|
||||
RtlTimeFieldsToTime (
|
||||
PTIME_FIELDS TimeFields,
|
||||
PLARGE_INTEGER Time
|
||||
);
|
||||
|
||||
BOOLEAN
|
||||
STDCALL
|
||||
RtlTimeToSecondsSince1970 (
|
||||
PLARGE_INTEGER Time,
|
||||
PULONG SecondsSince1970
|
||||
);
|
||||
|
||||
BOOLEAN
|
||||
STDCALL
|
||||
RtlTimeToSecondsSince1980 (
|
||||
PLARGE_INTEGER Time,
|
||||
PULONG SecondsSince1980
|
||||
);
|
||||
|
||||
VOID
|
||||
STDCALL
|
||||
RtlTimeToTimeFields (
|
||||
PLARGE_INTEGER Time,
|
||||
PTIME_FIELDS TimeFields
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; $Id: ntdll.def,v 1.31 1999/12/22 14:48:23 dwelch Exp $
|
||||
; $Id: ntdll.def,v 1.32 1999/12/27 15:06:13 ekohl Exp $
|
||||
;
|
||||
; ReactOS Operating System
|
||||
;
|
||||
|
@ -487,7 +487,7 @@ RtlLargeIntegerNegate@8
|
|||
RtlLargeIntegerShiftLeft@12
|
||||
RtlLargeIntegerShiftRight@12
|
||||
RtlLargeIntegerSubtract@16
|
||||
RtlLengthSecurityDescriptor
|
||||
RtlLengthSecurityDescriptor@4
|
||||
RtlLockHeap@4
|
||||
RtlMoveMemory@12
|
||||
RtlMultiByteToUnicodeN@20
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; $Id: ntdll.edf,v 1.21 1999/12/22 14:48:23 dwelch Exp $
|
||||
; $Id: ntdll.edf,v 1.22 1999/12/27 15:06:13 ekohl Exp $
|
||||
;
|
||||
; ReactOS Operating System
|
||||
;
|
||||
|
@ -482,7 +482,7 @@ RtlLargeIntegerNegate=RtlLargeIntegerNegate@8
|
|||
RtlLargeIntegerShiftLeft=RtlLargeIntegerShiftLeft@12
|
||||
RtlLargeIntegerShiftRight=RtlLargeIntegerShiftRight@12
|
||||
RtlLargeIntegerSubtract=RtlLargeIntegerSubtract@16
|
||||
RtlLengthSecurityDescriptor
|
||||
RtlLengthSecurityDescriptor=RtlLengthSecurityDescriptor@4
|
||||
RtlLockHeap=RtlLockHeap@4
|
||||
RtlMoveMemory=RtlMoveMemory@12
|
||||
RtlMultiByteToUnicodeN=RtlMultiByteToUnicodeN@20
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
/*
|
||||
/* $Id: security.c,v 1.2 1999/12/27 15:06:00 ekohl Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
* PURPOSE: Rtl security functions
|
||||
|
@ -16,7 +17,11 @@
|
|||
|
||||
/* FUNCTIONS ***************************************************************/
|
||||
|
||||
ULONG RtlLengthSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor)
|
||||
ULONG
|
||||
STDCALL
|
||||
RtlLengthSecurityDescriptor (
|
||||
PSECURITY_DESCRIPTOR SecurityDescriptor
|
||||
)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
}
|
||||
|
|
|
@ -51,8 +51,12 @@ static __inline void NormalizeTimeFields(CSHORT *FieldToNormalize,
|
|||
|
||||
/* FUNCTIONS *****************************************************************/
|
||||
|
||||
VOID RtlTimeToTimeFields(PLARGE_INTEGER liTime,
|
||||
PTIME_FIELDS TimeFields)
|
||||
VOID
|
||||
STDCALL
|
||||
RtlTimeToTimeFields (
|
||||
PLARGE_INTEGER liTime,
|
||||
PTIME_FIELDS TimeFields
|
||||
)
|
||||
{
|
||||
const int *Months;
|
||||
int LeapSecondCorrections, SecondsInDay, CurYear;
|
||||
|
@ -121,8 +125,12 @@ VOID RtlTimeToTimeFields(PLARGE_INTEGER liTime,
|
|||
TimeFields->Day = (CSHORT) (Days + 1);
|
||||
}
|
||||
|
||||
BOOLEAN RtlTimeFieldsToTime(PTIME_FIELDS tfTimeFields,
|
||||
PLARGE_INTEGER Time)
|
||||
BOOLEAN
|
||||
STDCALL
|
||||
RtlTimeFieldsToTime (
|
||||
PTIME_FIELDS tfTimeFields,
|
||||
PLARGE_INTEGER Time
|
||||
)
|
||||
{
|
||||
int CurYear, CurMonth;
|
||||
long long int rcTime;
|
||||
|
@ -182,3 +190,5 @@ BOOLEAN RtlTimeFieldsToTime(PTIME_FIELDS tfTimeFields,
|
|||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
/* EOF */
|
|
@ -1,4 +1,4 @@
|
|||
; $Id: ntoskrnl.def,v 1.34 1999/12/26 20:21:02 ea Exp $
|
||||
; $Id: ntoskrnl.def,v 1.35 1999/12/27 15:05:33 ekohl Exp $
|
||||
;
|
||||
; reactos/ntoskrnl/ntoskrnl.def
|
||||
;
|
||||
|
@ -251,12 +251,12 @@ RtlMultiByteToUnicodeSize@12
|
|||
RtlOemStringToUnicodeSize@4
|
||||
RtlOemStringToUnicodeString@12
|
||||
RtlOemToUnicodeN@20
|
||||
RtlSecondsSince1970ToTime
|
||||
RtlSecondsSince1980ToTime
|
||||
RtlTimeFieldsToTime
|
||||
RtlTimeToSecondsSince1970
|
||||
RtlTimeToSecondsSince1980
|
||||
RtlTimeToTimeFields
|
||||
RtlSecondsSince1970ToTime@8
|
||||
RtlSecondsSince1980ToTime@8
|
||||
RtlTimeFieldsToTime@8
|
||||
RtlTimeToSecondsSince1970@8
|
||||
RtlTimeToSecondsSince1980@8
|
||||
RtlTimeToTimeFields@8
|
||||
RtlUnicodeStringToAnsiSize@4
|
||||
RtlUnicodeStringToAnsiString@12
|
||||
RtlUnicodeStringToInteger@12
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; $Id: ntoskrnl.edf,v 1.21 1999/12/26 20:21:02 ea Exp $
|
||||
; $Id: ntoskrnl.edf,v 1.22 1999/12/27 15:05:33 ekohl Exp $
|
||||
;
|
||||
; reactos/ntoskrnl/ntoskrnl.def
|
||||
;
|
||||
|
@ -250,12 +250,12 @@ RtlMultiByteToUnicodeN=RtlMultiByteToUnicodeN@20
|
|||
RtlMultiByteToUnicodeSize=RtlMultiByteToUnicodeSize@12
|
||||
RtlOemStringToUnicodeSize=RtlOemStringToUnicodeSize@4
|
||||
RtlOemStringToUnicodeString=RtlOemStringToUnicodeString@12
|
||||
RtlSecondsSince1970ToTime
|
||||
RtlSecondsSince1980ToTime
|
||||
RtlTimeFieldsToTime
|
||||
RtlTimeToSecondsSince1970
|
||||
RtlTimeToSecondsSince1980
|
||||
RtlTimeToTimeFields
|
||||
RtlSecondsSince1970ToTime=RtlSecondsSince1970ToTime@8
|
||||
RtlSecondsSince1980ToTime=RtlSecondsSince1980ToTime@8
|
||||
RtlTimeFieldsToTime=RtlTimeFieldsToTime@8
|
||||
RtlTimeToSecondsSince1970=RtlTimeToSecondsSince1970@8
|
||||
RtlTimeToSecondsSince1980=RtlTimeToSecondsSince1980@8
|
||||
RtlTimeToTimeFields=RtlTimeToTimeFields@8
|
||||
RtlUnicodeStringToAnsiSize=RtlUnicodeStringToAnsiSize@4
|
||||
RtlUnicodeStringToAnsiString=RtlUnicodeStringToAnsiString@12
|
||||
RtlUnicodeStringToInteger=RtlUnicodeStringToInteger@12
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: time.c,v 1.8 1999/10/24 17:51:54 ekohl Exp $
|
||||
/* $Id: time.c,v 1.9 1999/12/27 15:05:15 ekohl Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -58,8 +58,12 @@ static __inline void NormalizeTimeFields(CSHORT *FieldToNormalize,
|
|||
|
||||
/* FUNCTIONS *****************************************************************/
|
||||
|
||||
VOID RtlTimeToTimeFields(PLARGE_INTEGER liTime,
|
||||
PTIME_FIELDS TimeFields)
|
||||
VOID
|
||||
STDCALL
|
||||
RtlTimeToTimeFields (
|
||||
PLARGE_INTEGER liTime,
|
||||
PTIME_FIELDS TimeFields
|
||||
)
|
||||
{
|
||||
const int *Months;
|
||||
int LeapSecondCorrections, SecondsInDay, CurYear;
|
||||
|
@ -128,8 +132,12 @@ VOID RtlTimeToTimeFields(PLARGE_INTEGER liTime,
|
|||
TimeFields->Day = (CSHORT) (Days + 1);
|
||||
}
|
||||
|
||||
BOOLEAN RtlTimeFieldsToTime(PTIME_FIELDS tfTimeFields,
|
||||
PLARGE_INTEGER Time)
|
||||
BOOLEAN
|
||||
STDCALL
|
||||
RtlTimeFieldsToTime (
|
||||
PTIME_FIELDS tfTimeFields,
|
||||
PLARGE_INTEGER Time
|
||||
)
|
||||
{
|
||||
int CurYear, CurMonth, MonthLength;
|
||||
long long int rcTime;
|
||||
|
@ -197,8 +205,11 @@ BOOLEAN RtlTimeFieldsToTime(PTIME_FIELDS tfTimeFields,
|
|||
|
||||
|
||||
VOID
|
||||
RtlSecondsSince1970ToTime (ULONG SecondsSince1970,
|
||||
PLARGE_INTEGER Time)
|
||||
STDCALL
|
||||
RtlSecondsSince1970ToTime (
|
||||
ULONG SecondsSince1970,
|
||||
PLARGE_INTEGER Time
|
||||
)
|
||||
{
|
||||
LONGLONG llTime;
|
||||
|
||||
|
@ -209,8 +220,11 @@ RtlSecondsSince1970ToTime (ULONG SecondsSince1970,
|
|||
|
||||
|
||||
VOID
|
||||
RtlSecondsSince1980ToTime (ULONG SecondsSince1980,
|
||||
PLARGE_INTEGER Time)
|
||||
STDCALL
|
||||
RtlSecondsSince1980ToTime (
|
||||
ULONG SecondsSince1980,
|
||||
PLARGE_INTEGER Time
|
||||
)
|
||||
{
|
||||
LONGLONG llTime;
|
||||
|
||||
|
@ -221,8 +235,11 @@ RtlSecondsSince1980ToTime (ULONG SecondsSince1980,
|
|||
|
||||
|
||||
BOOLEAN
|
||||
RtlTimeToSecondsSince1970 (PLARGE_INTEGER Time,
|
||||
PULONG SecondsSince1970)
|
||||
STDCALL
|
||||
RtlTimeToSecondsSince1970 (
|
||||
PLARGE_INTEGER Time,
|
||||
PULONG SecondsSince1970
|
||||
)
|
||||
{
|
||||
LARGE_INTEGER liTime;
|
||||
|
||||
|
@ -239,8 +256,11 @@ RtlTimeToSecondsSince1970 (PLARGE_INTEGER Time,
|
|||
|
||||
|
||||
BOOLEAN
|
||||
RtlTimeToSecondsSince1980 (PLARGE_INTEGER Time,
|
||||
PULONG SecondsSince1980)
|
||||
STDCALL
|
||||
RtlTimeToSecondsSince1980 (
|
||||
PLARGE_INTEGER Time,
|
||||
PULONG SecondsSince1980
|
||||
)
|
||||
{
|
||||
LARGE_INTEGER liTime;
|
||||
|
||||
|
|
Loading…
Reference in a new issue