1161203b3f158a38ca9336a861b02ec8a10410b7
[reactos.git] / reactos / dll / win32 / newdev / newdev_private.h
1 #ifndef __NEWDEV_PRIVATE_H
2 #define __NEWDEV_PRIVATE_H
3
4 #include <stdarg.h>
5
6 #define WIN32_NO_STATUS
7 #define _INC_WINDOWS
8 #define COM_NO_WINDOWS_H
9
10 #define COBJMACROS
11
12 #include <windef.h>
13 #include <winbase.h>
14 #include <winreg.h>
15 #include <wingdi.h>
16 #include <winuser.h>
17 #include <windowsx.h>
18 #include <newdev.h>
19 #include <regstr.h>
20
21 #include <wine/debug.h>
22 WINE_DEFAULT_DEBUG_CHANNEL(newdev);
23
24 #include "resource.h"
25
26 extern HINSTANCE hDllInstance;
27
28 typedef struct _DEVINSTDATA
29 {
30 HFONT hTitleFont;
31 PBYTE buffer;
32 DWORD requiredSize;
33 DWORD regDataType;
34 HWND hDialog;
35 HDEVINFO hDevInfo;
36 SP_DEVINFO_DATA devInfoData;
37 SP_DRVINFO_DATA_W drvInfoData;
38
39 LPWSTR CustomSearchPath; /* MULTI_SZ string */
40 } DEVINSTDATA, *PDEVINSTDATA;
41
42 #define WM_SEARCH_FINISHED (WM_USER + 10)
43 #define WM_INSTALL_FINISHED (WM_USER + 11)
44
45 /* newdev.c */
46
47 BOOL
48 ScanFoldersForDriver(
49 IN PDEVINSTDATA DevInstData);
50
51 BOOL
52 PrepareFoldersToScan(
53 IN PDEVINSTDATA DevInstData,
54 IN BOOL IncludeRemovableDevices,
55 IN BOOL IncludeCustomPath,
56 IN HWND hwndCombo OPTIONAL);
57
58 BOOL
59 InstallCurrentDriver(
60 IN PDEVINSTDATA DevInstData);
61
62 /* wizard.c */
63 BOOL
64 DisplayWizard(
65 IN PDEVINSTDATA DevInstData,
66 IN HWND hwndParent,
67 IN UINT startPage);
68
69 #endif /* __NEWDEV_PRIVATE_H */