Tric_CancelAllStatusGet |
The Tric_CancelAllStatusGet function is used to cancel a request for all the status data of the specified printer.
short WINAPI Tric_RegistAllStatusGet( LPSTR lpszPrinterName, // a pointer to a printer name string ending with a NULL character (IN) HWND hWnd // a window handle that conveys the status information (IN) );
- lpszPrinterName
- a parameter to specify a pointer to a string for printer friendly name of the target printer. This string ends with a NULL character.
- hWnd
- a parameter to specify a window handle of the application that receives the WM_COPYDATA messages. The status monitor sends the WM_COPYDATA messages toward this window handle.
The function returns an error code.
The function is used to cancel "Tric_RegistAllStatusGet," a request for all the printer status data, to stop the transmission of WM_COPYDATA from the status monitor.
To request the status monitor for all the printer status data, execute "Tric_RegistAllStatusGet" on the application. At this moment, if there have been no requests for the status information from other applications, no WM_COPYDATA message will be sent from the status monitor.
index, Tric_RequestStatusNotify, Tric_RegistAllStatusGet, Error Code