ole32: Move private data structure out of header file.

This commit is contained in:
Huw Davies 2009-01-27 15:27:08 +00:00 committed by Alexandre Julliard
parent ffae0123ac
commit 70ee112337
2 changed files with 18 additions and 20 deletions

View File

@ -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
*/

View File

@ -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