Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
0d7cf847
Commit
0d7cf847
authored
Sep 26, 2023
by
Alex Henrie
Committed by
Alexandre Julliard
Sep 27, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Move RTL functions that belong in ntddk.h from winternl.h to ntddk.h.
parent
6786d38a
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
34 additions
and
9 deletions
+34
-9
lzexpand.c
dlls/kernel32/lzexpand.c
+3
-0
resource.c
dlls/kernel32/resource.c
+1
-0
loader.c
dlls/kernelbase/loader.c
+1
-0
security.c
dlls/kernelbase/security.c
+1
-0
atom.c
dlls/krnl386.exe16/atom.c
+3
-0
ne_module.c
dlls/krnl386.exe16/ne_module.c
+3
-0
actctx.c
dlls/ntdll/actctx.c
+1
-0
rtlstr.c
dlls/ntdll/rtlstr.c
+1
-0
path.c
dlls/ntdll/tests/path.c
+1
-0
lsa.c
dlls/secur32/lsa.c
+1
-0
mmio.c
dlls/winmm/mmio.c
+3
-0
ntddk.h
include/ddk/ntddk.h
+12
-0
winternl.h
include/winternl.h
+0
-9
rpc.c
programs/services/rpc.c
+3
-0
No files found.
dlls/kernel32/lzexpand.c
View file @
0d7cf847
...
...
@@ -39,10 +39,13 @@
#include <stdarg.h>
#include <stdio.h>
#include "ntstatus.h"
#define WIN32_NO_STATUS
#include "windef.h"
#include "winbase.h"
#include "winnls.h"
#include "winternl.h"
#include "ddk/ntddk.h"
#include "lzexpand.h"
#include "wine/debug.h"
...
...
dlls/kernel32/resource.c
View file @
0d7cf847
...
...
@@ -27,6 +27,7 @@
#include "windef.h"
#include "winbase.h"
#include "winternl.h"
#include "ddk/ntddk.h"
#include "wine/debug.h"
#include "wine/exception.h"
#include "wine/list.h"
...
...
dlls/kernelbase/loader.c
View file @
0d7cf847
...
...
@@ -28,6 +28,7 @@
#include "winbase.h"
#include "winnls.h"
#include "winternl.h"
#include "ddk/ntddk.h"
#include "kernelbase.h"
#include "wine/list.h"
#include "wine/asm.h"
...
...
dlls/kernelbase/security.c
View file @
0d7cf847
...
...
@@ -29,6 +29,7 @@
#include "winerror.h"
#include "winternl.h"
#include "winioctl.h"
#include "ddk/ntddk.h"
#include "kernelbase.h"
#include "wine/debug.h"
...
...
dlls/krnl386.exe16/atom.c
View file @
0d7cf847
...
...
@@ -31,10 +31,13 @@
#include <string.h>
#include <ctype.h>
#include "ntstatus.h"
#define WIN32_NO_STATUS
#include "windef.h"
#include "winbase.h"
#include "winerror.h"
#include "winternl.h"
#include "ddk/ntddk.h"
#include "wine/winbase16.h"
#include "kernel16_private.h"
...
...
dlls/krnl386.exe16/ne_module.c
View file @
0d7cf847
...
...
@@ -26,10 +26,13 @@
#include <string.h>
#include <ctype.h>
#include "ntstatus.h"
#define WIN32_NO_STATUS
#include "windef.h"
#include "wine/winbase16.h"
#include "wownt32.h"
#include "winternl.h"
#include "ddk/ntddk.h"
#include "kernel16_private.h"
#include "wine/exception.h"
#include "wine/debug.h"
...
...
dlls/ntdll/actctx.c
View file @
0d7cf847
...
...
@@ -29,6 +29,7 @@
#include "ntstatus.h"
#define WIN32_NO_STATUS
#include "winternl.h"
#include "ddk/ntddk.h"
#include "ddk/wdm.h"
#include "ntdll_misc.h"
#include "wine/exception.h"
...
...
dlls/ntdll/rtlstr.c
View file @
0d7cf847
...
...
@@ -30,6 +30,7 @@
#include "windef.h"
#include "winnt.h"
#include "winternl.h"
#include "ddk/ntddk.h"
#include "wine/debug.h"
#include "ntdll_misc.h"
...
...
dlls/ntdll/tests/path.c
View file @
0d7cf847
...
...
@@ -20,6 +20,7 @@
#include "ntdll_test.h"
#include "winnls.h"
#include "ddk/ntddk.h"
static
NTSTATUS
(
WINAPI
*
pRtlMultiByteToUnicodeN
)(
LPWSTR
dst
,
DWORD
dstlen
,
LPDWORD
reslen
,
LPCSTR
src
,
DWORD
srclen
);
...
...
dlls/secur32/lsa.c
View file @
0d7cf847
...
...
@@ -32,6 +32,7 @@
#include "ntsecapi.h"
#include "ntsecpkg.h"
#include "winternl.h"
#include "ddk/ntddk.h"
#include "rpc.h"
#include "wine/debug.h"
...
...
dlls/winmm/mmio.c
View file @
0d7cf847
...
...
@@ -35,10 +35,13 @@
#include <errno.h>
#include <assert.h>
#include "ntstatus.h"
#define WIN32_NO_STATUS
#include "windef.h"
#include "winbase.h"
#include "winnls.h"
#include "winternl.h"
#include "ddk/ntddk.h"
#include "mmsystem.h"
#include "winemm.h"
...
...
include/ddk/ntddk.h
View file @
0d7cf847
...
...
@@ -266,11 +266,23 @@ NTSTATUS WINAPI PsSetCreateProcessNotifyRoutineEx(PCREATE_PROCESS_NOTIFY_ROUTIN
NTSTATUS
WINAPI
PsSetCreateThreadNotifyRoutine
(
PCREATE_THREAD_NOTIFY_ROUTINE
);
NTSTATUS
WINAPI
PsSetLoadImageNotifyRoutine
(
PLOAD_IMAGE_NOTIFY_ROUTINE
);
NTSTATUS
WINAPI
PsSetLoadImageNotifyRoutineEx
(
PLOAD_IMAGE_NOTIFY_ROUTINE
,
ULONG_PTR
);
LONG
WINAPI
RtlCompareString
(
const
STRING
*
,
const
STRING
*
,
BOOLEAN
);
void
WINAPI
RtlCopyString
(
STRING
*
,
const
STRING
*
);
BOOLEAN
WINAPI
RtlEqualString
(
const
STRING
*
,
const
STRING
*
,
BOOLEAN
);
void
*
WINAPI
RtlGetElementGenericTable
(
PRTL_GENERIC_TABLE
,
ULONG
);
void
WINAPI
RtlInitializeGenericTable
(
PRTL_GENERIC_TABLE
,
PRTL_GENERIC_COMPARE_ROUTINE
,
PRTL_GENERIC_ALLOCATE_ROUTINE
,
PRTL_GENERIC_FREE_ROUTINE
,
void
*
);
void
WINAPI
RtlInitializeGenericTableAvl
(
PRTL_AVL_TABLE
,
PRTL_AVL_COMPARE_ROUTINE
,
PRTL_AVL_ALLOCATE_ROUTINE
,
PRTL_AVL_FREE_ROUTINE
,
void
*
);
void
WINAPI
RtlInsertElementGenericTableAvl
(
PRTL_AVL_TABLE
,
void
*
,
ULONG
,
BOOL
*
);
void
*
WINAPI
RtlLookupElementGenericTable
(
PRTL_GENERIC_TABLE
,
void
*
);
void
WINAPI
RtlMapGenericMask
(
ACCESS_MASK
*
,
const
GENERIC_MAPPING
*
);
ULONG
WINAPI
RtlNumberGenericTableElements
(
PRTL_GENERIC_TABLE
);
BOOLEAN
WINAPI
RtlPrefixUnicodeString
(
const
UNICODE_STRING
*
,
const
UNICODE_STRING
*
,
BOOLEAN
);
NTSTATUS
WINAPI
RtlUpcaseUnicodeString
(
UNICODE_STRING
*
,
const
UNICODE_STRING
*
,
BOOLEAN
);
char
WINAPI
RtlUpperChar
(
char
);
void
WINAPI
RtlUpperString
(
STRING
*
,
const
STRING
*
);
#ifndef _WIN64
ULONGLONG
WINAPI
RtlLargeIntegerDivide
(
ULONGLONG
,
ULONGLONG
,
ULONGLONG
*
);
#endif
#endif
include/winternl.h
View file @
0d7cf847
...
...
@@ -4647,7 +4647,6 @@ NTSYSAPI NTSTATUS WINAPI RtlCheckRegistryKey(ULONG, PWSTR);
NTSYSAPI
void
WINAPI
RtlClearAllBits
(
PRTL_BITMAP
);
NTSYSAPI
void
WINAPI
RtlClearBits
(
PRTL_BITMAP
,
ULONG
,
ULONG
);
NTSYSAPI
ULONG
WINAPI
RtlCompactHeap
(
HANDLE
,
ULONG
);
NTSYSAPI
LONG
WINAPI
RtlCompareString
(
const
STRING
*
,
const
STRING
*
,
BOOLEAN
);
NTSYSAPI
LONG
WINAPI
RtlCompareUnicodeString
(
const
UNICODE_STRING
*
,
const
UNICODE_STRING
*
,
BOOLEAN
);
NTSYSAPI
LONG
WINAPI
RtlCompareUnicodeStrings
(
const
WCHAR
*
,
SIZE_T
,
const
WCHAR
*
,
SIZE_T
,
BOOLEAN
);
NTSYSAPI
NTSTATUS
WINAPI
RtlCompressBuffer
(
USHORT
,
PUCHAR
,
ULONG
,
PUCHAR
,
ULONG
,
ULONG
,
PULONG
,
PVOID
);
...
...
@@ -4660,7 +4659,6 @@ NTSYSAPI void WINAPI RtlCopyLuid(PLUID,const LUID*);
NTSYSAPI
void
WINAPI
RtlCopyLuidAndAttributesArray
(
ULONG
,
const
LUID_AND_ATTRIBUTES
*
,
PLUID_AND_ATTRIBUTES
);
NTSYSAPI
NTSTATUS
WINAPI
RtlCopySecurityDescriptor
(
PSECURITY_DESCRIPTOR
,
PSECURITY_DESCRIPTOR
);
NTSYSAPI
BOOLEAN
WINAPI
RtlCopySid
(
DWORD
,
PSID
,
PSID
);
NTSYSAPI
void
WINAPI
RtlCopyString
(
STRING
*
,
const
STRING
*
);
NTSYSAPI
void
WINAPI
RtlCopyUnicodeString
(
UNICODE_STRING
*
,
const
UNICODE_STRING
*
);
NTSYSAPI
NTSTATUS
WINAPI
RtlCreateAcl
(
PACL
,
DWORD
,
DWORD
);
NTSYSAPI
NTSTATUS
WINAPI
RtlCreateActivationContext
(
HANDLE
*
,
const
void
*
);
...
...
@@ -4724,7 +4722,6 @@ NTSYSAPI NTSTATUS WINAPI RtlEqualDomainName(const UNICODE_STRING*,const UNICODE
NTSYSAPI
BOOLEAN
WINAPI
RtlEqualLuid
(
const
LUID
*
,
const
LUID
*
);
NTSYSAPI
BOOL
WINAPI
RtlEqualPrefixSid
(
PSID
,
PSID
);
NTSYSAPI
BOOL
WINAPI
RtlEqualSid
(
PSID
,
PSID
);
NTSYSAPI
BOOLEAN
WINAPI
RtlEqualString
(
const
STRING
*
,
const
STRING
*
,
BOOLEAN
);
NTSYSAPI
BOOLEAN
WINAPI
RtlEqualUnicodeString
(
const
UNICODE_STRING
*
,
const
UNICODE_STRING
*
,
BOOLEAN
);
NTSYSAPI
void
WINAPI
RtlEraseUnicodeString
(
UNICODE_STRING
*
);
NTSYSAPI
void
DECLSPEC_NORETURN
WINAPI
RtlExitUserProcess
(
ULONG
);
...
...
@@ -4864,7 +4861,6 @@ NTSYSAPI void * WINAPI RtlLocateLegacyContext(CONTEXT_EX*,ULONG*);
NTSYSAPI
BOOLEAN
WINAPI
RtlLockHeap
(
HANDLE
);
NTSYSAPI
NTSTATUS
WINAPI
RtlLookupAtomInAtomTable
(
RTL_ATOM_TABLE
,
const
WCHAR
*
,
RTL_ATOM
*
);
NTSYSAPI
NTSTATUS
WINAPI
RtlMakeSelfRelativeSD
(
PSECURITY_DESCRIPTOR
,
PSECURITY_DESCRIPTOR
,
LPDWORD
);
NTSYSAPI
void
WINAPI
RtlMapGenericMask
(
PACCESS_MASK
,
const
GENERIC_MAPPING
*
);
NTSYSAPI
NTSTATUS
WINAPI
RtlMultiByteToUnicodeN
(
LPWSTR
,
DWORD
,
LPDWORD
,
LPCSTR
,
DWORD
);
NTSYSAPI
NTSTATUS
WINAPI
RtlMultiByteToUnicodeSize
(
DWORD
*
,
LPCSTR
,
ULONG
);
NTSYSAPI
NTSTATUS
WINAPI
RtlNewSecurityObject
(
PSECURITY_DESCRIPTOR
,
PSECURITY_DESCRIPTOR
,
PSECURITY_DESCRIPTOR
*
,
BOOLEAN
,
HANDLE
,
PGENERIC_MAPPING
);
...
...
@@ -4884,7 +4880,6 @@ NTSYSAPI NTSTATUS WINAPI RtlOpenCurrentUser(ACCESS_MASK,PHANDLE);
NTSYSAPI
NTSTATUS
WINAPI
RtlPinAtomInAtomTable
(
RTL_ATOM_TABLE
,
RTL_ATOM
);
NTSYSAPI
void
WINAPI
RtlPopFrame
(
TEB_ACTIVE_FRAME
*
);
NTSYSAPI
BOOLEAN
WINAPI
RtlPrefixString
(
const
STRING
*
,
const
STRING
*
,
BOOLEAN
);
NTSYSAPI
BOOLEAN
WINAPI
RtlPrefixUnicodeString
(
const
UNICODE_STRING
*
,
const
UNICODE_STRING
*
,
BOOLEAN
);
NTSYSAPI
void
WINAPI
RtlProcessFlsData
(
void
*
,
ULONG
);
NTSYSAPI
void
WINAPI
RtlPushFrame
(
TEB_ACTIVE_FRAME
*
);
NTSYSAPI
NTSTATUS
WINAPI
RtlQueryActivationContextApplicationSettings
(
DWORD
,
HANDLE
,
const
WCHAR
*
,
const
WCHAR
*
,
WCHAR
*
,
SIZE_T
,
SIZE_T
*
);
...
...
@@ -4976,7 +4971,6 @@ NTSYSAPI NTSTATUS WINAPI RtlUnicodeToUTF8N(LPSTR,DWORD,LPDWORD,LPCWSTR,DWORD);
NTSYSAPI
ULONG
WINAPI
RtlUniform
(
PULONG
);
NTSYSAPI
BOOLEAN
WINAPI
RtlUnlockHeap
(
HANDLE
);
NTSYSAPI
WCHAR
WINAPI
RtlUpcaseUnicodeChar
(
WCHAR
);
NTSYSAPI
NTSTATUS
WINAPI
RtlUpcaseUnicodeString
(
UNICODE_STRING
*
,
const
UNICODE_STRING
*
,
BOOLEAN
);
NTSYSAPI
NTSTATUS
WINAPI
RtlUpcaseUnicodeStringToAnsiString
(
STRING
*
,
const
UNICODE_STRING
*
,
BOOLEAN
);
NTSYSAPI
NTSTATUS
WINAPI
RtlUpcaseUnicodeStringToCountedOemString
(
STRING
*
,
const
UNICODE_STRING
*
,
BOOLEAN
);
NTSYSAPI
NTSTATUS
WINAPI
RtlUpcaseUnicodeStringToOemString
(
STRING
*
,
const
UNICODE_STRING
*
,
BOOLEAN
);
...
...
@@ -4984,8 +4978,6 @@ NTSYSAPI NTSTATUS WINAPI RtlUpcaseUnicodeToCustomCPN(CPTABLEINFO*,char*,DWORD,D
NTSYSAPI
NTSTATUS
WINAPI
RtlUpcaseUnicodeToMultiByteN
(
LPSTR
,
DWORD
,
LPDWORD
,
LPCWSTR
,
DWORD
);
NTSYSAPI
NTSTATUS
WINAPI
RtlUpcaseUnicodeToOemN
(
LPSTR
,
DWORD
,
LPDWORD
,
LPCWSTR
,
DWORD
);
NTSYSAPI
NTSTATUS
WINAPI
RtlUpdateTimer
(
HANDLE
,
HANDLE
,
DWORD
,
DWORD
);
NTSYSAPI
CHAR
WINAPI
RtlUpperChar
(
CHAR
);
NTSYSAPI
void
WINAPI
RtlUpperString
(
STRING
*
,
const
STRING
*
);
NTSYSAPI
void
WINAPI
RtlUserThreadStart
(
PRTL_THREAD_START_ROUTINE
,
void
*
);
NTSYSAPI
BOOLEAN
WINAPI
RtlValidAcl
(
PACL
);
NTSYSAPI
BOOLEAN
WINAPI
RtlValidRelativeSecurityDescriptor
(
PSECURITY_DESCRIPTOR
,
ULONG
,
SECURITY_INFORMATION
);
...
...
@@ -5085,7 +5077,6 @@ NTSYSAPI LONGLONG WINAPI RtlExtendedLargeIntegerDivide(LONGLONG,INT,INT *);
NTSYSAPI
LONGLONG
WINAPI
RtlInterlockedCompareExchange64
(
LONGLONG
*
,
LONGLONG
,
LONGLONG
);
NTSYSAPI
LONGLONG
WINAPI
RtlLargeIntegerAdd
(
LONGLONG
,
LONGLONG
);
NTSYSAPI
LONGLONG
WINAPI
RtlLargeIntegerArithmeticShift
(
LONGLONG
,
INT
);
NTSYSAPI
ULONGLONG
WINAPI
RtlLargeIntegerDivide
(
ULONGLONG
,
ULONGLONG
,
ULONGLONG
*
);
NTSYSAPI
LONGLONG
WINAPI
RtlLargeIntegerNegate
(
LONGLONG
);
NTSYSAPI
LONGLONG
WINAPI
RtlLargeIntegerShiftLeft
(
LONGLONG
,
INT
);
NTSYSAPI
LONGLONG
WINAPI
RtlLargeIntegerShiftRight
(
LONGLONG
,
INT
);
...
...
programs/services/rpc.c
View file @
0d7cf847
...
...
@@ -21,9 +21,12 @@
#define WIN32_LEAN_AND_MEAN
#include <stdarg.h>
#include <ntstatus.h>
#define WIN32_NO_STATUS
#include <windows.h>
#include <winternl.h>
#include <winsvc.h>
#include <ddk/ntddk.h>
#include <ntsecapi.h>
#include <rpc.h>
...
...
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