-
|
In for (PyMethodDef *pmd = win32fileMethods;pmd->ml_name;pmd++)
if ((strcmp(pmd->ml_name, "CreateFileW")==0)
||(strcmp(pmd->ml_name, "DeleteFileW")==0)
||(strcmp(pmd->ml_name, "MoveFileWithProgress")==0)
||(strcmp(pmd->ml_name, "CopyFileEx")==0)
||(strcmp(pmd->ml_name, "GetFileAttributesEx")==0)
||(strcmp(pmd->ml_name, "GetFileAttributesExW")==0)
||(strcmp(pmd->ml_name, "SetFileAttributesW")==0)
||(strcmp(pmd->ml_name, "CreateHardLink")==0)
||(strcmp(pmd->ml_name, "CreateSymbolicLink")==0)
||(strcmp(pmd->ml_name, "CreateDirectoryExW")==0)
||(strcmp(pmd->ml_name, "RemoveDirectory")==0)
||(strcmp(pmd->ml_name, "FindFilesW")==0)
||(strcmp(pmd->ml_name, "FindFilesIterator")==0)
||(strcmp(pmd->ml_name, "FindStreams")==0)
||(strcmp(pmd->ml_name, "FindFileNames")==0)
||(strcmp(pmd->ml_name, "GetFinalPathNameByHandle")==0)
||(strcmp(pmd->ml_name, "SetVolumeMountPoint")==0)
||(strcmp(pmd->ml_name, "DeleteVolumeMountPoint")==0)
||(strcmp(pmd->ml_name, "GetVolumeNameForVolumeMountPoint")==0)
||(strcmp(pmd->ml_name, "GetVolumePathName")==0)
||(strcmp(pmd->ml_name, "GetVolumePathNamesForVolumeName")==0)
||(strcmp(pmd->ml_name, "DuplicateEncryptionInfoFile")==0)
||(strcmp(pmd->ml_name, "GetLongPathName")==0)
||(strcmp(pmd->ml_name, "GetFullPathName")==0)
||(strcmp(pmd->ml_name, "GetFileInformationByHandleEx")==0)
||(strcmp(pmd->ml_name, "SetFileInformationByHandle")==0)
||(strcmp(pmd->ml_name, "DeviceIoControl")==0)
||(strcmp(pmd->ml_name, "TransmitFile")==0)
||(strcmp(pmd->ml_name, "ConnectEx")==0)
||(strcmp(pmd->ml_name, "ReOpenFile")==0)
||(strcmp(pmd->ml_name, "OpenFileById")==0)
||(strcmp(pmd->ml_name, "SetFileTime")==0)
)
pmd->ml_flags = METH_VARARGS | METH_KEYWORDS;No where else is |
Beta Was this translation helpful? Give feedback.
Answered by
geppi
Nov 29, 2025
Replies: 1 comment
-
|
Did you ever build pywin32? From win32/src/win32file_swig.cpp: |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
geppi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Did you ever build pywin32?
From win32/src/win32file_swig.cpp: