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
9f781a06
Commit
9f781a06
authored
Dec 19, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Dec 19, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
propvarutil.h: Added InitPropVariantFromInt64 declaration and inline implementation.
parent
40a69ae8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
propvarutil.h
include/propvarutil.h
+8
-0
No files found.
include/propvarutil.h
View file @
9f781a06
...
...
@@ -81,6 +81,7 @@ HRESULT WINAPI PropVariantToUInt64(REFPROPVARIANT propvarIn, ULONGLONG *ret);
HRESULT
InitPropVariantFromBoolean
(
BOOL
fVal
,
PROPVARIANT
*
ppropvar
);
HRESULT
InitPropVariantFromString
(
PCWSTR
psz
,
PROPVARIANT
*
ppropvar
);
HRESULT
InitPropVariantFromInt64
(
LONGLONG
llVal
,
PROPVARIANT
*
ppropvar
);
#ifndef NO_PROPVAR_INLINES
...
...
@@ -104,6 +105,13 @@ inline HRESULT InitPropVariantFromString(PCWSTR psz, PROPVARIANT *ppropvar)
return
hres
;
}
inline
HRESULT
InitPropVariantFromInt64
(
LONGLONG
llVal
,
PROPVARIANT
*
ppropvar
)
{
ppropvar
->
vt
=
VT_I8
;
ppropvar
->
hVal
.
QuadPart
=
llVal
;
return
S_OK
;
}
#endif
#endif
...
...
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