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
2a39cb37
Commit
2a39cb37
authored
Sep 25, 2013
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Sep 25, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dlls: Replace the remaining CONSTs.
parent
0f965d16
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
17 additions
and
18 deletions
+17
-18
imagelist.c
dlls/comctl32/imagelist.c
+1
-1
d3dxof.c
dlls/d3dxof/tests/d3dxof.c
+2
-2
dmusic.c
dlls/dmusic/tests/dmusic.c
+1
-1
console.c
dlls/kernel32/console.c
+1
-1
console.c
dlls/kernel32/tests/console.c
+1
-1
registry.c
dlls/krnl386.exe16/registry.c
+2
-2
rtl.c
dlls/ntdll/rtl.c
+1
-1
ntoskrnl.c
dlls/ntoskrnl.exe/ntoskrnl.c
+1
-1
comcat.c
dlls/ole32/comcat.c
+1
-2
schannel.c
dlls/secur32/tests/schannel.c
+1
-1
confdlg.c
dlls/serialui/confdlg.c
+1
-1
message.c
dlls/user.exe16/message.c
+2
-2
internet.c
dlls/wininet/tests/internet.c
+2
-2
No files found.
dlls/comctl32/imagelist.c
View file @
2a39cb37
...
...
@@ -3160,7 +3160,7 @@ static HBITMAP ImageList_CreateImage(HDC hdc, HIMAGELIST himl, UINT count)
*/
UINT
WINAPI
ImageList_SetColorTable
(
HIMAGELIST
himl
,
UINT
uStartIndex
,
UINT
cEntries
,
CONST
RGBQUAD
*
prgb
)
ImageList_SetColorTable
(
HIMAGELIST
himl
,
UINT
uStartIndex
,
UINT
cEntries
,
const
RGBQUAD
*
prgb
)
{
return
SetDIBColorTable
(
himl
->
hdcImage
,
uStartIndex
,
cEntries
,
prgb
);
}
...
...
dlls/d3dxof/tests/d3dxof.c
View file @
2a39cb37
...
...
@@ -40,7 +40,7 @@
#define SEMICOLON_5X TOKEN_SEMICOLON, TOKEN_SEMICOLON, TOKEN_SEMICOLON, TOKEN_SEMICOLON, TOKEN_SEMICOLON
static
inline
void
debugstr_guid
(
char
*
buf
,
CONST
GUID
*
id
)
static
inline
void
debugstr_guid
(
char
*
buf
,
const
GUID
*
id
)
{
sprintf
(
buf
,
"{%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x}"
,
id
->
Data1
,
id
->
Data2
,
id
->
Data3
,
...
...
@@ -1119,7 +1119,7 @@ static void process_data(LPDIRECTXFILEDATA lpDirectXFileData, int level)
HRESULT
hr
;
char
name
[
100
];
GUID
clsid
;
CONST
GUID
*
clsid_type
=
NULL
;
const
GUID
*
clsid_type
=
NULL
;
char
str_clsid
[
40
];
char
str_clsid_type
[
40
];
DWORD
len
=
100
;
...
...
dlls/dmusic/tests/dmusic.c
View file @
2a39cb37
...
...
@@ -29,7 +29,7 @@
#include "dmusici.h"
#include "dmksctrl.h"
static
inline
const
char
*
debugstr_guid
(
CONST
GUID
*
id
)
static
inline
const
char
*
debugstr_guid
(
const
GUID
*
id
)
{
static
char
string
[
39
];
sprintf
(
string
,
"{%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x}"
,
...
...
dlls/kernel32/console.c
View file @
2a39cb37
...
...
@@ -690,7 +690,7 @@ BOOL WINAPI WriteConsoleOutputCharacterA( HANDLE hConsoleOutput, LPCSTR str, DWO
* Failure: FALSE
*
*/
BOOL
WINAPI
WriteConsoleOutputAttribute
(
HANDLE
hConsoleOutput
,
CONST
WORD
*
attr
,
DWORD
length
,
BOOL
WINAPI
WriteConsoleOutputAttribute
(
HANDLE
hConsoleOutput
,
const
WORD
*
attr
,
DWORD
length
,
COORD
coord
,
LPDWORD
lpNumAttrsWritten
)
{
BOOL
ret
;
...
...
dlls/kernel32/tests/console.c
View file @
2a39cb37
...
...
@@ -2001,7 +2001,7 @@ static void test_WriteConsoleOutputAttribute(HANDLE output_handle)
const
struct
{
HANDLE
hConsoleOutput
;
CONST
WORD
*
attr
;
const
WORD
*
attr
;
DWORD
length
;
COORD
coord
;
LPDWORD
lpNumAttrsWritten
;
...
...
dlls/krnl386.exe16/registry.c
View file @
2a39cb37
...
...
@@ -42,7 +42,7 @@ static DWORD (WINAPI *pRegOpenKeyA)(HKEY,LPCSTR,PHKEY);
static
DWORD
(
WINAPI
*
pRegQueryValueA
)(
HKEY
,
LPCSTR
,
LPSTR
,
LPLONG
);
static
DWORD
(
WINAPI
*
pRegQueryValueExA
)(
HKEY
,
LPCSTR
,
LPDWORD
,
LPDWORD
,
LPBYTE
,
LPDWORD
);
static
DWORD
(
WINAPI
*
pRegSetValueA
)(
HKEY
,
LPCSTR
,
DWORD
,
LPCSTR
,
DWORD
);
static
DWORD
(
WINAPI
*
pRegSetValueExA
)(
HKEY
,
LPCSTR
,
DWORD
,
DWORD
,
CONST
BYTE
*
,
DWORD
);
static
DWORD
(
WINAPI
*
pRegSetValueExA
)(
HKEY
,
LPCSTR
,
DWORD
,
DWORD
,
const
BYTE
*
,
DWORD
);
static
HMODULE
advapi32
;
...
...
@@ -194,7 +194,7 @@ DWORD WINAPI RegQueryValueEx16( HKEY hkey, LPCSTR name, LPDWORD reserved, LPDWOR
* RegSetValueEx [KERNEL.226]
*/
DWORD
WINAPI
RegSetValueEx16
(
HKEY
hkey
,
LPCSTR
name
,
DWORD
reserved
,
DWORD
type
,
CONST
BYTE
*
data
,
DWORD
count
)
const
BYTE
*
data
,
DWORD
count
)
{
if
(
!
advapi32
)
init_func_ptrs
();
fix_win16_hkey
(
&
hkey
);
...
...
dlls/ntdll/rtl.c
View file @
2a39cb37
...
...
@@ -450,7 +450,7 @@ ULONG RtlNumberGenericTableElements(PVOID pTable)
* Nothing.
*/
#undef RtlMoveMemory
VOID
WINAPI
RtlMoveMemory
(
VOID
*
Destination
,
CONST
VOID
*
Source
,
SIZE_T
Length
)
VOID
WINAPI
RtlMoveMemory
(
void
*
Destination
,
const
void
*
Source
,
SIZE_T
Length
)
{
memmove
(
Destination
,
Source
,
Length
);
}
...
...
dlls/ntoskrnl.exe/ntoskrnl.c
View file @
2a39cb37
...
...
@@ -712,7 +712,7 @@ NTSTATUS WINAPI IoDeleteSymbolicLink( UNICODE_STRING *name )
/***********************************************************************
* IoGetDeviceInterfaces (NTOSKRNL.EXE.@)
*/
NTSTATUS
WINAPI
IoGetDeviceInterfaces
(
CONST
GUID
*
InterfaceClassGuid
,
NTSTATUS
WINAPI
IoGetDeviceInterfaces
(
const
GUID
*
InterfaceClassGuid
,
PDEVICE_OBJECT
PhysicalDeviceObject
,
ULONG
Flags
,
PWSTR
*
SymbolicLinkList
)
{
...
...
dlls/ole32/comcat.c
View file @
2a39cb37
...
...
@@ -348,8 +348,7 @@ static HRESULT WINAPI COMCAT_ICatRegister_RegisterCategories(
/* Set the value for this locale's description. */
wsprintfW
(
valname
,
fmt
,
rgci
->
lcid
);
RegSetValueExW
(
cat_key
,
valname
,
0
,
REG_SZ
,
(
CONST
BYTE
*
)(
rgci
->
szDescription
),
RegSetValueExW
(
cat_key
,
valname
,
0
,
REG_SZ
,
(
const
BYTE
*
)
rgci
->
szDescription
,
(
lstrlenW
(
rgci
->
szDescription
)
+
1
)
*
sizeof
(
WCHAR
));
RegCloseKey
(
cat_key
);
...
...
dlls/secur32/tests/schannel.c
View file @
2a39cb37
...
...
@@ -49,7 +49,7 @@ static PCCERT_CONTEXT (WINAPI *pCertEnumCertificatesInStore)(HCERTSTORE,PCCERT_C
static
BOOL
(
WINAPI
*
pCryptAcquireContextW
)(
HCRYPTPROV
*
,
LPCWSTR
,
LPCWSTR
,
DWORD
,
DWORD
);
static
BOOL
(
WINAPI
*
pCryptDestroyKey
)(
HCRYPTKEY
);
static
BOOL
(
WINAPI
*
pCryptImportKey
)(
HCRYPTPROV
,
CONST
BYTE
*
,
DWORD
,
HCRYPTKEY
,
DWORD
,
HCRYPTKEY
*
);
static
BOOL
(
WINAPI
*
pCryptImportKey
)(
HCRYPTPROV
,
const
BYTE
*
,
DWORD
,
HCRYPTKEY
,
DWORD
,
HCRYPTKEY
*
);
static
BOOL
(
WINAPI
*
pCryptReleaseContext
)(
HCRYPTPROV
,
ULONG_PTR
);
static
const
BYTE
bigCert
[]
=
{
0x30
,
0x7a
,
0x02
,
0x01
,
0x01
,
0x30
,
0x02
,
0x06
,
...
...
dlls/serialui/confdlg.c
View file @
2a39cb37
...
...
@@ -102,7 +102,7 @@ BOOL WINAPI EnumPropPages(LPDEVICE_INFO pdi, LPFNADDPROPSHEETPAGE pfnAdd, LPARAM
typedef
struct
tagPARAM2STRDATA
{
DWORD
val
;
CONST
CHAR
*
name
;
const
CHAR
*
name
;
}
PARAM2STRDATA
,
*
LPPARAM2STRDATA
;
typedef
struct
tagPARAM2STR
...
...
dlls/user.exe16/message.c
View file @
2a39cb37
...
...
@@ -1849,7 +1849,7 @@ BOOL16 WINAPI IsDialogMessage16( HWND16 hwndDlg, MSG16 *msg16 )
/***********************************************************************
* MsgWaitForMultipleObjects (USER.640)
*/
DWORD
WINAPI
MsgWaitForMultipleObjects16
(
DWORD
count
,
CONST
HANDLE
*
handles
,
DWORD
WINAPI
MsgWaitForMultipleObjects16
(
DWORD
count
,
const
HANDLE
*
handles
,
BOOL
wait_all
,
DWORD
timeout
,
DWORD
mask
)
{
return
MsgWaitForMultipleObjectsEx
(
count
,
handles
,
timeout
,
mask
,
...
...
@@ -2632,7 +2632,7 @@ static LRESULT static_proc16( HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam,
/***********************************************************************
* wait_message16
*/
static
DWORD
wait_message16
(
DWORD
count
,
CONST
HANDLE
*
handles
,
DWORD
timeout
,
DWORD
mask
,
DWORD
flags
)
static
DWORD
wait_message16
(
DWORD
count
,
const
HANDLE
*
handles
,
DWORD
timeout
,
DWORD
mask
,
DWORD
flags
)
{
DWORD
lock
,
ret
;
...
...
dlls/wininet/tests/internet.c
View file @
2a39cb37
...
...
@@ -34,8 +34,8 @@ static BOOL (WINAPI *pCreateUrlCacheContainerA)(DWORD, DWORD, DWORD, DWORD,
DWORD
,
DWORD
,
DWORD
,
DWORD
);
static
BOOL
(
WINAPI
*
pCreateUrlCacheContainerW
)(
DWORD
,
DWORD
,
DWORD
,
DWORD
,
DWORD
,
DWORD
,
DWORD
,
DWORD
);
static
BOOL
(
WINAPI
*
pInternetTimeFromSystemTimeA
)(
CONST
SYSTEMTIME
*
,
DWORD
,
LPSTR
,
DWORD
);
static
BOOL
(
WINAPI
*
pInternetTimeFromSystemTimeW
)(
CONST
SYSTEMTIME
*
,
DWORD
,
LPWSTR
,
DWORD
);
static
BOOL
(
WINAPI
*
pInternetTimeFromSystemTimeA
)(
const
SYSTEMTIME
*
,
DWORD
,
LPSTR
,
DWORD
);
static
BOOL
(
WINAPI
*
pInternetTimeFromSystemTimeW
)(
const
SYSTEMTIME
*
,
DWORD
,
LPWSTR
,
DWORD
);
static
BOOL
(
WINAPI
*
pInternetTimeToSystemTimeA
)(
LPCSTR
,
SYSTEMTIME
*
,
DWORD
);
static
BOOL
(
WINAPI
*
pInternetTimeToSystemTimeW
)(
LPCWSTR
,
SYSTEMTIME
*
,
DWORD
);
static
BOOL
(
WINAPI
*
pIsDomainLegalCookieDomainW
)(
LPCWSTR
,
LPCWSTR
);
...
...
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