Commit 70ee1123 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

ole32: Move private data structure out of header file.

parent ffae0123
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment