MCPcopy Create free account
hub / github.com/secdev/scapy / _windows_title

Function _windows_title

scapy/arch/windows/structures.py:104–111  ·  view source on GitHub ↗

Updates the terminal title with the default one or with `title` if provided.

(title=None)

Source from the content-addressed store, hash-verified

102_winapi_SetConsoleTitle.argtypes = [LPWSTR]
103
104def _windows_title(title=None):
105 # type: (Optional[str]) -> None
106 """
107 Updates the terminal title with the default one or with `title`
108 if provided.
109 """
110 if conf.interactive:
111 _winapi_SetConsoleTitle(title or "Scapy v{}".format(conf.version))
112
113
114SC_HANDLE = HANDLE

Callers 3

test_windump_npcapFunction · 0.90
_npcap_setMethod · 0.90
_npcap_getMethod · 0.90

Calls 1

formatMethod · 0.45

Tested by 1

test_windump_npcapFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…