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
cbf19c30
Commit
cbf19c30
authored
Dec 28, 2008
by
Francois Gouget
Committed by
Alexandre Julliard
Dec 29, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
browseui/tests: Make some functions static.
parent
a9d3d0e9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
autocomplete.c
dlls/browseui/tests/autocomplete.c
+12
-12
No files found.
dlls/browseui/tests/autocomplete.c
View file @
cbf19c30
...
...
@@ -45,7 +45,7 @@
ok(FALSE, #exp " failed: %x\n", res); \
}
LPWSTR
strdup_AtoW
(
LPCSTR
str
)
static
LPWSTR
strdup_AtoW
(
LPCSTR
str
)
{
int
size
=
MultiByteToWideChar
(
CP_ACP
,
0
,
str
,
-
1
,
NULL
,
0
);
LPWSTR
wstr
=
(
LPWSTR
)
CoTaskMemAlloc
((
size
+
1
)
*
sizeof
(
WCHAR
));
...
...
@@ -86,14 +86,14 @@ static TestACL *TestACL_Constructor(int limit, const char **strings)
return
This
;
}
ULONG
STDMETHODCALLTYPE
TestACL_AddRef
(
IEnumString
*
iface
)
static
ULONG
STDMETHODCALLTYPE
TestACL_AddRef
(
IEnumString
*
iface
)
{
TestACL
*
This
=
(
TestACL
*
)
iface
;
trace
(
"ACL(%p): addref (%d)
\n
"
,
This
,
This
->
ref
+
1
);
return
InterlockedIncrement
(
&
This
->
ref
);
}
ULONG
STDMETHODCALLTYPE
TestACL_Release
(
IEnumString
*
iface
)
static
ULONG
STDMETHODCALLTYPE
TestACL_Release
(
IEnumString
*
iface
)
{
TestACL
*
This
=
(
TestACL
*
)
iface
;
ULONG
res
;
...
...
@@ -103,7 +103,7 @@ ULONG STDMETHODCALLTYPE TestACL_Release(IEnumString *iface)
return
res
;
}
HRESULT
STDMETHODCALLTYPE
TestACL_QueryInterface
(
IEnumString
*
iface
,
REFIID
iid
,
LPVOID
*
ppvOut
)
static
HRESULT
STDMETHODCALLTYPE
TestACL_QueryInterface
(
IEnumString
*
iface
,
REFIID
iid
,
LPVOID
*
ppvOut
)
{
TestACL
*
This
=
(
TestACL
*
)
iface
;
*
ppvOut
=
NULL
;
...
...
@@ -129,7 +129,7 @@ HRESULT STDMETHODCALLTYPE TestACL_QueryInterface(IEnumString *iface, REFIID iid,
return
E_NOINTERFACE
;
}
HRESULT
STDMETHODCALLTYPE
TestACL_Next
(
IEnumString
*
iface
,
ULONG
celt
,
LPOLESTR
*
rgelt
,
ULONG
*
pceltFetched
)
static
HRESULT
STDMETHODCALLTYPE
TestACL_Next
(
IEnumString
*
iface
,
ULONG
celt
,
LPOLESTR
*
rgelt
,
ULONG
*
pceltFetched
)
{
TestACL
*
This
=
(
TestACL
*
)
iface
;
ULONG
i
;
...
...
@@ -150,19 +150,19 @@ HRESULT STDMETHODCALLTYPE TestACL_Next(IEnumString *iface, ULONG celt, LPOLESTR
return
S_FALSE
;
}
HRESULT
STDMETHODCALLTYPE
TestACL_Skip
(
IEnumString
*
iface
,
ULONG
celt
)
static
HRESULT
STDMETHODCALLTYPE
TestACL_Skip
(
IEnumString
*
iface
,
ULONG
celt
)
{
ok
(
FALSE
,
"Unexpected call to TestACL_Skip
\n
"
);
return
E_NOTIMPL
;
}
HRESULT
STDMETHODCALLTYPE
TestACL_Clone
(
IEnumString
*
iface
,
IEnumString
**
out
)
static
HRESULT
STDMETHODCALLTYPE
TestACL_Clone
(
IEnumString
*
iface
,
IEnumString
**
out
)
{
ok
(
FALSE
,
"Unexpected call to TestACL_Clone
\n
"
);
return
E_OUTOFMEMORY
;
}
HRESULT
STDMETHODCALLTYPE
TestACL_Reset
(
IEnumString
*
iface
)
static
HRESULT
STDMETHODCALLTYPE
TestACL_Reset
(
IEnumString
*
iface
)
{
TestACL
*
This
=
(
TestACL
*
)
iface
;
trace
(
"ACL(%p): Reset
\n
"
,
This
);
...
...
@@ -170,7 +170,7 @@ HRESULT STDMETHODCALLTYPE TestACL_Reset(IEnumString *iface)
return
S_OK
;
}
HRESULT
STDMETHODCALLTYPE
TestACL_Expand
(
IACList
*
iface
,
LPCOLESTR
str
)
static
HRESULT
STDMETHODCALLTYPE
TestACL_Expand
(
IACList
*
iface
,
LPCOLESTR
str
)
{
TestACL
*
This
=
impl_from_IACList
(
iface
);
trace
(
"ACL(%p): Expand
\n
"
,
impl_from_IACList
(
iface
));
...
...
@@ -190,17 +190,17 @@ IEnumStringVtbl TestACLVtbl =
TestACL_Clone
};
ULONG
STDMETHODCALLTYPE
TestACL_ACList_AddRef
(
IACList
*
iface
)
static
ULONG
STDMETHODCALLTYPE
TestACL_ACList_AddRef
(
IACList
*
iface
)
{
return
TestACL_AddRef
((
IEnumString
*
)
impl_from_IACList
(
iface
));
}
ULONG
STDMETHODCALLTYPE
TestACL_ACList_Release
(
IACList
*
iface
)
static
ULONG
STDMETHODCALLTYPE
TestACL_ACList_Release
(
IACList
*
iface
)
{
return
TestACL_Release
((
IEnumString
*
)
impl_from_IACList
(
iface
));
}
HRESULT
STDMETHODCALLTYPE
TestACL_ACList_QueryInterface
(
IACList
*
iface
,
REFIID
iid
,
LPVOID
*
ppvout
)
static
HRESULT
STDMETHODCALLTYPE
TestACL_ACList_QueryInterface
(
IACList
*
iface
,
REFIID
iid
,
LPVOID
*
ppvout
)
{
return
TestACL_QueryInterface
((
IEnumString
*
)
impl_from_IACList
(
iface
),
iid
,
ppvout
);
}
...
...
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