2 * Wine Resource Compiler structure definitions
4 * Copyright 1998 Bertho A. Stultiens
8 #if !defined(__WRC_RSC_H) && !defined(__WINE_WRC_RSC_H)
10 #define __WINE_WRC_RSC_H
12 #include "windef.h" /* For types in structure */
15 * Note on the resource and type names:
17 * These are (if non-null) pointers to a pascal-style
18 * string. The first character (BYTE for 16 bit and WCHAR
19 * for 32 bit resources) contains the length and the
20 * rest is the string. They are _not_ '\0' terminated!
23 typedef struct wrc_resource16
25 INT resid
; /* The resource id if resname == NULL */
27 INT restype
; /* The resource type-id if typename == NULL */
29 LPBYTE data
; /* Actual resource data */
30 UINT datasize
; /* The size of the resource */
33 typedef struct wrc_resource32
35 INT resid
; /* The resource id if resname == NULL */
37 INT restype
; /* The resource type-id if typename == NULL */
39 LPBYTE data
; /* Actual resource data */
40 UINT datasize
; /* The size of the resource */