Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
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
Aleksandr Isakov
wine-fonts
Commits
3e800934
Commit
3e800934
authored
Jan 22, 2018
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Implement RtlPushFrame, RtlPopFrame and RtlGetFrame.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
bd4f6f45
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
3 deletions
+34
-3
ntdll.spec
dlls/ntdll/ntdll.spec
+3
-3
thread.c
dlls/ntdll/thread.c
+28
-0
winternl.h
include/winternl.h
+3
-0
No files found.
dlls/ntdll/ntdll.spec
View file @
3e800934
...
@@ -649,7 +649,7 @@
...
@@ -649,7 +649,7 @@
@ stub RtlGetElementGenericTable
@ stub RtlGetElementGenericTable
# @ stub RtlGetElementGenericTableAvl
# @ stub RtlGetElementGenericTableAvl
# @ stub RtlGetFirstRange
# @ stub RtlGetFirstRange
# @ stub RtlGetFrame
@ stdcall RtlGetFrame()
@ stdcall RtlGetFullPathName_U(wstr long ptr ptr)
@ stdcall RtlGetFullPathName_U(wstr long ptr ptr)
@ stdcall RtlGetGroupSecurityDescriptor(ptr ptr ptr)
@ stdcall RtlGetGroupSecurityDescriptor(ptr ptr ptr)
@ stdcall RtlGetLastNtStatus()
@ stdcall RtlGetLastNtStatus()
...
@@ -796,12 +796,12 @@
...
@@ -796,12 +796,12 @@
@ stdcall RtlOpenCurrentUser(long ptr)
@ stdcall RtlOpenCurrentUser(long ptr)
@ stdcall RtlPcToFileHeader(ptr ptr)
@ stdcall RtlPcToFileHeader(ptr ptr)
@ stdcall RtlPinAtomInAtomTable(ptr long)
@ stdcall RtlPinAtomInAtomTable(ptr long)
# @ stub RtlPopFrame
@ stdcall RtlPopFrame(ptr)
@ stdcall RtlPrefixString(ptr ptr long)
@ stdcall RtlPrefixString(ptr ptr long)
@ stdcall RtlPrefixUnicodeString(ptr ptr long)
@ stdcall RtlPrefixUnicodeString(ptr ptr long)
@ stub RtlPropertySetNameToGuid
@ stub RtlPropertySetNameToGuid
@ stub RtlProtectHeap
@ stub RtlProtectHeap
# @ stub RtlPushFrame
@ stdcall RtlPushFrame(ptr)
@ stdcall RtlQueryAtomInAtomTable(ptr long ptr ptr ptr ptr)
@ stdcall RtlQueryAtomInAtomTable(ptr long ptr ptr ptr ptr)
@ stdcall RtlQueryDepthSList(ptr)
@ stdcall RtlQueryDepthSList(ptr)
@ stdcall RtlQueryDynamicTimeZoneInformation(ptr)
@ stdcall RtlQueryDynamicTimeZoneInformation(ptr)
...
...
dlls/ntdll/thread.c
View file @
3e800934
...
@@ -804,6 +804,34 @@ NTSTATUS WINAPI NtQueueApcThread( HANDLE handle, PNTAPCFUNC func, ULONG_PTR arg1
...
@@ -804,6 +804,34 @@ NTSTATUS WINAPI NtQueueApcThread( HANDLE handle, PNTAPCFUNC func, ULONG_PTR arg1
}
}
/******************************************************************************
* RtlPushFrame (NTDLL.@)
*/
void
WINAPI
RtlPushFrame
(
TEB_ACTIVE_FRAME
*
frame
)
{
frame
->
Previous
=
NtCurrentTeb
()
->
ActiveFrame
;
NtCurrentTeb
()
->
ActiveFrame
=
frame
;
}
/******************************************************************************
* RtlPopFrame (NTDLL.@)
*/
void
WINAPI
RtlPopFrame
(
TEB_ACTIVE_FRAME
*
frame
)
{
NtCurrentTeb
()
->
ActiveFrame
=
frame
->
Previous
;
}
/******************************************************************************
* RtlGetFrame (NTDLL.@)
*/
TEB_ACTIVE_FRAME
*
WINAPI
RtlGetFrame
(
void
)
{
return
NtCurrentTeb
()
->
ActiveFrame
;
}
/***********************************************************************
/***********************************************************************
* set_thread_context
* set_thread_context
*/
*/
...
...
include/winternl.h
View file @
3e800934
...
@@ -2592,6 +2592,7 @@ NTSYSAPI NTSTATUS WINAPI RtlGetControlSecurityDescriptor(PSECURITY_DESCRIPTOR,
...
@@ -2592,6 +2592,7 @@ NTSYSAPI NTSTATUS WINAPI RtlGetControlSecurityDescriptor(PSECURITY_DESCRIPTOR,
NTSYSAPI
ULONG
WINAPI
RtlGetCurrentDirectory_U
(
ULONG
,
LPWSTR
);
NTSYSAPI
ULONG
WINAPI
RtlGetCurrentDirectory_U
(
ULONG
,
LPWSTR
);
NTSYSAPI
PEB
*
WINAPI
RtlGetCurrentPeb
(
void
);
NTSYSAPI
PEB
*
WINAPI
RtlGetCurrentPeb
(
void
);
NTSYSAPI
NTSTATUS
WINAPI
RtlGetDaclSecurityDescriptor
(
PSECURITY_DESCRIPTOR
,
PBOOLEAN
,
PACL
*
,
PBOOLEAN
);
NTSYSAPI
NTSTATUS
WINAPI
RtlGetDaclSecurityDescriptor
(
PSECURITY_DESCRIPTOR
,
PBOOLEAN
,
PACL
*
,
PBOOLEAN
);
NTSYSAPI
TEB_ACTIVE_FRAME
*
WINAPI
RtlGetFrame
(
void
);
NTSYSAPI
ULONG
WINAPI
RtlGetFullPathName_U
(
PCWSTR
,
ULONG
,
PWSTR
,
PWSTR
*
);
NTSYSAPI
ULONG
WINAPI
RtlGetFullPathName_U
(
PCWSTR
,
ULONG
,
PWSTR
,
PWSTR
*
);
NTSYSAPI
NTSTATUS
WINAPI
RtlGetGroupSecurityDescriptor
(
PSECURITY_DESCRIPTOR
,
PSID
*
,
PBOOLEAN
);
NTSYSAPI
NTSTATUS
WINAPI
RtlGetGroupSecurityDescriptor
(
PSECURITY_DESCRIPTOR
,
PSID
*
,
PBOOLEAN
);
NTSYSAPI
NTSTATUS
WINAPI
RtlGetLastNtStatus
(
void
);
NTSYSAPI
NTSTATUS
WINAPI
RtlGetLastNtStatus
(
void
);
...
@@ -2659,8 +2660,10 @@ NTSYSAPI NTSTATUS WINAPI RtlOemToUnicodeN(LPWSTR,DWORD,LPDWORD,LPCSTR,DWORD);
...
@@ -2659,8 +2660,10 @@ NTSYSAPI NTSTATUS WINAPI RtlOemToUnicodeN(LPWSTR,DWORD,LPDWORD,LPCSTR,DWORD);
NTSYSAPI
NTSTATUS
WINAPI
RtlOpenCurrentUser
(
ACCESS_MASK
,
PHANDLE
);
NTSYSAPI
NTSTATUS
WINAPI
RtlOpenCurrentUser
(
ACCESS_MASK
,
PHANDLE
);
NTSYSAPI
PVOID
WINAPI
RtlPcToFileHeader
(
PVOID
,
PVOID
*
);
NTSYSAPI
PVOID
WINAPI
RtlPcToFileHeader
(
PVOID
,
PVOID
*
);
NTSYSAPI
NTSTATUS
WINAPI
RtlPinAtomInAtomTable
(
RTL_ATOM_TABLE
,
RTL_ATOM
);
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
RtlPrefixString
(
const
STRING
*
,
const
STRING
*
,
BOOLEAN
);
NTSYSAPI
BOOLEAN
WINAPI
RtlPrefixUnicodeString
(
const
UNICODE_STRING
*
,
const
UNICODE_STRING
*
,
BOOLEAN
);
NTSYSAPI
BOOLEAN
WINAPI
RtlPrefixUnicodeString
(
const
UNICODE_STRING
*
,
const
UNICODE_STRING
*
,
BOOLEAN
);
NTSYSAPI
void
WINAPI
RtlPushFrame
(
TEB_ACTIVE_FRAME
*
);
NTSYSAPI
NTSTATUS
WINAPI
RtlQueryAtomInAtomTable
(
RTL_ATOM_TABLE
,
RTL_ATOM
,
ULONG
*
,
ULONG
*
,
WCHAR
*
,
ULONG
*
);
NTSYSAPI
NTSTATUS
WINAPI
RtlQueryAtomInAtomTable
(
RTL_ATOM_TABLE
,
RTL_ATOM
,
ULONG
*
,
ULONG
*
,
WCHAR
*
,
ULONG
*
);
NTSYSAPI
NTSTATUS
WINAPI
RtlQueryDynamicTimeZoneInformation
(
RTL_DYNAMIC_TIME_ZONE_INFORMATION
*
);
NTSYSAPI
NTSTATUS
WINAPI
RtlQueryDynamicTimeZoneInformation
(
RTL_DYNAMIC_TIME_ZONE_INFORMATION
*
);
NTSYSAPI
NTSTATUS
WINAPI
RtlQueryEnvironmentVariable_U
(
PWSTR
,
PUNICODE_STRING
,
PUNICODE_STRING
);
NTSYSAPI
NTSTATUS
WINAPI
RtlQueryEnvironmentVariable_U
(
PWSTR
,
PUNICODE_STRING
,
PUNICODE_STRING
);
...
...
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