Commit 4a67e7a7 authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

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.
parent c83e4f13
......@@ -16,5 +16,4 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
cpp_quote("#include <winuser.h>")
#include "oleidl.idl"
......@@ -16,5 +16,4 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
cpp_quote("#include <winuser.h>")
#include "ocidl.idl"
......@@ -24,6 +24,8 @@ import "objidl.idl";
interface IOleInPlaceActiveObject;
cpp_quote("#include <winuser.h>")
/*****************************************************************************
* IOleTypes interface
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment