mirror of
https://github.com/reactos/reactos.git
synced 2025-05-06 18:31:26 +00:00
- Add missing function declarations.
svn path=/trunk/; revision=37899
This commit is contained in:
parent
fd38a91b3a
commit
3cf14110c4
1 changed files with 61 additions and 0 deletions
|
@ -5024,6 +5024,31 @@ RtlNtStatusToDosError (
|
|||
IN NTSTATUS Status
|
||||
);
|
||||
|
||||
NTSYSAPI
|
||||
ULONG
|
||||
NTAPI
|
||||
RtlxUnicodeStringToOemSize(
|
||||
PCUNICODE_STRING UnicodeString
|
||||
);
|
||||
|
||||
NTSYSAPI
|
||||
ULONG
|
||||
NTAPI
|
||||
RtlxOemStringToUnicodeSize(
|
||||
PCOEM_STRING OemString
|
||||
);
|
||||
|
||||
#define RtlOemStringToUnicodeSize(STRING) ( \
|
||||
NLS_MB_OEM_CODE_PAGE_TAG ? \
|
||||
RtlxOemStringToUnicodeSize(STRING) : \
|
||||
((STRING)->Length + sizeof(ANSI_NULL)) * sizeof(WCHAR) \
|
||||
)
|
||||
|
||||
#define RtlOemStringToCountedUnicodeSize(STRING) ( \
|
||||
(ULONG)(RtlOemStringToUnicodeSize(STRING) - sizeof(UNICODE_NULL)) \
|
||||
)
|
||||
|
||||
|
||||
NTSYSAPI
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
|
@ -5246,6 +5271,42 @@ RtlValidSid (
|
|||
IN PSID Sid
|
||||
);
|
||||
|
||||
//
|
||||
// RTL time functions
|
||||
//
|
||||
|
||||
NTSYSAPI
|
||||
BOOLEAN
|
||||
NTAPI
|
||||
RtlTimeToSecondsSince1980 (
|
||||
PLARGE_INTEGER Time,
|
||||
PULONG ElapsedSeconds
|
||||
);
|
||||
|
||||
NTSYSAPI
|
||||
VOID
|
||||
NTAPI
|
||||
RtlSecondsSince1980ToTime (
|
||||
ULONG ElapsedSeconds,
|
||||
PLARGE_INTEGER Time
|
||||
);
|
||||
|
||||
NTSYSAPI
|
||||
BOOLEAN
|
||||
NTAPI
|
||||
RtlTimeToSecondsSince1970 (
|
||||
PLARGE_INTEGER Time,
|
||||
PULONG ElapsedSeconds
|
||||
);
|
||||
|
||||
NTSYSAPI
|
||||
VOID
|
||||
NTAPI
|
||||
RtlSecondsSince1970ToTime (
|
||||
ULONG ElapsedSeconds,
|
||||
PLARGE_INTEGER Time
|
||||
);
|
||||
|
||||
NTKERNELAPI
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
|
|
Loading…
Reference in a new issue