Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alexey Alyaev
wine
Commits
adafd6c4
Commit
adafd6c4
authored
11 years ago
by
Daniel Jelinski
Committed by
Alexandre Julliard
11 years ago
Browse files
Options
Downloads
Patches
Plain Diff
include: Added transact.idl.
parent
057b0d8b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitignore
+1
-0
1 addition, 0 deletions
.gitignore
dlls/adsiid/adsiid.c
+1
-0
1 addition, 0 deletions
dlls/adsiid/adsiid.c
include/Makefile.in
+1
-0
1 addition, 0 deletions
include/Makefile.in
include/transact.idl
+226
-0
226 additions, 0 deletions
include/transact.idl
with
229 additions
and
0 deletions
.gitignore
+
1
−
0
View file @
adafd6c4
...
...
@@ -246,6 +246,7 @@ include/structuredquerycondition.h
include/textstor.h
include/tlogstg.h
include/tom.h
include/transact.h
include/uiautomationclient.h
include/uiautomationcore.h
include/unknwn.h
...
...
This diff is collapsed.
Click to expand it.
dlls/adsiid/adsiid.c
+
1
−
0
View file @
adafd6c4
...
...
@@ -25,3 +25,4 @@
#include
"initguid.h"
#include
"iads.h"
#include
"transact.h"
This diff is collapsed.
Click to expand it.
include/Makefile.in
+
1
−
0
View file @
adafd6c4
...
...
@@ -98,6 +98,7 @@ PUBLIC_IDL_H_SRCS = \
textstor.idl
\
tlogstg.idl
\
tom.idl
\
transact.idl
\
uiautomationclient.idl
\
uiautomationcore.idl
\
unknwn.idl
\
...
...
This diff is collapsed.
Click to expand it.
include/transact.idl
0 → 100644
+
226
−
0
View file @
adafd6c4
/*
*
Copyright
(
C
)
2013
Daniel
Jeli
ń
ski
*
*
This
library
is
free
software
; you can redistribute it and/or
*
modify
it
under
the
terms
of
the
GNU
Lesser
General
Public
*
License
as
published
by
the
Free
Software
Foundation
; either
*
version
2.1
of
the
License
,
or
(
at
your
option
)
any
later
version
.
*
*
This
library
is
distributed
in
the
hope
that
it
will
be
useful
,
*
but
WITHOUT
ANY
WARRANTY
; without even the implied warranty of
*
MERCHANTABILITY
or
FITNESS
FOR
A
PARTICULAR
PURPOSE
.
See
the
GNU
*
Lesser
General
Public
License
for
more
details
.
*
*
You
should
have
received
a
copy
of
the
GNU
Lesser
General
Public
*
License
along
with
this
library
; if not, write to the Free Software
*
Foundation
,
Inc
.
,
51
Franklin
St
,
Fifth
Floor
,
Boston
,
MA
02110
-
1301
,
USA
*/
import
"unknwn.idl"
;
cpp_quote
(
"#include <winerror.h>"
)
interface
ITransaction
;
interface
ITransactionCloner
;
interface
ITransaction2
;
interface
ITransactionDispenser
;
interface
ITransactionOptions
;
interface
ITransactionOutcomeEvents
;
interface
ITmNodeName
;
typedef
struct
BOID
{
byte
rgb
[
16
]
;
}
BOID
;
cpp_quote
(
"#ifndef MAX_TRAN_DESC_DEFINED"
)
cpp_quote
(
"#define MAX_TRAN_DESC_DEFINED"
)
typedef
enum
TX_MISC_CONSTANTS
{
MAX_TRAN_DESC
=
40
}
TX_MISC_CONSTANTS
;
cpp_quote
(
"#endif"
)
typedef
BOID
XACTUOW
;
typedef
LONG
ISOLEVEL
;
typedef
enum
ISOLATIONLEVEL
{
ISOLATIONLEVEL_UNSPECIFIED
=
0
xffffffff
,
ISOLATIONLEVEL_CHAOS
=
0
x10
,
ISOLATIONLEVEL_READUNCOMMITTED
=
0
x100
,
ISOLATIONLEVEL_BROWSE
=
0
x100
,
ISOLATIONLEVEL_CURSORSTABILITY
=
0
x1000
,
ISOLATIONLEVEL_READCOMMITTED
=
0
x1000
,
ISOLATIONLEVEL_REPEATABLEREAD
=
0
x10000
,
ISOLATIONLEVEL_SERIALIZABLE
=
0
x100000
,
ISOLATIONLEVEL_ISOLATED
=
0
x100000
}
ISOLATIONLEVEL
;
typedef
struct
XACTTRANSINFO
{
XACTUOW
uow
;
ISOLEVEL
isoLevel
;
ULONG
isoFlags
;
DWORD
grfTCSupported
;
DWORD
grfRMSupported
;
DWORD
grfTCSupportedRetaining
;
DWORD
grfRMSupportedRetaining
;
}
XACTTRANSINFO
;
typedef
struct
XACTSTATS
{
ULONG
cOpen
;
ULONG
cCommitting
;
ULONG
cCommitted
;
ULONG
cAborting
;
ULONG
cAborted
;
ULONG
cInDoubt
;
ULONG
cHeuristicDecision
;
FILETIME
timeTransactionsUp
;
}
XACTSTATS
;
typedef
enum
ISOFLAG
{
ISOFLAG_RETAIN_COMMIT_DC
=
1
,
ISOFLAG_RETAIN_COMMIT
=
2
,
ISOFLAG_RETAIN_COMMIT_NO
=
3
,
ISOFLAG_RETAIN_ABORT_DC
=
4
,
ISOFLAG_RETAIN_ABORT
=
8
,
ISOFLAG_RETAIN_ABORT_NO
=
12
,
ISOFLAG_RETAIN_DONTCARE
=
ISOFLAG_RETAIN_COMMIT_DC
|
ISOFLAG_RETAIN_ABORT_DC
,
ISOFLAG_RETAIN_BOTH
=
ISOFLAG_RETAIN_COMMIT
|
ISOFLAG_RETAIN_ABORT
,
ISOFLAG_RETAIN_NONE
=
ISOFLAG_RETAIN_COMMIT_NO
|
ISOFLAG_RETAIN_ABORT_NO
,
ISOFLAG_OPTIMISTIC
=
16
,
ISOFLAG_READONLY
=
32
}
ISOFLAG
;
typedef
enum
XACTTC
{
XACTTC_NONE
=
0
,
XACTTC_SYNC_PHASEONE
=
1
,
XACTTC_SYNC_PHASETWO
=
2
,
XACTTC_SYNC
=
2
,
XACTTC_ASYNC_PHASEONE
=
4
,
XACTTC_ASYNC
=
4
}
XACTTC
;
typedef
enum
XACTRM
{
XACTRM_OPTIMISTICLASTWINS
=
1
,
XACTRM_NOREADONLYPREPARES
}
XACTRM
;
typedef
enum
XACTCONST
{
XACTCONST_TIMEOUTINFINITE
}
XACTCONST
;
typedef
enum
XACTHEURISTIC
{
XACTHEURISTIC_ABORT
=
1
,
XACTHEURISTIC_COMMIT
,
XACTHEURISTIC_DAMAGE
,
XACTHEURISTIC_DANGER
}
XACTHEURISTIC
;
typedef
enum
XACTSTAT
{
XACTSTAT_NONE
=
0
,
XACTSTAT_OPENNORMAL
=
0
x1
,
XACTSTAT_OPENREFUSED
=
0
x2
,
XACTSTAT_PREPARING
=
0
x4
,
XACTSTAT_PREPARED
=
0
x8
,
XACTSTAT_PREPARERETAINING
=
0
x10
,
XACTSTAT_PREPARERETAINED
=
0
x20
,
XACTSTAT_COMMITTING
=
0
x40
,
XACTSTAT_COMMITRETAINING
=
0
x80
,
XACTSTAT_ABORTING
=
0
x100
,
XACTSTAT_ABORTED
=
0
x200
,
XACTSTAT_COMMITTED
=
0
x400
,
XACTSTAT_HEURISTIC_ABORT
=
0
x800
,
XACTSTAT_HEURISTIC_COMMIT
=
0
x1000
,
XACTSTAT_HEURISTIC_DAMAGE
=
0
x2000
,
XACTSTAT_HEURISTIC_DANGER
=
0
x4000
,
XACTSTAT_FORCED_ABORT
=
0
x8000
,
XACTSTAT_FORCED_COMMIT
=
0
x10000
,
XACTSTAT_INDOUBT
=
0
x20000
,
XACTSTAT_CLOSED
=
0
x40000
,
XACTSTAT_OPEN
=
0
x3
,
XACTSTAT_NOTPREPARED
=
0
x7ffc3
,
XACTSTAT_ALL
=
0
x7ffff
}
XACTSTAT
;
typedef
struct
XACTOPT
{
ULONG
ulTimeout
;
char
szDescription
[
40
]
;
}
XACTOPT
;
[
object
,
uuid
(
0
fb15084
-
af41
-
11
ce
-
bd2b
-
204
c4f4f5020
)
]
interface
ITransaction
:
IUnknown
{
HRESULT
Commit
(
[
in
]
BOOL
fRetaining
,
[
in
]
DWORD
grfTC
,
[
in
]
DWORD
grfRM
)
;
HRESULT
Abort
(
[
in
,
unique
]
BOID
*
pboidReason
,
[
in
]
BOOL
fRetaining
,
[
in
]
BOOL
fAsync
)
;
HRESULT
GetTransactionInfo
(
[
out
]
XACTTRANSINFO
*
pinfo
)
;
}
;
[
object
,
uuid
(
02656950
-
2152
-
11
d0
-
944
C
-
00
A0C905416E
)
]
interface
ITransactionCloner
:
ITransaction
{
HRESULT
CloneWithCommitDisabled
(
[
out
]
ITransaction
**
ppITransaction
)
;
}
;
[
object
,
uuid
(
34021548
-
0065
-
11
d3
-
bac1
-
00
c04f797be2
)
]
interface
ITransaction2
:
ITransactionCloner
{
HRESULT
GetTransactionInfo2
(
[
out
]
XACTTRANSINFO
*
pinfo
)
;
}
;
[
object
,
uuid
(
3
A6AD9E1
-
23B9
-
11
cf
-
AD60
-
00
AA00A74CCD
)
]
interface
ITransactionDispenser
:
IUnknown
{
HRESULT
GetOptionsObject
(
[
out
]
ITransactionOptions
**
ppOptions
)
;
HRESULT
BeginTransaction
(
[
in
,
unique
]
IUnknown
*
punkOuter
,
[
in
]
ISOLEVEL
isoLevel
,
[
in
]
ULONG
isoFlags
,
[
in
,
unique
]
ITransactionOptions
*
pOptions
,
[
out
]
ITransaction
**
ppTransaction
)
;
}
;
[
object
,
uuid
(
3
A6AD9E0
-
23B9
-
11
cf
-
AD60
-
00
AA00A74CCD
)
]
interface
ITransactionOptions
:
IUnknown
{
HRESULT
SetOptions
(
[
in
]
XACTOPT
*
pOptions
)
;
HRESULT
GetOptions
(
[
in
,
out
]
XACTOPT
*
pOptions
)
;
}
;
[
object
,
uuid
(
3
A6AD9E2
-
23B9
-
11
cf
-
AD60
-
00
AA00A74CCD
)
]
interface
ITransactionOutcomeEvents
:
IUnknown
{
HRESULT
Committed
(
[
in
]
BOOL
fRetaining
,
[
in
,
unique
]
XACTUOW
*
pNewUOW
,
[
in
]
HRESULT
hr
)
;
HRESULT
Aborted
(
[
in
,
unique
]
BOID
*
pboidReason
,
[
in
]
BOOL
fRetaining
,
[
in
,
unique
]
XACTUOW
*
pNewUOW
,
[
in
]
HRESULT
hr
)
;
HRESULT
HeuristicDecision
(
[
in
]
DWORD
dwDecision
,
[
in
,
unique
]
BOID
*
pboidReason
,
[
in
]
HRESULT
hr
)
;
HRESULT
Indoubt
(
void
)
;
}
;
[
object
,
uuid
(
30274
F88
-
6
EE4
-474e-9
B95
-
7807B
C9EF8CF
)
]
interface
ITmNodeName
:
IUnknown
{
HRESULT
GetNodeNameSize
(
[
out
]
ULONG
*
pcbNodeNameSize
)
;
HRESULT
GetNodeName
(
[
in
]
ULONG
cbNodeNameBufferSize
,
[
in
,
out
]
LPWSTR
pNodeNameBuffer
)
;
}
;
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment