Add newdev.h of the w32api package
[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 <tchar.h>
12 #include <wine/debug.h>
13
14 #include <stdio.h>
15
16 #include "resource.h"
17
18 extern HINSTANCE hDllInstance;
19
20 typedef struct _DEVINSTDATA
21 {
22 HFONT hTitleFont;
23 PBYTE buffer;
24 DWORD requiredSize;
25 DWORD regDataType;
26 HWND hDialog;
27 HDEVINFO hDevInfo;
28 SP_DEVINFO_DATA devInfoData;
29 SP_DRVINFO_DATA drvInfoData;
30
31 LPTSTR CustomSearchPath; /* MULTI_SZ string */
32 } DEVINSTDATA, *PDEVINSTDATA;
33
34 #define WM_SEARCH_FINISHED (WM_USER + 10)
35 #define WM_INSTALL_FINISHED (WM_USER + 11)
36
37 /* newdev.c */
38 BOOL
39 SearchDriver(
40 IN PDEVINSTDATA DevInstData,
41 IN LPCTSTR Directory OPTIONAL,
42 IN LPCTSTR InfFile OPTIONAL);
43
44 BOOL
45 SearchDriverRecursive(
46 IN PDEVINSTDATA DevInstData,
47 IN LPCTSTR Path);
48
49 BOOL
50 InstallCurrentDriver(
51 IN PDEVINSTDATA DevInstData);
52
53 /* wizard.c */
54 BOOL
55 DisplayWizard(
56 IN PDEVINSTDATA DevInstData,
57 IN HWND hwndParent,
58 IN UINT startPage);
59
60 #endif /* __NEWDEV_PRIVATE_H */