wined3d: Read the PBO back into the DIB section if we have one in surface_remove_pbo().
[wine/multimedia.git] / tools / wrc / newstruc.h
blobc7a74eb1abebcc7e231bb10fd0d4a69f616e2b6f
1 /*
2 * Create dynamic new structures of various types
4 * Copyright 1998 Bertho A. Stultiens
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #ifndef __WRC_NEWSTRUC_H
22 #define __WRC_NEWSTRUC_H
24 #include "wrctypes.h"
26 dialog_t *new_dialog(void);
27 name_id_t *new_name_id(void);
28 menu_t *new_menu(void);
29 menu_item_t *new_menu_item(void);
30 control_t *new_control(void);
31 icon_t *new_icon(void);
32 cursor_t *new_cursor(void);
33 versioninfo_t *new_versioninfo(void);
34 ver_value_t *new_ver_value(void);
35 ver_block_t *new_ver_block(void);
36 stt_entry_t *new_stt_entry(void);
37 accelerator_t *new_accelerator(void);
38 event_t *new_event(void);
39 raw_data_t *new_raw_data(void);
40 lvc_t *new_lvc(void);
41 res_count_t *new_res_count(void);
42 string_t *new_string(void);
43 toolbar_item_t *new_toolbar_item(void);
44 ani_any_t *new_ani_any(void);
45 resource_t *new_resource(enum res_e t, void *res, int memopt, language_t *lan);
46 version_t *new_version(DWORD v);
47 characts_t *new_characts(DWORD c);
48 language_t *new_language(int id, int sub);
49 language_t *dup_language(language_t *l);
50 version_t *dup_version(version_t *v);
51 characts_t *dup_characts(characts_t *c);
52 html_t *new_html(raw_data_t *rd, int *memopt);
53 rcdata_t *new_rcdata(raw_data_t *rd, int *memopt);
54 font_id_t *new_font_id(int size, string_t *face, int weight, int italic);
55 user_t *new_user(name_id_t *type, raw_data_t *rd, int *memopt);
56 font_t *new_font(raw_data_t *rd, int *memopt);
57 fontdir_t *new_fontdir(raw_data_t *rd, int *memopt);
58 icon_group_t *new_icon_group(raw_data_t *rd, int *memopt);
59 cursor_group_t *new_cursor_group(raw_data_t *rd, int *memopt);
60 ani_curico_t *new_ani_curico(enum res_e type, raw_data_t *rd, int *memopt);
61 bitmap_t *new_bitmap(raw_data_t *rd, int *memopt);
62 ver_words_t *new_ver_words(int i);
63 ver_words_t *add_ver_words(ver_words_t *w, int i);
64 messagetable_t *new_messagetable(raw_data_t *rd, int *memopt);
65 dlginit_t *new_dlginit(raw_data_t *rd, int *memopt);
66 void copy_raw_data(raw_data_t *dst, raw_data_t *src, unsigned int offs, int len);
67 int *new_int(int i);
68 stringtable_t *new_stringtable(lvc_t *lvc);
69 toolbar_t *new_toolbar(int button_width, int button_Height, toolbar_item_t *items, int nitems);
70 style_pair_t *new_style_pair(style_t *style, style_t *exstyle);
71 style_t *new_style(DWORD or_mask, DWORD and_mask);
73 #endif