2 * Wine Resource Compiler structure definitions
4 * Copyright 1998 Bertho A. Stultiens
8 #ifndef __WINE_WRC_RSC_H
9 #define __WINE_WRC_RSC_H
11 #include "windef.h" /* For types in structure */
14 * Note on the resource and type names:
16 * These are (if non-null) pointers to a pascal-style
17 * string. The first character (BYTE for 16 bit and WCHAR
18 * for 32 bit resources) contains the length and the
19 * rest is the string. They are _not_ '\0' terminated!
22 typedef struct wrc_resource16
24 INT resid; /* The resource id if resname == NULL */
26 INT restype; /* The resource type-id if typename == NULL */
28 LPBYTE data; /* Actual resource data */
29 UINT datasize; /* The size of the resource */
32 typedef struct wrc_resource32
34 INT resid; /* The resource id if resname == NULL */
36 INT restype; /* The resource type-id if typename == NULL */
38 LPBYTE data; /* Actual resource data */
39 UINT datasize; /* The size of the resource */
42 #endif /* __WINE_WRC_RSC_H */