Reactos
at master 83 lines 1.6 kB view raw
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 33DWORD WINAPI pSetupGuidFromString(PCWSTR pString, LPGUID lpGUID); 34 35BOOL 36WINAPI 37InstallDevInst( 38IN HWND hWndParent, 39IN LPCWSTR InstanceId, 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