Release 990226.
[wine/gsoc-2012-control.git] / include / wrc_rsc.h
blob2ceaad14a298c64a05188774a46f8cfa366c977e
1 /*
2 * Wine Resource Compiler structure definitions
4 * Copyright 1998 Bertho A. Stultiens
6 */
8 #if !defined(__WRC_RSC_H) && !defined(__WINE_WRC_RSC_H)
9 #define __WRC_RSC_H
10 #define __WINE_WRC_RSC_H
12 #ifndef __WINE_WINTYPES_H
13 #include <wintypes.h> /* For types in structure */
14 #endif
17 * Note on the resource and type names:
19 * These are (if non-null) pointers to a pascal-style
20 * string. The first character (BYTE for 16 bit and WCHAR
21 * for 32 bit resources) contains the length and the
22 * rest is the string. They are _not_ '\0' terminated!
25 typedef struct wrc_resource16
27 INT resid; /* The resource id if resname == NULL */
28 LPSTR resname;
29 INT restype; /* The resource type-id if typename == NULL */
30 LPSTR restypename;
31 LPBYTE data; /* Actual resource data */
32 UINT datasize; /* The size of the resource */
33 } wrc_resource16_t;
35 typedef struct wrc_resource32
37 INT resid; /* The resource id if resname == NULL */
38 LPWSTR resname;
39 INT restype; /* The resource type-id if typename == NULL */
40 LPWSTR restypename;
41 LPBYTE data; /* Actual resource data */
42 UINT datasize; /* The size of the resource */
43 } wrc_resource32_t;
45 #endif