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
57a579ff
Commit
57a579ff
authored
Jan 24, 2006
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Jan 24, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make more arrays const.
parent
2d3bd3e4
Hide whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
64 additions
and
65 deletions
+64
-65
comboex.c
dlls/comctl32/tests/comboex.c
+6
-6
progress.c
dlls/comctl32/tests/progress.c
+1
-1
symbol.c
dlls/dbghelp/symbol.c
+1
-1
comm.c
dlls/kernel/comm.c
+1
-1
common.c
dlls/msacm/winemp3/common.c
+4
-4
dialog.c
dlls/msi/dialog.c
+1
-1
helpers.c
dlls/msi/helpers.c
+2
-2
atom.c
dlls/ntdll/atom.c
+1
-1
oleaut.c
dlls/oleaut32/oleaut.c
+2
-2
typelib.c
dlls/oleaut32/tests/typelib.c
+1
-1
caret.c
dlls/riched20/caret.c
+1
-1
editor.c
dlls/riched20/editor.c
+4
-4
para.c
dlls/riched20/para.c
+1
-1
negotiate.c
dlls/secur32/negotiate.c
+3
-4
secur32.c
dlls/secur32/secur32.c
+6
-6
secur32_priv.h
dlls/secur32/secur32_priv.h
+2
-2
umon.c
dlls/urlmon/umon.c
+1
-1
edit.c
dlls/user/tests/edit.c
+3
-3
mci.c
dlls/winmm/mci.c
+1
-1
explorer.c
programs/explorer/explorer.c
+2
-2
mcl.c
tools/wmc/mcl.c
+19
-19
wrc.c
tools/wrc/wrc.c
+1
-1
No files found.
dlls/comctl32/tests/comboex.c
View file @
57a579ff
...
...
@@ -25,7 +25,7 @@
static
HWND
hComboExParentWnd
;
static
HINSTANCE
hMainHinst
;
static
char
ComboExTestClass
[]
=
"ComboExTestClass"
;
static
c
onst
c
har
ComboExTestClass
[]
=
"ComboExTestClass"
;
#define MAX_CHARS 100
static
char
*
textBuffer
=
NULL
;
...
...
@@ -73,11 +73,11 @@ static void test_comboboxex() {
LONG
res
=
-
1
;
COMBOBOXEXITEM
cbexItem
;
#define FIRST_ITEM "First Item"
#define SECOND_ITEM "Second Item"
#define THIRD_ITEM "Third Item"
#define MIDDLE_ITEM "Between First and Second Items"
#define REPLACEMENT_ITEM "Between First and Second Items"
#define FIRST_ITEM "First Item"
#define SECOND_ITEM "Second Item"
#define THIRD_ITEM "Third Item"
#define MIDDLE_ITEM "Between First and Second Items"
#define REPLACEMENT_ITEM "Between First and Second Items"
/* Allocate space for result */
textBuffer
=
malloc
(
MAX_CHARS
);
...
...
dlls/comctl32/tests/progress.c
View file @
57a579ff
...
...
@@ -30,7 +30,7 @@
HWND
hProgressParentWnd
,
hProgressWnd
;
static
char
progressTestClass
[]
=
"ProgressBarTestClass"
;
static
c
onst
c
har
progressTestClass
[]
=
"ProgressBarTestClass"
;
LRESULT
CALLBACK
ProgressTestWndProc
(
HWND
hWnd
,
UINT
msg
,
WPARAM
wParam
,
LPARAM
lParam
)
...
...
dlls/dbghelp/symbol.c
View file @
57a579ff
...
...
@@ -1285,7 +1285,7 @@ DWORD WINAPI UnDecorateSymbolName(LPCSTR DecoratedName, LPSTR UnDecoratedName,
{
/* undocumented from msvcrt */
static
char
*
(
*
p_undname
)(
char
*
,
const
char
*
,
int
,
void
*
(
*
)(
size_t
),
void
(
*
)(
void
*
),
unsigned
short
);
static
WCHAR
szMsvcrt
[]
=
{
'm'
,
's'
,
'v'
,
'c'
,
'r'
,
't'
,
'.'
,
'd'
,
'l'
,
'l'
,
0
};
static
const
WCHAR
szMsvcrt
[]
=
{
'm'
,
's'
,
'v'
,
'c'
,
'r'
,
't'
,
'.'
,
'd'
,
'l'
,
'l'
,
0
};
TRACE
(
"(%s, %p, %ld, 0x%08lx)
\n
"
,
debugstr_a
(
DecoratedName
),
UnDecoratedName
,
UndecoratedLength
,
Flags
);
...
...
dlls/kernel/comm.c
View file @
57a579ff
...
...
@@ -2207,7 +2207,7 @@ BOOL WINAPI GetCommProperties(
* The DLL should be loaded when the COMM port is opened, and closed
* when the COMM port is closed. - MJM 20 June 2000
***********************************************************************/
static
WCHAR
lpszSerialUI
[]
=
{
static
const
WCHAR
lpszSerialUI
[]
=
{
's'
,
'e'
,
'r'
,
'i'
,
'a'
,
'l'
,
'u'
,
'i'
,
'.'
,
'd'
,
'l'
,
'l'
,
0
};
...
...
dlls/msacm/winemp3/common.c
View file @
57a579ff
...
...
@@ -171,8 +171,8 @@ int decode_header(struct frame *fr,unsigned long newhead)
#if 0
void print_header(struct frame *fr)
{
static c
har *
modes[4] = { "Stereo", "Joint-Stereo", "Dual-Channel", "Single-Channel" };
static c
har *
layers[4] = { "Unknown" , "I", "II", "III" };
static c
onst char * const
modes[4] = { "Stereo", "Joint-Stereo", "Dual-Channel", "Single-Channel" };
static c
onst char * const
layers[4] = { "Unknown" , "I", "II", "III" };
fprintf(stderr,"MPEG %s, Layer: %s, Freq: %ld, mode: %s, modext: %d, BPF : %d\n",
fr->mpeg25 ? "2.5" : (fr->lsf ? "2.0" : "1.0"),
...
...
@@ -188,8 +188,8 @@ void print_header(struct frame *fr)
void print_header_compact(struct frame *fr)
{
static c
har *
modes[4] = { "stereo", "joint-stereo", "dual-channel", "mono" };
static c
har *
layers[4] = { "Unknown" , "I", "II", "III" };
static c
onst char * const
modes[4] = { "stereo", "joint-stereo", "dual-channel", "mono" };
static c
onst char * const
layers[4] = { "Unknown" , "I", "II", "III" };
fprintf(stderr,"MPEG %s layer %s, %d kbit/s, %ld Hz %s\n",
fr->mpeg25 ? "2.5" : (fr->lsf ? "2.0" : "1.0"),
...
...
dlls/msi/dialog.c
View file @
57a579ff
...
...
@@ -493,7 +493,7 @@ void msi_dialog_handle_event( msi_dialog* dialog, LPCWSTR control,
static
void
msi_dialog_map_events
(
msi_dialog
*
dialog
,
LPCWSTR
control
)
{
static
WCHAR
Query
[]
=
{
static
const
WCHAR
Query
[]
=
{
'S'
,
'E'
,
'L'
,
'E'
,
'C'
,
'T'
,
' '
,
'*'
,
' '
,
'F'
,
'R'
,
'O'
,
'M'
,
' '
,
'`'
,
'E'
,
'v'
,
'e'
,
'n'
,
't'
,
'M'
,
'a'
,
'p'
,
'p'
,
'i'
,
'n'
,
'g'
,
'`'
,
' '
,
'W'
,
'H'
,
'E'
,
'R'
,
'E'
,
' '
,
...
...
dlls/msi/helpers.c
View file @
57a579ff
...
...
@@ -850,8 +850,8 @@ LPWSTR create_component_advertise_string(MSIPACKAGE* package,
* Ok it appears that the > is used if there is a guid for the compoenent
* and the < is used if not.
*/
static
WCHAR
fmt1
[]
=
{
'%'
,
's'
,
'%'
,
's'
,
'<'
,
0
,
0
};
static
WCHAR
fmt2
[]
=
{
'%'
,
's'
,
'%'
,
's'
,
'>'
,
'%'
,
's'
,
0
,
0
};
static
const
WCHAR
fmt1
[]
=
{
'%'
,
's'
,
'%'
,
's'
,
'<'
,
0
,
0
};
static
const
WCHAR
fmt2
[]
=
{
'%'
,
's'
,
'%'
,
's'
,
'>'
,
'%'
,
's'
,
0
,
0
};
LPWSTR
output
=
NULL
;
DWORD
sz
=
0
;
...
...
dlls/ntdll/atom.c
View file @
57a579ff
...
...
@@ -104,7 +104,7 @@ NTSTATUS WINAPI RtlDeleteAtomFromAtomTable( RTL_ATOM_TABLE table, RTL_ATOM atom
*/
static
ULONG
integral_atom_name
(
WCHAR
*
buffer
,
ULONG
len
,
RTL_ATOM
atom
)
{
static
WCHAR
fmt
[]
=
{
'#'
,
'%'
,
'u'
,
0
};
static
const
WCHAR
fmt
[]
=
{
'#'
,
'%'
,
'u'
,
0
};
WCHAR
tmp
[
16
];
int
ret
;
...
...
dlls/oleaut32/oleaut.c
View file @
57a579ff
...
...
@@ -446,8 +446,8 @@ void WINAPI SetOaNoCache(void)
BSTR_bCache
=
FALSE
;
}
static
WCHAR
_delimiter
[
2
]
=
{
'!'
,
0
};
/* default delimiter apparently */
static
WCHAR
*
pdelimiter
=
&
_delimiter
[
0
];
static
const
WCHAR
_delimiter
[
2
]
=
{
'!'
,
0
};
/* default delimiter apparently */
static
const
WCHAR
*
pdelimiter
=
&
_delimiter
[
0
];
/***********************************************************************
* RegisterActiveObject (OLEAUT32.33)
...
...
dlls/oleaut32/tests/typelib.c
View file @
57a579ff
...
...
@@ -67,7 +67,7 @@ static void test_TypeComp(void)
DESCKIND
desckind
;
BINDPTR
bindptr
;
ITypeInfo
*
pTypeInfo
;
static
WCHAR
wszStdOle2
[]
=
{
's'
,
't'
,
'd'
,
'o'
,
'l'
,
'e'
,
'2'
,
'.'
,
't'
,
'l'
,
'b'
,
0
};
static
const
WCHAR
wszStdOle2
[]
=
{
's'
,
't'
,
'd'
,
'o'
,
'l'
,
'e'
,
'2'
,
'.'
,
't'
,
'l'
,
'b'
,
0
};
static
WCHAR
wszStdFunctions
[]
=
{
'S'
,
't'
,
'd'
,
'F'
,
'u'
,
'n'
,
'c'
,
't'
,
'i'
,
'o'
,
'n'
,
's'
,
0
};
static
WCHAR
wszSavePicture
[]
=
{
'S'
,
'a'
,
'v'
,
'e'
,
'P'
,
'i'
,
'c'
,
't'
,
'u'
,
'r'
,
'e'
,
0
};
static
WCHAR
wszOLE_TRISTATE
[]
=
{
'O'
,
'L'
,
'E'
,
'_'
,
'T'
,
'R'
,
'I'
,
'S'
,
'T'
,
'A'
,
'T'
,
'E'
,
0
};
...
...
dlls/riched20/caret.c
View file @
57a579ff
...
...
@@ -312,7 +312,7 @@ void ME_DeleteTextAtCursor(ME_TextEditor *editor, int nCursor,
ME_InternalDeleteText
(
editor
,
ME_GetCursorOfs
(
editor
,
nCursor
),
nChars
);
}
static
WCHAR
wszSpace
[]
=
{
' '
,
0
};
static
const
WCHAR
wszSpace
[]
=
{
' '
,
0
};
/* FIXME this is temporary, just to have something to test how bad graphics handler is */
void
ME_InsertGraphicsFromCursor
(
ME_TextEditor
*
editor
,
int
nCursor
)
...
...
dlls/riched20/editor.c
View file @
57a579ff
...
...
@@ -988,10 +988,10 @@ void ME_DestroyEditor(ME_TextEditor *editor)
FREE_OBJ
(
editor
);
}
static
WCHAR
wszClassName
[]
=
{
'R'
,
'i'
,
'c'
,
'h'
,
'E'
,
'd'
,
'i'
,
't'
,
'2'
,
'0'
,
'W'
,
0
};
static
WCHAR
wszClassName50
[]
=
{
'R'
,
'i'
,
'c'
,
'h'
,
'E'
,
'd'
,
'i'
,
't'
,
'5'
,
'0'
,
'W'
,
0
};
static
WCHAR
wszClassNameListBox
[]
=
{
'R'
,
'E'
,
'L'
,
'i'
,
's'
,
't'
,
'B'
,
'o'
,
'x'
,
'2'
,
'0'
,
'W'
,
0
};
static
WCHAR
wszClassNameComboBox
[]
=
{
'R'
,
'E'
,
'C'
,
'o'
,
'm'
,
'b'
,
'o'
,
'B'
,
'o'
,
'x'
,
'2'
,
'0'
,
'W'
,
0
};
static
const
WCHAR
wszClassName
[]
=
{
'R'
,
'i'
,
'c'
,
'h'
,
'E'
,
'd'
,
'i'
,
't'
,
'2'
,
'0'
,
'W'
,
0
};
static
const
WCHAR
wszClassName50
[]
=
{
'R'
,
'i'
,
'c'
,
'h'
,
'E'
,
'd'
,
'i'
,
't'
,
'5'
,
'0'
,
'W'
,
0
};
static
const
WCHAR
wszClassNameListBox
[]
=
{
'R'
,
'E'
,
'L'
,
'i'
,
's'
,
't'
,
'B'
,
'o'
,
'x'
,
'2'
,
'0'
,
'W'
,
0
};
static
const
WCHAR
wszClassNameComboBox
[]
=
{
'R'
,
'E'
,
'C'
,
'o'
,
'm'
,
'b'
,
'o'
,
'B'
,
'o'
,
'x'
,
'2'
,
'0'
,
'W'
,
0
};
BOOL
WINAPI
DllMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
{
...
...
dlls/riched20/para.c
View file @
57a579ff
...
...
@@ -22,7 +22,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
richedit
);
static
WCHAR
wszParagraphSign
[]
=
{
0xB6
,
0
};
static
const
WCHAR
wszParagraphSign
[]
=
{
0xB6
,
0
};
void
ME_MakeFirstParagraph
(
HDC
hDC
,
ME_TextBuffer
*
text
)
{
...
...
dlls/secur32/negotiate.c
View file @
57a579ff
...
...
@@ -391,7 +391,7 @@ static SECURITY_STATUS SEC_ENTRY nego_VerifySignature(PCtxtHandle phContext,
static
SecurityFunctionTableA
negoTableA
=
{
static
const
SecurityFunctionTableA
negoTableA
=
{
1
,
NULL
,
/* EnumerateSecurityPackagesA */
nego_QueryCredentialsAttributesA
,
/* QueryCredentialsAttributesA */
...
...
@@ -422,7 +422,7 @@ static SecurityFunctionTableA negoTableA = {
NULL
,
/* SetContextAttributesA */
};
static
SecurityFunctionTableW
negoTableW
=
{
static
const
SecurityFunctionTableW
negoTableW
=
{
1
,
NULL
,
/* EnumerateSecurityPackagesW */
nego_QueryCredentialsAttributesW
,
/* QueryCredentialsAttributesW */
...
...
@@ -481,11 +481,10 @@ void SECUR32_initNegotiateSP(void)
static
const
USHORT
version
=
1
;
static
const
USHORT
rpcid
=
15
;
static
const
ULONG
max_token
=
12000
;
const
SecPkgInfoW
infoW
=
{
caps
,
version
,
rpcid
,
max_token
,
nego_name_W
,
const
SecPkgInfoW
infoW
=
{
caps
,
version
,
rpcid
,
max_token
,
nego_name_W
,
negotiate_comment_W
};
const
SecPkgInfoA
infoA
=
{
caps
,
version
,
rpcid
,
max_token
,
nego_name_A
,
negotiate_comment_A
};
SECUR32_addPackages
(
provider
,
1L
,
&
infoA
,
&
infoW
);
}
dlls/secur32/secur32.c
View file @
57a579ff
...
...
@@ -222,8 +222,8 @@ PSTR SECUR32_AllocMultiByteFromWide(PCWSTR str)
}
static
void
_makeFnTableA
(
PSecurityFunctionTableA
fnTableA
,
const
PSecurityFunctionTableA
inFnTableA
,
const
PSecurityFunctionTableW
inFnTableW
)
const
SecurityFunctionTableA
*
inFnTableA
,
const
SecurityFunctionTableW
*
inFnTableW
)
{
if
(
fnTableA
)
{
...
...
@@ -293,8 +293,8 @@ static void _makeFnTableA(PSecurityFunctionTableA fnTableA,
}
static
void
_makeFnTableW
(
PSecurityFunctionTableW
fnTableW
,
const
PSecurityFunctionTableA
inFnTableA
,
const
PSecurityFunctionTableW
inFnTableW
)
const
SecurityFunctionTableA
*
inFnTableA
,
const
SecurityFunctionTableW
*
inFnTableW
)
{
if
(
fnTableW
)
{
...
...
@@ -385,8 +385,8 @@ static void _copyPackageInfo(PSecPkgInfoW info, const SecPkgInfoA *inInfoA,
}
}
SecureProvider
*
SECUR32_addProvider
(
PSecurityFunctionTableA
fnTableA
,
PSecurityFunctionTableW
fnTableW
,
PWSTR
moduleName
)
SecureProvider
*
SECUR32_addProvider
(
const
SecurityFunctionTableA
*
fnTableA
,
const
SecurityFunctionTableW
*
fnTableW
,
const
PWSTR
moduleName
)
{
SecureProvider
*
ret
;
...
...
dlls/secur32/secur32_priv.h
View file @
57a579ff
...
...
@@ -78,8 +78,8 @@ typedef struct _NegoHelper {
* Otherwise moduleName must not be NULL.
* Returns a pointer to the stored provider entry, for use adding packages.
*/
SecureProvider
*
SECUR32_addProvider
(
PSecurityFunctionTableA
fnTableA
,
PSecurityFunctionTableW
fnTableW
,
PWSTR
moduleName
);
SecureProvider
*
SECUR32_addProvider
(
const
SecurityFunctionTableA
*
fnTableA
,
const
SecurityFunctionTableW
*
fnTableW
,
const
PWSTR
moduleName
);
/* Allocates space for and adds toAdd packages with the given provider.
* provider must not be NULL, and either infoA or infoW may be NULL, but not
...
...
dlls/urlmon/umon.c
View file @
57a579ff
...
...
@@ -259,7 +259,7 @@ static void Binding_FinishedDownload(Binding *This, HRESULT hr)
0
,
NULL
);
if
(
!
pwchError
)
{
static
WCHAR
achFormat
[]
=
{
'%'
,
'0'
,
'8'
,
'x'
,
0
};
static
const
WCHAR
achFormat
[]
=
{
'%'
,
'0'
,
'8'
,
'x'
,
0
};
pwchError
=
(
WCHAR
*
)
LocalAlloc
(
LMEM_FIXED
,
sizeof
(
WCHAR
)
*
9
);
wsprintfW
(
pwchError
,
achFormat
,
hr
);
...
...
dlls/user/tests/edit.c
View file @
57a579ff
...
...
@@ -40,9 +40,9 @@ static struct edit_notify notifications;
static
HINSTANCE
hinst
;
static
HWND
hwndET2
;
static
char
szEditTest2Class
[]
=
"EditTest2Class"
;
static
char
szEditTest3Class
[]
=
"EditTest3Class"
;
static
char
szEditTextPositionClass
[]
=
"EditTextPositionWindowClass"
;
static
c
onst
c
har
szEditTest2Class
[]
=
"EditTest2Class"
;
static
c
onst
c
har
szEditTest3Class
[]
=
"EditTest3Class"
;
static
c
onst
c
har
szEditTextPositionClass
[]
=
"EditTextPositionWindowClass"
;
static
HWND
create_editcontrol
(
DWORD
style
,
DWORD
exstyle
)
{
...
...
dlls/winmm/mci.c
View file @
57a579ff
...
...
@@ -1350,7 +1350,7 @@ DWORD WINAPI mciSendStringW(LPCWSTR lpstrCommand, LPWSTR lpstrRet,
}
}
else
if
(
!
(
wmd
=
MCI_GetDriver
(
mciGetDeviceIDW
(
dev
))))
{
/* auto open */
static
WCHAR
wszOpenWait
[]
=
{
'o'
,
'p'
,
'e'
,
'n'
,
' '
,
'%'
,
's'
,
' '
,
'w'
,
'a'
,
'i'
,
't'
,
0
};
static
const
WCHAR
wszOpenWait
[]
=
{
'o'
,
'p'
,
'e'
,
'n'
,
' '
,
'%'
,
's'
,
' '
,
'w'
,
'a'
,
'i'
,
't'
,
0
};
WCHAR
buf
[
128
];
sprintfW
(
buf
,
wszOpenWait
,
dev
);
...
...
programs/explorer/explorer.c
View file @
57a579ff
...
...
@@ -147,8 +147,8 @@ int WINAPI WinMain(HINSTANCE hinstance,
PROCESS_INFORMATION
info
;
parameters_struct
parameters
;
BOOL
rc
;
static
WCHAR
winefile
[]
=
{
'w'
,
'i'
,
'n'
,
'e'
,
'f'
,
'i'
,
'l'
,
'e'
,
'.'
,
'e'
,
'x'
,
'e'
,
0
};
static
WCHAR
space
[]
=
{
' '
,
0
};
static
const
WCHAR
winefile
[]
=
{
'w'
,
'i'
,
'n'
,
'e'
,
'f'
,
'i'
,
'l'
,
'e'
,
'.'
,
'e'
,
'x'
,
'e'
,
0
};
static
const
WCHAR
space
[]
=
{
' '
,
0
};
LPWSTR
winefile_commandline
=
NULL
;
DWORD
len
=
0
;
...
...
tools/wmc/mcl.c
View file @
57a579ff
...
...
@@ -74,25 +74,25 @@
* The 'Codepages' keyword is a wmc extension.
*/
static
WCHAR
ustr_application
[]
=
{
'A'
,
'p'
,
'p'
,
'l'
,
'i'
,
'c'
,
'a'
,
't'
,
'i'
,
'o'
,
'n'
,
0
};
static
WCHAR
ustr_codepages
[]
=
{
'C'
,
'o'
,
'd'
,
'e'
,
'p'
,
'a'
,
'g'
,
'e'
,
's'
,
0
};
static
WCHAR
ustr_english
[]
=
{
'E'
,
'n'
,
'g'
,
'l'
,
'i'
,
's'
,
'h'
,
0
};
static
WCHAR
ustr_error
[]
=
{
'E'
,
'r'
,
'r'
,
'o'
,
'r'
,
0
};
static
WCHAR
ustr_facility
[]
=
{
'F'
,
'a'
,
'c'
,
'i'
,
'l'
,
'i'
,
't'
,
'y'
,
0
};
static
WCHAR
ustr_facilitynames
[]
=
{
'F'
,
'a'
,
'c'
,
'i'
,
'l'
,
'i'
,
't'
,
'y'
,
'N'
,
'a'
,
'm'
,
'e'
,
's'
,
0
};
static
WCHAR
ustr_informational
[]
=
{
'I'
,
'n'
,
'f'
,
'o'
,
'r'
,
'm'
,
'a'
,
't'
,
'i'
,
'o'
,
'n'
,
'a'
,
'l'
,
0
};
static
WCHAR
ustr_language
[]
=
{
'L'
,
'a'
,
'n'
,
'g'
,
'u'
,
'a'
,
'g'
,
'e'
,
0
};
static
WCHAR
ustr_languagenames
[]
=
{
'L'
,
'a'
,
'n'
,
'g'
,
'u'
,
'a'
,
'g'
,
'e'
,
'N'
,
'a'
,
'm'
,
'e'
,
's'
,
0
};
static
WCHAR
ustr_messageid
[]
=
{
'M'
,
'e'
,
's'
,
's'
,
'a'
,
'g'
,
'e'
,
'I'
,
'd'
,
0
};
static
WCHAR
ustr_messageidtypedef
[]
=
{
'M'
,
'e'
,
's'
,
's'
,
'a'
,
'g'
,
'e'
,
'I'
,
'd'
,
'T'
,
'y'
,
'p'
,
'e'
,
'd'
,
'e'
,
'f'
,
0
};
static
WCHAR
ustr_outputbase
[]
=
{
'O'
,
'u'
,
't'
,
'p'
,
'u'
,
't'
,
'B'
,
'a'
,
's'
,
'e'
,
0
};
static
WCHAR
ustr_severity
[]
=
{
'S'
,
'e'
,
'v'
,
'e'
,
'r'
,
'i'
,
't'
,
'y'
,
0
};
static
WCHAR
ustr_severitynames
[]
=
{
'S'
,
'e'
,
'v'
,
'e'
,
'r'
,
'i'
,
't'
,
'y'
,
'N'
,
'a'
,
'm'
,
'e'
,
's'
,
0
};
static
WCHAR
ustr_success
[]
=
{
'S'
,
'u'
,
'c'
,
'c'
,
'e'
,
's'
,
's'
,
0
};
static
WCHAR
ustr_symbolicname
[]
=
{
'S'
,
'y'
,
'm'
,
'b'
,
'o'
,
'l'
,
'i'
,
'c'
,
'N'
,
'a'
,
'm'
,
'e'
,
0
};
static
WCHAR
ustr_system
[]
=
{
'S'
,
'y'
,
's'
,
't'
,
'e'
,
'm'
,
0
};
static
WCHAR
ustr_warning
[]
=
{
'W'
,
'a'
,
'r'
,
'n'
,
'i'
,
'n'
,
'g'
,
0
};
static
WCHAR
ustr_msg00001
[]
=
{
'm'
,
's'
,
'g'
,
'0'
,
'0'
,
'0'
,
'0'
,
'1'
,
0
};
static
const
WCHAR
ustr_application
[]
=
{
'A'
,
'p'
,
'p'
,
'l'
,
'i'
,
'c'
,
'a'
,
't'
,
'i'
,
'o'
,
'n'
,
0
};
static
const
WCHAR
ustr_codepages
[]
=
{
'C'
,
'o'
,
'd'
,
'e'
,
'p'
,
'a'
,
'g'
,
'e'
,
's'
,
0
};
static
const
WCHAR
ustr_english
[]
=
{
'E'
,
'n'
,
'g'
,
'l'
,
'i'
,
's'
,
'h'
,
0
};
static
const
WCHAR
ustr_error
[]
=
{
'E'
,
'r'
,
'r'
,
'o'
,
'r'
,
0
};
static
const
WCHAR
ustr_facility
[]
=
{
'F'
,
'a'
,
'c'
,
'i'
,
'l'
,
'i'
,
't'
,
'y'
,
0
};
static
const
WCHAR
ustr_facilitynames
[]
=
{
'F'
,
'a'
,
'c'
,
'i'
,
'l'
,
'i'
,
't'
,
'y'
,
'N'
,
'a'
,
'm'
,
'e'
,
's'
,
0
};
static
const
WCHAR
ustr_informational
[]
=
{
'I'
,
'n'
,
'f'
,
'o'
,
'r'
,
'm'
,
'a'
,
't'
,
'i'
,
'o'
,
'n'
,
'a'
,
'l'
,
0
};
static
const
WCHAR
ustr_language
[]
=
{
'L'
,
'a'
,
'n'
,
'g'
,
'u'
,
'a'
,
'g'
,
'e'
,
0
};
static
const
WCHAR
ustr_languagenames
[]
=
{
'L'
,
'a'
,
'n'
,
'g'
,
'u'
,
'a'
,
'g'
,
'e'
,
'N'
,
'a'
,
'm'
,
'e'
,
's'
,
0
};
static
const
WCHAR
ustr_messageid
[]
=
{
'M'
,
'e'
,
's'
,
's'
,
'a'
,
'g'
,
'e'
,
'I'
,
'd'
,
0
};
static
const
WCHAR
ustr_messageidtypedef
[]
=
{
'M'
,
'e'
,
's'
,
's'
,
'a'
,
'g'
,
'e'
,
'I'
,
'd'
,
'T'
,
'y'
,
'p'
,
'e'
,
'd'
,
'e'
,
'f'
,
0
};
static
const
WCHAR
ustr_outputbase
[]
=
{
'O'
,
'u'
,
't'
,
'p'
,
'u'
,
't'
,
'B'
,
'a'
,
's'
,
'e'
,
0
};
static
const
WCHAR
ustr_severity
[]
=
{
'S'
,
'e'
,
'v'
,
'e'
,
'r'
,
'i'
,
't'
,
'y'
,
0
};
static
const
WCHAR
ustr_severitynames
[]
=
{
'S'
,
'e'
,
'v'
,
'e'
,
'r'
,
'i'
,
't'
,
'y'
,
'N'
,
'a'
,
'm'
,
'e'
,
's'
,
0
};
static
const
WCHAR
ustr_success
[]
=
{
'S'
,
'u'
,
'c'
,
'c'
,
'e'
,
's'
,
's'
,
0
};
static
const
WCHAR
ustr_symbolicname
[]
=
{
'S'
,
'y'
,
'm'
,
'b'
,
'o'
,
'l'
,
'i'
,
'c'
,
'N'
,
'a'
,
'm'
,
'e'
,
0
};
static
const
WCHAR
ustr_system
[]
=
{
'S'
,
'y'
,
's'
,
't'
,
'e'
,
'm'
,
0
};
static
const
WCHAR
ustr_warning
[]
=
{
'W'
,
'a'
,
'r'
,
'n'
,
'i'
,
'n'
,
'g'
,
0
};
static
const
WCHAR
ustr_msg00001
[]
=
{
'm'
,
's'
,
'g'
,
'0'
,
'0'
,
'0'
,
'0'
,
'1'
,
0
};
/*
* This table is to beat any form of "expression building" to check for
* correct filename characters. It is also used for ident checks.
...
...
tools/wrc/wrc.c
View file @
57a579ff
...
...
@@ -54,7 +54,7 @@
#define ENDIAN "little"
#endif
static
char
usage
[]
=
static
c
onst
c
har
usage
[]
=
"Usage: wrc [options...] [infile[.rc|.res]] [outfile]
\n
"
" -D id[=val] Define preprocessor identifier id=val
\n
"
" -E Preprocess only
\n
"
...
...
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