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
c8e952c9
Commit
c8e952c9
authored
Dec 15, 2012
by
Andrew Talbot
Committed by
Alexandre Julliard
Dec 15, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mapi32: Indentation fix.
parent
d4e9b26c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
37 deletions
+37
-37
prop.c
dlls/mapi32/prop.c
+37
-37
No files found.
dlls/mapi32/prop.c
View file @
c8e952c9
...
...
@@ -736,44 +736,44 @@ SCODE WINAPI ScCountProps(INT iCount, LPSPropValue lpProps, ULONG *pcBytes)
lpProps
[
i
].
ulPropTag
==
PROP_ID_INVALID
)
return
MAPI_E_INVALID_PARAMETER
;
if
(
PROP_TYPE
(
lpProps
[
i
].
ulPropTag
)
!=
PT_OBJECT
)
{
ulPropSize
=
UlPropSize
(
&
lpProps
[
i
]);
if
(
!
ulPropSize
)
return
MAPI_E_INVALID_PARAMETER
;
}
if
(
PROP_TYPE
(
lpProps
[
i
].
ulPropTag
)
!=
PT_OBJECT
)
{
ulPropSize
=
UlPropSize
(
&
lpProps
[
i
]);
if
(
!
ulPropSize
)
return
MAPI_E_INVALID_PARAMETER
;
}
switch
(
PROP_TYPE
(
lpProps
[
i
].
ulPropTag
))
{
case
PT_STRING8
:
case
PT_UNICODE
:
case
PT_CLSID
:
case
PT_BINARY
:
case
PT_MV_I2
:
case
PT_MV_I4
:
case
PT_MV_I8
:
case
PT_MV_R4
:
case
PT_MV_R8
:
case
PT_MV_CURRENCY
:
case
PT_MV_SYSTIME
:
case
PT_MV_APPTIME
:
ulPropSize
+=
sizeof
(
SPropValue
);
break
;
case
PT_MV_CLSID
:
ulPropSize
+=
lpProps
[
i
].
Value
.
MVszA
.
cValues
*
sizeof
(
char
*
)
+
sizeof
(
SPropValue
);
break
;
case
PT_MV_STRING8
:
case
PT_MV_UNICODE
:
ulPropSize
+=
lpProps
[
i
].
Value
.
MVszA
.
cValues
*
sizeof
(
char
*
)
+
sizeof
(
SPropValue
);
break
;
case
PT_MV_BINARY
:
ulPropSize
+=
lpProps
[
i
].
Value
.
MVbin
.
cValues
*
sizeof
(
SBinary
)
+
sizeof
(
SPropValue
);
break
;
default:
ulPropSize
=
sizeof
(
SPropValue
);
break
;
}
ulBytes
+=
ulPropSize
;
switch
(
PROP_TYPE
(
lpProps
[
i
].
ulPropTag
))
{
case
PT_STRING8
:
case
PT_UNICODE
:
case
PT_CLSID
:
case
PT_BINARY
:
case
PT_MV_I2
:
case
PT_MV_I4
:
case
PT_MV_I8
:
case
PT_MV_R4
:
case
PT_MV_R8
:
case
PT_MV_CURRENCY
:
case
PT_MV_SYSTIME
:
case
PT_MV_APPTIME
:
ulPropSize
+=
sizeof
(
SPropValue
);
break
;
case
PT_MV_CLSID
:
ulPropSize
+=
lpProps
[
i
].
Value
.
MVszA
.
cValues
*
sizeof
(
char
*
)
+
sizeof
(
SPropValue
);
break
;
case
PT_MV_STRING8
:
case
PT_MV_UNICODE
:
ulPropSize
+=
lpProps
[
i
].
Value
.
MVszA
.
cValues
*
sizeof
(
char
*
)
+
sizeof
(
SPropValue
);
break
;
case
PT_MV_BINARY
:
ulPropSize
+=
lpProps
[
i
].
Value
.
MVbin
.
cValues
*
sizeof
(
SBinary
)
+
sizeof
(
SPropValue
);
break
;
default:
ulPropSize
=
sizeof
(
SPropValue
);
break
;
}
ulBytes
+=
ulPropSize
;
}
if
(
pcBytes
)
*
pcBytes
=
ulBytes
;
...
...
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