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
bc8e70c0
Commit
bc8e70c0
authored
Oct 01, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32/tests: Make some variables static.
parent
be945636
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
14 deletions
+14
-14
clipboard.c
dlls/ole32/tests/clipboard.c
+3
-3
compobj.c
dlls/ole32/tests/compobj.c
+5
-5
marshal.c
dlls/ole32/tests/marshal.c
+3
-3
ole2.c
dlls/ole32/tests/ole2.c
+2
-2
propvariant.c
dlls/ole32/tests/propvariant.c
+1
-1
No files found.
dlls/ole32/tests/clipboard.c
View file @
bc8e70c0
...
...
@@ -387,9 +387,9 @@ static HRESULT DataObjectImpl_CreateText(LPCSTR text, LPDATAOBJECT *lplpdataobj)
return
S_OK
;
}
const
char
*
cmpl_stm_data
=
"complex stream"
;
const
char
*
cmpl_text_data
=
"complex text"
;
const
WCHAR
device_name
[]
=
{
'm'
,
'y'
,
'd'
,
'e'
,
'v'
,
0
};
static
const
char
*
cmpl_stm_data
=
"complex stream"
;
static
const
char
*
cmpl_text_data
=
"complex text"
;
static
const
WCHAR
device_name
[]
=
{
'm'
,
'y'
,
'd'
,
'e'
,
'v'
,
0
};
static
HRESULT
DataObjectImpl_CreateComplex
(
LPDATAOBJECT
*
lplpdataobj
)
{
...
...
dlls/ole32/tests/compobj.c
View file @
bc8e70c0
...
...
@@ -36,11 +36,11 @@
#include "wine/test.h"
/* functions that are not present on all versions of Windows */
HRESULT
(
WINAPI
*
pCoInitializeEx
)(
LPVOID
lpReserved
,
DWORD
dwCoInit
);
HRESULT
(
WINAPI
*
pCoGetObjectContext
)(
REFIID
riid
,
LPVOID
*
ppv
);
HRESULT
(
WINAPI
*
pCoSwitchCallContext
)(
IUnknown
*
pObject
,
IUnknown
**
ppOldObject
);
HRESULT
(
WINAPI
*
pCoGetTreatAsClass
)(
REFCLSID
clsidOld
,
LPCLSID
pClsidNew
);
HRESULT
(
WINAPI
*
pCoGetContextToken
)(
ULONG_PTR
*
token
);
static
HRESULT
(
WINAPI
*
pCoInitializeEx
)(
LPVOID
lpReserved
,
DWORD
dwCoInit
);
static
HRESULT
(
WINAPI
*
pCoGetObjectContext
)(
REFIID
riid
,
LPVOID
*
ppv
);
static
HRESULT
(
WINAPI
*
pCoSwitchCallContext
)(
IUnknown
*
pObject
,
IUnknown
**
ppOldObject
);
static
HRESULT
(
WINAPI
*
pCoGetTreatAsClass
)(
REFCLSID
clsidOld
,
LPCLSID
pClsidNew
);
static
HRESULT
(
WINAPI
*
pCoGetContextToken
)(
ULONG_PTR
*
token
);
#define ok_ole_success(hr, func) ok(hr == S_OK, func " failed with error 0x%08x\n", hr)
#define ok_more_than_one_lock() ok(cLocks > 0, "Number of locks should be > 0, but actually is %d\n", cLocks)
...
...
dlls/ole32/tests/marshal.c
View file @
bc8e70c0
...
...
@@ -38,7 +38,7 @@
DEFINE_GUID
(
CLSID_StdGlobalInterfaceTable
,
0x00000323
,
0x0000
,
0x0000
,
0xc0
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x46
);
/* functions that are not present on all versions of Windows */
HRESULT
(
WINAPI
*
pCoInitializeEx
)(
LPVOID
lpReserved
,
DWORD
dwCoInit
);
static
HRESULT
(
WINAPI
*
pCoInitializeEx
)(
LPVOID
lpReserved
,
DWORD
dwCoInit
);
/* helper macros to make tests a bit leaner */
#define ok_more_than_one_lock() ok(cLocks > 0, "Number of locks should be > 0, but actually is %d\n", cLocks)
...
...
@@ -1845,7 +1845,7 @@ static const IClassFactoryVtbl TestREClassFactory_Vtbl =
Test_IClassFactory_LockServer
};
IClassFactory
TestRE_ClassFactory
=
{
&
TestREClassFactory_Vtbl
};
static
IClassFactory
TestRE_ClassFactory
=
{
&
TestREClassFactory_Vtbl
};
static
LRESULT
CALLBACK
window_proc
(
HWND
hwnd
,
UINT
msg
,
WPARAM
wparam
,
LPARAM
lparam
)
{
...
...
@@ -2011,7 +2011,7 @@ static IClassFactoryVtbl TestMsgClassFactory_Vtbl =
Test_IClassFactory_LockServer
};
IClassFactory
TestMsg_ClassFactory
=
{
&
TestMsgClassFactory_Vtbl
};
static
IClassFactory
TestMsg_ClassFactory
=
{
&
TestMsgClassFactory_Vtbl
};
static
void
test_call_from_message
(
void
)
{
...
...
dlls/ole32/tests/ole2.c
View file @
bc8e70c0
...
...
@@ -55,8 +55,8 @@ struct expected_method
static
const
struct
expected_method
*
expected_method_list
;
static
FORMATETC
*
g_expected_fetc
=
NULL
;
BOOL
g_showRunnable
=
TRUE
;
BOOL
g_isRunning
=
TRUE
;
static
BOOL
g_showRunnable
=
TRUE
;
static
BOOL
g_isRunning
=
TRUE
;
#define CHECK_EXPECTED_METHOD(method_name) \
do { \
...
...
dlls/ole32/tests/propvariant.c
View file @
bc8e70c0
...
...
@@ -32,7 +32,7 @@
#define PROP_V1A 2
#define PROP_TODO 0x80
struct
valid_mapping
st
atic
const
st
ruct
valid_mapping
{
BYTE
simple
;
BYTE
with_array
;
...
...
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