CloseMonPrinter¶
Description
Ends using the Win32 API.
Syntax
INT CloseMonPrinter( INT i_hdl )
Parameter
i_hdl
API handle
Specify the API handle retrieved by OpenMonPrinter.
Return value
On success: Returns 0. On failure: Returns an error code. See "Error Code List" for details of the error code.
Remarks
- When the API handle specified by this API is being used in another API, control of this API does not return until the processing is completed.
- All settings and data that have been associated with the API handle are discarded by this API.