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:
Rob Shearman 2008-12-29 12:05:12 +00:00 committed by Alexandre Julliard
parent c83e4f130f
commit 4a67e7a71e
3 changed files with 2 additions and 2 deletions

View file

@ -16,5 +16,4 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
cpp_quote("#include <winuser.h>")
#include "oleidl.idl"

View file

@ -16,5 +16,4 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
cpp_quote("#include <winuser.h>")
#include "ocidl.idl"

View file

@ -24,6 +24,8 @@ import "objidl.idl";
interface IOleInPlaceActiveObject;
cpp_quote("#include <winuser.h>")
/*****************************************************************************
* IOleTypes interface
*/