mirror of
https://github.com/reactos/reactos.git
synced 2024-08-15 08:03:55 +00:00
- Add a header guard for pnp.idl's RESOURCEID, and add an internal define for setupapi as it uses incompatible Wine headers
svn path=/trunk/; revision=37710
This commit is contained in:
parent
031931d95a
commit
da6926f487
|
@ -44,6 +44,11 @@
|
|||
|
||||
#include <pseh/pseh.h>
|
||||
|
||||
/* This hack definition is necessary as long as setupapi
|
||||
depends on Wine "compatibility" headers */
|
||||
typedef ULONG RESOURCEID;
|
||||
typedef RESOURCEID *PRESOURCEID;
|
||||
|
||||
#include <pnp_c.h>
|
||||
#include "rpc_private.h"
|
||||
#include "resource.h"
|
||||
|
|
|
@ -14,7 +14,9 @@ const unsigned long PNP_MAX_PROP_SIZE = 65534;
|
|||
const unsigned long PNP_MAX_PROP_COUNT = 32767;
|
||||
const unsigned long PNP_MAX_BUFFER_SIZE = 16000000;
|
||||
|
||||
cpp_quote("#ifndef _CFGMGR32_H_")
|
||||
typedef unsigned long RESOURCEID;
|
||||
cpp_quote("#endif")
|
||||
typedef unsigned long DEVPROPTYPE;
|
||||
typedef [range(0, PNP_MAX_PROP_SIZE)] unsigned long PNP_PROP_SIZE, *PPNP_PROP_SIZE;
|
||||
typedef [range(0, PNP_MAX_PROP_COUNT)] unsigned long PNP_PROP_COUNT, *PPNP_PROP_COUNT;
|
||||
|
|
Loading…
Reference in a new issue