Added/fixed missing extern "C".
This commit is contained in:
parent
db92536cfd
commit
0062892c66
|
@ -26,8 +26,16 @@
|
|||
#include <stdlib.h>
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
HRESULT WINAPI GetClassFile(LPOLESTR filePathName,CLSID *pclsid);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
/* These macros are msdev's way of defining COM objects. They are provided
|
||||
* here for use by winelib users.
|
||||
|
|
|
@ -516,10 +516,6 @@ HRESULT WINAPI VarCmp(LPVARIANT,LPVARIANT,LCID,ULONG);
|
|||
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /* extern "C" */
|
||||
#endif
|
||||
|
||||
typedef struct tagPARAMDATA {
|
||||
OLECHAR * szName; /* parameter name */
|
||||
VARTYPE vt; /* parameter type */
|
||||
|
@ -585,5 +581,9 @@ HRESULT WINAPI QueryPathOfRegTypeLib(REFGUID,WORD,WORD,LCID,LPBSTR);
|
|||
HRESULT WINAPI RegisterTypeLib(ITypeLib*,OLECHAR*,OLECHAR*);
|
||||
HRESULT WINAPI UnRegisterTypeLib(REFGUID,WORD,WORD,LCID,SYSKIND);
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /* extern "C" */
|
||||
#endif
|
||||
|
||||
|
||||
#endif /*__WINE_OLEAUTO_H*/
|
||||
|
|
|
@ -4,6 +4,11 @@
|
|||
#include "windef.h"
|
||||
#include "ocidl.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* Ole Control Interfaces
|
||||
|
@ -256,6 +261,13 @@ HRESULT WINAPI OleTranslateColor( OLE_COLOR clr, HPALETTE hpal,
|
|||
#define CONNECT_E_CANNOTCONNECT (CONNECT_E_FIRST+2)
|
||||
#define CONNECT_E_OVERRIDDEN (CONNECT_E_FIRST+3)
|
||||
|
||||
#define SELFREG_E_FIRST MAKE_SCODE(SEVERITY_ERROR, FACILITY_ITF, 0x0200)
|
||||
#define SELFREG_E_LAST MAKE_SCODE(SEVERITY_ERROR, FACILITY_ITF, 0x020F)
|
||||
#define SELFREG_S_FIRST MAKE_SCODE(SEVERITY_SUCCESS, FACILITY_ITF, 0x0200)
|
||||
#define SELFREG_S_LAST MAKE_SCODE(SEVERITY_SUCCESS, FACILITY_ITF, 0x020F)
|
||||
#define SELFREG_E_TYPELIB (SELFREG_E_FIRST+0)
|
||||
#define SELFREG_E_CLASS (SELFREG_E_FIRST+1)
|
||||
|
||||
#ifndef FACILITY_CONTROL
|
||||
#define FACILITY_CONTROL 0xa
|
||||
#endif
|
||||
|
@ -315,6 +327,11 @@ HRESULT WINAPI OleTranslateColor( OLE_COLOR clr, HPALETTE hpal,
|
|||
|
||||
#define PERPROP_E_NOPAGEAVAILABLE (PERPROP_E_FIRST+0)
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __WINE_OLECTL_H */
|
||||
|
||||
|
||||
|
|
|
@ -34,6 +34,11 @@
|
|||
#include "wtypes.h"
|
||||
#include "guiddef.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef NONAMELESSSTRUCT
|
||||
#define LISet32(li, v) ((li).HighPart = (v) < 0 ? -1 : 0, (li).LowPart = (v))
|
||||
#define ULISet32(li, v) ((li).HighPart = 0, (li).LowPart = (v))
|
||||
|
@ -661,10 +666,6 @@ ICOM_DEFINE(IMalloc,IUnknown)
|
|||
#define IMalloc_HeapMinimize(p) ICOM_CALL (HeapMinimize,p)
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
HRESULT WINAPI CoGetMalloc(DWORD dwMemContext,LPMALLOC* lpMalloc);
|
||||
|
||||
LPVOID WINAPI CoTaskMemAlloc(ULONG size);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#ifndef _WINE_WININET_H_
|
||||
#define _WINE_WININET_H_
|
||||
|
||||
#if defined(__cplusplus)
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
@ -1399,7 +1399,7 @@ BOOLAPI InternetCheckConnectionA(LPCSTR lpszUrl,DWORD dwFlags,DWORD dwReserved);
|
|||
BOOLAPI InternetCheckConnectionW(LPCWSTR lpszUrl,DWORD dwFlags,DWORD dwReserved);
|
||||
#define InternetCheckConnection WINELIB_NAME_AW(InternetCheckConnection)
|
||||
|
||||
#if defined(__cplusplus)
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue