msi: Fix a heap corruption bug by resizing the src string before adding to it.
[wine.git] / include / regstr.h
blobef6cf997b9a38805e97c8c43c524fcca312ebc97
1 /*
2 * Win32 registry string defines (see also winnt.h)
4 * Copyright (C) 2000 Andreas Mohr
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 _INC_REGSTR
22 #define _INC_REGSTR
24 #ifdef __cplusplus
25 extern "C" {
26 #endif /* defined(__cplusplus) */
28 #define REGSTR_PATH_UNINSTALL TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall")
30 /* DisplayName <= 32 chars in Windows (otherwise not displayed for uninstall) */
31 #define REGSTR_VAL_UNINSTALLER_DISPLAYNAME TEXT("DisplayName")
32 /* UninstallString <= 63 chars in Windows (otherwise problems) */
33 #define REGSTR_VAL_UNINSTALLER_COMMANDLINE TEXT("UninstallString")
35 #ifdef __cplusplus
36 } /* extern "C" */
37 #endif /* defined(__cplusplus) */
39 #endif /* _INC_REGSTR_H */