ole32: Move private data structure out of header file.
This commit is contained in:
parent
ffae0123ac
commit
70ee112337
|
@ -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
|
||||
*/
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue