include: Include winuser.h from generated oleidl.h header.
oleidl.h isn't usable without winuser.h being included first due to using the LPMSG type, so explicitly include it by adding a cpp_quote statement to oleidl.idl. In the PSDK it is implicitly included as IDL-generated header includes windows.h, which in turn includes winuser.h.
This commit is contained in:
parent
c83e4f130f
commit
4a67e7a71e
|
@ -16,5 +16,4 @@
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
cpp_quote("#include <winuser.h>")
|
|
||||||
#include "oleidl.idl"
|
#include "oleidl.idl"
|
||||||
|
|
|
@ -16,5 +16,4 @@
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
cpp_quote("#include <winuser.h>")
|
|
||||||
#include "ocidl.idl"
|
#include "ocidl.idl"
|
||||||
|
|
|
@ -24,6 +24,8 @@ import "objidl.idl";
|
||||||
|
|
||||||
interface IOleInPlaceActiveObject;
|
interface IOleInPlaceActiveObject;
|
||||||
|
|
||||||
|
cpp_quote("#include <winuser.h>")
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* IOleTypes interface
|
* IOleTypes interface
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue