1
0
mirror of https://github.com/wine-mirror/wine synced 2024-06-29 06:14:34 +00:00

include: Include cfg.h from cfgmgr32.h.

This commit is contained in:
Alexandre Julliard 2024-01-30 16:45:45 +01:00
parent 91d60983ac
commit 008f64557d
6 changed files with 7 additions and 22 deletions

View File

@ -17,6 +17,7 @@
*/
#include "wine/debug.h"
#include "winreg.h"
#include "cfgmgr32.h"
WINE_DEFAULT_DEBUG_CHANNEL(setupapi);

View File

@ -17,6 +17,7 @@
*/
#include "wine/test.h"
#include "winreg.h"
#include "cfgmgr32.h"
static void test_CM_MapCrToWin32Err(void)

View File

@ -22,6 +22,7 @@
#include "winbase.h"
#include "winternl.h"
#include "winioctl.h"
#include "winreg.h"
#include "ddk/wdm.h"
#include "hidusage.h"
#include "ddk/hidport.h"

View File

@ -31,7 +31,7 @@
#define WIN32_NO_STATUS
#include "ntgdi_private.h"
#include "ntuser_private.h"
#include "devpropdef.h"
#include "winreg.h"
#include "cfgmgr32.h"
#include "d3dkmdt.h"
#include "wine/wingdi16.h"

View File

@ -27,6 +27,7 @@
#include "winbase.h"
#include "winternl.h"
#include "winioctl.h"
#include "winreg.h"
#include "cfgmgr32.h"
#include "ddk/wdm.h"

View File

@ -19,15 +19,13 @@
#ifndef _CFGMGR32_H_
#define _CFGMGR32_H_
/* FIXME: #include <cfg.h> */
#include <cfg.h>
#include <devpropdef.h>
#ifndef GUID_DEFINED
# include <guiddef.h>
#endif
#include <winreg.h>
#include <devpropdef.h>
/* cfgmgr32 doesn't use the normal convention, it adds an underscore before A/W */
#ifdef WINE_NO_UNICODE_MACROS
# define DECL_WINELIB_CFGMGR32_TYPE_AW(type) /* nothing */
@ -193,23 +191,6 @@ typedef CHAR *DEVNODEID_A, *DEVINSTID_A;
typedef WCHAR *DEVNODEID_W, *DEVINSTID_W;
typedef ULONG REGDISPOSITION;
typedef enum _PNP_VETO_TYPE
{
PNP_VetoTypeUnknown,
PNP_VetoLegacyDevice,
PNP_VetoPendingClose,
PNP_VetoWindowsApp,
PNP_VetoWindowsService,
PNP_VetoOutstandingOpen,
PNP_VetoDevice,
PNP_VetoDriver,
PNP_VetoIllegalDeviceRequest,
PNP_VetoInsufficientPower,
PNP_VetoNonDisableable,
PNP_VetoLegacyDriver,
PNP_VetoInsufficientRights
} PNP_VETO_TYPE, *PPNP_VETO_TYPE;
typedef enum _CM_NOTIFY_FILTER_TYPE
{
CM_NOTIFY_FILTER_TYPE_DEVICEINTERFACE,