[_winapi] Add COPY_FILE_DIRECTORY (#14515)

This commit is contained in:
Semyon Moroz
2025-08-04 10:44:19 +00:00
committed by GitHub
parent 731090c062
commit e16c23d376
2 changed files with 3 additions and 1 deletions
@@ -2,7 +2,6 @@
# TODO: New errors in Python 3.14 that need to be fixed or moved below
# ====================================================================
_winapi.COPY_FILE_DIRECTORY
compression.zlib.ZLIBNG_VERSION
pathlib.Path.group
pathlib.Path.owner
+3
View File
@@ -172,6 +172,9 @@ if sys.platform == "win32":
ERROR_ACCESS_DENIED: Final = 5
ERROR_PRIVILEGE_NOT_HELD: Final = 1314
if sys.version_info >= (3, 14):
COPY_FILE_DIRECTORY: Final = 0x00000080
def CloseHandle(handle: int, /) -> None: ...
@overload
def ConnectNamedPipe(handle: int, overlapped: Literal[True]) -> Overlapped: ...