Compile fix if HAVE_OSS is not defined.
[wine/multimedia.git] / include / wrc_rsc.h
blob59e6135a0df3bfb2e532130bdf5e6fdea59ebffe
1 /*
2 * Wine Resource Compiler structure definitions
4 * Copyright 1998 Bertho A. Stultiens
6 */
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 */
25 LPSTR resname;
26 INT restype; /* The resource type-id if typename == NULL */
27 LPSTR restypename;
28 LPBYTE data; /* Actual resource data */
29 UINT datasize; /* The size of the resource */
30 } wrc_resource16_t;
32 typedef struct wrc_resource32
34 INT resid; /* The resource id if resname == NULL */
35 LPWSTR resname;
36 INT restype; /* The resource type-id if typename == NULL */
37 LPWSTR restypename;
38 LPBYTE data; /* Actual resource data */
39 UINT datasize; /* The size of the resource */
40 } wrc_resource32_t;
42 #endif /* __WINE_WRC_RSC_H */