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
cabae2b0
Commit
cabae2b0
authored
May 01, 2013
by
Daniel Jelinski
Committed by
Alexandre Julliard
May 29, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xolehlp: Implement ITransactionImportWhereabouts.
parent
d673ae69
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
52 additions
and
0 deletions
+52
-0
xolehlp.c
dlls/xolehlp/xolehlp.c
+52
-0
No files found.
dlls/xolehlp/xolehlp.c
View file @
cabae2b0
...
...
@@ -21,6 +21,7 @@
#include "windef.h"
#include "winbase.h"
#include "transact.h"
#include "initguid.h"
#include "txdtc.h"
#include "wine/unicode.h"
#include "wine/debug.h"
...
...
@@ -31,6 +32,7 @@ typedef struct {
ITransactionDispenser
ITransactionDispenser_iface
;
LONG
ref
;
IResourceManagerFactory2
IResourceManagerFactory2_iface
;
ITransactionImportWhereabouts
ITransactionImportWhereabouts_iface
;
}
TransactionManager
;
static
inline
TransactionManager
*
impl_from_ITransactionDispenser
(
ITransactionDispenser
*
iface
)
...
...
@@ -56,6 +58,10 @@ static HRESULT WINAPI TransactionDispenser_QueryInterface(ITransactionDispenser
{
*
ppv
=
&
This
->
IResourceManagerFactory2_iface
;
}
else
if
(
IsEqualIID
(
&
IID_ITransactionImportWhereabouts
,
iid
))
{
*
ppv
=
&
This
->
ITransactionImportWhereabouts_iface
;
}
else
{
FIXME
(
"(%s): not implemented
\n
"
,
debugstr_guid
(
iid
));
...
...
@@ -170,6 +176,51 @@ static const IResourceManagerFactory2Vtbl ResourceManagerFactory2_Vtbl = {
ResourceManagerFactory2_CreateEx
};
static
inline
TransactionManager
*
impl_from_ITransactionImportWhereabouts
(
ITransactionImportWhereabouts
*
iface
)
{
return
CONTAINING_RECORD
(
iface
,
TransactionManager
,
ITransactionImportWhereabouts_iface
);
}
static
HRESULT
WINAPI
TransactionImportWhereabouts_QueryInterface
(
ITransactionImportWhereabouts
*
iface
,
REFIID
iid
,
void
**
ppv
)
{
TransactionManager
*
This
=
impl_from_ITransactionImportWhereabouts
(
iface
);
return
TransactionDispenser_QueryInterface
(
&
This
->
ITransactionDispenser_iface
,
iid
,
ppv
);
}
static
ULONG
WINAPI
TransactionImportWhereabouts_AddRef
(
ITransactionImportWhereabouts
*
iface
)
{
TransactionManager
*
This
=
impl_from_ITransactionImportWhereabouts
(
iface
);
return
TransactionDispenser_AddRef
(
&
This
->
ITransactionDispenser_iface
);
}
static
ULONG
WINAPI
TransactionImportWhereabouts_Release
(
ITransactionImportWhereabouts
*
iface
)
{
TransactionManager
*
This
=
impl_from_ITransactionImportWhereabouts
(
iface
);
return
TransactionDispenser_Release
(
&
This
->
ITransactionDispenser_iface
);
}
static
HRESULT
WINAPI
TransactionImportWhereabouts_GetWhereaboutsSize
(
ITransactionImportWhereabouts
*
iface
,
ULONG
*
pcbWhereabouts
)
{
FIXME
(
"(%p, %p): stub
\n
"
,
iface
,
pcbWhereabouts
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
TransactionImportWhereabouts_GetWhereabouts
(
ITransactionImportWhereabouts
*
iface
,
ULONG
cbWhereabouts
,
BYTE
*
rgbWhereabouts
,
ULONG
*
pcbUsed
)
{
FIXME
(
"(%p, %u, %p, %p): stub
\n
"
,
iface
,
cbWhereabouts
,
rgbWhereabouts
,
pcbUsed
);
return
E_NOTIMPL
;
}
static
const
ITransactionImportWhereaboutsVtbl
TransactionImportWhereabouts_Vtbl
=
{
TransactionImportWhereabouts_QueryInterface
,
TransactionImportWhereabouts_AddRef
,
TransactionImportWhereabouts_Release
,
TransactionImportWhereabouts_GetWhereaboutsSize
,
TransactionImportWhereabouts_GetWhereabouts
};
static
HRESULT
TransactionManager_Create
(
REFIID
riid
,
void
**
ppv
)
{
TransactionManager
*
This
;
...
...
@@ -180,6 +231,7 @@ static HRESULT TransactionManager_Create(REFIID riid, void **ppv)
This
->
ITransactionDispenser_iface
.
lpVtbl
=
&
TransactionDispenser_Vtbl
;
This
->
IResourceManagerFactory2_iface
.
lpVtbl
=
&
ResourceManagerFactory2_Vtbl
;
This
->
ITransactionImportWhereabouts_iface
.
lpVtbl
=
&
TransactionImportWhereabouts_Vtbl
;
This
->
ref
=
1
;
ret
=
ITransactionDispenser_QueryInterface
(
&
This
->
ITransactionDispenser_iface
,
riid
,
ppv
);
...
...
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