Changed the GDI driver interface to pass an opaque PHYSDEV pointer
[wine] / dlls / setupapi / setupapi_private.h
1 /*
2  * Copyright 2001 Andreas Mohr
3  *
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.
8  *
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.
13  *
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., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17  */
18
19 #ifndef __SETUPAPI_PRIVATE_H
20 #define __SETUPAPI_PRIVATE_H
21
22 #include "wine/windef16.h"
23
24 #define COPYFILEDLGORD  1000
25 #define SOURCESTRORD    500
26 #define DESTSTRORD      501
27 #define PROGRESSORD     502
28
29
30 #define REG_INSTALLEDFILES "System\\CurrentControlSet\\Control\\InstalledFiles"
31 #define REGPART_RENAME "\\Rename"
32 #define REG_VERSIONCONFLICT "Software\\Microsoft\\VersionConflictManager"
33
34 typedef struct tagLDD_LIST {
35         LPLOGDISKDESC pldd;
36         struct tagLDD_LIST *next;
37 } LDD_LIST;
38
39 #define INIT_LDD(ldd, LDID) \
40   do { \
41     memset(&(ldd), 0, sizeof(LOGDISKDESC_S)); \
42    (ldd).cbSize = sizeof(LOGDISKDESC_S); \
43    ldd.ldid = LDID; \
44   } while(0)
45
46 typedef struct {
47     HINF16 hInf;
48     HFILE hInfFile;
49     LPSTR lpInfFileName;
50 } INF_FILE;
51
52 extern INF_FILE *InfList;
53 extern WORD InfNumEntries;
54
55 extern LPCSTR IP_GetFileName(HINF16 hInf);
56
57 #endif /* __SETUPAPI_PRIVATE_H */