summaryrefslogtreecommitdiffstats
path: root/winsup/w32api/include/commdlg.h
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/w32api/include/commdlg.h')
-rw-r--r--winsup/w32api/include/commdlg.h17
1 files changed, 2 insertions, 15 deletions
diff --git a/winsup/w32api/include/commdlg.h b/winsup/w32api/include/commdlg.h
index cc19c41ad..d1a4433ee 100644
--- a/winsup/w32api/include/commdlg.h
+++ b/winsup/w32api/include/commdlg.h
@@ -427,21 +427,8 @@ typedef struct tagPDW {
HANDLE hSetupTemplate;
} PRINTDLGW,*LPPRINTDLGW;
#if (WINVER >= 0x0500)
-/* We could #include <unknwn.h> here but that would bring
-in a cascade of rpc dependencies */
-#ifndef __IUnknown_INTERFACE_DEFINED__
-#define __IUnknown_INTERFACE_DEFINED__
-#undef INTERFACE
-#define INTERFACE IUnknown
-DECLARE_INTERFACE(IUnknown)
-{
- STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
- STDMETHOD_(ULONG,AddRef)(THIS) PURE;
- STDMETHOD_(ULONG,Release)(THIS) PURE;
-};
-typedef IUnknown *LPUNKNOWN;
-#endif
-#include <prsht.h> /* for HPROPSHEETPAGE */
+#include <unknwn.h> /* for LPUNKNOWN */
+#include <prsht.h> /* for HPROPSHEETPAGE */
typedef struct tagPRINTPAGERANGE {
DWORD nFromPage;
DWORD nToPage;