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
de60ddb8
Commit
de60ddb8
authored
Jan 05, 2016
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jan 05, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole2disp: Implement VariantInit().
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
62d3309a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
49 additions
and
1 deletion
+49
-1
ole2disp.c
dlls/ole2disp.dll16/ole2disp.c
+9
-0
ole2disp.dll16.spec
dlls/ole2disp.dll16/ole2disp.dll16.spec
+1
-1
ole2disp.h
dlls/ole2disp.dll16/ole2disp.h
+39
-0
No files found.
dlls/ole2disp.dll16/ole2disp.c
View file @
de60ddb8
...
...
@@ -276,3 +276,12 @@ HRESULT WINAPI SetErrorInfo16(ULONG dwReserved, IErrorInfo *perrinfo)
FIXME
(
"stub: (%d, %p)
\n
"
,
dwReserved
,
perrinfo
);
return
E_INVALIDARG
;
}
/******************************************************************************
* VariantInit [OLE2DISP.8]
*/
void
WINAPI
VariantInit16
(
VARIANTARG16
*
v
)
{
TRACE
(
"(%p)
\n
"
,
v
);
v
->
vt
=
VT_EMPTY
;
}
dlls/ole2disp.dll16/ole2disp.dll16.spec
View file @
de60ddb8
...
...
@@ -5,7 +5,7 @@
5 pascal SysReAllocStringLen(ptr str word) SysReAllocStringLen16
6 pascal SysFreeString(segstr) SysFreeString16
7 pascal SysStringLen(segstr) SysStringLen16
8
stub VARIANTINIT
8
pascal VariantInit(ptr) VariantInit16
9 stub VARIANTCLEAR
10 stub VARIANTCOPY
11 stub VARIANTCOPYIND
...
...
dlls/ole2disp.dll16/ole2disp.h
View file @
de60ddb8
...
...
@@ -39,4 +39,43 @@ INT16 WINAPI SysReAllocString16(LPBSTR16,LPCOLESTR16);
int
WINAPI
SysReAllocStringLen16
(
BSTR16
*
,
const
char
*
,
int
);
int
WINAPI
SysStringLen16
(
BSTR16
);
typedef
struct
tagVARIANT16
{
VARTYPE
vt
;
WORD
wReserved1
;
WORD
wReserved2
;
WORD
wReserved3
;
union
{
BYTE
bVal
;
SHORT
iVal
;
LONG
lVal
;
FLOAT
fltVal
;
DOUBLE
dblVal
;
VARIANT_BOOL
boolVal
;
SCODE
scode
;
DATE
date
;
/* BSTR16 */
SEGPTR
bstrVal
;
CY
cyVal
;
/* IUnknown* */
SEGPTR
punkVal
;
/* IDispatch* */
SEGPTR
pdispVal
;
/* SAFEARRAY* */
SEGPTR
parray
;
/* BYTE* */
SEGPTR
pbVal
;
/* SHORT* */
SEGPTR
piVal
;
/* LONG* */
SEGPTR
plVal
;
/* FLOAT* */
SEGPTR
pfltVal
;
/* DOUBLE* */
SEGPTR
pdblVal
;
/* VARIANT_BOOL* */
SEGPTR
pboolVal
;
/* SCODE* */
SEGPTR
pscode
;
/* DATE* */
SEGPTR
pdate
;
/* BSTR16* */
SEGPTR
pbstrVal
;
/* VARIANT16* */
SEGPTR
pvarVal
;
/* void* */
SEGPTR
byref
;
/* CY* */
SEGPTR
pcyVal
;
/* IUnknown** */
SEGPTR
ppunkVal
;
/* IDispatch** */
SEGPTR
ppdispVal
;
/* SAFEARRAY** */
SEGPTR
pparray
;
}
u
;
}
VARIANT16
;
typedef
VARIANT16
VARIANTARG16
;
#endif
/* !defined(__WINE_OLEAUT32_OLE2DISP_H) */
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