Don't terminate a cpp_quote statement with a semicolon. New versions of WIDL will emit an error.

svn path=/trunk/; revision=33052
This commit is contained in:
Eric Kohl 2008-04-20 10:10:18 +00:00
parent a0f475f608
commit 3f1c281366
4 changed files with 15 additions and 13 deletions

View 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")

View 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 */

View 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,

View 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
{