Commit 14da7b1c authored by Patrik Stridvall's avatar Patrik Stridvall Committed by Alexandre Julliard

Added extern "C" if __cplusplus is defined.

parent 6ec3eaf5
...@@ -10,6 +10,10 @@ ...@@ -10,6 +10,10 @@
#include "windef.h" #include "windef.h"
#ifdef __cplusplus
extern "C" {
#endif /* defined(__cplusplus) */
/* Codepage Constants /* Codepage Constants
*/ */
...@@ -334,4 +338,8 @@ UINT WINAPI DdeGetLastError(DWORD); ...@@ -334,4 +338,8 @@ UINT WINAPI DdeGetLastError(DWORD);
UINT16 WINAPI DdeQueryConvInfo16(HCONV,DWORD,LPCONVINFO16); UINT16 WINAPI DdeQueryConvInfo16(HCONV,DWORD,LPCONVINFO16);
UINT WINAPI DdeQueryConvInfo(HCONV,DWORD,LPCONVINFO); UINT WINAPI DdeQueryConvInfo(HCONV,DWORD,LPCONVINFO);
#ifdef __cplusplus
} /* extern "C" */
#endif /* defined(__cplusplus) */
#endif /* __WINE__DDEML_H */ #endif /* __WINE__DDEML_H */
...@@ -10,6 +10,10 @@ ...@@ -10,6 +10,10 @@
#include "wingdi.h" /* PALETTE stuff ... */ #include "wingdi.h" /* PALETTE stuff ... */
#include "wine/obj_base.h" #include "wine/obj_base.h"
#ifdef __cplusplus
extern "C" {
#endif /* defined(__cplusplus) */
#ifndef DIRECTDRAW_VERSION #ifndef DIRECTDRAW_VERSION
#define DIRECTDRAW_VERSION 0x0500 #define DIRECTDRAW_VERSION 0x0500
#endif /* DIRECTDRAW_VERSION */ #endif /* DIRECTDRAW_VERSION */
...@@ -1509,4 +1513,8 @@ HRESULT WINAPI DirectDrawEnumerateW(LPDDENUMCALLBACKW,LPVOID); ...@@ -1509,4 +1513,8 @@ HRESULT WINAPI DirectDrawEnumerateW(LPDDENUMCALLBACKW,LPVOID);
#define DirectDrawEnumerate WINELIB_NAME_AW(DirectDrawEnumerate) #define DirectDrawEnumerate WINELIB_NAME_AW(DirectDrawEnumerate)
HRESULT WINAPI DirectDrawCreateClipper(DWORD,LPDIRECTDRAWCLIPPER*,LPUNKNOWN); HRESULT WINAPI DirectDrawCreateClipper(DWORD,LPDIRECTDRAWCLIPPER*,LPUNKNOWN);
#ifdef __cplusplus
} /* extern "C" */
#endif /* defined(__cplusplus) */
#endif /* __WINE_DDRAW_H */ #endif /* __WINE_DDRAW_H */
...@@ -3,6 +3,10 @@ ...@@ -3,6 +3,10 @@
#include "wine/obj_base.h" #include "wine/obj_base.h"
#ifdef __cplusplus
extern "C" {
#endif /* defined(__cplusplus) */
#include "pshpack1.h" #include "pshpack1.h"
/***************************************************************************** /*****************************************************************************
...@@ -585,4 +589,8 @@ ICOM_DEFINE(IDirectPlay3,IDirectPlay2) ...@@ -585,4 +589,8 @@ ICOM_DEFINE(IDirectPlay3,IDirectPlay2)
#define IDirectPlay3_GetPlayerFlags(p,a,b) ICOM_CALL2(GetPlayerFlags,p,a,b) #define IDirectPlay3_GetPlayerFlags(p,a,b) ICOM_CALL2(GetPlayerFlags,p,a,b)
#endif #endif
#ifdef __cplusplus
} /* extern "C" */
#endif /* defined(__cplusplus) */
#endif /* __WINE_DPLAY_H */ #endif /* __WINE_DPLAY_H */
...@@ -3,6 +3,10 @@ ...@@ -3,6 +3,10 @@
#include "dplay.h" #include "dplay.h"
#ifdef __cplusplus
extern "C" {
#endif /* defined(__cplusplus) */
#include "pshpack1.h" #include "pshpack1.h"
/***************************************************************************** /*****************************************************************************
...@@ -148,4 +152,8 @@ ICOM_DEFINE(IDirectPlayLobby2,IDirectPlayLobby) ...@@ -148,4 +152,8 @@ ICOM_DEFINE(IDirectPlayLobby2,IDirectPlayLobby)
#define IDirectPlayLobby2_CreateCompoundAddress(p,a,b,c,d) ICOM_CALL4(CreateCompoundAddress,p,a,b,c,d) #define IDirectPlayLobby2_CreateCompoundAddress(p,a,b,c,d) ICOM_CALL4(CreateCompoundAddress,p,a,b,c,d)
#endif #endif
#ifdef __cplusplus
} /* extern "C" */
#endif /* defined(__cplusplus) */
#endif /* __WINE_DPLOBBY_H */ #endif /* __WINE_DPLOBBY_H */
...@@ -5,6 +5,10 @@ ...@@ -5,6 +5,10 @@
#include "mmsystem.h" #include "mmsystem.h"
#include "d3d.h" /*FIXME: Need to break out d3dtypes.h */ #include "d3d.h" /*FIXME: Need to break out d3dtypes.h */
#ifdef __cplusplus
extern "C" {
#endif /* defined(__cplusplus) */
/***************************************************************************** /*****************************************************************************
* Predeclare the interfaces * Predeclare the interfaces
*/ */
...@@ -481,5 +485,8 @@ ICOM_DEFINE(IDirectSound3DBuffer,IUnknown) ...@@ -481,5 +485,8 @@ ICOM_DEFINE(IDirectSound3DBuffer,IUnknown)
*/ */
/* FIXME: not implemented yet */ /* FIXME: not implemented yet */
#ifdef __cplusplus
} /* extern "C" */
#endif /* defined(__cplusplus) */
#endif /* __WINE_DSOUND_H */ #endif /* __WINE_DSOUND_H */
...@@ -8,6 +8,10 @@ ...@@ -8,6 +8,10 @@
#include "windef.h" #include "windef.h"
#include "winbase.h" #include "winbase.h"
#ifdef __cplusplus
extern "C" {
#endif /* defined(__cplusplus) */
/*********************************************************************** /***********************************************************************
* Types * Types
*/ */
...@@ -812,6 +816,10 @@ BOOL WINAPI UpdateDebugInfoFileEx( ...@@ -812,6 +816,10 @@ BOOL WINAPI UpdateDebugInfoFileEx(
extern HANDLE IMAGEHLP_hHeap; extern HANDLE IMAGEHLP_hHeap;
#ifdef __cplusplus
} /* extern "C" */
#endif /* defined(__cplusplus) */
#endif /* __WINE_IMAGEHLP_H */ #endif /* __WINE_IMAGEHLP_H */
......
...@@ -9,6 +9,10 @@ ...@@ -9,6 +9,10 @@
#include "windef.h" #include "windef.h"
#ifdef __cplusplus
extern "C" {
#endif /* defined(__cplusplus) */
#define LZERROR_BADINHANDLE -1 /* -1 */ #define LZERROR_BADINHANDLE -1 /* -1 */
#define LZERROR_BADOUTHANDLE -2 /* -2 */ #define LZERROR_BADOUTHANDLE -2 /* -2 */
#define LZERROR_READ -3 /* -3 */ #define LZERROR_READ -3 /* -3 */
...@@ -42,4 +46,8 @@ INT WINAPI GetExpandedNameA(LPCSTR,LPSTR); ...@@ -42,4 +46,8 @@ INT WINAPI GetExpandedNameA(LPCSTR,LPSTR);
INT WINAPI GetExpandedNameW(LPCWSTR,LPWSTR); INT WINAPI GetExpandedNameW(LPCWSTR,LPWSTR);
#define GetExpandedName WINELIB_NAME_AW(GetExpandedName) #define GetExpandedName WINELIB_NAME_AW(GetExpandedName)
#ifdef __cplusplus
} /* extern "C" */
#endif /* defined(__cplusplus) */
#endif /* __WINE_LZEXPAND_H */ #endif /* __WINE_LZEXPAND_H */
...@@ -10,6 +10,10 @@ ...@@ -10,6 +10,10 @@
#include "mmsystem.h" #include "mmsystem.h"
#include "mmreg.h" #include "mmreg.h"
#ifdef __cplusplus
extern "C" {
#endif /* defined(__cplusplus) */
/*********************************************************************** /***********************************************************************
* Defines/Enums * Defines/Enums
*/ */
...@@ -977,6 +981,10 @@ PWINE_ACMDRIVER MSACM_GetDriver(HACMDRIVER hDriver); ...@@ -977,6 +981,10 @@ PWINE_ACMDRIVER MSACM_GetDriver(HACMDRIVER hDriver);
PWINE_ACMOBJ MSACM_GetObj(HACMOBJ hObj); PWINE_ACMOBJ MSACM_GetObj(HACMOBJ hObj);
HDRVR MSACM_OpenDriverProc(DRIVERPROC pfnDriverProc); HDRVR MSACM_OpenDriverProc(DRIVERPROC pfnDriverProc);
#ifdef __cplusplus
} /* extern "C" */
#endif /* defined(__cplusplus) */
#endif /* __WINE_MSACM_H */ #endif /* __WINE_MSACM_H */
...@@ -10,6 +10,10 @@ ...@@ -10,6 +10,10 @@
#include "oleidl.h" #include "oleidl.h"
#include "oleauto.h" #include "oleauto.h"
#ifdef __cplusplus
extern "C" {
#endif /* defined(__cplusplus) */
#define OLEIVERB_PRIMARY (0L) #define OLEIVERB_PRIMARY (0L)
#define OLEIVERB_SHOW (-1L) #define OLEIVERB_SHOW (-1L)
#define OLEIVERB_OPEN (-2L) #define OLEIVERB_OPEN (-2L)
...@@ -91,5 +95,9 @@ HRESULT WINAPI OleCreateDefaultHandler(REFCLSID clsid, ...@@ -91,5 +95,9 @@ HRESULT WINAPI OleCreateDefaultHandler(REFCLSID clsid,
LPVOID* ppvObj); LPVOID* ppvObj);
HRESULT WINAPI CreateOleAdviseHolder (LPOLEADVISEHOLDER *ppOAHolder); HRESULT WINAPI CreateOleAdviseHolder (LPOLEADVISEHOLDER *ppOAHolder);
#ifdef __cplusplus
} /* extern "C" */
#endif /* defined(__cplusplus) */
#endif /* __WINE_OLE2_H */ #endif /* __WINE_OLE2_H */
...@@ -6,6 +6,9 @@ ...@@ -6,6 +6,9 @@
#include "windef.h" #include "windef.h"
#ifdef __cplusplus
extern "C" {
#endif /* defined(__cplusplus) */
/**************************************************************************** /****************************************************************************
* shell 16 * shell 16
...@@ -208,4 +211,8 @@ DWORD WINAPI SHFree(LPVOID x); ...@@ -208,4 +211,8 @@ DWORD WINAPI SHFree(LPVOID x);
#define CSIDL_COOKIES 0x0021 #define CSIDL_COOKIES 0x0021
#define CSIDL_HISTORY 0x0022 #define CSIDL_HISTORY 0x0022
#ifdef __cplusplus
} /* extern "C" */
#endif /* defined(__cplusplus) */
#endif /* __WINE_SHELL_H */ #endif /* __WINE_SHELL_H */
...@@ -3,6 +3,10 @@ ...@@ -3,6 +3,10 @@
#include "windef.h" #include "windef.h"
#ifdef __cplusplus
extern "C" {
#endif /* defined(__cplusplus) */
#include "pshpack1.h" #include "pshpack1.h"
/****************************************** /******************************************
...@@ -264,6 +268,10 @@ BOOL WINAPI ShellAboutA(HWND,LPCSTR,LPCSTR,HICON); ...@@ -264,6 +268,10 @@ BOOL WINAPI ShellAboutA(HWND,LPCSTR,LPCSTR,HICON);
BOOL WINAPI ShellAboutW(HWND,LPCWSTR,LPCWSTR,HICON); BOOL WINAPI ShellAboutW(HWND,LPCWSTR,LPCWSTR,HICON);
#define ShellAbout WINELIB_NAME_AW(ShellAbout) #define ShellAbout WINELIB_NAME_AW(ShellAbout)
#ifdef __cplusplus
} /* extern "C" */
#endif /* defined(__cplusplus) */
#include "poppack.h" #include "poppack.h"
#endif /* _WINE_SHELLAPI_H */ #endif /* _WINE_SHELLAPI_H */
...@@ -18,6 +18,10 @@ ...@@ -18,6 +18,10 @@
#include "commctrl.h" #include "commctrl.h"
#include "prsht.h" #include "prsht.h"
#ifdef __cplusplus
extern "C" {
#endif /* defined(__cplusplus) */
/***************************************************************************** /*****************************************************************************
* Predeclare interfaces * Predeclare interfaces
*/ */
...@@ -398,4 +402,8 @@ void WINAPI SHGetSettings(LPSHELLFLAGSTATE lpsfs, DWORD dwMask, DWORD dwx); ...@@ -398,4 +402,8 @@ void WINAPI SHGetSettings(LPSHELLFLAGSTATE lpsfs, DWORD dwMask, DWORD dwx);
/**********************************************************************/ /**********************************************************************/
#ifdef __cplusplus
} /* extern "C" */
#endif /* defined(__cplusplus) */
#endif /* __WINE_SHLOBJ_H */ #endif /* __WINE_SHLOBJ_H */
...@@ -9,6 +9,10 @@ ...@@ -9,6 +9,10 @@
#include "windef.h" #include "windef.h"
#ifdef __cplusplus
extern "C" {
#endif /* defined(__cplusplus) */
typedef HANDLE HCALL, *LPHCALL; typedef HANDLE HCALL, *LPHCALL;
typedef HANDLE HLINE, *LPHLINE; typedef HANDLE HLINE, *LPHLINE;
typedef HANDLE HLINEAPP, *LPHLINEAPP; typedef HANDLE HLINEAPP, *LPHLINEAPP;
...@@ -624,4 +628,8 @@ DWORD WINAPI phoneShutdown(HPHONEAPP); ...@@ -624,4 +628,8 @@ DWORD WINAPI phoneShutdown(HPHONEAPP);
DWORD WINAPI tapiGetLocationInfo(LPSTR,LPSTR); DWORD WINAPI tapiGetLocationInfo(LPSTR,LPSTR);
DWORD WINAPI tapiRequestMakeCall(LPCSTR,LPCSTR,LPCSTR,LPCSTR); DWORD WINAPI tapiRequestMakeCall(LPCSTR,LPCSTR,LPCSTR,LPCSTR);
#ifdef __cplusplus
} /* extern "C" */
#endif /* defined(__cplusplus) */
#endif /* __WINE_TAPI_H */ #endif /* __WINE_TAPI_H */
...@@ -10,6 +10,9 @@ ...@@ -10,6 +10,9 @@
#include "winbase.h" #include "winbase.h"
#ifdef __cplusplus
extern "C" {
#endif /* defined(__cplusplus) */
/***************************************************************************** /*****************************************************************************
* Declare the structures * Declare the structures
...@@ -111,9 +114,12 @@ ICOM_DEFINE(IOleCacheControl,IUnknown) ...@@ -111,9 +114,12 @@ ICOM_DEFINE(IOleCacheControl,IUnknown)
#define IOleCacheControl_OnRun(p,a) ICOM_CALL1(UpdateCache,p,a) #define IOleCacheControl_OnRun(p,a) ICOM_CALL1(UpdateCache,p,a)
#define IOleCacheControl_OnStop(p) ICOM_CALL (OnStop,p) #define IOleCacheControl_OnStop(p) ICOM_CALL (OnStop,p)
#endif #endif
#ifdef __cplusplus
} /* extern "C" */
#endif /* defined(__cplusplus) */
#endif /* __WINE_WINE_OBJ_CONTROL_H */ #endif /* __WINE_WINE_OBJ_CONTROL_H */
...@@ -7,6 +7,10 @@ ...@@ -7,6 +7,10 @@
#include "wine/obj_base.h" #include "wine/obj_base.h"
#ifdef __cplusplus
extern "C" {
#endif /* defined(__cplusplus) */
/***************************************************************************** /*****************************************************************************
* Predeclare the interfaces * Predeclare the interfaces
*/ */
...@@ -182,5 +186,8 @@ ICOM_DEFINE(IRpcStubBuffer,IUnknown) ...@@ -182,5 +186,8 @@ ICOM_DEFINE(IRpcStubBuffer,IUnknown)
#define IRpcStubBuffer_DebugServerRelease(p,a) ICOM_CALL1(DebugServerRelease,p,a) #define IRpcStubBuffer_DebugServerRelease(p,a) ICOM_CALL1(DebugServerRelease,p,a)
#endif #endif
#ifdef __cplusplus
} /* extern "C" */
#endif /* defined(__cplusplus) */
#endif /* __WINE_WINE_OBJ_CHANNEL_H */ #endif /* __WINE_WINE_OBJ_CHANNEL_H */
...@@ -7,6 +7,10 @@ ...@@ -7,6 +7,10 @@
#include "wine/obj_base.h" #include "wine/obj_base.h"
#ifdef __cplusplus
extern "C" {
#endif /* defined(__cplusplus) */
/***************************************************************************** /*****************************************************************************
* Predeclare the interfaces * Predeclare the interfaces
*/ */
...@@ -255,5 +259,8 @@ HRESULT WINAPI CoRegisterPSClsid(REFIID riid, REFCLSID rclsid); ...@@ -255,5 +259,8 @@ HRESULT WINAPI CoRegisterPSClsid(REFIID riid, REFCLSID rclsid);
/* FIXME: not implemented */ /* FIXME: not implemented */
HRESULT WINAPI CoResumeClassObjects(void); HRESULT WINAPI CoResumeClassObjects(void);
#ifdef __cplusplus
} /* extern "C" */
#endif /* defined(__cplusplus) */
#endif /* __WINE_WINE_OBJ_CLIENTSERVER_H */ #endif /* __WINE_WINE_OBJ_CLIENTSERVER_H */
...@@ -10,6 +10,10 @@ ...@@ -10,6 +10,10 @@
#include "wine/obj_base.h" #include "wine/obj_base.h"
#include "wine/obj_shellview.h" #include "wine/obj_shellview.h"
#ifdef __cplusplus
extern "C" {
#endif /* defined(__cplusplus) */
DEFINE_SHLGUID(IID_ICommDlgBrowser, 0x000214F1L, 0, 0); DEFINE_SHLGUID(IID_ICommDlgBrowser, 0x000214F1L, 0, 0);
typedef struct ICommDlgBrowser ICommDlgBrowser, *LPCOMMDLGBROWSER; typedef struct ICommDlgBrowser ICommDlgBrowser, *LPCOMMDLGBROWSER;
...@@ -40,5 +44,8 @@ ICOM_DEFINE(ICommDlgBrowser,IUnknown) ...@@ -40,5 +44,8 @@ ICOM_DEFINE(ICommDlgBrowser,IUnknown)
#define ICommDlgBrowser_IncludeObject(p,a,b) ICOM_CALL2(IncludeObject,p,a,b) #define ICommDlgBrowser_IncludeObject(p,a,b) ICOM_CALL2(IncludeObject,p,a,b)
#endif #endif
#ifdef __cplusplus
} /* extern "C" */
#endif /* defined(__cplusplus) */
#endif /* __WINE_WINE_OBJ_ICOMMDLGBROWSER_H */ #endif /* __WINE_WINE_OBJ_ICOMMDLGBROWSER_H */
...@@ -10,6 +10,9 @@ ...@@ -10,6 +10,9 @@
#include "winbase.h" #include "winbase.h"
#ifdef __cplusplus
extern "C" {
#endif /* defined(__cplusplus) */
/***************************************************************************** /*****************************************************************************
* Declare the structures * Declare the structures
...@@ -144,8 +147,9 @@ ICOM_DEFINE(IEnumConnectionPoints,IUnknown) ...@@ -144,8 +147,9 @@ ICOM_DEFINE(IEnumConnectionPoints,IUnknown)
#define IEnumConnectionPoints_Clone(p,a) ICOM_CALL1(Clone,p,a) #define IEnumConnectionPoints_Clone(p,a) ICOM_CALL1(Clone,p,a)
#endif #endif
#ifdef __cplusplus
} /* extern "C" */
#endif /* defined(__cplusplus) */
#endif /* __WINE_WINE_OBJ_CONTROL_H */ #endif /* __WINE_WINE_OBJ_CONTROL_H */
......
...@@ -9,6 +9,10 @@ ...@@ -9,6 +9,10 @@
#include "winuser.h" #include "winuser.h"
#include "wine/obj_base.h" #include "wine/obj_base.h"
#ifdef __cplusplus
extern "C" {
#endif /* defined(__cplusplus) */
DEFINE_SHLGUID(IID_IContextMenu, 0x000214E4L, 0, 0); DEFINE_SHLGUID(IID_IContextMenu, 0x000214E4L, 0, 0);
DEFINE_SHLGUID(IID_IContextMenu2, 0x000214F4L, 0, 0); DEFINE_SHLGUID(IID_IContextMenu2, 0x000214F4L, 0, 0);
typedef struct IContextMenu IContextMenu, *LPCONTEXTMENU; typedef struct IContextMenu IContextMenu, *LPCONTEXTMENU;
...@@ -124,5 +128,8 @@ ICOM_DEFINE(IContextMenu,IUnknown) ...@@ -124,5 +128,8 @@ ICOM_DEFINE(IContextMenu,IUnknown)
#define IContextMenu_HandleMenuMsg(p,a,b,c) ICOM_CALL3(HandleMenuMsg,p,a,b,c) #define IContextMenu_HandleMenuMsg(p,a,b,c) ICOM_CALL3(HandleMenuMsg,p,a,b,c)
#endif #endif
#ifdef __cplusplus
} /* extern "C" */
#endif /* defined(__cplusplus) */
#endif /* __WINE_WINE_OBJ_ICONTEXTMENU_H */ #endif /* __WINE_WINE_OBJ_ICONTEXTMENU_H */
...@@ -11,6 +11,10 @@ ...@@ -11,6 +11,10 @@
#include "winbase.h" #include "winbase.h"
#include "wine/obj_oleaut.h" /* for DISPID */ #include "wine/obj_oleaut.h" /* for DISPID */
#ifdef __cplusplus
extern "C" {
#endif /* defined(__cplusplus) */
/***************************************************************************** /*****************************************************************************
* Declare the structures * Declare the structures
*/ */
...@@ -463,6 +467,8 @@ ICOM_DEFINE(IProvideClassInfo2,IProvideClassInfo) ...@@ -463,6 +467,8 @@ ICOM_DEFINE(IProvideClassInfo2,IProvideClassInfo)
#define IProvideClassInfo2_GetGUID(p,a,b) ICOM_CALL2(GetGUID,p,a,b) #define IProvideClassInfo2_GetGUID(p,a,b) ICOM_CALL2(GetGUID,p,a,b)
#endif #endif
#ifdef __cplusplus
} /* extern "C" */
#endif /* defined(__cplusplus) */
#endif /* __WINE_WINE_OBJ_CONTROL_H */ #endif /* __WINE_WINE_OBJ_CONTROL_H */
...@@ -10,6 +10,10 @@ ...@@ -10,6 +10,10 @@
#include "wine/obj_base.h" #include "wine/obj_base.h"
#include "wine/obj_inplace.h" #include "wine/obj_inplace.h"
#ifdef __cplusplus
extern "C" {
#endif /* defined(__cplusplus) */
typedef struct IDockingWindowFrame IDockingWindowFrame, *LPDOCKINGWINDOWFRAME; typedef struct IDockingWindowFrame IDockingWindowFrame, *LPDOCKINGWINDOWFRAME;
DEFINE_GUID (IID_IDockingWindowFrame, 0x47D2657AL, 0x7B27, 0x11D0, 0x8C, 0xA9, 0x00, 0xA0, 0xC9, 0x2D, 0xBF, 0xE8); DEFINE_GUID (IID_IDockingWindowFrame, 0x47D2657AL, 0x7B27, 0x11D0, 0x8C, 0xA9, 0x00, 0xA0, 0xC9, 0x2D, 0xBF, 0xE8);
...@@ -39,5 +43,8 @@ ICOM_DEFINE(IDockingWindowFrame,IOleWindow) ...@@ -39,5 +43,8 @@ ICOM_DEFINE(IDockingWindowFrame,IOleWindow)
#define IDockingWindowFrame_FindToolbar(p,a,b,c) ICOM_CALL3(FindToolbar,p,a,b,c) #define IDockingWindowFrame_FindToolbar(p,a,b,c) ICOM_CALL3(FindToolbar,p,a,b,c)
#endif #endif
#ifdef __cplusplus
} /* extern "C" */
#endif /* defined(__cplusplus) */
#endif /* __WINE_WINE_OBJ_IDOCKINGWINDOWFRAME_H */ #endif /* __WINE_WINE_OBJ_IDOCKINGWINDOWFRAME_H */
...@@ -10,6 +10,10 @@ ...@@ -10,6 +10,10 @@
#include "wine/obj_base.h" #include "wine/obj_base.h"
#include "wine/obj_dataobject.h" #include "wine/obj_dataobject.h"
#ifdef __cplusplus
extern "C" {
#endif /* defined(__cplusplus) */
/***************************************************************************** /*****************************************************************************
* Predeclare the interfaces * Predeclare the interfaces
*/ */
...@@ -82,6 +86,10 @@ ICOM_DEFINE(IDropTarget,IUnknown) ...@@ -82,6 +86,10 @@ ICOM_DEFINE(IDropTarget,IUnknown)
#define IDropTarget_Drop(p,a,b,c,d) ICOM_CALL4(Drop,p,a,b,c,d) #define IDropTarget_Drop(p,a,b,c,d) ICOM_CALL4(Drop,p,a,b,c,d)
#endif #endif
#ifdef __cplusplus
} /* extern "C" */
#endif /* defined(__cplusplus) */
#endif /* __WINE_WINE_OBJ_DRAGDROP_H */ #endif /* __WINE_WINE_OBJ_DRAGDROP_H */
......
...@@ -11,6 +11,10 @@ ...@@ -11,6 +11,10 @@
#include "shell.h" #include "shell.h"
#include "winbase.h" #include "winbase.h"
#ifdef __cplusplus
extern "C" {
#endif /* defined(__cplusplus) */
/***************************************************************************** /*****************************************************************************
* Predeclare the interfaces * Predeclare the interfaces
*/ */
...@@ -47,4 +51,8 @@ ICOM_DEFINE(IEnumIDList,IUnknown) ...@@ -47,4 +51,8 @@ ICOM_DEFINE(IEnumIDList,IUnknown)
#define IEnumIDList_DeleteList(p) ICOM_CALL(DeleteList,p) #define IEnumIDList_DeleteList(p) ICOM_CALL(DeleteList,p)
#endif #endif
#ifdef __cplusplus
} /* extern "C" */
#endif /* defined(__cplusplus) */
#endif /* __WINE_WINE_OBJ_ENUMIDLIST_H */ #endif /* __WINE_WINE_OBJ_ENUMIDLIST_H */
...@@ -9,6 +9,10 @@ ...@@ -9,6 +9,10 @@
#include "winuser.h" #include "winuser.h"
#include "wine/obj_base.h" #include "wine/obj_base.h"
#ifdef __cplusplus
extern "C" {
#endif /* defined(__cplusplus) */
DEFINE_SHLGUID(IID_IExtractIconA, 0x000214EBL, 0, 0); DEFINE_SHLGUID(IID_IExtractIconA, 0x000214EBL, 0, 0);
DEFINE_SHLGUID(IID_IExtractIconW, 0x000214FAL, 0, 0); DEFINE_SHLGUID(IID_IExtractIconW, 0x000214FAL, 0, 0);
typedef struct IExtractIconA IExtractIconA,*LPEXTRACTICONA; typedef struct IExtractIconA IExtractIconA,*LPEXTRACTICONA;
...@@ -46,4 +50,8 @@ ICOM_DEFINE(IExtractIconA,IUnknown) ...@@ -46,4 +50,8 @@ ICOM_DEFINE(IExtractIconA,IUnknown)
#define IExtractIcon IExtractIconA #define IExtractIcon IExtractIconA
#ifdef __cplusplus
} /* extern "C" */
#endif /* defined(__cplusplus) */
#endif /* __WINE_WINE_OBJ_IEXTRACTICONA_H */ #endif /* __WINE_WINE_OBJ_IEXTRACTICONA_H */
...@@ -12,6 +12,10 @@ ...@@ -12,6 +12,10 @@
#include "winuser.h" #include "winuser.h"
#include "wine/obj_moniker.h" #include "wine/obj_moniker.h"
#ifdef __cplusplus
extern "C" {
#endif /* defined(__cplusplus) */
/***************************************************************************** /*****************************************************************************
* Predeclare the structures * Predeclare the structures
*/ */
...@@ -490,6 +494,9 @@ ICOM_DEFINE(IOleLink,IUnknown) ...@@ -490,6 +494,9 @@ ICOM_DEFINE(IOleLink,IUnknown)
#define IOleLink_Update(p,a) ICOM_CALL1(Update,p,a) #define IOleLink_Update(p,a) ICOM_CALL1(Update,p,a)
#endif #endif
#ifdef __cplusplus
} /* extern "C" */
#endif /* defined(__cplusplus) */
#endif /* __WINE_WINE_OBJ_INPLACE_H */ #endif /* __WINE_WINE_OBJ_INPLACE_H */
......
...@@ -9,6 +9,10 @@ ...@@ -9,6 +9,10 @@
#include "wine/obj_base.h" #include "wine/obj_base.h"
#include "wine/obj_storage.h" #include "wine/obj_storage.h"
#ifdef __cplusplus
extern "C" {
#endif /* defined(__cplusplus) */
/***************************************************************************** /*****************************************************************************
* Predeclare the interfaces * Predeclare the interfaces
*/ */
...@@ -107,5 +111,8 @@ HRESULT WINAPI CoUnmarshalHresult(LPSTREAM pstm, HRESULT* phresult); ...@@ -107,5 +111,8 @@ HRESULT WINAPI CoUnmarshalHresult(LPSTREAM pstm, HRESULT* phresult);
/* FIXME: not implemented */ /* FIXME: not implemented */
HRESULT WINAPI CoUnmarshalInterface(LPSTREAM pStm, REFIID riid, LPVOID* ppv); HRESULT WINAPI CoUnmarshalInterface(LPSTREAM pStm, REFIID riid, LPVOID* ppv);
#ifdef __cplusplus
} /* extern "C" */
#endif /* defined(__cplusplus) */
#endif /* __WINE_WINE_OBJ_MARSHAL_H */ #endif /* __WINE_WINE_OBJ_MARSHAL_H */
...@@ -10,6 +10,10 @@ ...@@ -10,6 +10,10 @@
#include "wine/obj_base.h" #include "wine/obj_base.h"
#ifdef __cplusplus
extern "C" {
#endif /* defined(__cplusplus) */
/***************************************************************************** /*****************************************************************************
* Predeclare the interfaces * Predeclare the interfaces
*/ */
...@@ -184,5 +188,8 @@ HRESULT WINAPI CoCreateInstanceEx(REFCLSID rclsid, ...@@ -184,5 +188,8 @@ HRESULT WINAPI CoCreateInstanceEx(REFCLSID rclsid,
COSERVERINFO* pServerInfo, COSERVERINFO* pServerInfo,
ULONG cmq, ULONG cmq,
MULTI_QI* pResults); MULTI_QI* pResults);
#ifdef __cplusplus
} /* extern "C" */
#endif /* defined(__cplusplus) */
#endif /* __WINE_WINE_OBJ_MISC_H */ #endif /* __WINE_WINE_OBJ_MISC_H */
...@@ -8,6 +8,10 @@ ...@@ -8,6 +8,10 @@
#include "wine/obj_storage.h" #include "wine/obj_storage.h"
#include "wine/obj_misc.h" #include "wine/obj_misc.h"
#ifdef __cplusplus
extern "C" {
#endif /* defined(__cplusplus) */
/***************************************************************************** /*****************************************************************************
* Predeclare the interfaces * Predeclare the interfaces
*/ */
...@@ -353,5 +357,8 @@ HRESULT WINAPI CoGetInstanceFromFile(COSERVERINFO* pServerInfo, CLSID* pClsid, I ...@@ -353,5 +357,8 @@ HRESULT WINAPI CoGetInstanceFromFile(COSERVERINFO* pServerInfo, CLSID* pClsid, I
/* FIXME: not implemented */ /* FIXME: not implemented */
HRESULT WINAPI CoGetInstanceFromIStorage(COSERVERINFO* pServerInfo, CLSID* pClsid, IUnknown* punkOuter, DWORD dwClsCtx, IStorage* pstg, DWORD dwCount, MULTI_QI* pResults); HRESULT WINAPI CoGetInstanceFromIStorage(COSERVERINFO* pServerInfo, CLSID* pClsid, IUnknown* punkOuter, DWORD dwClsCtx, IStorage* pstg, DWORD dwCount, MULTI_QI* pResults);
#ifdef __cplusplus
} /* extern "C" */
#endif /* defined(__cplusplus) */
#endif /* __WINE_WINE_OBJ_MONIKER_H */ #endif /* __WINE_WINE_OBJ_MONIKER_H */
...@@ -10,6 +10,10 @@ ...@@ -10,6 +10,10 @@
#include "wine/obj_base.h" #include "wine/obj_base.h"
#include "wingdi.h" /* TEXTMETRIC*/ #include "wingdi.h" /* TEXTMETRIC*/
#ifdef __cplusplus
extern "C" {
#endif /* defined(__cplusplus) */
/***************************************************************************** /*****************************************************************************
* Predeclare the interfaces * Predeclare the interfaces
*/ */
...@@ -112,6 +116,9 @@ ICOM_DEFINE(IFontDisp,IDispatch) ...@@ -112,6 +116,9 @@ ICOM_DEFINE(IFontDisp,IDispatch)
/*** IFontDisp methods ***/ /*** IFontDisp methods ***/
#endif #endif
#ifdef __cplusplus
} /* extern "C" */
#endif /* defined(__cplusplus) */
#endif /* __WINE_WINE_OBJ_OLEFONT_H */ #endif /* __WINE_WINE_OBJ_OLEFONT_H */
......
...@@ -12,6 +12,10 @@ ...@@ -12,6 +12,10 @@
#include "winuser.h" #include "winuser.h"
#include "wine/obj_base.h" #include "wine/obj_base.h"
#ifdef __cplusplus
extern "C" {
#endif /* defined(__cplusplus) */
/***************************************************************************** /*****************************************************************************
* Declare the structures * Declare the structures
*/ */
...@@ -191,6 +195,10 @@ ICOM_DEFINE(IEnumOLEVERB,IUnknown) ...@@ -191,6 +195,10 @@ ICOM_DEFINE(IEnumOLEVERB,IUnknown)
#define IEnumOLEVERB_Reset(p,a) ICOM_CALL (Reset,p) #define IEnumOLEVERB_Reset(p,a) ICOM_CALL (Reset,p)
#define IEnumOLEVERB_Clone(p,a) ICOM_CALL1(Clone,p,a) #define IEnumOLEVERB_Clone(p,a) ICOM_CALL1(Clone,p,a)
#endif #endif
#ifdef __cplusplus
} /* extern "C" */
#endif /* defined(__cplusplus) */
#endif /* __WINE_WINE_OBJ_OLEOBJ_H */ #endif /* __WINE_WINE_OBJ_OLEOBJ_H */
...@@ -10,6 +10,10 @@ ...@@ -10,6 +10,10 @@
#include "winbase.h" #include "winbase.h"
#ifdef __cplusplus
extern "C" {
#endif /* defined(__cplusplus) */
/***************************************************************************** /*****************************************************************************
* Predeclare the interfaces * Predeclare the interfaces
*/ */
...@@ -294,7 +298,9 @@ ICOM_DEFINE(IEnumOleUndoUnits,IUnknown) ...@@ -294,7 +298,9 @@ ICOM_DEFINE(IEnumOleUndoUnits,IUnknown)
#define IEnumOleUndoUnits_Clone(p,a) ICOM_CALL1(Clone,p,a) #define IEnumOleUndoUnits_Clone(p,a) ICOM_CALL1(Clone,p,a)
#endif #endif
#ifdef __cplusplus
} /* extern "C" */
#endif /* defined(__cplusplus) */
#endif /* __WINE_WINE_OBJ_OLEUNDO_H */ #endif /* __WINE_WINE_OBJ_OLEUNDO_H */
...@@ -10,6 +10,9 @@ ...@@ -10,6 +10,9 @@
#include "winbase.h" #include "winbase.h"
#ifdef __cplusplus
extern "C" {
#endif /* defined(__cplusplus) */
/***************************************************************************** /*****************************************************************************
* Declare the structures * Declare the structures
...@@ -89,7 +92,9 @@ ICOM_DEFINE(IViewObject2,IViewObject) ...@@ -89,7 +92,9 @@ ICOM_DEFINE(IViewObject2,IViewObject)
#define IViewObject2_GetExtent(p,a,b,c,d) ICOM_CALL4(GetExtent,p,a,b,c,d) #define IViewObject2_GetExtent(p,a,b,c,d) ICOM_CALL4(GetExtent,p,a,b,c,d)
#endif #endif
#ifdef __cplusplus
} /* extern "C" */
#endif /* defined(__cplusplus) */
#endif /* __WINE_WINE_OBJ_OLEVIEW_H */ #endif /* __WINE_WINE_OBJ_OLEVIEW_H */
...@@ -10,6 +10,10 @@ ...@@ -10,6 +10,10 @@
#include "windows.h" #include "windows.h"
#include "windef.h" #include "windef.h"
#ifdef __cplusplus
extern "C" {
#endif /* defined(__cplusplus) */
/***************************************************************************** /*****************************************************************************
* Predeclare the structures * Predeclare the structures
*/ */
...@@ -102,7 +106,9 @@ ICOM_DEFINE(IPictureDisp,IDispatch) ...@@ -102,7 +106,9 @@ ICOM_DEFINE(IPictureDisp,IDispatch)
/*** IPictureDisp methods ***/ /*** IPictureDisp methods ***/
#endif #endif
#ifdef __cplusplus
} /* extern "C" */
#endif /* defined(__cplusplus) */
#endif /* __WINE_WINE_OBJ_PICTURE_H */ #endif /* __WINE_WINE_OBJ_PICTURE_H */
......
...@@ -11,6 +11,10 @@ ...@@ -11,6 +11,10 @@
#include "winbase.h" #include "winbase.h"
#include "wine/obj_oleaut.h" /* for DISPID */ #include "wine/obj_oleaut.h" /* for DISPID */
#ifdef __cplusplus
extern "C" {
#endif /* defined(__cplusplus) */
/***************************************************************************** /*****************************************************************************
* Declare the structures * Declare the structures
*/ */
...@@ -429,6 +433,9 @@ ICOM_DEFINE(IPerPropertyBrowsing,IUnknown) ...@@ -429,6 +433,9 @@ ICOM_DEFINE(IPerPropertyBrowsing,IUnknown)
#define IPerPropertyBrowsing_GetPredefinedValue(p,a,b,c) ICOM_CALL3(GetPredefinedValue,p,a,b,c) #define IPerPropertyBrowsing_GetPredefinedValue(p,a,b,c) ICOM_CALL3(GetPredefinedValue,p,a,b,c)
#endif #endif
#ifdef __cplusplus
} /* extern "C" */
#endif /* defined(__cplusplus) */
#endif /* __WINE_WINE_OBJ_PROPERTY_H */ #endif /* __WINE_WINE_OBJ_PROPERTY_H */
...@@ -8,6 +8,10 @@ ...@@ -8,6 +8,10 @@
#include "wine/obj_base.h" #include "wine/obj_base.h"
#include "wine/obj_storage.h" #include "wine/obj_storage.h"
#ifdef __cplusplus
extern "C" {
#endif /* defined(__cplusplus) */
/***************************************************************************** /*****************************************************************************
* Predeclare the interfaces * Predeclare the interfaces
*/ */
...@@ -431,5 +435,8 @@ ICOM_DEFINE(IPropertyStorage,IUnknown) ...@@ -431,5 +435,8 @@ ICOM_DEFINE(IPropertyStorage,IUnknown)
#define IPropertyStorage_Stat(p,a) ICOM_CALL1(Stat,p,a) #define IPropertyStorage_Stat(p,a) ICOM_CALL1(Stat,p,a)
#endif #endif
#ifdef __cplusplus
} /* extern "C" */
#endif /* defined(__cplusplus) */
#endif /* __WINE_WINE_OBJ_PROPERTYSTORAGE_H */ #endif /* __WINE_WINE_OBJ_PROPERTYSTORAGE_H */
...@@ -12,6 +12,10 @@ ...@@ -12,6 +12,10 @@
#include "wine/obj_shellview.h" /* IShellView */ #include "wine/obj_shellview.h" /* IShellView */
#include "commctrl.h" /* TBBUTTON */ #include "commctrl.h" /* TBBUTTON */
#ifdef __cplusplus
extern "C" {
#endif /* defined(__cplusplus) */
/* it's ok commented out, see obj_shellview.h /* it's ok commented out, see obj_shellview.h
typedef struct IShellBrowser IShellBrowser, *LPSHELLBROWSER; typedef struct IShellBrowser IShellBrowser, *LPSHELLBROWSER;
*/ */
...@@ -102,5 +106,8 @@ ICOM_DEFINE(IShellBrowser,IOleWindow) ...@@ -102,5 +106,8 @@ ICOM_DEFINE(IShellBrowser,IOleWindow)
#define IShellBrowser_SetToolbarItems(p,a,b,c) ICOM_CALL3(SetToolbarItems,p,a,b,c) #define IShellBrowser_SetToolbarItems(p,a,b,c) ICOM_CALL3(SetToolbarItems,p,a,b,c)
#endif #endif
#ifdef __cplusplus
} /* extern "C" */
#endif /* defined(__cplusplus) */
#endif /* __WINE_WINE_OBJ_ISHELLBROWSER_H */ #endif /* __WINE_WINE_OBJ_ISHELLBROWSER_H */
...@@ -10,6 +10,10 @@ ...@@ -10,6 +10,10 @@
#include "wine/obj_base.h" #include "wine/obj_base.h"
#include "wine/obj_dataobject.h" #include "wine/obj_dataobject.h"
#ifdef __cplusplus
extern "C" {
#endif /* defined(__cplusplus) */
typedef struct IShellExtInit IShellExtInit, *LPSHELLEXTINIT; typedef struct IShellExtInit IShellExtInit, *LPSHELLEXTINIT;
DEFINE_SHLGUID(IID_IShellExtInit, 0x000214E8L, 0, 0); DEFINE_SHLGUID(IID_IShellExtInit, 0x000214E8L, 0, 0);
...@@ -29,5 +33,8 @@ ICOM_DEFINE(IShellExtInit,IUnknown) ...@@ -29,5 +33,8 @@ ICOM_DEFINE(IShellExtInit,IUnknown)
#define IShellExtInit_Initialize(p,a,b,c) ICOM_CALL3(Initialize,p,a,b,c) #define IShellExtInit_Initialize(p,a,b,c) ICOM_CALL3(Initialize,p,a,b,c)
#endif #endif
#ifdef __cplusplus
} /* extern "C" */
#endif /* defined(__cplusplus) */
#endif /* __WINE_WINE_OBJ_ISHELLEXTINIT_H */ #endif /* __WINE_WINE_OBJ_ISHELLEXTINIT_H */
...@@ -13,6 +13,10 @@ ...@@ -13,6 +13,10 @@
#include "winbase.h" #include "winbase.h"
#include "shell.h" #include "shell.h"
#ifdef __cplusplus
extern "C" {
#endif /* defined(__cplusplus) */
/**************************************************************************** /****************************************************************************
* STRRET (temporary, move it away) * STRRET (temporary, move it away)
*/ */
...@@ -198,5 +202,8 @@ ICOM_DEFINE(IPersistFolder, IPersist) ...@@ -198,5 +202,8 @@ ICOM_DEFINE(IPersistFolder, IPersist)
#define IPersistFolder_Initialize(p,a) ICOM_CALL1(Initialize,p,a) #define IPersistFolder_Initialize(p,a) ICOM_CALL1(Initialize,p,a)
#endif #endif
#ifdef __cplusplus
} /* extern "C" */
#endif /* defined(__cplusplus) */
#endif /* __WINE_WINE_OBJ_SHELLLINK_H */ #endif /* __WINE_WINE_OBJ_SHELLLINK_H */
...@@ -11,6 +11,10 @@ ...@@ -11,6 +11,10 @@
#include "winbase.h" #include "winbase.h"
#include "shell.h" #include "shell.h"
#ifdef __cplusplus
extern "C" {
#endif /* defined(__cplusplus) */
/***************************************************************************** /*****************************************************************************
* Predeclare the interfaces * Predeclare the interfaces
*/ */
...@@ -147,4 +151,8 @@ ICOM_DEFINE(IShellLinkW,IUnknown) ...@@ -147,4 +151,8 @@ ICOM_DEFINE(IShellLinkW,IUnknown)
#define IShellLinkW_SetPath(p,a) ICOM_CALL1(SetPath,p,a) #define IShellLinkW_SetPath(p,a) ICOM_CALL1(SetPath,p,a)
#endif #endif
#ifdef __cplusplus
} /* extern "C" */
#endif /* defined(__cplusplus) */
#endif /* __WINE_WINE_OBJ_SHELLLINK_H */ #endif /* __WINE_WINE_OBJ_SHELLLINK_H */
...@@ -12,6 +12,10 @@ ...@@ -12,6 +12,10 @@
#include "wine/obj_shellfolder.h" #include "wine/obj_shellfolder.h"
#include "prsht.h" /* LPFNADDPROPSHEETPAGE */ #include "prsht.h" /* LPFNADDPROPSHEETPAGE */
#ifdef __cplusplus
extern "C" {
#endif /* defined(__cplusplus) */
/**************************************************************************** /****************************************************************************
* IShellBrowser is here defined because of a cyclic dependance between * IShellBrowser is here defined because of a cyclic dependance between
* IShellBrowser and IShellView * IShellBrowser and IShellView
...@@ -139,5 +143,8 @@ ICOM_DEFINE(IShellView,IOleWindow) ...@@ -139,5 +143,8 @@ ICOM_DEFINE(IShellView,IOleWindow)
#define IShellView_GetItemObject(p,a,b,c) ICOM_CALL3(GetItemObject,p,a,b,c) #define IShellView_GetItemObject(p,a,b,c) ICOM_CALL3(GetItemObject,p,a,b,c)
#endif #endif
#ifdef __cplusplus
} /* extern "C" */
#endif /* defined(__cplusplus) */
#endif /* __WINE_WINE_OBJ_ISHELLVIEW_H */ #endif /* __WINE_WINE_OBJ_ISHELLVIEW_H */
...@@ -9,6 +9,10 @@ ...@@ -9,6 +9,10 @@
#include "winnt.h" #include "winnt.h"
#include "wine/obj_base.h" #include "wine/obj_base.h"
#ifdef __cplusplus
extern "C" {
#endif /* defined(__cplusplus) */
/***************************************************************************** /*****************************************************************************
* Predeclare the structures * Predeclare the structures
*/ */
...@@ -711,5 +715,8 @@ BOOL WINAPI CoDosDateTimeToFileTime(WORD nDosDate, WORD nDosTime, FILETIME* lpFi ...@@ -711,5 +715,8 @@ BOOL WINAPI CoDosDateTimeToFileTime(WORD nDosDate, WORD nDosTime, FILETIME* lpFi
/* FIXME: not implemented */ /* FIXME: not implemented */
BOOL WINAPI CoFileTimeToDosDateTime(FILETIME* lpFileTime, WORD* lpDosDate, WORD* lpDosTime); BOOL WINAPI CoFileTimeToDosDateTime(FILETIME* lpFileTime, WORD* lpDosDate, WORD* lpDosTime);
#ifdef __cplusplus
} /* extern "C" */
#endif /* defined(__cplusplus) */
#endif /* __WINE_WINE_OBJ_STORAGE_H */ #endif /* __WINE_WINE_OBJ_STORAGE_H */
...@@ -7,6 +7,10 @@ ...@@ -7,6 +7,10 @@
#include "winbase.h" #include "winbase.h"
#include "winnt.h" #include "winnt.h"
#ifdef __cplusplus
extern "C" {
#endif /* defined(__cplusplus) */
/* /*
#define SHELL_ERROR_SUCCESS 0L #define SHELL_ERROR_SUCCESS 0L
#define SHELL_ERROR_BADDB 1L #define SHELL_ERROR_BADDB 1L
...@@ -216,4 +220,8 @@ DWORD WINAPI RegSetValueExA(HKEY,LPSTR,DWORD,DWORD,LPBYTE,DWORD); ...@@ -216,4 +220,8 @@ DWORD WINAPI RegSetValueExA(HKEY,LPSTR,DWORD,DWORD,LPBYTE,DWORD);
DWORD WINAPI RegSetValueExW(HKEY,LPWSTR,DWORD,DWORD,LPBYTE,DWORD); DWORD WINAPI RegSetValueExW(HKEY,LPWSTR,DWORD,DWORD,LPBYTE,DWORD);
#define RegSetValueEx WINELIB_NAME_AW(RegSetValueEx) #define RegSetValueEx WINELIB_NAME_AW(RegSetValueEx)
#ifdef __cplusplus
} /* extern "C" */
#endif /* defined(__cplusplus) */
#endif /* __WINE_WINREG_H */ #endif /* __WINE_WINREG_H */
...@@ -29,6 +29,10 @@ ...@@ -29,6 +29,10 @@
#include "windef.h" #include "windef.h"
#include "task.h" #include "task.h"
#ifdef __cplusplus
extern "C" {
#endif /* defined(__cplusplus) */
#include "pshpack1.h" #include "pshpack1.h"
/* Win16 socket-related types */ /* Win16 socket-related types */
...@@ -588,5 +592,9 @@ UINT16 wsaHerrno(void); ...@@ -588,5 +592,9 @@ UINT16 wsaHerrno(void);
extern INT WINSOCK_DeleteTaskWSI( TDB* pTask, struct _WSINFO* ); extern INT WINSOCK_DeleteTaskWSI( TDB* pTask, struct _WSINFO* );
#ifdef __cplusplus
} /* extern "C" */
#endif /* defined(__cplusplus) */
#endif /* _WINSOCKAPI_ */ #endif /* _WINSOCKAPI_ */
...@@ -8,6 +8,10 @@ ...@@ -8,6 +8,10 @@
#include "windef.h" #include "windef.h"
#ifdef __cplusplus
extern "C" {
#endif /* defined(__cplusplus) */
/* resource ids for different version infos */ /* resource ids for different version infos */
/* These are internal resources for win16, but simple numbers in win32 */ /* These are internal resources for win16, but simple numbers in win32 */
/* All win32 defines should be moved to winver.h */ /* All win32 defines should be moved to winver.h */
...@@ -177,4 +181,8 @@ DWORD WINAPI GetFileResource( LPCSTR lpszFileName, ...@@ -177,4 +181,8 @@ DWORD WINAPI GetFileResource( LPCSTR lpszFileName,
#endif /* RC_INVOKED */ #endif /* RC_INVOKED */
#ifdef __cplusplus
} /* extern "C" */
#endif /* defined(__cplusplus) */
#endif /* __WINE_WINVER_H */ #endif /* __WINE_WINVER_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment