[pywin32-checkins] pywin32/win32/src win32security.i,1.43,1.44
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Roger U. <ru...@us...> - 2007-08-08 08:43:58
|
Update of /cvsroot/pywin32/pywin32/win32/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25183/win32/src Modified Files: win32security.i Log Message: Fix some 64-bit issues, and convert a few functions to keyword args Index: win32security.i =================================================================== RCS file: /cvsroot/pywin32/pywin32/win32/src/win32security.i,v retrieving revision 1.43 retrieving revision 1.44 diff -C2 -d -r1.43 -r1.44 *** win32security.i 2 Aug 2007 04:35:14 -0000 1.43 --- win32security.i 8 Aug 2007 08:43:50 -0000 1.44 *************** *** 331,368 **** } BOOL PyWinObject_AsSID_AND_ATTRIBUTESArray(PyObject *obsids, PSID_AND_ATTRIBUTES *psid_attr_array, DWORD *sid_cnt) { ! PyObject *obsid_attr; *psid_attr_array=NULL; *sid_cnt=0; - static char *fmt_msg="Object must be a sequence of PySID_AND_ATTRIBUTES tuples, or None"; if (obsids==Py_None) [...999 lines suppressed...] *************** *** 3216,3219 **** --- 3231,3235 ---- return ret; } + PyCFunction pfn_PyCreateRestrictedToken = (PyCFunction)PyCreateRestrictedToken; %} *************** *** 3931,3939 **** #define UNPROTECTED_SACL_SECURITY_INFORMATION UNPROTECTED_SACL_SECURITY_INFORMATION - /** if (_WIN32_WINNT >= 0x0500) - #define SE_DS_OBJECT SE_DS_OBJECT - #define SE_DS_OBJECT_ALL SE_DS_OBJECT_ALL - #define SE_PROVIDER_DEFINED_OBJECT SE_PROVIDER_DEFINED_OBJECT - **/ #define SidTypeUser SidTypeUser // Indicates a user SID. --- 3947,3950 ---- |