win32job.SetInformationJobObject

SetInformationJobObject(Job, JobObjectInfoClass, JobObjectInfo)

Sets quotas and limits for a job

Parameters

Job : PyHANDLE

Handle to a job

JobObjectInfoClass : int

The type of data required, one of JobObject* values

JobObjectInfo : dict

Dictionary containing info to be set, as returned by win32job::QueryInformationJobObject

JobObjectInfoClass Type of information to be set
JobObjectBasicLimitInformationA JOBOBJECT_BASIC_LIMIT_INFORMATION dict
JobObjectExtendedLimitInformationdict representing a JOBOBJECT_EXTENDED_LIMIT_INFORMATION struct
JobObjectEndOfJobTimeInformationdict representing a JOBOBJECT_END_OF_JOB_TIME_INFORMATION struct
JobObjectBasicUIRestrictionsdict representing a JOBOBJECT_BASIC_UI_RESTRICTIONS struct
JobObjectJobSetInformationInput is a JOBOBJECT_JOBSET_INFORMATION dict - Not implemented
JobObjectSecurityLimitInformationInput is a JOBOBJECT_SECURITY_LIMIT_INFORMATION dict - Not implemented
JobObjectAssociateCompletionPortInformationInput is a JOBOBJECT_ASSOCIATE_COMPLETION_PORT dict - Not implemented