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
0ad8eaa2
Commit
0ad8eaa2
authored
May 26, 2007
by
Andrew Talbot
Committed by
Alexandre Julliard
May 29, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mpr: Constify some variables.
parent
7984532f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
pwcache.c
dlls/mpr/pwcache.c
+1
-1
wnet.c
dlls/mpr/wnet.c
+3
-3
No files found.
dlls/mpr/pwcache.c
View file @
0ad8eaa2
...
...
@@ -50,7 +50,7 @@ static inline CHAR ctox( CHAR x )
return
-
1
;
}
static
LPSTR
MPR_GetValueName
(
LPSTR
pbResource
,
WORD
cbResource
,
BYTE
nType
)
static
LPSTR
MPR_GetValueName
(
LP
C
STR
pbResource
,
WORD
cbResource
,
BYTE
nType
)
{
LPSTR
name
;
DWORD
i
;
...
...
dlls/mpr/wnet.c
View file @
0ad8eaa2
...
...
@@ -449,7 +449,7 @@ static PWNetEnumerator _createContextEnumerator(DWORD dwScope, DWORD dwType,
* failure.
*/
static
DWORD
_thunkNetResourceArrayWToA
(
const
NETRESOURCEW
*
lpNetArrayIn
,
LPDWORD
lpcCount
,
LPVOID
lpBuffer
,
LPDWORD
lpBufferSize
)
const
DWORD
*
lpcCount
,
LPVOID
lpBuffer
,
const
DWORD
*
lpBufferSize
)
{
DWORD
i
,
numToThunk
,
totalBytes
,
ret
;
LPSTR
strNext
;
...
...
@@ -534,7 +534,7 @@ static DWORD _thunkNetResourceArrayWToA(const NETRESOURCEW *lpNetArrayIn,
* failure.
*/
static
DWORD
_thunkNetResourceArrayAToW
(
const
NETRESOURCEA
*
lpNetArrayIn
,
LPDWORD
lpcCount
,
LPVOID
lpBuffer
,
LPDWORD
lpBufferSize
)
const
DWORD
*
lpcCount
,
LPVOID
lpBuffer
,
const
DWORD
*
lpBufferSize
)
{
DWORD
i
,
numToThunk
,
totalBytes
,
ret
;
LPWSTR
strNext
;
...
...
@@ -876,7 +876,7 @@ static DWORD _countProviderBytesW(PWNetProvider provider)
}
static
DWORD
_enumerateProvidersW
(
PWNetEnumerator
enumerator
,
LPDWORD
lpcCount
,
LPVOID
lpBuffer
,
LPDWORD
lpBufferSize
)
LPVOID
lpBuffer
,
const
DWORD
*
lpBufferSize
)
{
DWORD
ret
;
...
...
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