32-bit clipboard support.
[wine/multimedia.git] / include / wrc_rsc.h
blob7abfdf94ce9cd5839ed2881f3c88a7ba97d6970e
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 INT32 resid; /* The resource id if resname == NULL */
28 LPSTR resname;
29 INT32 restype; /* The resource type-id if typename == NULL */
30 LPSTR typename;
31 LPBYTE data; /* Actual resource data */
32 UINT32 datasize; /* The size of the resource */
33 } wrc_resource16_t;
35 typedef struct wrc_resource32
37 INT32 resid; /* The resource id if resname == NULL */
38 LPWSTR resname;
39 INT32 restype; /* The resource type-id if typename == NULL */
40 LPWSTR typename;
41 LPBYTE data; /* Actual resource data */
42 UINT32 datasize; /* The size of the resource */
43 } wrc_resource32_t;
45 #endif