win32service.SetServiceObjectSecurity
SetServiceObjectSecurity(Handle, SecurityInformation, SecurityDescriptor)
Set the security descriptor for a service
Parameters
Handle : PySC_HANDLE
Service handleSecurityInformation : int
Type of infomation to set, combination of values from SECURITY_INFORMATION enumSecurityDescriptor : PySECURITY_DESCRIPTOR
PySECURITY_DESCRIPTOR containing infomation to set