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
70ee1123
Commit
70ee1123
authored
Jan 27, 2009
by
Huw Davies
Committed by
Alexandre Julliard
Jan 28, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Move private data structure out of header file.
parent
ffae0123
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
20 deletions
+18
-20
stg_bigblockfile.c
dlls/ole32/stg_bigblockfile.c
+18
-0
storage32.h
dlls/ole32/storage32.h
+0
-20
No files found.
dlls/ole32/stg_bigblockfile.c
View file @
70ee1123
...
...
@@ -85,6 +85,8 @@ typedef struct
* file this mapping represents. (The mappings are always
* PAGE_SIZE-aligned.)
*/
typedef
struct
MappedPage
MappedPage
;
struct
MappedPage
{
MappedPage
*
next
;
...
...
@@ -99,6 +101,22 @@ struct MappedPage
BlockBits
writable_blocks
;
};
struct
BigBlockFile
{
BOOL
fileBased
;
ULARGE_INTEGER
filesize
;
ULONG
blocksize
;
HANDLE
hfile
;
HANDLE
hfilemap
;
DWORD
flProtect
;
MappedPage
*
maplist
;
MappedPage
*
victimhead
,
*
victimtail
;
ULONG
num_victim_pages
;
ILockBytes
*
pLkbyt
;
HGLOBAL
hbytearray
;
LPVOID
pbytearray
;
};
/***********************************************************
* Prototypes for private methods
*/
...
...
dlls/ole32/storage32.h
View file @
70ee1123
...
...
@@ -152,27 +152,7 @@ struct StgProperty
* this section appear in stg_bigblockfile.c
*/
/*
* Declaration of the data structures
*/
typedef
struct
BigBlockFile
BigBlockFile
,
*
LPBIGBLOCKFILE
;
typedef
struct
MappedPage
MappedPage
,
*
LPMAPPEDPAGE
;
struct
BigBlockFile
{
BOOL
fileBased
;
ULARGE_INTEGER
filesize
;
ULONG
blocksize
;
HANDLE
hfile
;
HANDLE
hfilemap
;
DWORD
flProtect
;
MappedPage
*
maplist
;
MappedPage
*
victimhead
,
*
victimtail
;
ULONG
num_victim_pages
;
ILockBytes
*
pLkbyt
;
HGLOBAL
hbytearray
;
LPVOID
pbytearray
;
};
/*
* Declaration of the functions used to manipulate the BigBlockFile
...
...
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