Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
e3d2d852
Commit
e3d2d852
authored
May 25, 2020
by
Alex Henrie
Committed by
Alexandre Julliard
May 26, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add more RTL functions.
Signed-off-by:
Alex Henrie
<
alexhenrie24@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
9246024a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
rtl.c
dlls/ntdll/rtl.c
+2
-2
winnt.h
include/winnt.h
+1
-0
winternl.h
include/winternl.h
+2
-0
No files found.
dlls/ntdll/rtl.c
View file @
e3d2d852
...
...
@@ -546,10 +546,10 @@ SIZE_T WINAPI RtlCompareMemory( const VOID *Source1, const VOID *Source2, SIZE_T
* RETURNS
* The byte position of the first byte at which Source1 is not dwVal.
*/
SIZE_T
WINAPI
RtlCompareMemoryUlong
(
const
ULONG
*
Source1
,
SIZE_T
Length
,
ULONG
dwVal
)
SIZE_T
WINAPI
RtlCompareMemoryUlong
(
VOID
*
Source1
,
SIZE_T
Length
,
ULONG
dwVal
)
{
SIZE_T
i
;
for
(
i
=
0
;
i
<
Length
/
sizeof
(
ULONG
)
&&
Source1
[
i
]
==
dwVal
;
i
++
);
for
(
i
=
0
;
i
<
Length
/
sizeof
(
ULONG
)
&&
((
ULONG
*
)
Source1
)
[
i
]
==
dwVal
;
i
++
);
return
i
*
sizeof
(
ULONG
);
}
...
...
include/winnt.h
View file @
e3d2d852
...
...
@@ -6034,6 +6034,7 @@ typedef enum _CM_ERROR_CONTROL_TYPE
}
SERVICE_ERROR_TYPE
;
NTSYSAPI
SIZE_T
WINAPI
RtlCompareMemory
(
const
VOID
*
,
const
VOID
*
,
SIZE_T
);
NTSYSAPI
SIZE_T
WINAPI
RtlCompareMemoryUlong
(
VOID
*
,
SIZE_T
,
ULONG
);
#define RtlEqualMemory(Destination, Source, Length) (!memcmp((Destination),(Source),(Length)))
#define RtlMoveMemory(Destination, Source, Length) memmove((Destination),(Source),(Length))
...
...
include/winternl.h
View file @
e3d2d852
...
...
@@ -2727,6 +2727,7 @@ NTSYSAPI NTSTATUS WINAPI NtWriteRequestData(HANDLE,PLPC_MESSAGE,ULONG,PVOID,ULO
NTSYSAPI
NTSTATUS
WINAPI
NtWriteVirtualMemory
(
HANDLE
,
void
*
,
const
void
*
,
SIZE_T
,
SIZE_T
*
);
NTSYSAPI
NTSTATUS
WINAPI
NtYieldExecution
(
void
);
NTSYSAPI
NTSTATUS
WINAPI
RtlAbsoluteToSelfRelativeSD
(
PSECURITY_DESCRIPTOR
,
PSECURITY_DESCRIPTOR
,
PULONG
);
NTSYSAPI
void
WINAPI
RtlAcquirePebLock
(
void
);
NTSYSAPI
BYTE
WINAPI
RtlAcquireResourceExclusive
(
LPRTL_RWLOCK
,
BYTE
);
NTSYSAPI
BYTE
WINAPI
RtlAcquireResourceShared
(
LPRTL_RWLOCK
,
BYTE
);
...
...
@@ -2800,6 +2801,7 @@ NTSYSAPI NTSTATUS WINAPI RtlCustomCPToUnicodeN(CPTABLEINFO*,WCHAR*,DWORD,DWORD*
NTSYSAPI
void
WINAPI
RtlDeactivateActivationContext
(
DWORD
,
ULONG_PTR
);
NTSYSAPI
PVOID
WINAPI
RtlDecodePointer
(
PVOID
);
NTSYSAPI
NTSTATUS
WINAPI
RtlDecompressBuffer
(
USHORT
,
PUCHAR
,
ULONG
,
PUCHAR
,
ULONG
,
PULONG
);
NTSYSAPI
NTSTATUS
WINAPI
RtlDecompressFragment
(
USHORT
,
PUCHAR
,
ULONG
,
PUCHAR
,
ULONG
,
ULONG
,
PULONG
,
PVOID
);
NTSYSAPI
NTSTATUS
WINAPI
RtlDeleteAce
(
PACL
,
DWORD
);
NTSYSAPI
NTSTATUS
WINAPI
RtlDeleteAtomFromAtomTable
(
RTL_ATOM_TABLE
,
RTL_ATOM
);
NTSYSAPI
NTSTATUS
WINAPI
RtlDeleteCriticalSection
(
RTL_CRITICAL_SECTION
*
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment