Commit 0ad8eaa2 authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

mpr: Constify some variables.

parent 7984532f
...@@ -50,7 +50,7 @@ static inline CHAR ctox( CHAR x ) ...@@ -50,7 +50,7 @@ static inline CHAR ctox( CHAR x )
return -1; return -1;
} }
static LPSTR MPR_GetValueName( LPSTR pbResource, WORD cbResource, BYTE nType ) static LPSTR MPR_GetValueName( LPCSTR pbResource, WORD cbResource, BYTE nType )
{ {
LPSTR name; LPSTR name;
DWORD i; DWORD i;
......
...@@ -449,7 +449,7 @@ static PWNetEnumerator _createContextEnumerator(DWORD dwScope, DWORD dwType, ...@@ -449,7 +449,7 @@ static PWNetEnumerator _createContextEnumerator(DWORD dwScope, DWORD dwType,
* failure. * failure.
*/ */
static DWORD _thunkNetResourceArrayWToA(const NETRESOURCEW *lpNetArrayIn, 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; DWORD i, numToThunk, totalBytes, ret;
LPSTR strNext; LPSTR strNext;
...@@ -534,7 +534,7 @@ static DWORD _thunkNetResourceArrayWToA(const NETRESOURCEW *lpNetArrayIn, ...@@ -534,7 +534,7 @@ static DWORD _thunkNetResourceArrayWToA(const NETRESOURCEW *lpNetArrayIn,
* failure. * failure.
*/ */
static DWORD _thunkNetResourceArrayAToW(const NETRESOURCEA *lpNetArrayIn, 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; DWORD i, numToThunk, totalBytes, ret;
LPWSTR strNext; LPWSTR strNext;
...@@ -876,7 +876,7 @@ static DWORD _countProviderBytesW(PWNetProvider provider) ...@@ -876,7 +876,7 @@ static DWORD _countProviderBytesW(PWNetProvider provider)
} }
static DWORD _enumerateProvidersW(PWNetEnumerator enumerator, LPDWORD lpcCount, static DWORD _enumerateProvidersW(PWNetEnumerator enumerator, LPDWORD lpcCount,
LPVOID lpBuffer, LPDWORD lpBufferSize) LPVOID lpBuffer, const DWORD *lpBufferSize)
{ {
DWORD ret; DWORD ret;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment