Skip to content

Commit 71aa48d

Browse files
committed
1 parent 090a947 commit 71aa48d

1 file changed

Lines changed: 31 additions & 28 deletions

File tree

stubs/pywin32/pythonwin/dde.pyi

Lines changed: 31 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,36 @@
11
# Can't generate with stubgen because:
22
# "ImportError: This must be an MFC application - try 'import win32ui' first"
3-
APPCLASS_MONITOR: int
4-
APPCLASS_STANDARD: int
5-
APPCMD_CLIENTONLY: int
6-
APPCMD_FILTERINITS: int
7-
CBF_FAIL_ADVISES: int
8-
CBF_FAIL_ALLSVRXACTIONS: int
9-
CBF_FAIL_CONNECTIONS: int
10-
CBF_FAIL_EXECUTES: int
11-
CBF_FAIL_POKES: int
12-
CBF_FAIL_REQUESTS: int
13-
CBF_FAIL_SELFCONNECTIONS: int
14-
CBF_SKIP_ALLNOTIFICATIONS: int
15-
CBF_SKIP_CONNECT_CONFIRMS: int
16-
CBF_SKIP_DISCONNECTS: int
17-
CBF_SKIP_REGISTRATIONS: int
3+
from typing import Final
184

19-
def CreateConversation(Server, /): ...
20-
def CreateServer(): ...
21-
def CreateServerSystemTopic(): ...
22-
def CreateStringItem(name, /): ...
23-
def CreateTopic(name, /): ...
24-
25-
MF_CALLBACKS: int
26-
MF_CONV: int
27-
MF_ERRORS: int
28-
MF_HSZ_INFO: int
29-
MF_LINKS: int
30-
MF_POSTMSGS: int
31-
MF_SENDMSGS: int
5+
import _win32typing
326

337
class error(Exception): ...
8+
9+
def CreateConversation(Server, /) -> _win32typing.PyDDEConv: ...
10+
def CreateServer() -> _win32typing.PyDDEServer: ...
11+
def CreateServerSystemTopic(): ...
12+
def CreateTopic(name: str, /) -> _win32typing.PyDDETopic: ...
13+
def CreateStringItem(name: str, /) -> _win32typing.PyDDEStringItem: ...
14+
15+
APPCLASS_MONITOR: Final[int]
16+
APPCLASS_STANDARD: Final[int]
17+
APPCMD_CLIENTONLY: Final[int]
18+
APPCMD_FILTERINITS: Final[int]
19+
CBF_FAIL_ALLSVRXACTIONS: Final[int]
20+
CBF_FAIL_ADVISES: Final[int]
21+
CBF_FAIL_CONNECTIONS: Final[int]
22+
CBF_FAIL_EXECUTES: Final[int]
23+
CBF_FAIL_POKES: Final[int]
24+
CBF_FAIL_REQUESTS: Final[int]
25+
CBF_FAIL_SELFCONNECTIONS: Final[int]
26+
CBF_SKIP_ALLNOTIFICATIONS: Final[int]
27+
CBF_SKIP_CONNECT_CONFIRMS: Final[int]
28+
CBF_SKIP_DISCONNECTS: Final[int]
29+
CBF_SKIP_REGISTRATIONS: Final[int]
30+
MF_CALLBACKS: Final[int]
31+
MF_CONV: Final[int]
32+
MF_ERRORS: Final[int]
33+
MF_HSZ_INFO: Final[int]
34+
MF_LINKS: Final[int]
35+
MF_POSTMSGS: Final[int]
36+
MF_SENDMSGS: Final[int]

0 commit comments

Comments
 (0)