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
ae2693e2
Commit
ae2693e2
authored
Jan 27, 2022
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Use long type by default in GUID definition.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
b89eaba0
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
30 additions
and
30 deletions
+30
-30
parsing.c
dlls/d3dxof/parsing.c
+1
-1
marshal.c
dlls/dispex/tests/marshal.c
+1
-1
iphlpapi.c
dlls/iphlpapi/tests/iphlpapi.c
+1
-1
dbus.c
dlls/mountmgr.sys/dbus.c
+1
-1
storage32.c
dlls/ole32/storage32.c
+1
-1
compobj.c
dlls/ole32/tests/compobj.c
+9
-9
typelib.c
dlls/oleaut32/tests/typelib.c
+7
-7
misc.c
dlls/urlmon/tests/misc.c
+4
-4
sysparams.c
dlls/win32u/sysparams.c
+1
-1
guiddef.h
include/guiddef.h
+1
-1
memory.c
programs/winedbg/memory.c
+1
-1
dump.c
tools/winedump/dump.c
+1
-1
tlb.c
tools/winedump/tlb.c
+1
-1
No files found.
dlls/d3dxof/parsing.c
View file @
ae2693e2
...
@@ -79,7 +79,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(d3dxof_parsing);
...
@@ -79,7 +79,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(d3dxof_parsing);
#define TOKEN_CSTRING 51
#define TOKEN_CSTRING 51
#define TOKEN_ARRAY 52
#define TOKEN_ARRAY 52
#define CLSIDFMT "<%08X-%04X-%04X-%02X%02X-%02X%02X%02X%02X%02X%02X>"
#define CLSIDFMT "<%08
l
X-%04X-%04X-%02X%02X-%02X%02X%02X%02X%02X%02X>"
/* FOURCC to string conversion for debug messages */
/* FOURCC to string conversion for debug messages */
static
const
char
*
debugstr_fourcc
(
DWORD
fourcc
)
static
const
char
*
debugstr_fourcc
(
DWORD
fourcc
)
...
...
dlls/dispex/tests/marshal.c
View file @
ae2693e2
...
@@ -152,7 +152,7 @@ static inline dispex *impl_from_IDispatchEx(IDispatchEx *iface)
...
@@ -152,7 +152,7 @@ static inline dispex *impl_from_IDispatchEx(IDispatchEx *iface)
static
HRESULT
WINAPI
dispex_QueryInterface
(
IDispatchEx
*
iface
,
static
HRESULT
WINAPI
dispex_QueryInterface
(
IDispatchEx
*
iface
,
REFIID
iid
,
void
**
obj
)
REFIID
iid
,
void
**
obj
)
{
{
trace
(
"QI
{%08x-...}
\n
"
,
iid
->
Data1
);
trace
(
"QI
%s
\n
"
,
debugstr_guid
(
iid
)
);
if
(
IsEqualIID
(
iid
,
&
IID_IUnknown
)
||
if
(
IsEqualIID
(
iid
,
&
IID_IUnknown
)
||
IsEqualIID
(
iid
,
&
IID_IDispatchEx
))
IsEqualIID
(
iid
,
&
IID_IDispatchEx
))
{
{
...
...
dlls/iphlpapi/tests/iphlpapi.c
View file @
ae2693e2
...
@@ -2017,7 +2017,7 @@ static void test_interface_identifier_conversion(void)
...
@@ -2017,7 +2017,7 @@ static void test_interface_identifier_conversion(void)
memset
(
&
guid
,
0xff
,
sizeof
(
guid
)
);
memset
(
&
guid
,
0xff
,
sizeof
(
guid
)
);
ret
=
ConvertInterfaceLuidToGuid
(
NULL
,
&
guid
);
ret
=
ConvertInterfaceLuidToGuid
(
NULL
,
&
guid
);
ok
(
ret
==
ERROR_INVALID_PARAMETER
,
"got %u
\n
"
,
ret
);
ok
(
ret
==
ERROR_INVALID_PARAMETER
,
"got %u
\n
"
,
ret
);
ok
(
guid
.
Data1
==
0xffffffff
,
"got %
x
\n
"
,
guid
.
Data1
);
ok
(
guid
.
Data1
==
0xffffffff
,
"got %
s
\n
"
,
debugstr_guid
(
&
guid
)
);
ret
=
ConvertInterfaceLuidToGuid
(
&
luid
,
NULL
);
ret
=
ConvertInterfaceLuidToGuid
(
&
luid
,
NULL
);
ok
(
ret
==
ERROR_INVALID_PARAMETER
,
"got %u
\n
"
,
ret
);
ok
(
ret
==
ERROR_INVALID_PARAMETER
,
"got %u
\n
"
,
ret
);
...
...
dlls/mountmgr.sys/dbus.c
View file @
ae2693e2
...
@@ -97,7 +97,7 @@ static GUID *parse_uuid( GUID *guid, const char *str )
...
@@ -97,7 +97,7 @@ static GUID *parse_uuid( GUID *guid, const char *str )
int
i
;
int
i
;
unsigned
char
*
out
=
guid
->
Data4
;
unsigned
char
*
out
=
guid
->
Data4
;
if
(
sscanf
(
str
,
"%x-%hx-%hx-"
,
&
guid
->
Data1
,
&
guid
->
Data2
,
&
guid
->
Data3
)
!=
3
)
return
NULL
;
if
(
sscanf
(
str
,
"%x-%hx-%hx-"
,
(
int
*
)
&
guid
->
Data1
,
&
guid
->
Data2
,
&
guid
->
Data3
)
!=
3
)
return
NULL
;
for
(
i
=
19
;
i
<
36
;
i
++
)
for
(
i
=
19
;
i
<
36
;
i
++
)
{
{
unsigned
char
val
;
unsigned
char
val
;
...
...
dlls/ole32/storage32.c
View file @
ae2693e2
...
@@ -6971,7 +6971,7 @@ void StorageUtl_WriteULargeInteger(void *buffer, ULONG offset, const ULARGE_INTE
...
@@ -6971,7 +6971,7 @@ void StorageUtl_WriteULargeInteger(void *buffer, ULONG offset, const ULARGE_INTE
void
StorageUtl_ReadGUID
(
const
BYTE
*
buffer
,
ULONG
offset
,
GUID
*
value
)
void
StorageUtl_ReadGUID
(
const
BYTE
*
buffer
,
ULONG
offset
,
GUID
*
value
)
{
{
StorageUtl_ReadDWord
(
buffer
,
offset
,
&
(
value
->
Data1
)
);
StorageUtl_ReadDWord
(
buffer
,
offset
,
(
DWORD
*
)
&
value
->
Data1
);
StorageUtl_ReadWord
(
buffer
,
offset
+
4
,
&
(
value
->
Data2
));
StorageUtl_ReadWord
(
buffer
,
offset
+
4
,
&
(
value
->
Data2
));
StorageUtl_ReadWord
(
buffer
,
offset
+
6
,
&
(
value
->
Data3
));
StorageUtl_ReadWord
(
buffer
,
offset
+
6
,
&
(
value
->
Data3
));
...
...
dlls/ole32/tests/compobj.c
View file @
ae2693e2
...
@@ -552,21 +552,21 @@ static void test_CLSIDFromString(void)
...
@@ -552,21 +552,21 @@ static void test_CLSIDFromString(void)
memset
(
&
clsid
,
0xcc
,
sizeof
(
CLSID
));
memset
(
&
clsid
,
0xcc
,
sizeof
(
CLSID
));
hr
=
CLSIDFromString
(
wszCLSID_Broken
,
&
clsid
);
hr
=
CLSIDFromString
(
wszCLSID_Broken
,
&
clsid
);
ok
(
hr
==
CO_E_CLASSSTRING
,
"Got %08x
\n
"
,
hr
);
ok
(
hr
==
CO_E_CLASSSTRING
,
"Got %08x
\n
"
,
hr
);
ok
(
clsid
.
Data1
==
CLSID_StdFont
.
Data1
,
"Got %
08x
\n
"
,
clsid
.
Data1
);
ok
(
clsid
.
Data1
==
CLSID_StdFont
.
Data1
,
"Got %
s
\n
"
,
debugstr_guid
(
&
clsid
)
);
ok
(
clsid
.
Data2
==
0xcccc
,
"Got %04x
\n
"
,
clsid
.
Data2
);
ok
(
clsid
.
Data2
==
0xcccc
,
"Got %04x
\n
"
,
clsid
.
Data2
);
wszCLSID_Broken
[
3
]
=
'*'
;
wszCLSID_Broken
[
3
]
=
'*'
;
memset
(
&
clsid
,
0xcc
,
sizeof
(
CLSID
));
memset
(
&
clsid
,
0xcc
,
sizeof
(
CLSID
));
hr
=
CLSIDFromString
(
wszCLSID_Broken
,
&
clsid
);
hr
=
CLSIDFromString
(
wszCLSID_Broken
,
&
clsid
);
ok
(
hr
==
CO_E_CLASSSTRING
,
"Got %08x
\n
"
,
hr
);
ok
(
hr
==
CO_E_CLASSSTRING
,
"Got %08x
\n
"
,
hr
);
ok
(
clsid
.
Data1
==
0xb
,
"Got %
08x
\n
"
,
clsid
.
Data1
);
ok
(
clsid
.
Data1
==
0xb
,
"Got %
s
\n
"
,
debugstr_guid
(
&
clsid
)
);
ok
(
clsid
.
Data2
==
0xcccc
,
"Got %04x
\n
"
,
clsid
.
Data2
);
ok
(
clsid
.
Data2
==
0xcccc
,
"Got %04x
\n
"
,
clsid
.
Data2
);
wszCLSID_Broken
[
3
]
=
'\0'
;
wszCLSID_Broken
[
3
]
=
'\0'
;
memset
(
&
clsid
,
0xcc
,
sizeof
(
CLSID
));
memset
(
&
clsid
,
0xcc
,
sizeof
(
CLSID
));
hr
=
CLSIDFromString
(
wszCLSID_Broken
,
&
clsid
);
hr
=
CLSIDFromString
(
wszCLSID_Broken
,
&
clsid
);
ok
(
hr
==
CO_E_CLASSSTRING
,
"Got %08x
\n
"
,
hr
);
ok
(
hr
==
CO_E_CLASSSTRING
,
"Got %08x
\n
"
,
hr
);
ok
(
clsid
.
Data1
==
0xb
,
"Got %
08x
\n
"
,
clsid
.
Data1
);
ok
(
clsid
.
Data1
==
0xb
,
"Got %
s
\n
"
,
debugstr_guid
(
&
clsid
)
);
ok
(
clsid
.
Data2
==
0xcccc
,
"Got %04x
\n
"
,
clsid
.
Data2
);
ok
(
clsid
.
Data2
==
0xcccc
,
"Got %04x
\n
"
,
clsid
.
Data2
);
}
}
...
@@ -600,36 +600,36 @@ static void test_IIDFromString(void)
...
@@ -600,36 +600,36 @@ static void test_IIDFromString(void)
memset
(
&
iid
,
0xab
,
sizeof
(
iid
));
memset
(
&
iid
,
0xab
,
sizeof
(
iid
));
hr
=
IIDFromString
(
cf_brokenW
,
&
iid
);
hr
=
IIDFromString
(
cf_brokenW
,
&
iid
);
ok
(
hr
==
E_INVALIDARG
,
"got 0x%08x
\n
"
,
hr
);
ok
(
hr
==
E_INVALIDARG
,
"got 0x%08x
\n
"
,
hr
);
ok
(
iid
.
Data1
==
0xabababab
,
"Got %
08x
\n
"
,
iid
.
Data1
);
ok
(
iid
.
Data1
==
0xabababab
,
"Got %
s
\n
"
,
debugstr_guid
(
&
iid
)
);
/* invalid IID in a valid format */
/* invalid IID in a valid format */
memset
(
&
iid
,
0xab
,
sizeof
(
iid
));
memset
(
&
iid
,
0xab
,
sizeof
(
iid
));
hr
=
IIDFromString
(
brokenW
,
&
iid
);
hr
=
IIDFromString
(
brokenW
,
&
iid
);
ok
(
hr
==
CO_E_IIDSTRING
,
"got 0x%08x
\n
"
,
hr
);
ok
(
hr
==
CO_E_IIDSTRING
,
"got 0x%08x
\n
"
,
hr
);
ok
(
iid
.
Data1
==
0x00000001
,
"Got %
08x
\n
"
,
iid
.
Data1
);
ok
(
iid
.
Data1
==
0x00000001
,
"Got %
s
\n
"
,
debugstr_guid
(
&
iid
)
);
memset
(
&
iid
,
0xab
,
sizeof
(
iid
));
memset
(
&
iid
,
0xab
,
sizeof
(
iid
));
hr
=
IIDFromString
(
broken2W
,
&
iid
);
hr
=
IIDFromString
(
broken2W
,
&
iid
);
ok
(
hr
==
CO_E_IIDSTRING
,
"got 0x%08x
\n
"
,
hr
);
ok
(
hr
==
CO_E_IIDSTRING
,
"got 0x%08x
\n
"
,
hr
);
ok
(
iid
.
Data1
==
0x00000001
,
"Got %
08x
\n
"
,
iid
.
Data1
);
ok
(
iid
.
Data1
==
0x00000001
,
"Got %
s
\n
"
,
debugstr_guid
(
&
iid
)
);
/* format is broken, but string length is okay */
/* format is broken, but string length is okay */
memset
(
&
iid
,
0xab
,
sizeof
(
iid
));
memset
(
&
iid
,
0xab
,
sizeof
(
iid
));
hr
=
IIDFromString
(
broken3W
,
&
iid
);
hr
=
IIDFromString
(
broken3W
,
&
iid
);
ok
(
hr
==
CO_E_IIDSTRING
,
"got 0x%08x
\n
"
,
hr
);
ok
(
hr
==
CO_E_IIDSTRING
,
"got 0x%08x
\n
"
,
hr
);
ok
(
iid
.
Data1
==
0xabababab
,
"Got %
08x
\n
"
,
iid
.
Data1
);
ok
(
iid
.
Data1
==
0xabababab
,
"Got %
s
\n
"
,
debugstr_guid
(
&
iid
)
);
/* invalid string */
/* invalid string */
memset
(
&
iid
,
0xab
,
sizeof
(
iid
));
memset
(
&
iid
,
0xab
,
sizeof
(
iid
));
hr
=
IIDFromString
(
wszNonExistent
,
&
iid
);
hr
=
IIDFromString
(
wszNonExistent
,
&
iid
);
ok
(
hr
==
E_INVALIDARG
,
"got 0x%08x
\n
"
,
hr
);
ok
(
hr
==
E_INVALIDARG
,
"got 0x%08x
\n
"
,
hr
);
ok
(
iid
.
Data1
==
0xabababab
,
"Got %
08x
\n
"
,
iid
.
Data1
);
ok
(
iid
.
Data1
==
0xabababab
,
"Got %
s
\n
"
,
debugstr_guid
(
&
iid
)
);
/* valid ProgID */
/* valid ProgID */
memset
(
&
iid
,
0xab
,
sizeof
(
iid
));
memset
(
&
iid
,
0xab
,
sizeof
(
iid
));
hr
=
IIDFromString
(
stdfont
,
&
iid
);
hr
=
IIDFromString
(
stdfont
,
&
iid
);
ok
(
hr
==
E_INVALIDARG
,
"got 0x%08x
\n
"
,
hr
);
ok
(
hr
==
E_INVALIDARG
,
"got 0x%08x
\n
"
,
hr
);
ok
(
iid
.
Data1
==
0xabababab
,
"Got %
08x
\n
"
,
iid
.
Data1
);
ok
(
iid
.
Data1
==
0xabababab
,
"Got %
s
\n
"
,
debugstr_guid
(
&
iid
)
);
}
}
static
void
test_StringFromGUID2
(
void
)
static
void
test_StringFromGUID2
(
void
)
...
...
dlls/oleaut32/tests/typelib.c
View file @
ae2693e2
...
@@ -694,7 +694,7 @@ static void test_CreateDispTypeInfo(void)
...
@@ -694,7 +694,7 @@ static void test_CreateDispTypeInfo(void)
ok
(
hr
==
S_OK
,
"hr %08x
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"hr %08x
\n
"
,
hr
);
ok
(
pTypeAttr
->
typekind
==
TKIND_INTERFACE
,
"typekind %0x
\n
"
,
pTypeAttr
->
typekind
);
ok
(
pTypeAttr
->
typekind
==
TKIND_INTERFACE
,
"typekind %0x
\n
"
,
pTypeAttr
->
typekind
);
ok
(
pTypeAttr
->
cFuncs
==
4
,
"cFuncs %d
\n
"
,
pTypeAttr
->
cFuncs
);
ok
(
pTypeAttr
->
cFuncs
==
4
,
"cFuncs %d
\n
"
,
pTypeAttr
->
cFuncs
);
ok
(
IsEqualGUID
(
&
pTypeAttr
->
guid
,
&
GUID_NULL
),
"guid
{%08x-...}
\n
"
,
pTypeAttr
->
guid
.
Data1
);
ok
(
IsEqualGUID
(
&
pTypeAttr
->
guid
,
&
GUID_NULL
),
"guid
%s
\n
"
,
debugstr_guid
(
&
pTypeAttr
->
guid
)
);
ok
(
pTypeAttr
->
wTypeFlags
==
0
,
"typeflags %08x
\n
"
,
pTypeAttr
->
wTypeFlags
);
ok
(
pTypeAttr
->
wTypeFlags
==
0
,
"typeflags %08x
\n
"
,
pTypeAttr
->
wTypeFlags
);
ITypeInfo_ReleaseTypeAttr
(
pTI2
,
pTypeAttr
);
ITypeInfo_ReleaseTypeAttr
(
pTI2
,
pTypeAttr
);
...
@@ -1657,7 +1657,7 @@ static void test_inheritance(void)
...
@@ -1657,7 +1657,7 @@ static void test_inheritance(void)
ok
(
hr
==
S_OK
,
"hr %08x
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"hr %08x
\n
"
,
hr
);
hr
=
ITypeInfo_GetTypeAttr
(
pTI_p
,
&
pTA
);
hr
=
ITypeInfo_GetTypeAttr
(
pTI_p
,
&
pTA
);
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
ok
(
IsEqualGUID
(
&
pTA
->
guid
,
&
IID_IDispatch
),
"guid
{%08x-....
\n
"
,
pTA
->
guid
.
Data1
);
ok
(
IsEqualGUID
(
&
pTA
->
guid
,
&
IID_IDispatch
),
"guid
%s
\n
"
,
debugstr_guid
(
&
pTA
->
guid
)
);
ITypeInfo_ReleaseTypeAttr
(
pTI_p
,
pTA
);
ITypeInfo_ReleaseTypeAttr
(
pTI_p
,
pTA
);
ITypeInfo_Release
(
pTI_p
);
ITypeInfo_Release
(
pTI_p
);
...
@@ -1691,7 +1691,7 @@ static void test_inheritance(void)
...
@@ -1691,7 +1691,7 @@ static void test_inheritance(void)
ok
(
hr
==
S_OK
,
"hr %08x
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"hr %08x
\n
"
,
hr
);
hr
=
ITypeInfo_GetTypeAttr
(
pTI_p
,
&
pTA
);
hr
=
ITypeInfo_GetTypeAttr
(
pTI_p
,
&
pTA
);
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
ok
(
IsEqualGUID
(
&
pTA
->
guid
,
&
IID_IDispatch
),
"guid
{%08x-....
\n
"
,
pTA
->
guid
.
Data1
);
ok
(
IsEqualGUID
(
&
pTA
->
guid
,
&
IID_IDispatch
),
"guid
%s
\n
"
,
debugstr_guid
(
&
pTA
->
guid
)
);
ITypeInfo_ReleaseTypeAttr
(
pTI_p
,
pTA
);
ITypeInfo_ReleaseTypeAttr
(
pTI_p
,
pTA
);
ITypeInfo_Release
(
pTI_p
);
ITypeInfo_Release
(
pTI_p
);
hr
=
ITypeInfo_GetFuncDesc
(
pTI
,
1
,
&
pFD
);
hr
=
ITypeInfo_GetFuncDesc
(
pTI
,
1
,
&
pFD
);
...
@@ -1722,7 +1722,7 @@ static void test_inheritance(void)
...
@@ -1722,7 +1722,7 @@ static void test_inheritance(void)
ok
(
hr
==
S_OK
,
"hr %08x
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"hr %08x
\n
"
,
hr
);
hr
=
ITypeInfo_GetTypeAttr
(
pTI_p
,
&
pTA
);
hr
=
ITypeInfo_GetTypeAttr
(
pTI_p
,
&
pTA
);
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
ok
(
IsEqualGUID
(
&
pTA
->
guid
,
&
IID_IDispatch
),
"guid
{%08x-....
\n
"
,
pTA
->
guid
.
Data1
);
ok
(
IsEqualGUID
(
&
pTA
->
guid
,
&
IID_IDispatch
),
"guid
%s
\n
"
,
debugstr_guid
(
&
pTA
->
guid
)
);
ITypeInfo_ReleaseTypeAttr
(
pTI_p
,
pTA
);
ITypeInfo_ReleaseTypeAttr
(
pTI_p
,
pTA
);
ITypeInfo_Release
(
pTI_p
);
ITypeInfo_Release
(
pTI_p
);
hr
=
ITypeInfo_GetFuncDesc
(
pTI
,
6
,
&
pFD
);
hr
=
ITypeInfo_GetFuncDesc
(
pTI
,
6
,
&
pFD
);
...
@@ -1750,7 +1750,7 @@ static void test_inheritance(void)
...
@@ -1750,7 +1750,7 @@ static void test_inheritance(void)
ok
(
hr
==
S_OK
,
"hr %08x
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"hr %08x
\n
"
,
hr
);
hr
=
ITypeInfo_GetTypeAttr
(
pTI_p
,
&
pTA
);
hr
=
ITypeInfo_GetTypeAttr
(
pTI_p
,
&
pTA
);
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
ok
(
IsEqualGUID
(
&
pTA
->
guid
,
&
IID_IDispatch
),
"guid
{%08x-....
\n
"
,
pTA
->
guid
.
Data1
);
ok
(
IsEqualGUID
(
&
pTA
->
guid
,
&
IID_IDispatch
),
"guid
%s
\n
"
,
debugstr_guid
(
&
pTA
->
guid
)
);
ITypeInfo_ReleaseTypeAttr
(
pTI_p
,
pTA
);
ITypeInfo_ReleaseTypeAttr
(
pTI_p
,
pTA
);
ITypeInfo_Release
(
pTI_p
);
ITypeInfo_Release
(
pTI_p
);
...
@@ -1781,7 +1781,7 @@ static void test_inheritance(void)
...
@@ -1781,7 +1781,7 @@ static void test_inheritance(void)
ok
(
hr
==
S_OK
,
"hr %08x
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"hr %08x
\n
"
,
hr
);
hr
=
ITypeInfo_GetTypeAttr
(
pTI_p
,
&
pTA
);
hr
=
ITypeInfo_GetTypeAttr
(
pTI_p
,
&
pTA
);
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
ok
(
IsEqualGUID
(
&
pTA
->
guid
,
&
IID_IDispatch
),
"guid
{%08x-....
\n
"
,
pTA
->
guid
.
Data1
);
ok
(
IsEqualGUID
(
&
pTA
->
guid
,
&
IID_IDispatch
),
"guid
%s
\n
"
,
debugstr_guid
(
&
pTA
->
guid
)
);
ITypeInfo_ReleaseTypeAttr
(
pTI_p
,
pTA
);
ITypeInfo_ReleaseTypeAttr
(
pTI_p
,
pTA
);
ITypeInfo_Release
(
pTI_p
);
ITypeInfo_Release
(
pTI_p
);
...
@@ -1814,7 +1814,7 @@ static void test_inheritance(void)
...
@@ -1814,7 +1814,7 @@ static void test_inheritance(void)
ok
(
hr
==
S_OK
,
"hr %08x
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"hr %08x
\n
"
,
hr
);
hr
=
ITypeInfo_GetTypeAttr
(
pTI_p
,
&
pTA
);
hr
=
ITypeInfo_GetTypeAttr
(
pTI_p
,
&
pTA
);
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"got %08x
\n
"
,
hr
);
ok
(
IsEqualGUID
(
&
pTA
->
guid
,
&
IID_IDispatch
),
"guid
{%08x-....
\n
"
,
pTA
->
guid
.
Data1
);
ok
(
IsEqualGUID
(
&
pTA
->
guid
,
&
IID_IDispatch
),
"guid
%s
\n
"
,
debugstr_guid
(
&
pTA
->
guid
)
);
ITypeInfo_ReleaseTypeAttr
(
pTI_p
,
pTA
);
ITypeInfo_ReleaseTypeAttr
(
pTI_p
,
pTA
);
ITypeInfo_Release
(
pTI_p
);
ITypeInfo_Release
(
pTI_p
);
...
...
dlls/urlmon/tests/misc.c
View file @
ae2693e2
...
@@ -2280,7 +2280,7 @@ static void test_bsc_marshaling(void)
...
@@ -2280,7 +2280,7 @@ static void test_bsc_marshaling(void)
ok
(
!
in_bindinfo
.
dwOptions
,
"dwOptions = %u
\n
"
,
in_bindinfo
.
dwOptions
);
ok
(
!
in_bindinfo
.
dwOptions
,
"dwOptions = %u
\n
"
,
in_bindinfo
.
dwOptions
);
ok
(
!
in_bindinfo
.
dwOptionsFlags
,
"dwOptionsFlags = %u
\n
"
,
in_bindinfo
.
dwOptionsFlags
);
ok
(
!
in_bindinfo
.
dwOptionsFlags
,
"dwOptionsFlags = %u
\n
"
,
in_bindinfo
.
dwOptionsFlags
);
ok
(
!
in_bindinfo
.
dwCodePage
,
"dwCodePage = %u
\n
"
,
in_bindinfo
.
dwCodePage
);
ok
(
!
in_bindinfo
.
dwCodePage
,
"dwCodePage = %u
\n
"
,
in_bindinfo
.
dwCodePage
);
ok
(
!
in_bindinfo
.
iid
.
Data1
,
"iid
.Data1 = %u
\n
"
,
in_bindinfo
.
iid
.
Data1
);
ok
(
!
in_bindinfo
.
iid
.
Data1
,
"iid
= %s
\n
"
,
debugstr_guid
(
&
in_bindinfo
.
iid
)
);
ok
(
!
in_bindinfo
.
pUnk
,
"pUnk = %p
\n
"
,
in_bindinfo
.
pUnk
);
ok
(
!
in_bindinfo
.
pUnk
,
"pUnk = %p
\n
"
,
in_bindinfo
.
pUnk
);
ok
(
!
in_bindinfo
.
dwReserved
,
"dwReserved = %u
\n
"
,
in_bindinfo
.
dwReserved
);
ok
(
!
in_bindinfo
.
dwReserved
,
"dwReserved = %u
\n
"
,
in_bindinfo
.
dwReserved
);
ok
(
!
in_bindinfo
.
securityAttributes
.
nLength
,
"securityAttributes.nLength = %u
\n
"
,
ok
(
!
in_bindinfo
.
securityAttributes
.
nLength
,
"securityAttributes.nLength = %u
\n
"
,
...
@@ -2305,7 +2305,7 @@ static void test_bsc_marshaling(void)
...
@@ -2305,7 +2305,7 @@ static void test_bsc_marshaling(void)
ok
(
bindinfo
.
dwOptions
==
24
,
"dwOptions = %u
\n
"
,
bindinfo
.
dwOptions
);
ok
(
bindinfo
.
dwOptions
==
24
,
"dwOptions = %u
\n
"
,
bindinfo
.
dwOptions
);
ok
(
bindinfo
.
dwOptionsFlags
==
25
,
"dwOptionsFlags = %u
\n
"
,
bindinfo
.
dwOptionsFlags
);
ok
(
bindinfo
.
dwOptionsFlags
==
25
,
"dwOptionsFlags = %u
\n
"
,
bindinfo
.
dwOptionsFlags
);
ok
(
bindinfo
.
dwCodePage
,
"dwCodePage = %u
\n
"
,
bindinfo
.
dwCodePage
);
ok
(
bindinfo
.
dwCodePage
,
"dwCodePage = %u
\n
"
,
bindinfo
.
dwCodePage
);
ok
(
!
bindinfo
.
iid
.
Data1
,
"iid
.Data1 = %u
\n
"
,
bindinfo
.
iid
.
Data1
);
ok
(
!
bindinfo
.
iid
.
Data1
,
"iid
= %s
\n
"
,
debugstr_guid
(
&
bindinfo
.
iid
)
);
ok
(
!
bindinfo
.
pUnk
,
"pUnk = %p
\n
"
,
bindinfo
.
pUnk
);
ok
(
!
bindinfo
.
pUnk
,
"pUnk = %p
\n
"
,
bindinfo
.
pUnk
);
ok
(
bindinfo
.
dwReserved
==
18
,
"dwReserved = %u
\n
"
,
bindinfo
.
dwReserved
);
ok
(
bindinfo
.
dwReserved
==
18
,
"dwReserved = %u
\n
"
,
bindinfo
.
dwReserved
);
ok
(
bindinfo
.
securityAttributes
.
nLength
==
30
,
"securityAttributes.nLength = %u
\n
"
,
ok
(
bindinfo
.
securityAttributes
.
nLength
==
30
,
"securityAttributes.nLength = %u
\n
"
,
...
@@ -2497,7 +2497,7 @@ static void test_bsc_marshaling(void)
...
@@ -2497,7 +2497,7 @@ static void test_bsc_marshaling(void)
ok
(
!
in_bindinfo
.
dwOptions
,
"dwOptions = %u
\n
"
,
in_bindinfo
.
dwOptions
);
ok
(
!
in_bindinfo
.
dwOptions
,
"dwOptions = %u
\n
"
,
in_bindinfo
.
dwOptions
);
ok
(
!
in_bindinfo
.
dwOptionsFlags
,
"dwOptionsFlags = %u
\n
"
,
in_bindinfo
.
dwOptionsFlags
);
ok
(
!
in_bindinfo
.
dwOptionsFlags
,
"dwOptionsFlags = %u
\n
"
,
in_bindinfo
.
dwOptionsFlags
);
ok
(
!
in_bindinfo
.
dwCodePage
,
"dwCodePage = %u
\n
"
,
in_bindinfo
.
dwCodePage
);
ok
(
!
in_bindinfo
.
dwCodePage
,
"dwCodePage = %u
\n
"
,
in_bindinfo
.
dwCodePage
);
ok
(
!
in_bindinfo
.
iid
.
Data1
,
"iid
.Data1 = %u
\n
"
,
in_bindinfo
.
iid
.
Data1
);
ok
(
!
in_bindinfo
.
iid
.
Data1
,
"iid
= %s
\n
"
,
debugstr_guid
(
&
in_bindinfo
.
iid
)
);
ok
(
!
in_bindinfo
.
pUnk
,
"pUnk = %p
\n
"
,
in_bindinfo
.
pUnk
);
ok
(
!
in_bindinfo
.
pUnk
,
"pUnk = %p
\n
"
,
in_bindinfo
.
pUnk
);
ok
(
!
in_bindinfo
.
dwReserved
,
"dwReserved = %u
\n
"
,
in_bindinfo
.
dwReserved
);
ok
(
!
in_bindinfo
.
dwReserved
,
"dwReserved = %u
\n
"
,
in_bindinfo
.
dwReserved
);
ok
(
!
in_bindinfo
.
securityAttributes
.
nLength
,
"securityAttributes.nLength = %u
\n
"
,
ok
(
!
in_bindinfo
.
securityAttributes
.
nLength
,
"securityAttributes.nLength = %u
\n
"
,
...
@@ -2521,7 +2521,7 @@ static void test_bsc_marshaling(void)
...
@@ -2521,7 +2521,7 @@ static void test_bsc_marshaling(void)
ok
(
bindinfo
.
dwOptions
==
24
,
"dwOptions = %u
\n
"
,
bindinfo
.
dwOptions
);
ok
(
bindinfo
.
dwOptions
==
24
,
"dwOptions = %u
\n
"
,
bindinfo
.
dwOptions
);
ok
(
bindinfo
.
dwOptionsFlags
==
25
,
"dwOptionsFlags = %u
\n
"
,
bindinfo
.
dwOptionsFlags
);
ok
(
bindinfo
.
dwOptionsFlags
==
25
,
"dwOptionsFlags = %u
\n
"
,
bindinfo
.
dwOptionsFlags
);
ok
(
bindinfo
.
dwCodePage
,
"dwCodePage = %u
\n
"
,
bindinfo
.
dwCodePage
);
ok
(
bindinfo
.
dwCodePage
,
"dwCodePage = %u
\n
"
,
bindinfo
.
dwCodePage
);
ok
(
!
bindinfo
.
iid
.
Data1
,
"iid
.Data1 = %u
\n
"
,
bindinfo
.
iid
.
Data1
);
ok
(
!
bindinfo
.
iid
.
Data1
,
"iid
= %s
\n
"
,
debugstr_guid
(
&
bindinfo
.
iid
)
);
ok
(
!
bindinfo
.
pUnk
,
"pUnk = %p
\n
"
,
bindinfo
.
pUnk
);
ok
(
!
bindinfo
.
pUnk
,
"pUnk = %p
\n
"
,
bindinfo
.
pUnk
);
ok
(
bindinfo
.
dwReserved
==
18
,
"dwReserved = %u
\n
"
,
bindinfo
.
dwReserved
);
ok
(
bindinfo
.
dwReserved
==
18
,
"dwReserved = %u
\n
"
,
bindinfo
.
dwReserved
);
ok
(
bindinfo
.
securityAttributes
.
nLength
==
30
,
"securityAttributes.nLength = %u
\n
"
,
ok
(
bindinfo
.
securityAttributes
.
nLength
==
30
,
"securityAttributes.nLength = %u
\n
"
,
...
...
dlls/win32u/sysparams.c
View file @
ae2693e2
...
@@ -898,7 +898,7 @@ static void add_gpu( const struct gdi_gpu *gpu, void *param )
...
@@ -898,7 +898,7 @@ static void add_gpu( const struct gdi_gpu *gpu, void *param )
GUID
guid
;
GUID
guid
;
uuid_create
(
&
guid
);
uuid_create
(
&
guid
);
sprintf
(
buffer
,
"{%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x}"
,
sprintf
(
buffer
,
"{%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x}"
,
guid
.
Data1
,
guid
.
Data2
,
guid
.
Data3
,
guid
.
Data4
[
0
],
guid
.
Data4
[
1
],
guid
.
Data4
[
2
],
(
unsigned
int
)
guid
.
Data1
,
guid
.
Data2
,
guid
.
Data3
,
guid
.
Data4
[
0
],
guid
.
Data4
[
1
],
guid
.
Data4
[
2
],
guid
.
Data4
[
3
],
guid
.
Data4
[
4
],
guid
.
Data4
[
5
],
guid
.
Data4
[
6
],
guid
.
Data4
[
7
]
);
guid
.
Data4
[
3
],
guid
.
Data4
[
4
],
guid
.
Data4
[
5
],
guid
.
Data4
[
6
],
guid
.
Data4
[
7
]
);
size
=
asciiz_to_unicode
(
ctx
->
gpu_guid
,
buffer
);
size
=
asciiz_to_unicode
(
ctx
->
gpu_guid
,
buffer
);
TRACE
(
"created guid %s
\n
"
,
debugstr_w
(
ctx
->
gpu_guid
)
);
TRACE
(
"created guid %s
\n
"
,
debugstr_w
(
ctx
->
gpu_guid
)
);
...
...
include/guiddef.h
View file @
ae2693e2
...
@@ -30,7 +30,7 @@ typedef struct
...
@@ -30,7 +30,7 @@ typedef struct
#else
#else
typedef
struct
_GUID
typedef
struct
_GUID
{
{
#if
def WINE_USE_LONG
#if
ndef __LP64__
unsigned
long
Data1
;
unsigned
long
Data1
;
#else
#else
unsigned
int
Data1
;
unsigned
int
Data1
;
...
...
programs/winedbg/memory.c
View file @
ae2693e2
...
@@ -211,7 +211,7 @@ void memory_examine(const struct dbg_lvalue *lvalue, int count, char format)
...
@@ -211,7 +211,7 @@ void memory_examine(const struct dbg_lvalue *lvalue, int count, char format)
memory_report_invalid_addr
(
linear
);
memory_report_invalid_addr
(
linear
);
break
;
break
;
}
}
dbg_printf
(
"{%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x}
\n
"
,
dbg_printf
(
"{%08
l
x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x}
\n
"
,
guid
.
Data1
,
guid
.
Data2
,
guid
.
Data3
,
guid
.
Data1
,
guid
.
Data2
,
guid
.
Data3
,
guid
.
Data4
[
0
],
guid
.
Data4
[
1
],
guid
.
Data4
[
2
],
guid
.
Data4
[
3
],
guid
.
Data4
[
0
],
guid
.
Data4
[
1
],
guid
.
Data4
[
2
],
guid
.
Data4
[
3
],
guid
.
Data4
[
4
],
guid
.
Data4
[
5
],
guid
.
Data4
[
6
],
guid
.
Data4
[
7
]);
guid
.
Data4
[
4
],
guid
.
Data4
[
5
],
guid
.
Data4
[
6
],
guid
.
Data4
[
7
]);
...
...
tools/winedump/dump.c
View file @
ae2693e2
...
@@ -191,7 +191,7 @@ const char* get_guid_str(const GUID* guid)
...
@@ -191,7 +191,7 @@ const char* get_guid_str(const GUID* guid)
str
=
dump_want_n
(
39
);
str
=
dump_want_n
(
39
);
if
(
str
)
if
(
str
)
sprintf
(
str
,
"{%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x}"
,
sprintf
(
str
,
"{%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x}"
,
guid
->
Data1
,
guid
->
Data2
,
guid
->
Data3
,
(
unsigned
int
)
guid
->
Data1
,
guid
->
Data2
,
guid
->
Data3
,
guid
->
Data4
[
0
],
guid
->
Data4
[
1
],
guid
->
Data4
[
2
],
guid
->
Data4
[
3
],
guid
->
Data4
[
0
],
guid
->
Data4
[
1
],
guid
->
Data4
[
2
],
guid
->
Data4
[
3
],
guid
->
Data4
[
4
],
guid
->
Data4
[
5
],
guid
->
Data4
[
6
],
guid
->
Data4
[
7
]);
guid
->
Data4
[
4
],
guid
->
Data4
[
5
],
guid
->
Data4
[
6
],
guid
->
Data4
[
7
]);
return
str
;
return
str
;
...
...
tools/winedump/tlb.c
View file @
ae2693e2
...
@@ -257,7 +257,7 @@ static void print_guid(const char *name)
...
@@ -257,7 +257,7 @@ static void print_guid(const char *name)
print_offset
();
print_offset
();
printf
(
"%s = {%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x}
\n
"
,
name
,
printf
(
"%s = {%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x}
\n
"
,
name
,
guid
.
Data1
,
guid
.
Data2
,
guid
.
Data3
,
guid
.
Data4
[
0
],
(
unsigned
int
)
guid
.
Data1
,
guid
.
Data2
,
guid
.
Data3
,
guid
.
Data4
[
0
],
guid
.
Data4
[
1
],
guid
.
Data4
[
2
],
guid
.
Data4
[
3
],
guid
.
Data4
[
4
],
guid
.
Data4
[
1
],
guid
.
Data4
[
2
],
guid
.
Data4
[
3
],
guid
.
Data4
[
4
],
guid
.
Data4
[
5
],
guid
.
Data4
[
6
],
guid
.
Data4
[
7
]);
guid
.
Data4
[
5
],
guid
.
Data4
[
6
],
guid
.
Data4
[
7
]);
}
}
...
...
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