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