Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
5f88f362
Commit
5f88f362
authored
Dec 20, 2011
by
Francois Gouget
Committed by
Alexandre Julliard
Dec 20, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dlls: Standardize on 'static const WCHAR' for our Unicode string literals.
Do the same for the corresponding Ansi strings.
parent
1026bddf
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
53 additions
and
53 deletions
+53
-53
samplegrabber.c
dlls/qedit/samplegrabber.c
+3
-3
filesource.c
dlls/quartz/filesource.c
+2
-2
regsvr.c
dlls/quartz/regsvr.c
+17
-17
dllfunc.c
dlls/strmbase/dllfunc.c
+4
-4
info.c
dlls/windowscodecs/info.c
+4
-4
regsvr.c
dlls/windowscodecs/regsvr.c
+23
-23
No files found.
dlls/qedit/samplegrabber.c
View file @
5f88f362
...
...
@@ -32,9 +32,9 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
qedit
);
static
WCHAR
const
vendor_name
[]
=
{
'W'
,
'i'
,
'n'
,
'e'
,
0
};
static
WCHAR
const
pin_in_name
[]
=
{
'I'
,
'n'
,
0
};
static
WCHAR
const
pin_out_name
[]
=
{
'O'
,
'u'
,
't'
,
0
};
static
const
WCHAR
vendor_name
[]
=
{
'W'
,
'i'
,
'n'
,
'e'
,
0
};
static
const
WCHAR
pin_in_name
[]
=
{
'I'
,
'n'
,
0
};
static
const
WCHAR
pin_out_name
[]
=
{
'O'
,
'u'
,
't'
,
0
};
static
IEnumPins
*
pinsenum_create
(
IBaseFilter
*
filter
,
IPin
**
pins
,
ULONG
pinCount
);
static
IEnumMediaTypes
*
mediaenum_create
(
const
AM_MEDIA_TYPE
*
mtype
);
...
...
dlls/quartz/filesource.c
View file @
5f88f362
...
...
@@ -60,9 +60,9 @@ static inline AsyncReader *impl_from_IFileSourceFilter( IFileSourceFilter *iface
return
(
AsyncReader
*
)((
char
*
)
iface
-
FIELD_OFFSET
(
AsyncReader
,
lpVtblFSF
));
}
static
WCHAR
const
mediatype_name
[]
=
{
static
const
WCHAR
mediatype_name
[]
=
{
'M'
,
'e'
,
'd'
,
'i'
,
'a'
,
' '
,
'T'
,
'y'
,
'p'
,
'e'
,
0
};
static
WCHAR
const
subtype_name
[]
=
{
static
const
WCHAR
subtype_name
[]
=
{
'S'
,
'u'
,
'b'
,
't'
,
'y'
,
'p'
,
'e'
,
0
};
static
HRESULT
process_extensions
(
HKEY
hkeyExtensions
,
LPCOLESTR
pszFileName
,
GUID
*
majorType
,
GUID
*
minorType
)
...
...
dlls/quartz/regsvr.c
View file @
5f88f362
...
...
@@ -124,43 +124,43 @@ static HRESULT unregister_filters(struct regsvr_filter const *list);
/***********************************************************************
* static string constants
*/
static
WCHAR
const
interface_keyname
[]
=
{
static
const
WCHAR
interface_keyname
[]
=
{
'I'
,
'n'
,
't'
,
'e'
,
'r'
,
'f'
,
'a'
,
'c'
,
'e'
,
0
};
static
WCHAR
const
base_ifa_keyname
[]
=
{
static
const
WCHAR
base_ifa_keyname
[]
=
{
'B'
,
'a'
,
's'
,
'e'
,
'I'
,
'n'
,
't'
,
'e'
,
'r'
,
'f'
,
'a'
,
'c'
,
'e'
,
0
};
static
WCHAR
const
num_methods_keyname
[]
=
{
static
const
WCHAR
num_methods_keyname
[]
=
{
'N'
,
'u'
,
'm'
,
'M'
,
'e'
,
't'
,
'h'
,
'o'
,
'd'
,
's'
,
0
};
static
WCHAR
const
ps_clsid_keyname
[]
=
{
static
const
WCHAR
ps_clsid_keyname
[]
=
{
'P'
,
'r'
,
'o'
,
'x'
,
'y'
,
'S'
,
't'
,
'u'
,
'b'
,
'C'
,
'l'
,
's'
,
'i'
,
'd'
,
0
};
static
WCHAR
const
ps_clsid32_keyname
[]
=
{
static
const
WCHAR
ps_clsid32_keyname
[]
=
{
'P'
,
'r'
,
'o'
,
'x'
,
'y'
,
'S'
,
't'
,
'u'
,
'b'
,
'C'
,
'l'
,
's'
,
'i'
,
'd'
,
'3'
,
'2'
,
0
};
static
WCHAR
const
clsid_keyname
[]
=
{
static
const
WCHAR
clsid_keyname
[]
=
{
'C'
,
'L'
,
'S'
,
'I'
,
'D'
,
0
};
static
WCHAR
const
curver_keyname
[]
=
{
static
const
WCHAR
curver_keyname
[]
=
{
'C'
,
'u'
,
'r'
,
'V'
,
'e'
,
'r'
,
0
};
static
WCHAR
const
ips_keyname
[]
=
{
static
const
WCHAR
ips_keyname
[]
=
{
'I'
,
'n'
,
'P'
,
'r'
,
'o'
,
'c'
,
'S'
,
'e'
,
'r'
,
'v'
,
'e'
,
'r'
,
0
};
static
WCHAR
const
ips32_keyname
[]
=
{
static
const
WCHAR
ips32_keyname
[]
=
{
'I'
,
'n'
,
'P'
,
'r'
,
'o'
,
'c'
,
'S'
,
'e'
,
'r'
,
'v'
,
'e'
,
'r'
,
'3'
,
'2'
,
0
};
static
WCHAR
const
progid_keyname
[]
=
{
static
const
WCHAR
progid_keyname
[]
=
{
'P'
,
'r'
,
'o'
,
'g'
,
'I'
,
'D'
,
0
};
static
WCHAR
const
viprogid_keyname
[]
=
{
static
const
WCHAR
viprogid_keyname
[]
=
{
'V'
,
'e'
,
'r'
,
's'
,
'i'
,
'o'
,
'n'
,
'I'
,
'n'
,
'd'
,
'e'
,
'p'
,
'e'
,
'n'
,
'd'
,
'e'
,
'n'
,
't'
,
'P'
,
'r'
,
'o'
,
'g'
,
'I'
,
'D'
,
0
};
static
c
har
const
tmodel_valuename
[]
=
"ThreadingModel"
;
static
WCHAR
const
mediatype_name
[]
=
{
static
c
onst
char
tmodel_valuename
[]
=
"ThreadingModel"
;
static
const
WCHAR
mediatype_name
[]
=
{
'M'
,
'e'
,
'd'
,
'i'
,
'a'
,
' '
,
'T'
,
'y'
,
'p'
,
'e'
,
0
};
static
WCHAR
const
subtype_valuename
[]
=
{
static
const
WCHAR
subtype_valuename
[]
=
{
'S'
,
'u'
,
'b'
,
't'
,
'y'
,
'p'
,
'e'
,
0
};
static
WCHAR
const
sourcefilter_valuename
[]
=
{
static
const
WCHAR
sourcefilter_valuename
[]
=
{
'S'
,
'o'
,
'u'
,
'r'
,
'c'
,
'e'
,
' '
,
'F'
,
'i'
,
'l'
,
't'
,
'e'
,
'r'
,
0
};
static
WCHAR
const
extensions_keyname
[]
=
{
static
const
WCHAR
extensions_keyname
[]
=
{
'E'
,
'x'
,
't'
,
'e'
,
'n'
,
's'
,
'i'
,
'o'
,
'n'
,
's'
,
0
};
/***********************************************************************
...
...
@@ -209,7 +209,7 @@ static HRESULT register_interfaces(struct regsvr_interface const *list)
}
if
(
0
<=
list
->
num_methods
)
{
static
WCHAR
const
fmt
[]
=
{
'%'
,
'd'
,
0
};
static
const
WCHAR
fmt
[]
=
{
'%'
,
'd'
,
0
};
HKEY
key
;
res
=
RegCreateKeyExW
(
iid_key
,
num_methods_keyname
,
0
,
NULL
,
0
,
...
...
dlls/strmbase/dllfunc.c
View file @
5f88f362
...
...
@@ -53,10 +53,10 @@ static LONG server_locks = 0;
*/
#define MAX_KEY_LEN 260
static
WCHAR
const
clsid_keyname
[]
=
{
'C'
,
'L'
,
'S'
,
'I'
,
'D'
,
0
};
static
WCHAR
const
ips32_keyname
[]
=
{
'I'
,
'n'
,
'P'
,
'r'
,
'o'
,
'c'
,
'S'
,
'e'
,
'r'
,
'v'
,
'e'
,
'r'
,
'3'
,
'2'
,
0
};
static
WCHAR
const
tmodel_keyname
[]
=
{
'T'
,
'h'
,
'r'
,
'e'
,
'a'
,
'd'
,
'i'
,
'n'
,
'g'
,
'M'
,
'o'
,
'd'
,
'e'
,
'l'
,
0
};
static
WCHAR
const
tmodel_both
[]
=
{
'B'
,
'o'
,
't'
,
'h'
,
0
};
static
const
WCHAR
clsid_keyname
[]
=
{
'C'
,
'L'
,
'S'
,
'I'
,
'D'
,
0
};
static
const
WCHAR
ips32_keyname
[]
=
{
'I'
,
'n'
,
'P'
,
'r'
,
'o'
,
'c'
,
'S'
,
'e'
,
'r'
,
'v'
,
'e'
,
'r'
,
'3'
,
'2'
,
0
};
static
const
WCHAR
tmodel_keyname
[]
=
{
'T'
,
'h'
,
'r'
,
'e'
,
'a'
,
'd'
,
'i'
,
'n'
,
'g'
,
'M'
,
'o'
,
'd'
,
'e'
,
'l'
,
0
};
static
const
WCHAR
tmodel_both
[]
=
{
'B'
,
'o'
,
't'
,
'h'
,
0
};
/*
* SetupRegisterClass()
...
...
dlls/windowscodecs/info.c
View file @
5f88f362
...
...
@@ -36,8 +36,8 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
wincodecs
);
static
WCHAR
const
mimetypes_valuename
[]
=
{
'M'
,
'i'
,
'm'
,
'e'
,
'T'
,
'y'
,
'p'
,
'e'
,
's'
,
0
};
static
WCHAR
const
pixelformats_keyname
[]
=
{
'P'
,
'i'
,
'x'
,
'e'
,
'l'
,
'F'
,
'o'
,
'r'
,
'm'
,
'a'
,
't'
,
's'
,
0
};
static
const
WCHAR
mimetypes_valuename
[]
=
{
'M'
,
'i'
,
'm'
,
'e'
,
'T'
,
'y'
,
'p'
,
'e'
,
's'
,
0
};
static
const
WCHAR
pixelformats_keyname
[]
=
{
'P'
,
'i'
,
'x'
,
'e'
,
'l'
,
'F'
,
'o'
,
'r'
,
'm'
,
'a'
,
't'
,
's'
,
0
};
static
HRESULT
ComponentInfo_GetStringValue
(
HKEY
classkey
,
LPCWSTR
value
,
UINT
buffer_size
,
WCHAR
*
buffer
,
UINT
*
actual_size
)
...
...
@@ -975,8 +975,8 @@ static HRESULT FormatConverterInfo_Constructor(HKEY classkey, REFCLSID clsid, IW
return
S_OK
;
}
static
WCHAR
const
clsid_keyname
[]
=
{
'C'
,
'L'
,
'S'
,
'I'
,
'D'
,
0
};
static
WCHAR
const
instance_keyname
[]
=
{
'I'
,
'n'
,
's'
,
't'
,
'a'
,
'n'
,
'c'
,
'e'
,
0
};
static
const
WCHAR
clsid_keyname
[]
=
{
'C'
,
'L'
,
'S'
,
'I'
,
'D'
,
0
};
static
const
WCHAR
instance_keyname
[]
=
{
'I'
,
'n'
,
's'
,
't'
,
'a'
,
'n'
,
'c'
,
'e'
,
0
};
struct
category
{
WICComponentType
type
;
...
...
dlls/windowscodecs/regsvr.c
View file @
5f88f362
...
...
@@ -99,39 +99,39 @@ static HRESULT unregister_converters(struct regsvr_converter const *list);
/***********************************************************************
* static string constants
*/
static
WCHAR
const
clsid_keyname
[]
=
{
static
const
WCHAR
clsid_keyname
[]
=
{
'C'
,
'L'
,
'S'
,
'I'
,
'D'
,
0
};
static
WCHAR
const
curver_keyname
[]
=
{
static
const
WCHAR
curver_keyname
[]
=
{
'C'
,
'u'
,
'r'
,
'V'
,
'e'
,
'r'
,
0
};
static
WCHAR
const
ips_keyname
[]
=
{
static
const
WCHAR
ips_keyname
[]
=
{
'I'
,
'n'
,
'P'
,
'r'
,
'o'
,
'c'
,
'S'
,
'e'
,
'r'
,
'v'
,
'e'
,
'r'
,
0
};
static
WCHAR
const
ips32_keyname
[]
=
{
static
const
WCHAR
ips32_keyname
[]
=
{
'I'
,
'n'
,
'P'
,
'r'
,
'o'
,
'c'
,
'S'
,
'e'
,
'r'
,
'v'
,
'e'
,
'r'
,
'3'
,
'2'
,
0
};
static
WCHAR
const
progid_keyname
[]
=
{
static
const
WCHAR
progid_keyname
[]
=
{
'P'
,
'r'
,
'o'
,
'g'
,
'I'
,
'D'
,
0
};
static
WCHAR
const
viprogid_keyname
[]
=
{
static
const
WCHAR
viprogid_keyname
[]
=
{
'V'
,
'e'
,
'r'
,
's'
,
'i'
,
'o'
,
'n'
,
'I'
,
'n'
,
'd'
,
'e'
,
'p'
,
'e'
,
'n'
,
'd'
,
'e'
,
'n'
,
't'
,
'P'
,
'r'
,
'o'
,
'g'
,
'I'
,
'D'
,
0
};
static
c
har
const
tmodel_valuename
[]
=
"ThreadingModel"
;
static
c
har
const
author_valuename
[]
=
"Author"
;
static
c
har
const
friendlyname_valuename
[]
=
"FriendlyName"
;
static
WCHAR
const
vendor_valuename
[]
=
{
'V'
,
'e'
,
'n'
,
'd'
,
'o'
,
'r'
,
0
};
static
c
har
const
version_valuename
[]
=
"Version"
;
static
c
har
const
mimetypes_valuename
[]
=
"MimeTypes"
;
static
c
har
const
extensions_valuename
[]
=
"FileExtensions"
;
static
WCHAR
const
formats_keyname
[]
=
{
'F'
,
'o'
,
'r'
,
'm'
,
'a'
,
't'
,
's'
,
0
};
static
WCHAR
const
patterns_keyname
[]
=
{
'P'
,
'a'
,
't'
,
't'
,
'e'
,
'r'
,
'n'
,
's'
,
0
};
static
WCHAR
const
instance_keyname
[]
=
{
'I'
,
'n'
,
's'
,
't'
,
'a'
,
'n'
,
'c'
,
'e'
,
0
};
static
WCHAR
const
clsid_valuename
[]
=
{
'C'
,
'L'
,
'S'
,
'I'
,
'D'
,
0
};
static
c
har
const
length_valuename
[]
=
"Length"
;
static
c
har
const
position_valuename
[]
=
"Position"
;
static
c
har
const
pattern_valuename
[]
=
"Pattern"
;
static
c
har
const
mask_valuename
[]
=
"Mask"
;
static
c
har
const
endofstream_valuename
[]
=
"EndOfStream"
;
static
WCHAR
const
pixelformats_keyname
[]
=
{
'P'
,
'i'
,
'x'
,
'e'
,
'l'
,
'F'
,
'o'
,
'r'
,
'm'
,
'a'
,
't'
,
's'
,
0
};
static
c
onst
char
tmodel_valuename
[]
=
"ThreadingModel"
;
static
c
onst
char
author_valuename
[]
=
"Author"
;
static
c
onst
char
friendlyname_valuename
[]
=
"FriendlyName"
;
static
const
WCHAR
vendor_valuename
[]
=
{
'V'
,
'e'
,
'n'
,
'd'
,
'o'
,
'r'
,
0
};
static
c
onst
char
version_valuename
[]
=
"Version"
;
static
c
onst
char
mimetypes_valuename
[]
=
"MimeTypes"
;
static
c
onst
char
extensions_valuename
[]
=
"FileExtensions"
;
static
const
WCHAR
formats_keyname
[]
=
{
'F'
,
'o'
,
'r'
,
'm'
,
'a'
,
't'
,
's'
,
0
};
static
const
WCHAR
patterns_keyname
[]
=
{
'P'
,
'a'
,
't'
,
't'
,
'e'
,
'r'
,
'n'
,
's'
,
0
};
static
const
WCHAR
instance_keyname
[]
=
{
'I'
,
'n'
,
's'
,
't'
,
'a'
,
'n'
,
'c'
,
'e'
,
0
};
static
const
WCHAR
clsid_valuename
[]
=
{
'C'
,
'L'
,
'S'
,
'I'
,
'D'
,
0
};
static
c
onst
char
length_valuename
[]
=
"Length"
;
static
c
onst
char
position_valuename
[]
=
"Position"
;
static
c
onst
char
pattern_valuename
[]
=
"Pattern"
;
static
c
onst
char
mask_valuename
[]
=
"Mask"
;
static
c
onst
char
endofstream_valuename
[]
=
"EndOfStream"
;
static
const
WCHAR
pixelformats_keyname
[]
=
{
'P'
,
'i'
,
'x'
,
'e'
,
'l'
,
'F'
,
'o'
,
'r'
,
'm'
,
'a'
,
't'
,
's'
,
0
};
/***********************************************************************
* register_decoders
...
...
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