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
826288ae
Commit
826288ae
authored
Feb 09, 2022
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Feb 09, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xolehlp: Build without -DWINE_NO_LONG_TYPES.
Signed-off-by:
Alistair Leslie-Hughes
<
leslie_alistair@hotmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
2be4d455
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
18 deletions
+17
-18
Makefile.in
dlls/xolehlp/Makefile.in
+0
-1
xolehlp.c
dlls/xolehlp/xolehlp.c
+17
-17
No files found.
dlls/xolehlp/Makefile.in
View file @
826288ae
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
xolehlp.dll
MODULE
=
xolehlp.dll
IMPORTS
=
uuid
IMPORTS
=
uuid
...
...
dlls/xolehlp/xolehlp.c
View file @
826288ae
...
@@ -68,7 +68,7 @@ static ULONG WINAPI ResourceManager_AddRef(IResourceManager *iface)
...
@@ -68,7 +68,7 @@ static ULONG WINAPI ResourceManager_AddRef(IResourceManager *iface)
ResourceManager
*
This
=
impl_from_IResourceManager
(
iface
);
ResourceManager
*
This
=
impl_from_IResourceManager
(
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p) refcount=%u
\n
"
,
iface
,
ref
);
TRACE
(
"(%p) refcount=%
l
u
\n
"
,
iface
,
ref
);
return
ref
;
return
ref
;
}
}
...
@@ -78,7 +78,7 @@ static ULONG WINAPI ResourceManager_Release(IResourceManager *iface)
...
@@ -78,7 +78,7 @@ static ULONG WINAPI ResourceManager_Release(IResourceManager *iface)
ResourceManager
*
This
=
impl_from_IResourceManager
(
iface
);
ResourceManager
*
This
=
impl_from_IResourceManager
(
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p) refcount=%u
\n
"
,
iface
,
ref
);
TRACE
(
"(%p) refcount=%
l
u
\n
"
,
iface
,
ref
);
if
(
ref
==
0
)
if
(
ref
==
0
)
{
{
...
@@ -98,7 +98,7 @@ static HRESULT WINAPI ResourceManager_Enlist(IResourceManager *iface,
...
@@ -98,7 +98,7 @@ static HRESULT WINAPI ResourceManager_Enlist(IResourceManager *iface,
static
HRESULT
WINAPI
ResourceManager_Reenlist
(
IResourceManager
*
iface
,
static
HRESULT
WINAPI
ResourceManager_Reenlist
(
IResourceManager
*
iface
,
byte
*
pPrepInfo
,
ULONG
cbPrepInfo
,
DWORD
lTimeout
,
XACTSTAT
*
pXactStat
)
byte
*
pPrepInfo
,
ULONG
cbPrepInfo
,
DWORD
lTimeout
,
XACTSTAT
*
pXactStat
)
{
{
FIXME
(
"(%p, %p, %
u, %
u, %p): stub
\n
"
,
iface
,
pPrepInfo
,
cbPrepInfo
,
lTimeout
,
pXactStat
);
FIXME
(
"(%p, %p, %
lu, %l
u, %p): stub
\n
"
,
iface
,
pPrepInfo
,
cbPrepInfo
,
lTimeout
,
pXactStat
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
ResourceManager_ReenlistmentComplete
(
IResourceManager
*
iface
)
static
HRESULT
WINAPI
ResourceManager_ReenlistmentComplete
(
IResourceManager
*
iface
)
...
@@ -186,7 +186,7 @@ static ULONG WINAPI TransactionOptions_AddRef(ITransactionOptions *iface)
...
@@ -186,7 +186,7 @@ static ULONG WINAPI TransactionOptions_AddRef(ITransactionOptions *iface)
TransactionOptions
*
This
=
impl_from_ITransactionOptions
(
iface
);
TransactionOptions
*
This
=
impl_from_ITransactionOptions
(
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p) refcount=%u
\n
"
,
iface
,
ref
);
TRACE
(
"(%p) refcount=%
l
u
\n
"
,
iface
,
ref
);
return
ref
;
return
ref
;
}
}
...
@@ -196,7 +196,7 @@ static ULONG WINAPI TransactionOptions_Release(ITransactionOptions *iface)
...
@@ -196,7 +196,7 @@ static ULONG WINAPI TransactionOptions_Release(ITransactionOptions *iface)
TransactionOptions
*
This
=
impl_from_ITransactionOptions
(
iface
);
TransactionOptions
*
This
=
impl_from_ITransactionOptions
(
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p) refcount=%u
\n
"
,
iface
,
ref
);
TRACE
(
"(%p) refcount=%
l
u
\n
"
,
iface
,
ref
);
if
(
ref
==
0
)
if
(
ref
==
0
)
{
{
...
@@ -211,7 +211,7 @@ static HRESULT WINAPI TransactionOptions_SetOptions(ITransactionOptions *iface,
...
@@ -211,7 +211,7 @@ static HRESULT WINAPI TransactionOptions_SetOptions(ITransactionOptions *iface,
TransactionOptions
*
This
=
impl_from_ITransactionOptions
(
iface
);
TransactionOptions
*
This
=
impl_from_ITransactionOptions
(
iface
);
if
(
!
pOptions
)
return
E_INVALIDARG
;
if
(
!
pOptions
)
return
E_INVALIDARG
;
TRACE
(
"(%p, %u, %s)
\n
"
,
iface
,
pOptions
->
ulTimeout
,
debugstr_a
(
pOptions
->
szDescription
));
TRACE
(
"(%p, %
l
u, %s)
\n
"
,
iface
,
pOptions
->
ulTimeout
,
debugstr_a
(
pOptions
->
szDescription
));
This
->
opts
=
*
pOptions
;
This
->
opts
=
*
pOptions
;
return
S_OK
;
return
S_OK
;
}
}
...
@@ -295,7 +295,7 @@ static ULONG WINAPI Transaction_AddRef(ITransaction *iface)
...
@@ -295,7 +295,7 @@ static ULONG WINAPI Transaction_AddRef(ITransaction *iface)
Transaction
*
This
=
impl_from_ITransaction
(
iface
);
Transaction
*
This
=
impl_from_ITransaction
(
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p) refcount=%u
\n
"
,
iface
,
ref
);
TRACE
(
"(%p) refcount=%
l
u
\n
"
,
iface
,
ref
);
return
ref
;
return
ref
;
}
}
...
@@ -305,7 +305,7 @@ static ULONG WINAPI Transaction_Release(ITransaction *iface)
...
@@ -305,7 +305,7 @@ static ULONG WINAPI Transaction_Release(ITransaction *iface)
Transaction
*
This
=
impl_from_ITransaction
(
iface
);
Transaction
*
This
=
impl_from_ITransaction
(
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p) refcount=%u
\n
"
,
iface
,
ref
);
TRACE
(
"(%p) refcount=%
l
u
\n
"
,
iface
,
ref
);
if
(
ref
==
0
)
if
(
ref
==
0
)
{
{
...
@@ -317,7 +317,7 @@ static ULONG WINAPI Transaction_Release(ITransaction *iface)
...
@@ -317,7 +317,7 @@ static ULONG WINAPI Transaction_Release(ITransaction *iface)
static
HRESULT
WINAPI
Transaction_Commit
(
ITransaction
*
iface
,
static
HRESULT
WINAPI
Transaction_Commit
(
ITransaction
*
iface
,
BOOL
fRetaining
,
DWORD
grfTC
,
DWORD
grfRM
)
BOOL
fRetaining
,
DWORD
grfTC
,
DWORD
grfRM
)
{
{
FIXME
(
"(%p, %d, %08
x, %08
x): stub
\n
"
,
iface
,
fRetaining
,
grfTC
,
grfRM
);
FIXME
(
"(%p, %d, %08
lx, %08l
x): stub
\n
"
,
iface
,
fRetaining
,
grfTC
,
grfRM
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
Transaction_Abort
(
ITransaction
*
iface
,
static
HRESULT
WINAPI
Transaction_Abort
(
ITransaction
*
iface
,
...
@@ -425,7 +425,7 @@ static ULONG WINAPI TransactionDispenser_AddRef(ITransactionDispenser *iface)
...
@@ -425,7 +425,7 @@ static ULONG WINAPI TransactionDispenser_AddRef(ITransactionDispenser *iface)
TransactionManager
*
This
=
impl_from_ITransactionDispenser
(
iface
);
TransactionManager
*
This
=
impl_from_ITransactionDispenser
(
iface
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p) refcount=%u
\n
"
,
iface
,
ref
);
TRACE
(
"(%p) refcount=%
l
u
\n
"
,
iface
,
ref
);
return
ref
;
return
ref
;
}
}
...
@@ -435,7 +435,7 @@ static ULONG WINAPI TransactionDispenser_Release(ITransactionDispenser *iface)
...
@@ -435,7 +435,7 @@ static ULONG WINAPI TransactionDispenser_Release(ITransactionDispenser *iface)
TransactionManager
*
This
=
impl_from_ITransactionDispenser
(
iface
);
TransactionManager
*
This
=
impl_from_ITransactionDispenser
(
iface
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p) refcount=%u
\n
"
,
iface
,
ref
);
TRACE
(
"(%p) refcount=%
l
u
\n
"
,
iface
,
ref
);
if
(
ref
==
0
)
if
(
ref
==
0
)
{
{
...
@@ -460,7 +460,7 @@ static HRESULT WINAPI TransactionDispenser_BeginTransaction(ITransactionDispense
...
@@ -460,7 +460,7 @@ static HRESULT WINAPI TransactionDispenser_BeginTransaction(ITransactionDispense
ITransactionOptions
*
pOptions
,
ITransactionOptions
*
pOptions
,
ITransaction
**
ppTransaction
)
ITransaction
**
ppTransaction
)
{
{
FIXME
(
"(%p, %p, %08
x, %08
x, %p, %p): semi-stub
\n
"
,
iface
,
punkOuter
,
FIXME
(
"(%p, %p, %08
lx, %08l
x, %p, %p): semi-stub
\n
"
,
iface
,
punkOuter
,
isoLevel
,
isoFlags
,
pOptions
,
ppTransaction
);
isoLevel
,
isoFlags
,
pOptions
,
ppTransaction
);
if
(
!
ppTransaction
)
return
E_INVALIDARG
;
if
(
!
ppTransaction
)
return
E_INVALIDARG
;
...
@@ -556,7 +556,7 @@ static HRESULT WINAPI TransactionImportWhereabouts_GetWhereaboutsSize(ITransacti
...
@@ -556,7 +556,7 @@ static HRESULT WINAPI TransactionImportWhereabouts_GetWhereaboutsSize(ITransacti
static
HRESULT
WINAPI
TransactionImportWhereabouts_GetWhereabouts
(
ITransactionImportWhereabouts
*
iface
,
static
HRESULT
WINAPI
TransactionImportWhereabouts_GetWhereabouts
(
ITransactionImportWhereabouts
*
iface
,
ULONG
cbWhereabouts
,
BYTE
*
rgbWhereabouts
,
ULONG
*
pcbUsed
)
ULONG
cbWhereabouts
,
BYTE
*
rgbWhereabouts
,
ULONG
*
pcbUsed
)
{
{
FIXME
(
"(%p, %u, %p, %p): stub returning fake value
\n
"
,
iface
,
cbWhereabouts
,
rgbWhereabouts
,
pcbUsed
);
FIXME
(
"(%p, %
l
u, %p, %p): stub returning fake value
\n
"
,
iface
,
cbWhereabouts
,
rgbWhereabouts
,
pcbUsed
);
if
(
!
rgbWhereabouts
||
!
pcbUsed
)
return
E_INVALIDARG
;
if
(
!
rgbWhereabouts
||
!
pcbUsed
)
return
E_INVALIDARG
;
*
rgbWhereabouts
=
0
;
*
rgbWhereabouts
=
0
;
...
@@ -597,7 +597,7 @@ static ULONG WINAPI TransactionImport_Release(ITransactionImport *iface)
...
@@ -597,7 +597,7 @@ static ULONG WINAPI TransactionImport_Release(ITransactionImport *iface)
static
HRESULT
WINAPI
TransactionImport_Import
(
ITransactionImport
*
iface
,
static
HRESULT
WINAPI
TransactionImport_Import
(
ITransactionImport
*
iface
,
ULONG
cbTransactionCookie
,
byte
*
rgbTransactionCookie
,
IID
*
piid
,
void
**
ppvTransaction
)
ULONG
cbTransactionCookie
,
byte
*
rgbTransactionCookie
,
IID
*
piid
,
void
**
ppvTransaction
)
{
{
FIXME
(
"(%p, %u, %p, %s, %p): stub
\n
"
,
iface
,
cbTransactionCookie
,
rgbTransactionCookie
,
debugstr_guid
(
piid
),
ppvTransaction
);
FIXME
(
"(%p, %
l
u, %p, %s, %p): stub
\n
"
,
iface
,
cbTransactionCookie
,
rgbTransactionCookie
,
debugstr_guid
(
piid
),
ppvTransaction
);
if
(
!
rgbTransactionCookie
||
!
piid
||
!
ppvTransaction
)
return
E_INVALIDARG
;
if
(
!
rgbTransactionCookie
||
!
piid
||
!
ppvTransaction
)
return
E_INVALIDARG
;
return
E_NOTIMPL
;
return
E_NOTIMPL
;
...
@@ -653,7 +653,7 @@ static BOOL is_local_machineW( const WCHAR *server )
...
@@ -653,7 +653,7 @@ static BOOL is_local_machineW( const WCHAR *server )
HRESULT
CDECL
DtcGetTransactionManager
(
char
*
host
,
char
*
tm_name
,
REFIID
riid
,
HRESULT
CDECL
DtcGetTransactionManager
(
char
*
host
,
char
*
tm_name
,
REFIID
riid
,
DWORD
dwReserved1
,
WORD
wcbReserved2
,
void
*
pvReserved2
,
void
**
ppv
)
DWORD
dwReserved1
,
WORD
wcbReserved2
,
void
*
pvReserved2
,
void
**
ppv
)
{
{
TRACE
(
"(%s, %s, %s, %d, %d, %p, %p)
\n
"
,
debugstr_a
(
host
),
debugstr_a
(
tm_name
),
TRACE
(
"(%s, %s, %s, %
l
d, %d, %p, %p)
\n
"
,
debugstr_a
(
host
),
debugstr_a
(
tm_name
),
debugstr_guid
(
riid
),
dwReserved1
,
wcbReserved2
,
pvReserved2
,
ppv
);
debugstr_guid
(
riid
),
dwReserved1
,
wcbReserved2
,
pvReserved2
,
ppv
);
if
(
!
is_local_machineA
(
host
))
if
(
!
is_local_machineA
(
host
))
...
@@ -667,7 +667,7 @@ HRESULT CDECL DtcGetTransactionManager(char *host, char *tm_name, REFIID riid,
...
@@ -667,7 +667,7 @@ HRESULT CDECL DtcGetTransactionManager(char *host, char *tm_name, REFIID riid,
HRESULT
CDECL
DtcGetTransactionManagerExA
(
CHAR
*
host
,
CHAR
*
tm_name
,
REFIID
riid
,
HRESULT
CDECL
DtcGetTransactionManagerExA
(
CHAR
*
host
,
CHAR
*
tm_name
,
REFIID
riid
,
DWORD
options
,
void
*
config
,
void
**
ppv
)
DWORD
options
,
void
*
config
,
void
**
ppv
)
{
{
TRACE
(
"(%s, %s, %s, %d, %p, %p)
\n
"
,
debugstr_a
(
host
),
debugstr_a
(
tm_name
),
TRACE
(
"(%s, %s, %s, %
l
d, %p, %p)
\n
"
,
debugstr_a
(
host
),
debugstr_a
(
tm_name
),
debugstr_guid
(
riid
),
options
,
config
,
ppv
);
debugstr_guid
(
riid
),
options
,
config
,
ppv
);
if
(
!
is_local_machineA
(
host
))
if
(
!
is_local_machineA
(
host
))
...
@@ -681,7 +681,7 @@ HRESULT CDECL DtcGetTransactionManagerExA(CHAR *host, CHAR *tm_name, REFIID riid
...
@@ -681,7 +681,7 @@ HRESULT CDECL DtcGetTransactionManagerExA(CHAR *host, CHAR *tm_name, REFIID riid
HRESULT
CDECL
DtcGetTransactionManagerExW
(
WCHAR
*
host
,
WCHAR
*
tm_name
,
REFIID
riid
,
HRESULT
CDECL
DtcGetTransactionManagerExW
(
WCHAR
*
host
,
WCHAR
*
tm_name
,
REFIID
riid
,
DWORD
options
,
void
*
config
,
void
**
ppv
)
DWORD
options
,
void
*
config
,
void
**
ppv
)
{
{
TRACE
(
"(%s, %s, %s, %d, %p, %p)
\n
"
,
debugstr_w
(
host
),
debugstr_w
(
tm_name
),
TRACE
(
"(%s, %s, %s, %
l
d, %p, %p)
\n
"
,
debugstr_w
(
host
),
debugstr_w
(
tm_name
),
debugstr_guid
(
riid
),
options
,
config
,
ppv
);
debugstr_guid
(
riid
),
options
,
config
,
ppv
);
if
(
!
is_local_machineW
(
host
))
if
(
!
is_local_machineW
(
host
))
...
...
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