File: win32transaction.pyi

package info (click to toggle)
typeshed 0.0~git20221107.4f381af-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 18,036 kB
  • sloc: python: 3,216; sh: 62; makefile: 13
file content (18 lines) | stat: -rw-r--r-- 779 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import _win32typing
from win32.lib.pywintypes import error as error

def CreateTransaction(
    TransactionAttributes: _win32typing.PySECURITY_ATTRIBUTES | None = ...,
    UOW: _win32typing.PyIID | None = ...,
    CreateOptions: int = ...,
    IsolationLevel: int = ...,
    IsolationFlags: int = ...,
    Timeout: int = ...,
    Description: str | None = ...,
) -> int: ...
def RollbackTransaction(TransactionHandle: int) -> None: ...
def RollbackTransactionAsync(TransactionHandle: int) -> None: ...
def CommitTransaction(TransactionHandle: int) -> None: ...
def CommitTransactionAsync(TransactionHandle: int) -> None: ...
def GetTransactionId(TransactionHandle: int) -> _win32typing.PyIID: ...
def OpenTransaction(DesiredAccess, TransactionId: _win32typing.PyIID) -> int: ...