Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
The SetAbortProc function sets the application-defined abort function that allows a print job to be canceled during spooling.
Syntax
int SetAbortProc(
[in] HDC hdc,
[in] ABORTPROC proc
);
Parameters
[in] hdc
Handle to the device context for the print job.
[in] proc
Pointer to the application-defined abort function. For more information about the callback function, see the AbortProc callback function.
Return value
If the function succeeds, the return value is greater than zero.
If the function fails, the return value is SP_ERROR.
Remarks
Examples
For an example, see How to Collect Print Job Information from the User.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 2000 Professional [desktop apps only] |
| Minimum supported server | Windows 2000 Server [desktop apps only] |
| Target Platform | Windows |
| Header | wingdi.h (include Windows.h) |
| Library | Gdi32.lib |
| DLL | Gdi32.dll |