[pywin32-checkins] pywin32/win32/src PyACL.cpp,1.13,1.14
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
|
From: Mark H. <mha...@us...> - 2005-06-02 06:28:56
|
Update of /cvsroot/pywin32/pywin32/win32/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16631 Modified Files: PyACL.cpp Log Message: Autoduck now shows basic info about the TRUSTEE dict Index: PyACL.cpp =================================================================== RCS file: /cvsroot/pywin32/pywin32/win32/src/PyACL.cpp,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** PyACL.cpp 31 May 2005 12:41:46 -0000 1.13 --- PyACL.cpp 2 Jun 2005 06:28:47 -0000 1.14 *************** *** 207,210 **** --- 207,216 ---- } + // @object PyTRUSTEE|A dictionary representing a TRUSTEE structure. + // @prop int|TrusteeForm| + // @prop int|TrusteeType| + // @prop object|Identifier|Depends on the value of TrusteeForm (string or sid) + // @prop object|MultipleTrustee|default is None + // @prop object|MultipleTrusteeOperation|default is None BOOL PyWinObject_AsTRUSTEE(PyObject *obtrustee, TRUSTEE_W *ptrustee) { *************** *** 309,313 **** { static char *expl_items[]={"AccessPermissions","AccessMode","Inheritance","Trustee",0}; ! static char* err_msg="EXPLICIT_ACCESS must be a dictionary containing {AccessPermissions:int,AccessMode:int,Inheritance:int,Trustee:dict}"; PyObject *expl_dict=NULL, *obtrustee=NULL; BOOL bsuccess=FALSE; --- 315,319 ---- { static char *expl_items[]={"AccessPermissions","AccessMode","Inheritance","Trustee",0}; ! static char* err_msg="EXPLICIT_ACCESS must be a dictionary containing {AccessPermissions:int,AccessMode:int,Inheritance:int,Trustee:<o PyTRUSTEE>}"; PyObject *expl_dict=NULL, *obtrustee=NULL; BOOL bsuccess=FALSE; *************** *** 1036,1040 **** PyObject *ret=NULL, *obTrustee=NULL; TRUSTEE_W trustee; ! // @pyparm <o Dict>|trustee||Dictionary representing a TRUSTEE structure if (!PyArg_ParseTuple(args, "O:GetEffectiveRightsFromAcl", &obTrustee)) return NULL; --- 1042,1046 ---- PyObject *ret=NULL, *obTrustee=NULL; TRUSTEE_W trustee; ! // @pyparm <o PyTRUSTEE>|trustee||Dictionary representing a TRUSTEE structure if (!PyArg_ParseTuple(args, "O:GetEffectiveRightsFromAcl", &obTrustee)) return NULL; *************** *** 1061,1065 **** PyObject *ret=NULL, *obTrustee=NULL; TRUSTEE_W trustee; ! // @pyparm <o Dict>|trustee||Dictionary representing a TRUSTEE structure if (!PyArg_ParseTuple(args, "O:GetAuditedPermissionsFromAcl", &obTrustee)) return NULL; --- 1067,1071 ---- PyObject *ret=NULL, *obTrustee=NULL; TRUSTEE_W trustee; ! // @pyparm <o PyTRUSTEE>|trustee||Dictionary representing a TRUSTEE structure if (!PyArg_ParseTuple(args, "O:GetAuditedPermissionsFromAcl", &obTrustee)) return NULL; |