ReactOS 0.4.16-dev-141-g4c84e19
precomp.h
Go to the documentation of this file.
1//#pragma once
2
3#ifndef __REACTOS__
4
5#define WIN32_LEAN_AND_MEAN
6#include <Windows.h>
7#include <windowsx.h>
8#include <setupapi.h>
9#include <cfgmgr32.h>
10#include <commctrl.h>
11#include <Uxtheme.h>
12#include <Cfgmgr32.h>
13#include <devguid.h>
14#include <process.h>
15#include <dbt.h>
16#include <RegStr.h>
17
18#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit
19#include <tchar.h>
20#include <atlbase.h>
21#include <atlstr.h>
22#include <atlcoll.h>
23
24#include <strsafe.h>
25
26#include <devmgr/devmgr.h>
27
28#define ERR printf
29#define FIXME printf
30#define UNIMPLEMENTED
31#define WINE_DEFAULT_DEBUG_CHANNEL(t)
32
34
35BOOL
40IN BOOL bUpdate,
41OUT LPDWORD lpReboot);
42
43#else
44
45#include <string.h>
46#include <wchar.h>
47
48#include <tchar.h>
49#include <windef.h>
50#include <winbase.h>
51#include <winreg.h>
52#include <wingdi.h>
53#include <winnls.h>
54#include <wincon.h>
55#include <shlobj.h>
56#include <shellapi.h>
57#include <shlwapi.h>
58#include <strsafe.h>
59#include <process.h>
60#include <windowsx.h>
61#include <strsafe.h>
62#include <regstr.h>
63#include <newdevp.h>
64#include <dbt.h>
65
66#include <setupapi.h>
67#include <commctrl.h>
68#include <cfgmgr32.h>
69#include <uxtheme.h>
70#include <devguid.h>
71
72#include <atlbase.h>
73#include <atlstr.h>
74#include <atlcoll.h>
75
76#include <devmgr/devmgr.h>
77#include <wine/debug.h>
78
79#define DYNAMIC_FIELD_OFFSET(Type, Field) ((LONG)(LONG_PTR)&(((Type*) 0)->Field))
80
81//WINE_DEFAULT_DEBUG_CHANNEL(devmgr);
82
83#endif
DWORD WINAPI pSetupGuidFromString(PCWSTR pString, LPGUID lpGUID)
Definition: misc.c:1751
BOOL WINAPI InstallDevInst(IN HWND hWndParent, IN LPCWSTR InstanceId, IN BOOL bUpdate, OUT LPDWORD lpReboot)
Definition: stubs.cpp:24
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
_Must_inspect_result_ _In_opt_ PVOID _In_opt_ PVOID InstanceId
Definition: fsrtlfuncs.h:908
FxString * pString
const uint16_t * PCWSTR
Definition: typedefs.h:57
uint32_t * LPDWORD
Definition: typedefs.h:59
#define IN
Definition: typedefs.h:39
#define OUT
Definition: typedefs.h:40
#define WINAPI
Definition: msvc.h:6
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185