Structure Job
See Also: Class MaxNetManager, Structure AlertData, Structure MaxJob, Structure CombustionJob
Description:
This structure is available in release 4.0 and later only.
This structure is used by the Network Rendering API to store information about a job.
typedef struct {
DWORD size;
The size of the structure, being sizeof(Job).
DWORD version;
The structure version information, defined by _JOB_VERSION.
DWORD server_pid;
The server Process ID which is used by 3ds max to check server's health.
DWORD flags;
The job flags, defined as the following values:
JOB_VP
Video Post (otherwise is Render Scene).
JOB_NONC
Non concurrent driver (Accom DDR, AVI, etc.)
JOB_MAPS
The Include Maps flag.
JOB_NONSTOP
Uninterruptible driver (AVI, FLC, etc.)
JOB_SKIPEXST
Skip Existing Frames.
JOB_ALLSERVERS
Allow the use of all available servers.
JOB_INACTIVE
This flag indicates the job is suspended
JOB_COMPLETE
This read-only flag indicates that the job is complete.
JOB_IGNORESHARE
Ignore the Manager's job share, always request archives.
JOB_SKIPOUTPUTTST
This flag indicates that the server should not test the output path.
JOB_NONSEQFRAMES
Non sequential frames such as 1,3,5-10, etc.
JOB_COMBUSTIONJOB
This flag indicates the job is a Combustion specific job.
JOB_NOTARCHIVED
This flag indicates an uncompressed file (i.e. not an archive).
JOB_ASSIGN_VP
This is a legacy support flag, defined as JOB_VP.
JOB_ASSIGN_RND
This is a legacy support flag.
HJOB hJob;
Handle to the job, assigned by the Manager when a job is created/submitted. This handle will be read-only after its creation.
char name[MAX_PATH];
The name of the job.
DWORD filesize;
This variable is used internally when transferring an archive and specifies its size.
DWORD filesizeextracted;
This variable is used internally when transferring an archive and specifies its uncompressed size.
SYSTEMTIME submission;
The system time, set when a job is created/submitted.
SYSTEMTIME startjob;
The system time, set when a job starts.
SYSTEMTIME endjob;
The system time, set when a job is completed.
int servercount;
The number of servers defined for the job (can be 0 if JOB_ALLSERVERS is set).
AlertData alerts;
The alert notification data structure.
int jobtextcount;
The number of JobTextInfo records.
int firstframe;
The first frame in the range.
int lastframe;
The last frame in the range.
int step;
The frame step value (i.e. every n-th frame).
int width;
The frame output width.
int height;
The frame output height.
int frames_completed;
The number of frames completed.
char priority;
The job priority level.
char reserved[32];
Reserved for future use.
union {
MaxJob maxJob
Specific information about a job pertaining to 3ds max.
CombustionJob combustionJob
Specific information about a job pertaining to Combustion.
}
} Job;