 |
CreateJobObject ..msdn Add comment W32 Constants Translate this page |
 |
 |
Creates or opens a job object.
|
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
HANDLE CreateJobObject(
LPSECURITY_ATTRIBUTES lpJobAttributes,
LPCTSTR lpName
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER CreateJobObject IN kernel32;
INTEGER lpJobAttributes,;
STRING lpName
|
 |
 |
 |
| Parameters: |
 |
lpJobAttributes
[in] Pointer to a SECURITY_ATTRIBUTES structure, can be NULL.
lpName
[in] Pointer to a null-terminated string specifying the name of the job. If lpName is NULL, the job is created without a name. |
 |
 |
| Return value: |
 |
| If the function succeeds, the return value is a handle to the job object. |
 |
 |
| My comment: |
 |
| To assign a process to a job object, use the AssignProcessToJobObject function. To close a job object handle, use the CloseHandle function. |
 |
 |
| Word Index links for the CreateJobObject : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2005-07-28 18:41:34 | | Modified: | 2005-07-28 18:43:58 | Visited in last 7 days: 22 |