Update of /cvsroot/pywin32/pywin32/win32/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25835
Modified Files:
win32file.i
Log Message:
Wrap some long autoduck lines, and other autoduck tweaks
(turns out autoduck crashes when > 96 methods are defined in a module -
but the fix to that ends up being in the autoduck tools, not here. For
a while, I suspected one of the long lines!
Index: win32file.i
===================================================================
RCS file: /cvsroot/pywin32/pywin32/win32/src/win32file.i,v
retrieving revision 1.34
retrieving revision 1.35
diff -C2 -d -r1.34 -r1.35
*** win32file.i 16 Nov 2003 06:59:53 -0000 1.34
--- win32file.i 26 Jan 2004 23:34:56 -0000 1.35
***************
*** 2599,2603 ****
}
! // @pyswig int|FileEncryptionStatus|Requires Windows 2000 or higher - Returns FILE_ENCRYPTABLE, FILE_IS_ENCRYPTED, FILE_SYSTEM_ATTR, FILE_ROOT_DIR, FILE_SYSTEM_DIR, FILE_UNKNOWN, FILE_SYSTEM_NOT_SUPPORT, FILE_USER_DISALLOWED, or FILE_READ_ONLY
static PyObject*
py_FileEncryptionStatus(PyObject *self, PyObject *args)
--- 2599,2608 ----
}
! // @pyswig int|FileEncryptionStatus|retrieves the encryption status of the specified file.
! // @rdesc The result is documented as being one of FILE_ENCRYPTABLE,
! // FILE_IS_ENCRYPTED, FILE_SYSTEM_ATTR, FILE_ROOT_DIR, FILE_SYSTEM_DIR,
! // FILE_UNKNOWN, FILE_SYSTEM_NOT_SUPPORT, FILE_USER_DISALLOWED,
! // or FILE_READ_ONLY
! // @comm Requires Windows 2000 or higher.
static PyObject*
py_FileEncryptionStatus(PyObject *self, PyObject *args)
***************
*** 2918,2922 ****
}
! // @pyswig (<o PySID>,string,unicode)|QueryRecoveryAgentsOnEncryptedFile|Lists recovery agents for file as a tuple of tuples - ((SID, certificate hash blob, display info),....)
static PyObject*
py_QueryRecoveryAgentsOnEncryptedFile(PyObject *self, PyObject *args)
--- 2923,2928 ----
}
! // @pyswig (<o PySID>,string,unicode)|QueryRecoveryAgentsOnEncryptedFile|Lists recovery agents for file as a tuple of tuples.
! // @rdesc The result is a tuple of tuples - ((SID, certificate hash blob, display info),....)
static PyObject*
py_QueryRecoveryAgentsOnEncryptedFile(PyObject *self, PyObject *args)
***************
*** 2986,2991 ****
py_AddUsersToEncryptedFile(PyObject *self, PyObject *args)
{
! // @pyparm string/unicode|FileName||File that additional users will be allowed to decrypt
! // @pyparm ((<o PySID>,string,int),...)|pUsers||Sequence representing ENCRYPTION_CERTIFICATE_LIST - elements are sequences consisting of users' Sid, encoded EFS certficate (user must export a .cer to obtain this data), and encoding type (usually 1 for X509_ASN_ENCODING)
if (pfnAddUsersToEncryptedFile==NULL)
return PyErr_Format(PyExc_NotImplementedError,"AddUsersToEncryptedFile not supported by this version of Windows");
--- 2992,3000 ----
py_AddUsersToEncryptedFile(PyObject *self, PyObject *args)
{
! // @pyparm string/unicode|FileName||File that additional users will be allowed to decrypt
! // @pyparm ((<o PySID>,string,int),...)|pUsers||Sequence representing
! // ENCRYPTION_CERTIFICATE_LIST - elements are sequences consisting of
! // users' Sid, encoded EFS certficate (user must export a .cer to obtain
! // this data), and encoding type (usually 1 for X509_ASN_ENCODING)
if (pfnAddUsersToEncryptedFile==NULL)
return PyErr_Format(PyExc_NotImplementedError,"AddUsersToEncryptedFile not supported by this version of Windows");
|