Make dinput a properly separated dll.
[wine] / include / wrc_rsc.h
1 /*
2  * Wine Resource Compiler structure definitions
3  *
4  * Copyright 1998 Bertho A. Stultiens
5  *
6  */
7
8 #ifndef __WINE_WRC_RSC_H
9 #define __WINE_WRC_RSC_H
10
11 #include "windef.h"             /* For types in structure */
12
13 /*
14  * Note on the resource and type names:
15  *
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!
20  */
21
22 typedef struct wrc_resource16
23 {
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;
31
32 typedef struct wrc_resource32
33 {
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;
41
42 #endif /* __WINE_WRC_RSC_H */
43