2002-03-10 00:29:33 +01:00
|
|
|
/*
|
|
|
|
* Copyright 2001 Andreas Mohr
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
|
*/
|
|
|
|
|
2001-04-17 19:39:35 +02:00
|
|
|
#ifndef __SETUPAPI_PRIVATE_H
|
|
|
|
#define __SETUPAPI_PRIVATE_H
|
2000-12-13 22:31:37 +01:00
|
|
|
|
|
|
|
#include "wine/windef16.h"
|
2002-04-02 04:57:50 +02:00
|
|
|
#include "setupx16.h"
|
2000-12-13 22:31:37 +01:00
|
|
|
|
2001-04-17 19:39:35 +02:00
|
|
|
#define COPYFILEDLGORD 1000
|
|
|
|
#define SOURCESTRORD 500
|
|
|
|
#define DESTSTRORD 501
|
|
|
|
#define PROGRESSORD 502
|
|
|
|
|
|
|
|
|
|
|
|
#define REG_INSTALLEDFILES "System\\CurrentControlSet\\Control\\InstalledFiles"
|
|
|
|
#define REGPART_RENAME "\\Rename"
|
|
|
|
#define REG_VERSIONCONFLICT "Software\\Microsoft\\VersionConflictManager"
|
|
|
|
|
2000-12-13 22:31:37 +01:00
|
|
|
typedef struct tagLDD_LIST {
|
|
|
|
LPLOGDISKDESC pldd;
|
|
|
|
struct tagLDD_LIST *next;
|
|
|
|
} LDD_LIST;
|
|
|
|
|
|
|
|
#define INIT_LDD(ldd, LDID) \
|
|
|
|
do { \
|
|
|
|
memset(&(ldd), 0, sizeof(LOGDISKDESC_S)); \
|
|
|
|
(ldd).cbSize = sizeof(LOGDISKDESC_S); \
|
|
|
|
ldd.ldid = LDID; \
|
|
|
|
} while(0)
|
|
|
|
|
2002-04-02 04:57:50 +02:00
|
|
|
/* string substitutions */
|
|
|
|
|
|
|
|
struct inf_file;
|
|
|
|
extern const WCHAR *DIRID_get_string( HINF hinf, int dirid );
|
|
|
|
extern unsigned int PARSER_string_substA( struct inf_file *file, const WCHAR *text,
|
|
|
|
char *buffer, unsigned int size );
|
|
|
|
extern unsigned int PARSER_string_substW( struct inf_file *file, const WCHAR *text,
|
|
|
|
WCHAR *buffer, unsigned int size );
|
|
|
|
extern const WCHAR *PARSER_get_src_root( HINF hinf );
|
|
|
|
|
|
|
|
/* support for Ascii queue callback functions */
|
|
|
|
|
|
|
|
struct callback_WtoA_context
|
|
|
|
{
|
|
|
|
void *orig_context;
|
|
|
|
PSP_FILE_CALLBACK_A orig_handler;
|
|
|
|
};
|
|
|
|
|
|
|
|
UINT CALLBACK QUEUE_callback_WtoA( void *context, UINT notification, UINT_PTR, UINT_PTR );
|
|
|
|
|
2001-04-17 19:39:35 +02:00
|
|
|
#endif /* __SETUPAPI_PRIVATE_H */
|