Release 970101
[wine] / include / resource32.h
1 /*
2  * Win32 functions, structures, and types related to resources
3  *
4  * Copyright 1995 Thomas Sandford
5  *
6  */
7
8 #ifndef __WINE_RESOURCE32_H
9 #define __WINE_RESOURCE32_H
10
11 #include <stddef.h>
12
13 typedef struct _IMAGE_RESOURCE_DIRECTORY {
14         DWORD Characteristics;
15         DWORD TimeDateStamp;
16         WORD MajorVersion;
17         WORD MinorVersion;
18         WORD NumberOfNamedEntries;
19         WORD NumberOfIdEntries;
20 } IMAGE_RESOURCE_DIRECTORY, *PIMAGE_RESOURCE_DIRECTORY;
21
22 typedef struct _IMAGE_RESOURCE_DIRECTORY_ENTRY {
23         DWORD Name;
24         DWORD OffsetToData;
25 } IMAGE_RESOURCE_DIRECTORY_ENTRY, *PIMAGE_RESOURCE_DIRECTORY_ENTRY;
26
27 typedef struct _IMAGE_RESOURCE_DATA_ENTRY {
28         DWORD OffsetToData;
29         DWORD Size;
30         DWORD CodePage;
31         DWORD Reserved;
32 } IMAGE_RESOURCE_DATA_ENTRY, *PIMAGE_RESOURCE_DATA_ENTRY;
33
34 typedef struct _IMAGE_RESOURCE_DIR_STRING_U {
35         WORD Length;
36         WCHAR NameString[1];
37 } IMAGE_RESOURCE_DIR_STRING_U, *PIMAGE_RESOURCE_DIR_STRING_U;
38
39 #endif  /* __WINE_RESOURCE32_H */