/*
* Wine Resource Compiler structure definitions
*
* Copyright 1998 Bertho A. Stultiens
*/
#if !defined(__WRC_RSC_H) && !defined(__WINE_WRC_RSC_H)
#define __WRC_RSC_H
#define __WINE_WRC_RSC_H
#ifndef __WINE_WINTYPES_H
#include <wintypes.h> /* For types in structure */
#endif
* Note on the resource and type names:
* These are (if non-null) pointers to a pascal-style
* string. The first character (BYTE for 16 bit and WCHAR
* for 32 bit resources) contains the length and the
* rest is the string. They are _not_ '\0' terminated!
typedef struct wrc_resource16
{
INT resid; /* The resource id if resname == NULL */
LPSTR resname;
INT restype; /* The resource type-id if typename == NULL */
LPSTR restypename;
LPBYTE data; /* Actual resource data */
UINT datasize; /* The size of the resource */
} wrc_resource16_t;
typedef struct wrc_resource32
LPWSTR resname;
LPWSTR restypename;
} wrc_resource32_t;