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
6d2e1735
Commit
6d2e1735
authored
Feb 24, 1999
by
Thuy Nguyen
Committed by
Alexandre Julliard
Feb 24, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added support for larger files.
parent
3da9ff32
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
5 deletions
+23
-5
storage32.c
ole/storage32.c
+0
-0
storage32.h
ole/storage32.h
+23
-5
No files found.
ole/storage32.c
View file @
6d2e1735
This diff is collapsed.
Click to expand it.
ole/storage32.h
View file @
6d2e1735
...
...
@@ -29,7 +29,6 @@ static const ULONG OFFSET_BBDEPOTSTART = 0x0000004C;
static
const
ULONG
OFFSET_PS_NAME
=
0x00000000
;
static
const
ULONG
OFFSET_PS_NAMELENGTH
=
0x00000040
;
static
const
ULONG
OFFSET_PS_PROPERTYTYPE
=
0x00000042
;
static
const
ULONG
OFFSET_PS_BLOCKTYPE
=
0x00000043
;
static
const
ULONG
OFFSET_PS_PREVIOUSPROP
=
0x00000044
;
static
const
ULONG
OFFSET_PS_NEXTPROP
=
0x00000048
;
static
const
ULONG
OFFSET_PS_DIRPROP
=
0x0000004C
;
...
...
@@ -44,9 +43,10 @@ static const WORD DEF_BIG_BLOCK_SIZE_BITS = 0x0009;
static
const
WORD
DEF_SMALL_BLOCK_SIZE_BITS
=
0x0006
;
static
const
WORD
DEF_BIG_BLOCK_SIZE
=
0x0200
;
static
const
WORD
DEF_SMALL_BLOCK_SIZE
=
0x0040
;
static
const
ULONG
BLOCK_SPECIAL
=
0xFFFFFFFD
;
static
const
ULONG
BLOCK_END_OF_CHAIN
=
0xFFFFFFFE
;
static
const
ULONG
BLOCK_UNUSED
=
0xFFFFFFFF
;
static
const
ULONG
BLOCK_EXTBBDEPOT
=
0xFFFFFFFC
;
static
const
ULONG
BLOCK_SPECIAL
=
0xFFFFFFFD
;
static
const
ULONG
BLOCK_END_OF_CHAIN
=
0xFFFFFFFE
;
static
const
ULONG
BLOCK_UNUSED
=
0xFFFFFFFF
;
static
const
ULONG
PROPERTY_NULL
=
0xFFFFFFFF
;
#define PROPERTY_NAME_MAX_LEN 0x20
...
...
@@ -76,6 +76,7 @@ static const ULONG PROPERTY_NULL = 0xFFFFFFFF;
#define BIG_BLOCK_SIZE 0x200
#define COUNT_BBDEPOTINHEADER 109
#define LIMIT_TO_USE_SMALL_BLOCK 0x1000
#define NUM_BLOCKS_PER_DEPOT_BLOCK 128
/*
* These are signatures to detect the type of Document file.
...
...
@@ -294,7 +295,10 @@ struct Storage32Impl
ULONG
extBigBlockDepotStart
;
ULONG
extBigBlockDepotCount
;
ULONG
bigBlockDepotStart
[
COUNT_BBDEPOTINHEADER
];
ULONG
blockDepotCached
[
NUM_BLOCKS_PER_DEPOT_BLOCK
];
ULONG
indexBlockDepotCached
;
/*
* Abstraction of the big block chains for the chains of the header.
*/
...
...
@@ -423,6 +427,20 @@ BlockChainStream* Storage32Impl_SmallBlocksToBigBlocks(
Storage32Impl
*
This
,
SmallBlockChainStream
**
ppsbChain
);
ULONG
Storage32Impl_GetNextExtendedBlock
(
Storage32Impl
*
This
,
ULONG
blockIndex
);
void
Storage32Impl_AddBlockDepot
(
Storage32Impl
*
This
,
ULONG
blockIndex
);
ULONG
Storage32Impl_AddExtBlockDepot
(
Storage32Impl
*
This
);
ULONG
Storage32Impl_GetExtDepotBlock
(
Storage32Impl
*
This
,
ULONG
depotIndex
);
void
Storage32Impl_SetExtDepotBlock
(
Storage32Impl
*
This
,
ULONG
depotIndex
,
ULONG
blockIndex
);
/****************************************************************************
* Storage32InternalImpl definitions.
*
...
...
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