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
4b340fff
Commit
4b340fff
authored
Sep 27, 2007
by
Francois Gouget
Committed by
Alexandre Julliard
Sep 27, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
includes: Make headers C++ compatible.
parent
74b240bf
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
84 additions
and
0 deletions
+84
-0
appmgmt.h
include/appmgmt.h
+9
-0
cfgmgr32.h
include/cfgmgr32.h
+9
-0
evntrace.h
include/evntrace.h
+8
-0
icmpapi.h
include/icmpapi.h
+9
-0
msiquery.h
include/msiquery.h
+9
-0
powrprof.h
include/powrprof.h
+9
-0
rpcdcep.h
include/rpcdcep.h
+8
-0
rpcproxy.h
include/rpcproxy.h
+8
-0
setupapi.h
include/setupapi.h
+8
-0
winnetwk.h
include/winnetwk.h
+7
-0
No files found.
include/appmgmt.h
View file @
4b340fff
...
@@ -39,7 +39,16 @@ typedef struct _MANAGEDAPPLICATION
...
@@ -39,7 +39,16 @@ typedef struct _MANAGEDAPPLICATION
BOOL
bInstalled
;
BOOL
bInstalled
;
}
MANAGEDAPPLICATION
,
*
PMANAGEDAPPLICATION
;
}
MANAGEDAPPLICATION
,
*
PMANAGEDAPPLICATION
;
#ifdef __cplusplus
extern
"C"
{
#endif
DWORD
WINAPI
CommandLineFromMsiDescriptor
(
WCHAR
*
,
WCHAR
*
,
DWORD
*
);
DWORD
WINAPI
CommandLineFromMsiDescriptor
(
WCHAR
*
,
WCHAR
*
,
DWORD
*
);
DWORD
WINAPI
GetManagedApplications
(
GUID
*
,
DWORD
,
DWORD
,
LPDWORD
,
PMANAGEDAPPLICATION
*
);
DWORD
WINAPI
GetManagedApplications
(
GUID
*
,
DWORD
,
DWORD
,
LPDWORD
,
PMANAGEDAPPLICATION
*
);
#ifdef __cplusplus
}
#endif
#endif
/* _APPMGMT_H */
#endif
/* _APPMGMT_H */
include/cfgmgr32.h
View file @
4b340fff
...
@@ -27,8 +27,17 @@ typedef DWORD CONFIGRET;
...
@@ -27,8 +27,17 @@ typedef DWORD CONFIGRET;
#define MAX_GUID_STRING_LEN 39
#define MAX_GUID_STRING_LEN 39
#define MAX_PROFILE_LEN 80
#define MAX_PROFILE_LEN 80
#ifdef __cplusplus
extern
"C"
{
#endif
CONFIGRET
WINAPI
CM_Get_Device_ID_ListA
(
PCSTR
,
PCHAR
,
ULONG
,
ULONG
);
CONFIGRET
WINAPI
CM_Get_Device_ID_ListA
(
PCSTR
,
PCHAR
,
ULONG
,
ULONG
);
CONFIGRET
WINAPI
CM_Get_Device_ID_ListW
(
PCWSTR
,
PWCHAR
,
ULONG
,
ULONG
);
CONFIGRET
WINAPI
CM_Get_Device_ID_ListW
(
PCWSTR
,
PWCHAR
,
ULONG
,
ULONG
);
#define CM_Get_Device_ID_List WINELIB_NAME_AW(CM_Get_Device_ID_List)
#define CM_Get_Device_ID_List WINELIB_NAME_AW(CM_Get_Device_ID_List)
#ifdef __cplusplus
}
#endif
#endif
/* _CFGMGR32_H_ */
#endif
/* _CFGMGR32_H_ */
include/evntrace.h
View file @
4b340fff
...
@@ -21,6 +21,10 @@
...
@@ -21,6 +21,10 @@
#include <guiddef.h>
#include <guiddef.h>
#ifdef __cplusplus
extern
"C"
{
#endif
typedef
ULONG64
TRACEHANDLE
,
*
PTRACEHANDLE
;
typedef
ULONG64
TRACEHANDLE
,
*
PTRACEHANDLE
;
struct
_EVENT_TRACE_LOGFILEA
;
struct
_EVENT_TRACE_LOGFILEA
;
...
@@ -178,4 +182,8 @@ ULONG WINAPI RegisterTraceGuidsA(WMIDPREQUEST,PVOID,LPCGUID,ULONG,PTRACE_GUID_RE
...
@@ -178,4 +182,8 @@ ULONG WINAPI RegisterTraceGuidsA(WMIDPREQUEST,PVOID,LPCGUID,ULONG,PTRACE_GUID_RE
ULONG
WINAPI
RegisterTraceGuidsW
(
WMIDPREQUEST
,
PVOID
,
LPCGUID
,
ULONG
,
PTRACE_GUID_REGISTRATION
,
LPCWSTR
,
LPCWSTR
,
PTRACEHANDLE
);
ULONG
WINAPI
RegisterTraceGuidsW
(
WMIDPREQUEST
,
PVOID
,
LPCGUID
,
ULONG
,
PTRACE_GUID_REGISTRATION
,
LPCWSTR
,
LPCWSTR
,
PTRACEHANDLE
);
#define RegisterTraceGuids WINELIB_NAME_AW(RegisterTraceGuids)
#define RegisterTraceGuids WINELIB_NAME_AW(RegisterTraceGuids)
#ifdef __cplusplus
}
#endif
#endif
/* _EVNTRACE_ */
#endif
/* _EVNTRACE_ */
include/icmpapi.h
View file @
4b340fff
...
@@ -21,6 +21,11 @@
...
@@ -21,6 +21,11 @@
#ifndef __WINE_ICMPAPI_H
#ifndef __WINE_ICMPAPI_H
#define __WINE_ICMPAPI_H
#define __WINE_ICMPAPI_H
#ifdef __cplusplus
extern
"C"
{
#endif
HANDLE
WINAPI
IcmpCreateFile
(
HANDLE
WINAPI
IcmpCreateFile
(
VOID
VOID
);
);
...
@@ -41,4 +46,8 @@ DWORD WINAPI IcmpSendEcho(
...
@@ -41,4 +46,8 @@ DWORD WINAPI IcmpSendEcho(
);
);
#ifdef __cplusplus
}
#endif
#endif
/* __WINE_ICMPAPI_H */
#endif
/* __WINE_ICMPAPI_H */
include/msiquery.h
View file @
4b340fff
...
@@ -142,6 +142,11 @@ typedef enum tagMSIDBSTATE
...
@@ -142,6 +142,11 @@ typedef enum tagMSIDBSTATE
MSIDBSTATE_WRITE
=
1
MSIDBSTATE_WRITE
=
1
}
MSIDBSTATE
;
}
MSIDBSTATE
;
#ifdef __cplusplus
extern
"C"
{
#endif
/* view manipulation */
/* view manipulation */
UINT
WINAPI
MsiViewFetch
(
MSIHANDLE
,
MSIHANDLE
*
);
UINT
WINAPI
MsiViewFetch
(
MSIHANDLE
,
MSIHANDLE
*
);
UINT
WINAPI
MsiViewExecute
(
MSIHANDLE
,
MSIHANDLE
);
UINT
WINAPI
MsiViewExecute
(
MSIHANDLE
,
MSIHANDLE
);
...
@@ -307,4 +312,8 @@ UINT WINAPI MsiSetInstallLevel(MSIHANDLE, int);
...
@@ -307,4 +312,8 @@ UINT WINAPI MsiSetInstallLevel(MSIHANDLE, int);
MSIHANDLE
WINAPI
MsiGetLastErrorRecord
(
void
);
MSIHANDLE
WINAPI
MsiGetLastErrorRecord
(
void
);
#ifdef __cplusplus
}
#endif
#endif
/* __WINE_MSIQUERY_H */
#endif
/* __WINE_MSIQUERY_H */
include/powrprof.h
View file @
4b340fff
...
@@ -109,6 +109,11 @@ typedef struct _POWER_POLICY {
...
@@ -109,6 +109,11 @@ typedef struct _POWER_POLICY {
}
POWER_POLICY
,
}
POWER_POLICY
,
*
PPOWER_POLICY
;
*
PPOWER_POLICY
;
#ifdef __cplusplus
extern
"C"
{
#endif
typedef
BOOLEAN
(
CALLBACK
*
PWRSCHEMESENUMPROC
)(
UINT
,
DWORD
,
LPWSTR
,
DWORD
,
LPWSTR
,
PPOWER_POLICY
,
LPARAM
);
typedef
BOOLEAN
(
CALLBACK
*
PWRSCHEMESENUMPROC
)(
UINT
,
DWORD
,
LPWSTR
,
DWORD
,
LPWSTR
,
PPOWER_POLICY
,
LPARAM
);
NTSTATUS
WINAPI
CallNtPowerInformation
(
POWER_INFORMATION_LEVEL
,
PVOID
,
ULONG
,
PVOID
,
ULONG
);
NTSTATUS
WINAPI
CallNtPowerInformation
(
POWER_INFORMATION_LEVEL
,
PVOID
,
ULONG
,
PVOID
,
ULONG
);
...
@@ -132,4 +137,8 @@ BOOLEAN WINAPI WriteGlobalPwrPolicy(PGLOBAL_POWER_POLICY);
...
@@ -132,4 +137,8 @@ BOOLEAN WINAPI WriteGlobalPwrPolicy(PGLOBAL_POWER_POLICY);
BOOLEAN
WINAPI
WriteProcessorPwrScheme
(
UINT
,
PMACHINE_PROCESSOR_POWER_POLICY
);
BOOLEAN
WINAPI
WriteProcessorPwrScheme
(
UINT
,
PMACHINE_PROCESSOR_POWER_POLICY
);
BOOLEAN
WINAPI
WritePwrScheme
(
PUINT
,
LPWSTR
,
LPWSTR
,
PPOWER_POLICY
);
BOOLEAN
WINAPI
WritePwrScheme
(
PUINT
,
LPWSTR
,
LPWSTR
,
PPOWER_POLICY
);
#ifdef __cplusplus
}
#endif
#endif
/* _POWRPROF_H */
#endif
/* _POWRPROF_H */
include/rpcdcep.h
View file @
4b340fff
...
@@ -19,6 +19,10 @@
...
@@ -19,6 +19,10 @@
#ifndef __WINE_RPCDCEP_H
#ifndef __WINE_RPCDCEP_H
#define __WINE_RPCDCEP_H
#define __WINE_RPCDCEP_H
#ifdef __cplusplus
extern
"C"
{
#endif
typedef
struct
_RPC_VERSION
{
typedef
struct
_RPC_VERSION
{
unsigned
short
MajorVersion
;
unsigned
short
MajorVersion
;
unsigned
short
MinorVersion
;
unsigned
short
MinorVersion
;
...
@@ -182,4 +186,8 @@ RPCRTAPI UINT RPC_ENTRY
...
@@ -182,4 +186,8 @@ RPCRTAPI UINT RPC_ENTRY
#endif
#endif
#ifdef __cplusplus
}
#endif
#endif
/*__WINE_RPCDCEP_H */
#endif
/*__WINE_RPCDCEP_H */
include/rpcproxy.h
View file @
4b340fff
...
@@ -33,6 +33,10 @@
...
@@ -33,6 +33,10 @@
#include <rpc.h>
#include <rpc.h>
#include <rpcndr.h>
#include <rpcndr.h>
#ifdef __cplusplus
extern
"C"
{
#endif
typedef
struct
tagCInterfaceStubVtbl
*
PCInterfaceStubVtblList
;
typedef
struct
tagCInterfaceStubVtbl
*
PCInterfaceStubVtblList
;
typedef
struct
tagCInterfaceProxyVtbl
*
PCInterfaceProxyVtblList
;
typedef
struct
tagCInterfaceProxyVtbl
*
PCInterfaceProxyVtblList
;
typedef
const
char
*
PCInterfaceName
;
typedef
const
char
*
PCInterfaceName
;
...
@@ -357,4 +361,8 @@ RPCRTAPI HRESULT RPC_ENTRY
...
@@ -357,4 +361,8 @@ RPCRTAPI HRESULT RPC_ENTRY
#endif
#endif
#ifdef __cplusplus
}
#endif
#endif
/*__WINE_RPCDCE_H */
#endif
/*__WINE_RPCDCE_H */
include/setupapi.h
View file @
4b340fff
...
@@ -22,6 +22,10 @@
...
@@ -22,6 +22,10 @@
#include <commctrl.h>
#include <commctrl.h>
#ifdef __cplusplus
extern
"C"
{
#endif
/* setupapi doesn't use the normal convention, it adds an underscore before A/W */
/* setupapi doesn't use the normal convention, it adds an underscore before A/W */
#ifdef __WINESRC__
#ifdef __WINESRC__
# define DECL_WINELIB_SETUPAPI_TYPE_AW(type)
/* nothing */
# define DECL_WINELIB_SETUPAPI_TYPE_AW(type)
/* nothing */
...
@@ -1818,6 +1822,10 @@ PSTR WINAPI UnicodeToMultiByte(PCWSTR lpUnicodeStr, UINT uCodePage);
...
@@ -1818,6 +1822,10 @@ PSTR WINAPI UnicodeToMultiByte(PCWSTR lpUnicodeStr, UINT uCodePage);
BOOL
WINAPI
UnmapAndCloseFile
(
HANDLE
,
HANDLE
,
PVOID
);
BOOL
WINAPI
UnmapAndCloseFile
(
HANDLE
,
HANDLE
,
PVOID
);
#ifdef __cplusplus
}
#endif
#undef DECL_WINELIB_SETUPAPI_TYPE_AW
#undef DECL_WINELIB_SETUPAPI_TYPE_AW
#ifdef __cplusplus
#ifdef __cplusplus
...
...
include/winnetwk.h
View file @
4b340fff
...
@@ -20,6 +20,10 @@
...
@@ -20,6 +20,10 @@
#ifndef _WINNETWK_H_
#ifndef _WINNETWK_H_
#define _WINNETWK_H_
#define _WINNETWK_H_
#ifdef __cplusplus
extern
"C"
{
#endif
/*
/*
* Network types
* Network types
*/
*/
...
@@ -401,5 +405,8 @@ UINT WINAPI WNetEnumCachedPasswords( LPSTR, WORD, BYTE, ENUMPASSWORDPROC, DWORD)
...
@@ -401,5 +405,8 @@ UINT WINAPI WNetEnumCachedPasswords( LPSTR, WORD, BYTE, ENUMPASSWORDPROC, DWORD)
DWORD
WINAPI
WNetGetCachedPassword
(
LPSTR
,
WORD
,
LPSTR
,
LPWORD
,
BYTE
);
DWORD
WINAPI
WNetGetCachedPassword
(
LPSTR
,
WORD
,
LPSTR
,
LPWORD
,
BYTE
);
DWORD
WINAPI
WNetCachePassword
(
LPSTR
,
WORD
,
LPSTR
,
WORD
,
BYTE
,
WORD
);
DWORD
WINAPI
WNetCachePassword
(
LPSTR
,
WORD
,
LPSTR
,
WORD
,
BYTE
,
WORD
);
#ifdef __cplusplus
}
#endif
#endif
/* _WINNETWK_H_ */
#endif
/* _WINNETWK_H_ */
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