mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 10:41:12 +00:00
imagehlp: Add two missing fields.
This commit is contained in:
parent
d76b19abd9
commit
7a70f9f511
3 changed files with 21 additions and 14 deletions
|
@ -48,6 +48,8 @@ static LOADED_IMAGE IMAGEHLP_EmptyLoadedImage = {
|
||||||
1, /* Characteristics */
|
1, /* Characteristics */
|
||||||
FALSE, /* fSystemImage */
|
FALSE, /* fSystemImage */
|
||||||
FALSE, /* fDOSImage */
|
FALSE, /* fDOSImage */
|
||||||
|
FALSE, /* fReadOnly */
|
||||||
|
0, /* Version */
|
||||||
{ &IMAGEHLP_EmptyLoadedImage.Links, &IMAGEHLP_EmptyLoadedImage.Links }, /* Links */
|
{ &IMAGEHLP_EmptyLoadedImage.Links, &IMAGEHLP_EmptyLoadedImage.Links }, /* Links */
|
||||||
148, /* SizeOfImage; */
|
148, /* SizeOfImage; */
|
||||||
};
|
};
|
||||||
|
|
|
@ -27,7 +27,7 @@ extern "C" {
|
||||||
|
|
||||||
typedef struct _LOADED_IMAGE
|
typedef struct _LOADED_IMAGE
|
||||||
{
|
{
|
||||||
LPSTR ModuleName;
|
PSTR ModuleName;
|
||||||
HANDLE hFile;
|
HANDLE hFile;
|
||||||
PUCHAR MappedAddress;
|
PUCHAR MappedAddress;
|
||||||
PIMAGE_NT_HEADERS FileHeader;
|
PIMAGE_NT_HEADERS FileHeader;
|
||||||
|
@ -37,6 +37,8 @@ typedef struct _LOADED_IMAGE
|
||||||
ULONG Characteristics;
|
ULONG Characteristics;
|
||||||
BOOLEAN fSystemImage;
|
BOOLEAN fSystemImage;
|
||||||
BOOLEAN fDOSImage;
|
BOOLEAN fDOSImage;
|
||||||
|
BOOLEAN fReadOnly;
|
||||||
|
UCHAR Version;
|
||||||
LIST_ENTRY Links;
|
LIST_ENTRY Links;
|
||||||
ULONG SizeOfImage;
|
ULONG SizeOfImage;
|
||||||
} LOADED_IMAGE, *PLOADED_IMAGE;
|
} LOADED_IMAGE, *PLOADED_IMAGE;
|
||||||
|
|
|
@ -158,8 +158,9 @@ typedef enum {
|
||||||
* Structures
|
* Structures
|
||||||
*/
|
*/
|
||||||
|
|
||||||
typedef struct _LOADED_IMAGE {
|
typedef struct _LOADED_IMAGE
|
||||||
LPSTR ModuleName;
|
{
|
||||||
|
PSTR ModuleName;
|
||||||
HANDLE hFile;
|
HANDLE hFile;
|
||||||
PUCHAR MappedAddress;
|
PUCHAR MappedAddress;
|
||||||
PIMAGE_NT_HEADERS FileHeader;
|
PIMAGE_NT_HEADERS FileHeader;
|
||||||
|
@ -169,6 +170,8 @@ typedef struct _LOADED_IMAGE {
|
||||||
ULONG Characteristics;
|
ULONG Characteristics;
|
||||||
BOOLEAN fSystemImage;
|
BOOLEAN fSystemImage;
|
||||||
BOOLEAN fDOSImage;
|
BOOLEAN fDOSImage;
|
||||||
|
BOOLEAN fReadOnly;
|
||||||
|
UCHAR Version;
|
||||||
LIST_ENTRY Links;
|
LIST_ENTRY Links;
|
||||||
ULONG SizeOfImage;
|
ULONG SizeOfImage;
|
||||||
} LOADED_IMAGE, *PLOADED_IMAGE;
|
} LOADED_IMAGE, *PLOADED_IMAGE;
|
||||||
|
|
Loading…
Reference in a new issue