Mercurial > dwindows
comparison os2/dw.c @ 1152:58b5374355ab
Added print jobname parameter to dw_print_new().
If parameter is NULL a dummy name will be used.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Mon, 12 Sep 2011 19:26:49 +0000 |
parents | 0c073534d722 |
children | f86f556ff29d |
comparison
equal
deleted
inserted
replaced
1151:641aa6941b2a | 1152:58b5374355ab |
---|---|
10063 } | 10063 } |
10064 | 10064 |
10065 /* | 10065 /* |
10066 * Creates a new print object. | 10066 * Creates a new print object. |
10067 * Parameters: | 10067 * Parameters: |
10068 * jobname: Name of the print job to show in the queue. | |
10068 * flags: Flags to initially configure the print object. | 10069 * flags: Flags to initially configure the print object. |
10069 * pages: Number of pages to print. | 10070 * pages: Number of pages to print. |
10070 * drawfunc: The pointer to the function to be used as the callback. | 10071 * drawfunc: The pointer to the function to be used as the callback. |
10071 * drawdata: User data to be passed to the handler function. | 10072 * drawdata: User data to be passed to the handler function. |
10072 * Returns: | 10073 * Returns: |
10073 * A handle to the print object or NULL on failure. | 10074 * A handle to the print object or NULL on failure. |
10074 */ | 10075 */ |
10075 HPRINT API dw_print_new(unsigned long flags, unsigned int pages, void *drawfunc, void *drawdata) | 10076 HPRINT API dw_print_new(char *jobname, unsigned long flags, unsigned int pages, void *drawfunc, void *drawdata) |
10076 { | 10077 { |
10077 return NULL; | 10078 return NULL; |
10078 } | 10079 } |
10079 | 10080 |
10080 /* | 10081 /* |