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
eb5d62cb
Commit
eb5d62cb
authored
Dec 13, 2011
by
Francois Gouget
Committed by
Alexandre Julliard
Dec 14, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add extern "C" directives where needed.
parent
3e1af081
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
33 additions
and
0 deletions
+33
-0
d3d10shader.h
include/d3d10shader.h
+9
-0
dsrole.h
include/dsrole.h
+8
-0
npapi.h
include/npapi.h
+8
-0
ws2ipdef.h
include/ws2ipdef.h
+8
-0
No files found.
include/d3d10shader.h
View file @
eb5d62cb
...
...
@@ -206,6 +206,11 @@ DECLARE_INTERFACE_(ID3D10ShaderReflection, IUnknown)
};
#undef INTERFACE
#ifdef __cplusplus
extern
"C"
{
#endif
HRESULT
WINAPI
D3D10CompileShader
(
LPCSTR
data
,
SIZE_T
data_size
,
LPCSTR
filename
,
const
D3D10_SHADER_MACRO
*
defines
,
ID3D10Include
*
include
,
LPCSTR
entrypoint
,
LPCSTR
profile
,
UINT
flags
,
ID3D10Blob
**
shader
,
ID3D10Blob
**
error_messages
);
...
...
@@ -219,4 +224,8 @@ HRESULT WINAPI D3D10GetOutputSignatureBlob(const void *data, SIZE_T data_size, I
HRESULT
WINAPI
D3D10GetInputAndOutputSignatureBlob
(
const
void
*
data
,
SIZE_T
data_size
,
ID3D10Blob
**
blob
);
HRESULT
WINAPI
D3D10GetShaderDebugInfo
(
const
void
*
data
,
SIZE_T
data_size
,
ID3D10Blob
**
blob
);
#ifdef __cplusplus
}
#endif
#endif
/* __WINE_D3D10SHADER_H */
include/dsrole.h
View file @
eb5d62cb
...
...
@@ -21,6 +21,10 @@
#ifndef __WINE_DSROLE_H
#define __WINE_DSROLE_H
#ifdef __cplusplus
extern
"C"
{
#endif
#define DSROLE_PRIMARY_DS_RUNNING 0x00000001
#define DSROLE_PRIMARY_DS_MIXED_MODE 0x00000002
#define DSROLE_UPGRADE_IN_PROGRESS 0x00000004
...
...
@@ -81,4 +85,8 @@ typedef struct _DSROLE_OPERATION_STATE_INFO
VOID
WINAPI
DsRoleFreeMemory
(
IN
PVOID
Buffer
);
DWORD
WINAPI
DsRoleGetPrimaryDomainInformation
(
IN
LPCWSTR
lpServer
OPTIONAL
,
IN
DSROLE_PRIMARY_DOMAIN_INFO_LEVEL
InfoLevel
,
OUT
PBYTE
*
Buffer
);
#ifdef __cplusplus
}
#endif
#endif
/* __WINE_DSROLE_H */
include/npapi.h
View file @
eb5d62cb
...
...
@@ -18,6 +18,10 @@
#ifndef __WINE_NPAPI_H__
#define __WINE_NPAPI_H__
#ifdef __cplusplus
extern
"C"
{
#endif
/* capabilities */
#define WNNC_SPEC_VERSION 0x00000001
#define WNNC_SPEC_VERSION51 0x00050001
...
...
@@ -208,4 +212,8 @@ typedef DWORD (APIENTRY *PF_AddConnectNotify)(LPNOTIFYINFO lpNotifyInfo,
typedef
DWORD
(
APIENTRY
*
PF_CancelConnectNotify
)(
LPNOTIFYINFO
lpNotifyInfo
,
LPNOTIFYADD
lpAddInfo
);
#ifdef __cplusplus
}
#endif
#endif
/* ndef __WINE_NPAPI_H__ */
include/ws2ipdef.h
View file @
eb5d62cb
...
...
@@ -261,6 +261,10 @@ typedef struct WS(in_pktinfo) {
#define WS_IN6ADDR_LOOPBACK_INIT { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1 }
#endif
/* USE_WS_PREFIX */
#ifdef __cplusplus
extern
"C"
{
#endif
static
inline
BOOL
WS
(
IN6_IS_ADDR_LOOPBACK
)
(
const
IN6_ADDR
*
a
)
{
return
(
BOOL
)((
a
->
s6_words
[
0
]
==
0
)
&&
...
...
@@ -273,4 +277,8 @@ static inline BOOL WS(IN6_IS_ADDR_LOOPBACK) ( const IN6_ADDR *a )
(
a
->
s6_words
[
7
]
==
0x0100
));
}
#ifdef __cplusplus
}
#endif
#endif
/* __WS2IPDEF__ */
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