Update the address of the Free Software Foundation.
[wine/gsoc_dplay.git] / dlls / setupapi / setupapi_private.h
blobbce05cb723450994e1e5ab7cad1aedc44713aa94
1 /*
2 * Copyright 2001 Andreas Mohr
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifndef __SETUPAPI_PRIVATE_H
20 #define __SETUPAPI_PRIVATE_H
22 #define COPYFILEDLGORD 1000
23 #define SOURCESTRORD 500
24 #define DESTSTRORD 501
25 #define PROGRESSORD 502
28 #define REG_INSTALLEDFILES "System\\CurrentControlSet\\Control\\InstalledFiles"
29 #define REGPART_RENAME "\\Rename"
30 #define REG_VERSIONCONFLICT "Software\\Microsoft\\VersionConflictManager"
32 /* string substitutions */
34 struct inf_file;
35 extern const WCHAR *DIRID_get_string( int dirid );
36 extern unsigned int PARSER_string_substA( struct inf_file *file, const WCHAR *text,
37 char *buffer, unsigned int size );
38 extern unsigned int PARSER_string_substW( struct inf_file *file, const WCHAR *text,
39 WCHAR *buffer, unsigned int size );
40 extern const WCHAR *PARSER_get_inf_filename( HINF hinf );
41 extern WCHAR *PARSER_get_src_root( HINF hinf );
42 extern WCHAR *PARSER_get_dest_dir( INFCONTEXT *context );
44 /* support for Ascii queue callback functions */
46 struct callback_WtoA_context
48 void *orig_context;
49 PSP_FILE_CALLBACK_A orig_handler;
52 UINT CALLBACK QUEUE_callback_WtoA( void *context, UINT notification, UINT_PTR, UINT_PTR );
54 /* from msvcrt/sys/stat.h */
55 #define _S_IWRITE 0x0080
56 #define _S_IREAD 0x0100
58 extern OSVERSIONINFOW OsVersionInfo;
60 extern BOOL create_fake_dll( const WCHAR *name, const WCHAR *source );
62 #endif /* __SETUPAPI_PRIVATE_H */