4 #include "wine/windef16.h"
7 typedef UINT16 LOGDISKID16;
9 /* error codes stuff */
11 typedef UINT16 RETERR16;
13 #define IP_ERROR (UINT16)100
16 ERR_IP_INVALID_FILENAME = IP_ERROR+1,
18 ERR_IP_INVALID_SECT_NAME,
19 ERR_IP_OUT_OF_HANDLES,
21 ERR_IP_INVALID_INFFILE,
24 ERR_IP_SECTION_NOT_FOUND,
25 ERR_IP_END_OF_SECTION,
26 ERR_IP_PROFILE_NOT_FOUND,
27 ERR_IP_LINE_NOT_FOUND,
29 ERR_IP_TOOMANYINFFILES,
30 ERR_IP_INVALID_SAVERESTORE,
31 ERR_IP_INVALID_INFTYPE
34 /* logical disk identifiers (LDID) */
36 #define LDID_ABSOLUTE ((UINT)-1)
37 #define LDID_SRCPATH 1 /* setup source path */
38 #define LDID_SETUPTEMP 2 /* setup temp dir */
39 #define LDID_UNINSTALL 3 /* uninstall dir */
40 #define LDID_BACKUP 4 /* backup dir */
41 #define LDID_SETUPSCRATCH 5 /* setup scratch dir */
42 #define LDID_WIN 10 /* win dir */
43 #define LDID_SYS 11 /* win system dir */
44 #define LDID_IOS 12 /* win Iosubsys dir */
45 #define LDID_CMD 13 /* win command dir */
46 #define LDID_CPL 14 /* win control panel dir */
47 #define LDID_PRINT 15 /* win printer dir */
48 #define LDID_MAIL 16 /* win mail dir */
49 #define LDID_INF 17 /* win inf dir */
50 #define LDID_HELP 18 /* win help dir */
51 #define LDID_WINADMIN 19 /* admin dir */
52 #define LDID_FONTS 20 /* win fonts dir */
53 #define LDID_VIEWERS 21 /* win viewers dir */
54 #define LDID_VMM32 22 /* win VMM32 dir */
55 #define LDID_COLOR 23 /* win color mngment dir */
56 #define LDID_APPS 24 /* win apps dir */
57 #define LDID_SHARED 25 /* win shared dir */
58 #define LDID_WINBOOT 26 /* guaranteed win boot drive */
59 #define LDID_MACHINE 27 /* machine specific files */
60 #define LDID_HOST_WINBOOT 28
61 #define LDID_BOOT 30 /* boot drive root dir */
62 #define LDID_BOOT_HOST 31 /* boot drive host root dir */
63 #define LDID_OLD_WINBOOT 32 /* root subdir */
64 #define LDID_OLD_WIN 33 /* old windows dir */
72 extern INF_FILE *InfList;
73 extern WORD InfNumEntries;
75 extern LPCSTR IP_GetFileName(HINF16 hInf);
76 extern void WINAPI GenFormStrWithoutPlaceHolders16( LPSTR szDst, LPCSTR szSrc, HINF16 hInf);
78 #endif /* __SETUPX16_H */