massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stdlib / _msi.pyi
1 import sys
2
3 if sys.platform == "win32":
4
5     # Actual typename View, not exposed by the implementation
6     class _View:
7         def Execute(self, params: _Record | None = ...) -> None: ...
8         def GetColumnInfo(self, kind: int) -> _Record: ...
9         def Fetch(self) -> _Record: ...
10         def Modify(self, mode: int, record: _Record) -> None: ...
11         def Close(self) -> None: ...
12         # Don't exist at runtime
13         __new__: None  # type: ignore
14         __init__: None  # type: ignore
15     # Actual typename Summary, not exposed by the implementation
16     class _Summary:
17         def GetProperty(self, propid: int) -> str | bytes | None: ...
18         def GetPropertyCount(self) -> int: ...
19         def SetProperty(self, propid: int, value: str | bytes) -> None: ...
20         def Persist(self) -> None: ...
21         # Don't exist at runtime
22         __new__: None  # type: ignore
23         __init__: None  # type: ignore
24     # Actual typename Database, not exposed by the implementation
25     class _Database:
26         def OpenView(self, sql: str) -> _View: ...
27         def Commit(self) -> None: ...
28         def GetSummaryInformation(self, updateCount: int) -> _Summary: ...
29         def Close(self) -> None: ...
30         # Don't exist at runtime
31         __new__: None  # type: ignore
32         __init__: None  # type: ignore
33     # Actual typename Record, not exposed by the implementation
34     class _Record:
35         def GetFieldCount(self) -> int: ...
36         def GetInteger(self, field: int) -> int: ...
37         def GetString(self, field: int) -> str: ...
38         def SetString(self, field: int, str: str) -> None: ...
39         def SetStream(self, field: int, stream: str) -> None: ...
40         def SetInteger(self, field: int, int: int) -> None: ...
41         def ClearData(self) -> None: ...
42         # Don't exist at runtime
43         __new__: None  # type: ignore
44         __init__: None  # type: ignore
45     def UuidCreate() -> str: ...
46     def FCICreate(cabname: str, files: list[str]) -> None: ...
47     def OpenDatabase(name: str, flags: int) -> _Database: ...
48     def CreateRecord(count: int) -> _Record: ...