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
7eed378f
Commit
7eed378f
authored
Dec 15, 2014
by
Sergey Kalinichev
Committed by
Alexandre Julliard
Dec 19, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Add stub for RtlSetHeapInformation.
parent
49a2fb66
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
3 deletions
+14
-3
heap.c
dlls/kernel32/heap.c
+3
-2
heap.c
dlls/ntdll/heap.c
+9
-0
ntdll.spec
dlls/ntdll/ntdll.spec
+1
-1
winternl.h
include/winternl.h
+1
-0
No files found.
dlls/kernel32/heap.c
View file @
7eed378f
...
...
@@ -296,8 +296,9 @@ BOOL WINAPI HeapQueryInformation( HANDLE heap, HEAP_INFORMATION_CLASS info_class
BOOL
WINAPI
HeapSetInformation
(
HANDLE
heap
,
HEAP_INFORMATION_CLASS
infoclass
,
PVOID
info
,
SIZE_T
size
)
{
FIXME
(
"%p %d %p %ld
\n
"
,
heap
,
infoclass
,
info
,
size
);
return
TRUE
;
NTSTATUS
ret
=
RtlSetHeapInformation
(
heap
,
infoclass
,
info
,
size
);
if
(
ret
)
SetLastError
(
RtlNtStatusToDosError
(
ret
)
);
return
!
ret
;
}
/*
...
...
dlls/ntdll/heap.c
View file @
7eed378f
...
...
@@ -2252,3 +2252,12 @@ NTSTATUS WINAPI RtlQueryHeapInformation( HANDLE heap, HEAP_INFORMATION_CLASS inf
return
STATUS_INVALID_INFO_CLASS
;
}
}
/***********************************************************************
* RtlSetHeapInformation (NTDLL.@)
*/
NTSTATUS
WINAPI
RtlSetHeapInformation
(
HANDLE
heap
,
HEAP_INFORMATION_CLASS
info_class
,
PVOID
info
,
SIZE_T
size
)
{
FIXME
(
"%p %d %p %ld stub
\n
"
,
heap
,
info_class
,
info
,
size
);
return
STATUS_SUCCESS
;
}
dlls/ntdll/ntdll.spec
View file @
7eed378f
...
...
@@ -847,7 +847,7 @@
@ stdcall RtlSetDaclSecurityDescriptor(ptr long ptr long)
@ stdcall RtlSetEnvironmentVariable(ptr ptr ptr)
@ stdcall RtlSetGroupSecurityDescriptor(ptr ptr long)
# @ stub RtlSetHeapInformation
@ stdcall RtlSetHeapInformation(long long ptr long)
@ stub RtlSetInformationAcl
@ stdcall RtlSetIoCompletionCallback(long ptr long)
@ stdcall RtlSetLastWin32Error(long)
...
...
include/winternl.h
View file @
7eed378f
...
...
@@ -2507,6 +2507,7 @@ NTSYSAPI NTSTATUS WINAPI RtlSetCurrentDirectory_U(const UNICODE_STRING*);
NTSYSAPI
void
WINAPI
RtlSetCurrentEnvironment
(
PWSTR
,
PWSTR
*
);
NTSYSAPI
NTSTATUS
WINAPI
RtlSetDaclSecurityDescriptor
(
PSECURITY_DESCRIPTOR
,
BOOLEAN
,
PACL
,
BOOLEAN
);
NTSYSAPI
NTSTATUS
WINAPI
RtlSetEnvironmentVariable
(
PWSTR
*
,
PUNICODE_STRING
,
PUNICODE_STRING
);
NTSYSAPI
NTSTATUS
WINAPI
RtlSetHeapInformation
(
HANDLE
,
HEAP_INFORMATION_CLASS
,
PVOID
,
SIZE_T
);
NTSYSAPI
NTSTATUS
WINAPI
RtlSetOwnerSecurityDescriptor
(
PSECURITY_DESCRIPTOR
,
PSID
,
BOOLEAN
);
NTSYSAPI
NTSTATUS
WINAPI
RtlSetGroupSecurityDescriptor
(
PSECURITY_DESCRIPTOR
,
PSID
,
BOOLEAN
);
NTSYSAPI
NTSTATUS
WINAPI
RtlSetIoCompletionCallback
(
HANDLE
,
PRTL_OVERLAPPED_COMPLETION_ROUTINE
,
ULONG
);
...
...
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