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
ee1d3a19
Commit
ee1d3a19
authored
Jul 16, 2023
by
Vitaly Lipatov
Committed by
Alexandre Julliard
Aug 08, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Use COMPRESSION_FORMAT_MASK instead of ~COMPRESSION_ENGINE_MAXINUM.
parent
115403dc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
rtl.c
dlls/ntdll/rtl.c
+3
-3
No files found.
dlls/ntdll/rtl.c
View file @
ee1d3a19
...
...
@@ -1754,7 +1754,7 @@ NTSTATUS WINAPI RtlGetCompressionWorkSpaceSize(USHORT format, PULONG compress_wo
{
FIXME
(
"0x%04x, %p, %p: semi-stub
\n
"
,
format
,
compress_workspace
,
decompress_workspace
);
switch
(
format
&
~
COMPRESSION_ENGINE_MAXIMUM
)
switch
(
format
&
COMPRESSION_FORMAT_MASK
)
{
case
COMPRESSION_FORMAT_LZNT1
:
if
(
compress_workspace
)
...
...
@@ -1818,7 +1818,7 @@ NTSTATUS WINAPI RtlCompressBuffer(USHORT format, PUCHAR uncompressed, ULONG unco
FIXME
(
"0x%04x, %p, %lu, %p, %lu, %lu, %p, %p: semi-stub
\n
"
,
format
,
uncompressed
,
uncompressed_size
,
compressed
,
compressed_size
,
chunk_size
,
final_size
,
workspace
);
switch
(
format
&
~
COMPRESSION_ENGINE_MAXIMUM
)
switch
(
format
&
COMPRESSION_FORMAT_MASK
)
{
case
COMPRESSION_FORMAT_LZNT1
:
return
lznt1_compress
(
uncompressed
,
uncompressed_size
,
compressed
,
...
...
@@ -2021,7 +2021,7 @@ NTSTATUS WINAPI RtlDecompressFragment(USHORT format, PUCHAR uncompressed, ULONG
TRACE
(
"0x%04x, %p, %lu, %p, %lu, %lu, %p, %p
\n
"
,
format
,
uncompressed
,
uncompressed_size
,
compressed
,
compressed_size
,
offset
,
final_size
,
workspace
);
switch
(
format
&
~
COMPRESSION_ENGINE_MAXIMUM
)
switch
(
format
&
COMPRESSION_FORMAT_MASK
)
{
case
COMPRESSION_FORMAT_LZNT1
:
return
lznt1_decompress
(
uncompressed
,
uncompressed_size
,
compressed
,
...
...
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