- Move new hardware wizard code to wizard.c
[reactos.git] / reactos / dll / win32 / newdev / newdev.h
1 #include <windows.h>
2 #include <commctrl.h>
3 #include <regstr.h>
4 #include <setupapi.h>
5 #include <cfgmgr32.h>
6 #include <tchar.h>
7 #include <wine/debug.h>
8
9 #include <stdio.h>
10
11 #include "resource.h"
12
13 extern HINSTANCE hDllInstance;
14
15 typedef struct _DEVINSTDATA
16 {
17 HFONT hTitleFont;
18 PBYTE buffer;
19 DWORD requiredSize;
20 DWORD regDataType;
21 HWND hDialog;
22 HDEVINFO hDevInfo;
23 SP_DEVINFO_DATA devInfoData;
24 SP_DRVINFO_DATA drvInfoData;
25
26 LPTSTR CustomSearchPath; /* MULTI_SZ string */
27 } DEVINSTDATA, *PDEVINSTDATA;
28
29 #define WM_SEARCH_FINISHED (WM_USER + 10)
30
31 /* newdev.c */
32 BOOL
33 SearchDriver(
34 IN PDEVINSTDATA DevInstData,
35 IN LPCTSTR Directory OPTIONAL,
36 IN LPCTSTR InfFile OPTIONAL);
37
38 BOOL
39 SearchDriverRecursive(
40 IN PDEVINSTDATA DevInstData,
41 IN LPCTSTR Path);
42
43 BOOL
44 InstallCurrentDriver(
45 IN PDEVINSTDATA DevInstData);
46
47 /* wizard.c */
48 BOOL
49 DisplayWizard(
50 IN PDEVINSTDATA DevInstData,
51 IN HWND hwndParent,
52 IN UINT startPage);