Don't terminate a cpp_quote statement with a semicolon. New versions of WIDL will...
authorEric Kohl <eric.kohl@reactos.org>
Sun, 20 Apr 2008 10:10:18 +0000 (10:10 +0000)
committerEric Kohl <eric.kohl@reactos.org>
Sun, 20 Apr 2008 10:10:18 +0000 (10:10 +0000)
svn path=/trunk/; revision=33052

reactos/dll/win32/atl/atliface.idl
reactos/include/reactos/idl/eventlogrpc.idl
reactos/include/reactos/idl/pnp.idl
reactos/include/reactos/idl/svcctl.idl

index bb5cb2e..ef3e5e5 100644 (file)
@@ -74,6 +74,6 @@ cpp_quote("HRESULT WINAPI AtlAxCreateControl(LPCOLESTR,HWND,IStream*,IUnknown**)
 cpp_quote("HRESULT WINAPI AtlAxCreateControlEx(LPCOLESTR,HWND,IStream*,IUnknown**,IUnknown**,REFIID,IUnknown*);")
 cpp_quote("BOOL WINAPI AtlAxWinInit(void);")
 
-cpp_quote("HWND WINAPI AtlAxCreateDialogW(HINSTANCE,LPCWSTR,HWND,DLGPROC,LPARAM);");
-cpp_quote("HWND WINAPI AtlAxCreateDialogA(HINSTANCE,LPCSTR,HWND,DLGPROC,LPARAM);");
-cpp_quote("#define     AtlAxCreateDialog WINELIB_NAME_AW(AtlAxCreateDialog");
+cpp_quote("HWND WINAPI AtlAxCreateDialogW(HINSTANCE,LPCWSTR,HWND,DLGPROC,LPARAM);")
+cpp_quote("HWND WINAPI AtlAxCreateDialogA(HINSTANCE,LPCSTR,HWND,DLGPROC,LPARAM);")
+cpp_quote("#define     AtlAxCreateDialog WINELIB_NAME_AW(AtlAxCreateDialog")
index 618dadc..9ea222b 100644 (file)
@@ -64,7 +64,7 @@ interface eventlog
 #else
        #define LOGHANDLE unsigned int
        #define PLOGHANDLE unsigned int*
-       cpp_quote("typedef unsigned int LOGHANDLE, *PLOGHANDLE;");
+       cpp_quote("typedef unsigned int LOGHANDLE, *PLOGHANDLE;")
 #endif
 
        /* Function 0x00 */
index d123d26..6a9a6c9 100644 (file)
@@ -294,9 +294,9 @@ interface pnp
         [in] PNP_RPC_STRING_LEN ulLength);
 
     /* Function 8 */
-    cpp_quote("#define PNP_GET_PARENT_DEVICE_INSTANCE  0x1");
-    cpp_quote("#define PNP_GET_CHILD_DEVICE_INSTANCE   0x2");
-    cpp_quote("#define PNP_GET_SIBLING_DEVICE_INSTANCE 0x3");
+    cpp_quote("#define PNP_GET_PARENT_DEVICE_INSTANCE  0x1")
+    cpp_quote("#define PNP_GET_CHILD_DEVICE_INSTANCE   0x2")
+    cpp_quote("#define PNP_GET_SIBLING_DEVICE_INSTANCE 0x3")
     DWORD PNP_GetRelatedDeviceInstance(
         [in] handle_t hBinding,
         [in] DWORD ulRelationship,
@@ -306,8 +306,8 @@ interface pnp
         [in] DWORD ulFlags);
 
     /* Function 9 */
-    cpp_quote("#define PNP_ENUMERATOR_SUBKEYS 0x1");
-    cpp_quote("#define PNP_CLASS_SUBKEYS      0x2");
+    cpp_quote("#define PNP_ENUMERATOR_SUBKEYS 0x1")
+    cpp_quote("#define PNP_CLASS_SUBKEYS      0x2")
     DWORD PNP_EnumerateSubKeys(
         [in] handle_t hBinding,
         [in] DWORD ulBranch,
@@ -557,8 +557,8 @@ interface pnp
         [in] handle_t hBinding);
 
     /* Function 40 */
-    cpp_quote("#define PNP_GET_HWPROFFLAGS 0x1");
-    cpp_quote("#define PNP_SET_HWPROFFLAGS 0x2");
+    cpp_quote("#define PNP_GET_HWPROFFLAGS 0x1")
+    cpp_quote("#define PNP_SET_HWPROFFLAGS 0x2")
     DWORD PNP_HwProfFlags(
         [in] handle_t hBinding,
         [in] DWORD ulAction,
index 72e2796..dec5d70 100644 (file)
@@ -239,7 +239,7 @@ typedef struct _SC_RPC_NOTIFY_PARAMS_LIST {
     [size_is(cElements)] SC_RPC_NOTIFY_PARAMS NotifyParamsArray[];
 } SC_RPC_NOTIFY_PARAMS_LIST, *PSC_RPC_NOTIFY_PARAMS_LIST;
 
-cpp_quote("#if 0");
+cpp_quote("#if 0")
 
 #if 0
 typedef
@@ -297,7 +297,9 @@ typedef struct _STRING_PTRSW {
   uuid(367abb81-9844-35f1-ad32-98f038001003),
   version(2.0),
   pointer_default(unique),
-  explicit_handle
+  #ifndef __midl
+  ,explicit_handle
+  #endif
 ]
 interface svcctl
 {