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 #ifndef __WINE_WINTYPES_H
13 #include <wintypes.h> /* For types in structure */
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 INT32 resid
; /* The resource id if resname == NULL */
29 INT32 restype
; /* The resource type-id if typename == NULL */
31 LPBYTE data
; /* Actual resource data */
32 UINT32 datasize
; /* The size of the resource */
35 typedef struct wrc_resource32
37 INT32 resid
; /* The resource id if resname == NULL */
39 INT32 restype
; /* The resource type-id if typename == NULL */
41 LPBYTE data
; /* Actual resource data */
42 UINT32 datasize
; /* The size of the resource */