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