2 * Wine Resource Compiler structure definitions
4 * Copyright 1998 Bertho A. Stultiens
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 #ifndef __WINE_WRC_RSC_H
22 #define __WINE_WRC_RSC_H
24 #include "windef.h" /* For types in structure */
27 * Note on the resource and type names:
29 * These are (if non-null) pointers to a pascal-style
30 * string. The first character (BYTE for 16 bit and WCHAR
31 * for 32 bit resources) contains the length and the
32 * rest is the string. They are _not_ '\0' terminated!
35 typedef struct wrc_resource16
37 INT resid
; /* The resource id if resname == NULL */
39 INT restype
; /* The resource type-id if typename == NULL */
41 LPBYTE data
; /* Actual resource data */
42 UINT datasize
; /* The size of the resource */
45 typedef struct wrc_resource32
47 INT resid
; /* The resource id if resname == NULL */
49 INT restype
; /* The resource type-id if typename == NULL */
51 LPBYTE data
; /* Actual resource data */
52 UINT datasize
; /* The size of the resource */
55 #endif /* __WINE_WRC_RSC_H */