Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
0062892c
Commit
0062892c
authored
Oct 19, 2000
by
Francois Gouget
Committed by
Alexandre Julliard
Oct 19, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added/fixed missing extern "C".
parent
db92536c
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
36 additions
and
10 deletions
+36
-10
objbase.h
include/objbase.h
+8
-0
oleauto.h
include/oleauto.h
+4
-4
olectl.h
include/olectl.h
+17
-0
obj_base.h
include/wine/obj_base.h
+5
-4
wininet.h
include/wininet.h
+2
-2
No files found.
include/objbase.h
View file @
0062892c
...
...
@@ -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.
...
...
include/oleauto.h
View file @
0062892c
...
...
@@ -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*/
include/olectl.h
View file @
0062892c
...
...
@@ -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 */
include/wine/obj_base.h
View file @
0062892c
...
...
@@ -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
);
...
...
include/wininet.h
View file @
0062892c
#ifndef _WINE_WININET_H_
#define _WINE_WININET_H_
#if
defined(__cplusplus)
#if
def __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)
#if
def __cplusplus
}
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment