source: trunk/include/win/wrc_rsc.h@ 10367

Last change on this file since 10367 was 4, checked in by ktk, 26 years ago

Import

File size: 1.2 KB
Line 
1/* $Id: wrc_rsc.h,v 1.1 1999-05-24 20:19:23 ktk Exp $ */
2
3/*
4 * Wine Resource Compiler structure definitions
5 *
6 * Copyright 1998 Bertho A. Stultiens
7 *
8 */
9
10#if !defined(__WRC_RSC_H) && !defined(__WINE_WRC_RSC_H)
11#define __WRC_RSC_H
12#define __WINE_WRC_RSC_H
13
14#include "windef.h" /* For types in structure */
15
16/*
17 * Note on the resource and type names:
18 *
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!
23 */
24
25typedef struct wrc_resource16
26{
27 INT resid; /* The resource id if resname == NULL */
28 LPSTR resname;
29 INT restype; /* The resource type-id if typename == NULL */
30 LPSTR restypename;
31 LPBYTE data; /* Actual resource data */
32 UINT datasize; /* The size of the resource */
33} wrc_resource16_t;
34
35typedef struct wrc_resource32
36{
37 INT resid; /* The resource id if resname == NULL */
38 LPWSTR resname;
39 INT restype; /* The resource type-id if typename == NULL */
40 LPWSTR restypename;
41 LPBYTE data; /* Actual resource data */
42 UINT datasize; /* The size of the resource */
43} wrc_resource32_t;
44
45#endif
46
Note: See TracBrowser for help on using the repository browser.