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
bf611955
Commit
bf611955
authored
Sep 20, 2013
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Remove CONST from non-pointer parameters.
parent
11ced88a
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
57 additions
and
57 deletions
+57
-57
dpaddr.h
include/dpaddr.h
+10
-10
dplay8.h
include/dplay8.h
+0
-0
dplobby8.h
include/dplobby8.h
+18
-18
dpnathlp.h
include/dpnathlp.h
+29
-29
No files found.
include/dpaddr.h
View file @
bf611955
...
...
@@ -236,14 +236,14 @@ DECLARE_INTERFACE_(IDirectPlay8Address,IUnknown)
STDMETHOD
(
GetURLA
)(
THIS_
CHAR
*
pszURL
,
PDWORD
pdwNumChars
)
PURE
;
STDMETHOD
(
GetSP
)(
THIS_
GUID
*
pguidSP
)
PURE
;
STDMETHOD
(
GetUserData
)(
THIS_
LPVOID
pvUserData
,
PDWORD
pdwBufferSize
)
PURE
;
STDMETHOD
(
SetSP
)(
THIS_
CONST
GUID
*
CONST
pguidSP
)
PURE
;
STDMETHOD
(
SetUserData
)(
THIS_
CONST
void
*
CONST
pvUserData
,
CONST
DWORD
dwDataSize
)
PURE
;
STDMETHOD
(
SetSP
)(
THIS_
const
GUID
*
pguidSP
)
PURE
;
STDMETHOD
(
SetUserData
)(
THIS_
const
void
*
pvUserData
,
DWORD
dwDataSize
)
PURE
;
STDMETHOD
(
GetNumComponents
)(
THIS_
PDWORD
pdwNumComponents
)
PURE
;
STDMETHOD
(
GetComponentByName
)(
THIS_
CONST
WCHAR
*
CONST
pwszName
,
LPVOID
pvBuffer
,
PDWORD
pdwBufferSize
,
PDWORD
pdwDataType
)
PURE
;
STDMETHOD
(
GetComponentByIndex
)(
THIS_
CONST
DWORD
dwComponentID
,
WCHAR
*
pwszName
,
PDWORD
pdwNameLen
,
void
*
pvBuffer
,
PDWORD
pdwBufferSize
,
PDWORD
pdwDataType
)
PURE
;
STDMETHOD
(
AddComponent
)(
THIS_
CONST
WCHAR
*
CONST
pwszName
,
CONST
void
*
CONST
lpvData
,
CONST
DWORD
dwDataSize
,
CONST
DWORD
dwDataType
)
PURE
;
STDMETHOD
(
GetComponentByName
)(
THIS_
const
WCHAR
*
pwszName
,
LPVOID
pvBuffer
,
PDWORD
pdwBufferSize
,
PDWORD
pdwDataType
)
PURE
;
STDMETHOD
(
GetComponentByIndex
)(
THIS_
DWORD
dwComponentID
,
WCHAR
*
pwszName
,
PDWORD
pdwNameLen
,
void
*
pvBuffer
,
PDWORD
pdwBufferSize
,
PDWORD
pdwDataType
)
PURE
;
STDMETHOD
(
AddComponent
)(
THIS_
const
WCHAR
*
pwszName
,
const
void
*
lpvData
,
DWORD
dwDataSize
,
DWORD
dwDataType
)
PURE
;
STDMETHOD
(
GetDevice
)(
THIS_
GUID
*
pDevGuid
)
PURE
;
STDMETHOD
(
SetDevice
)(
THIS_
CONST
GUID
*
CONST
devGuid
)
PURE
;
STDMETHOD
(
SetDevice
)(
THIS_
const
GUID
*
devGuid
)
PURE
;
STDMETHOD
(
BuildFromDirectPlay4Address
)(
THIS_
LPVOID
pvAddress
,
DWORD
dwDataSize
)
PURE
;
};
#undef INTERFACE
...
...
@@ -312,9 +312,9 @@ DECLARE_INTERFACE_(IDirectPlay8AddressIP,IUnknown)
STDMETHOD_
(
ULONG
,
AddRef
)(
THIS
)
PURE
;
STDMETHOD_
(
ULONG
,
Release
)(
THIS
)
PURE
;
/*** IDirectPlay8AddressIP methods ***/
STDMETHOD
(
BuildFromSockAddr
)(
THIS_
CONST
SOCKADDR
*
CONST
pSockAddr
)
PURE
;
STDMETHOD
(
BuildAddress
)(
THIS_
CONST
WCHAR
*
CONST
wszAddress
,
CONST
USHORT
usPort
)
PURE
;
STDMETHOD
(
BuildLocalAddress
)(
THIS_
CONST
GUID
*
CONST
pguidAdapter
,
CONST
USHORT
usPort
)
PURE
;
STDMETHOD
(
BuildFromSockAddr
)(
THIS_
const
SOCKADDR
*
pSockAddr
)
PURE
;
STDMETHOD
(
BuildAddress
)(
THIS_
const
WCHAR
*
wszAddress
,
USHORT
usPort
)
PURE
;
STDMETHOD
(
BuildLocalAddress
)(
THIS_
const
GUID
*
pguidAdapter
,
USHORT
usPort
)
PURE
;
STDMETHOD
(
GetSockAddress
)(
THIS_
SOCKADDR
*
pSockAddr
,
PDWORD
)
PURE
;
STDMETHOD
(
GetLocalAddress
)(
THIS_
GUID
*
pguidAdapter
,
USHORT
*
pusPort
)
PURE
;
STDMETHOD
(
GetAddress
)(
THIS_
WCHAR
*
wszAddress
,
PDWORD
pdwAddressLength
,
USHORT
*
psPort
)
PURE
;
...
...
@@ -349,7 +349,7 @@ DECLARE_INTERFACE_(IDirectPlay8AddressIP,IUnknown)
/* Export functions */
HRESULT
WINAPI
DirectPlay8AddressCreate
(
CONST
GUID
*
pcIID
,
LPVOID
*
ppvInterface
,
IUnknown
*
pUnknown
);
HRESULT
WINAPI
DirectPlay8AddressCreate
(
const
GUID
*
pcIID
,
LPVOID
*
ppvInterface
,
IUnknown
*
pUnknown
);
#ifdef __cplusplus
}
...
...
include/dplay8.h
View file @
bf611955
This diff is collapsed.
Click to expand it.
include/dplobby8.h
View file @
bf611955
...
...
@@ -151,15 +151,15 @@ DECLARE_INTERFACE_(IDirectPlay8LobbiedApplication,IUnknown)
STDMETHOD_
(
ULONG
,
AddRef
)(
THIS
)
PURE
;
STDMETHOD_
(
ULONG
,
Release
)(
THIS
)
PURE
;
/*** IDirectPlay8LobbiedApplication methods ***/
STDMETHOD
(
Initialize
)(
THIS_
CONST
PVOID
pvUserContext
,
CONST
PFNDPNMESSAGEHANDLER
pfn
,
DPNHANDLE
*
CONST
pdpnhConnection
,
CONST
DWORD
dwFlags
)
PURE
;
STDMETHOD
(
RegisterProgram
)(
THIS_
PDPL_PROGRAM_DESC
pdplProgramDesc
,
CONST
DWORD
dwFlags
)
PURE
;
STDMETHOD
(
UnRegisterProgram
)(
THIS_
GUID
*
pguidApplication
,
CONST
DWORD
dwFlags
)
PURE
;
STDMETHOD
(
Send
)(
THIS_
CONST
DPNHANDLE
hConnection
,
BYTE
*
CONST
pBuffer
,
CONST
DWORD
pBufferSize
,
CONST
DWORD
dwFlags
)
PURE
;
STDMETHOD
(
SetAppAvailable
)(
THIS_
CONST
BOOL
fAvailable
,
CONST
DWORD
dwFlags
)
PURE
;
STDMETHOD
(
UpdateStatus
)(
THIS_
CONST
DPNHANDLE
hConnection
,
CONST
DWORD
dwStatus
,
CONST
DWORD
dwFlags
)
PURE
;
STDMETHOD
(
Close
)(
THIS_
CONST
DWORD
dwFlags
)
PURE
;
STDMETHOD
(
GetConnectionSettings
)(
THIS_
CONST
DPNHANDLE
hConnection
,
DPL_CONNECTION_SETTINGS
*
CONST
pdplSessionInfo
,
DWORD
*
pdwInfoSize
,
CONST
DWORD
dwFlags
)
PURE
;
STDMETHOD
(
SetConnectionSettings
)(
THIS_
CONST
DPNHANDLE
hConnection
,
CONST
DPL_CONNECTION_SETTINGS
*
CONST
pdplSessionInfo
,
CONST
DWORD
dwFlags
)
PURE
;
STDMETHOD
(
Initialize
)(
THIS_
PVOID
pvUserContext
,
PFNDPNMESSAGEHANDLER
pfn
,
DPNHANDLE
*
pdpnhConnection
,
DWORD
dwFlags
)
PURE
;
STDMETHOD
(
RegisterProgram
)(
THIS_
PDPL_PROGRAM_DESC
pdplProgramDesc
,
DWORD
dwFlags
)
PURE
;
STDMETHOD
(
UnRegisterProgram
)(
THIS_
GUID
*
pguidApplication
,
DWORD
dwFlags
)
PURE
;
STDMETHOD
(
Send
)(
THIS_
DPNHANDLE
hConnection
,
BYTE
*
pBuffer
,
DWORD
pBufferSize
,
DWORD
dwFlags
)
PURE
;
STDMETHOD
(
SetAppAvailable
)(
THIS_
BOOL
fAvailable
,
DWORD
dwFlags
)
PURE
;
STDMETHOD
(
UpdateStatus
)(
THIS_
DPNHANDLE
hConnection
,
DWORD
dwStatus
,
DWORD
dwFlags
)
PURE
;
STDMETHOD
(
Close
)(
THIS_
DWORD
dwFlags
)
PURE
;
STDMETHOD
(
GetConnectionSettings
)(
THIS_
DPNHANDLE
hConnection
,
DPL_CONNECTION_SETTINGS
*
pdplSessionInfo
,
DWORD
*
pdwInfoSize
,
DWORD
dwFlags
)
PURE
;
STDMETHOD
(
SetConnectionSettings
)(
THIS_
DPNHANDLE
hConnection
,
const
DPL_CONNECTION_SETTINGS
*
pdplSessionInfo
,
DWORD
dwFlags
)
PURE
;
};
#undef INTERFACE
...
...
@@ -206,14 +206,14 @@ DECLARE_INTERFACE_(IDirectPlay8LobbyClient,IUnknown)
STDMETHOD_
(
ULONG
,
AddRef
)(
THIS
)
PURE
;
STDMETHOD_
(
ULONG
,
Release
)(
THIS
)
PURE
;
/*** IDirectPlay8LobbyClient methods ***/
STDMETHOD
(
Initialize
)(
THIS_
CONST
PVOID
pvUserContext
,
CONST
PFNDPNMESSAGEHANDLER
pfn
,
CONST
DWORD
dwFlags
)
PURE
;
STDMETHOD
(
EnumLocalPrograms
)(
THIS_
GUID
*
CONST
pGuidApplication
,
BYTE
*
CONST
pEnumData
,
DWORD
*
CONST
pdwEnumData
,
DWORD
*
CONST
pdwItems
,
CONST
DWORD
dwFlags
)
PURE
;
STDMETHOD
(
ConnectApplication
)(
THIS_
DPL_CONNECT_INFO
*
CONST
pdplConnectionInfo
,
CONST
PVOID
pvConnectionContext
,
DPNHANDLE
*
CONST
hApplication
,
CONST
DWORD
dwTimeOut
,
CONST
DWORD
dwFlags
)
PURE
;
STDMETHOD
(
Send
)(
THIS_
CONST
DPNHANDLE
hConnection
,
BYTE
*
CONST
pBuffer
,
CONST
DWORD
pBufferSize
,
CONST
DWORD
dwFlags
)
PURE
;
STDMETHOD
(
ReleaseApplication
)(
THIS_
CONST
DPNHANDLE
hConnection
,
CONST
DWORD
dwFlags
)
PURE
;
STDMETHOD
(
Close
)(
THIS_
CONST
DWORD
dwFlags
)
PURE
;
STDMETHOD
(
GetConnectionSettings
)(
THIS_
CONST
DPNHANDLE
hConnection
,
DPL_CONNECTION_SETTINGS
*
CONST
pdplSessionInfo
,
DWORD
*
pdwInfoSize
,
CONST
DWORD
dwFlags
)
PURE
;
STDMETHOD
(
SetConnectionSettings
)(
THIS_
CONST
DPNHANDLE
hConnection
,
CONST
DPL_CONNECTION_SETTINGS
*
CONST
pdplSessionInfo
,
CONST
DWORD
dwFlags
)
PURE
;
STDMETHOD
(
Initialize
)(
THIS_
PVOID
pvUserContext
,
PFNDPNMESSAGEHANDLER
pfn
,
DWORD
dwFlags
)
PURE
;
STDMETHOD
(
EnumLocalPrograms
)(
THIS_
GUID
*
pGuidApplication
,
BYTE
*
pEnumData
,
DWORD
*
pdwEnumData
,
DWORD
*
pdwItems
,
DWORD
dwFlags
)
PURE
;
STDMETHOD
(
ConnectApplication
)(
THIS_
DPL_CONNECT_INFO
*
pdplConnectionInfo
,
PVOID
pvConnectionContext
,
DPNHANDLE
*
hApplication
,
DWORD
dwTimeOut
,
DWORD
dwFlags
)
PURE
;
STDMETHOD
(
Send
)(
THIS_
DPNHANDLE
hConnection
,
BYTE
*
pBuffer
,
DWORD
pBufferSize
,
DWORD
dwFlags
)
PURE
;
STDMETHOD
(
ReleaseApplication
)(
THIS_
DPNHANDLE
hConnection
,
DWORD
dwFlags
)
PURE
;
STDMETHOD
(
Close
)(
THIS_
DWORD
dwFlags
)
PURE
;
STDMETHOD
(
GetConnectionSettings
)(
THIS_
DPNHANDLE
hConnection
,
DPL_CONNECTION_SETTINGS
*
pdplSessionInfo
,
DWORD
*
pdwInfoSize
,
DWORD
dwFlags
)
PURE
;
STDMETHOD
(
SetConnectionSettings
)(
THIS_
DPNHANDLE
hConnection
,
const
DPL_CONNECTION_SETTINGS
*
pdplSessionInfo
,
DWORD
dwFlags
)
PURE
;
};
#undef INTERFACE
...
...
@@ -250,7 +250,7 @@ DECLARE_INTERFACE_(IDirectPlay8LobbyClient,IUnknown)
/* Export functions */
HRESULT
WINAPI
DirectPlay8LobbyCreate
(
CONST
GUID
*
pcIID
,
LPVOID
*
ppvInterface
,
IUnknown
*
pUnknown
);
HRESULT
WINAPI
DirectPlay8LobbyCreate
(
const
GUID
*
pcIID
,
LPVOID
*
ppvInterface
,
IUnknown
*
pUnknown
);
#ifdef __cplusplus
}
...
...
include/dpnathlp.h
View file @
bf611955
...
...
@@ -115,56 +115,56 @@ DECLARE_INTERFACE_(IDirectPlayNATHelp,IUnknown)
/*** IDirectPlayNATHelp functions ***/
STDMETHOD
(
Initialize
)
(
THIS_
const
DWORD
dwFlags
)
PURE
;
DWORD
dwFlags
)
PURE
;
STDMETHOD
(
Close
)
(
THIS_
const
DWORD
dwFlags
)
PURE
;
DWORD
dwFlags
)
PURE
;
STDMETHOD
(
GetCaps
)
(
THIS_
const
PDPNHCAPS
pCaps
,
const
DWORD
dwFlags
)
PURE
;
PDPNHCAPS
pCaps
,
DWORD
dwFlags
)
PURE
;
STDMETHOD
(
RegisterPorts
)
(
THIS_
const
PSOCKADDR
aLocalAddresses
,
const
DWORD
dwAddressSize
,
const
DWORD
dwAddresses
,
const
DWORD
dwTime
,
const
PDPNHHANDLE
phRegisteredPorts
,
const
DWORD
dwFlags
)
PURE
;
PSOCKADDR
aLocalAddresses
,
DWORD
dwAddressSize
,
DWORD
dwAddresses
,
DWORD
dwTime
,
PDPNHHANDLE
phRegisteredPorts
,
DWORD
dwFlags
)
PURE
;
STDMETHOD
(
GetRegisteredAddresses
)
(
THIS_
const
PDPNHHANDLE
hRegisteredPorts
,
const
PSOCKADDR
paPublicAddresses
,
PDPNHHANDLE
hRegisteredPorts
,
PSOCKADDR
paPublicAddresses
,
const
DWORD
*
dwAddressSize
,
const
DWORD
*
dwAddressFlags
,
const
DWORD
*
dwRemaining
,
const
DWORD
dwFlags
)
PURE
;
DWORD
dwFlags
)
PURE
;
STDMETHOD
(
DeregisterPorts
)(
THIS_
const
DPNHHANDLE
hRegPorts
,
const
DWORD
dwFlags
)
PURE
;
DPNHHANDLE
hRegPorts
,
DWORD
dwFlags
)
PURE
;
STDMETHOD
(
QueryAddress
)
(
THIS_
const
PSOCKADDR
pSource
,
const
PSOCKADDR
pQuery
,
const
PSOCKADDR
pResponse
,
const
INT
iAddresses
,
const
DWORD
dwFlags
)
PURE
;
PSOCKADDR
pSource
,
PSOCKADDR
pQuery
,
PSOCKADDR
pResponse
,
INT
iAddresses
,
DWORD
dwFlags
)
PURE
;
STDMETHOD
(
SetAlertEvent
)
(
THIS_
const
HANDLE
hEvent
,
const
DWORD
dwFlags
)
PURE
;
HANDLE
hEvent
,
DWORD
dwFlags
)
PURE
;
STDMETHOD
(
SetAlertIOCompletionPort
)(
THIS_
const
HANDLE
hIOCompletionPort
,
const
DWORD
dwCompletion
,
const
DWORD
dwMaxThreads
,
const
DWORD
dwFlags
)
PURE
;
HANDLE
hIOCompletionPort
,
DWORD
dwCompletion
,
DWORD
dwMaxThreads
,
DWORD
dwFlags
)
PURE
;
STDMETHOD
(
ExtendRegisteredPortsLease
)(
THIS_
const
DPNHHANDLE
hRegisteredPorts
,
const
DWORD
dwLeaseTime
,
const
DWORD
dwFlags
)
PURE
;
DPNHHANDLE
hRegisteredPorts
,
DWORD
dwLeaseTime
,
DWORD
dwFlags
)
PURE
;
};
#undef INTERFACE
...
...
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