Skip to content

CancelStatusBack

Description

Unregisters the callback function which was called by SetStatusBackFunction or SetStatusBackWnd.

Syntax

  
    INT CancelStatusBack( 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

    • This API succeeds even when registration has not been performed by either SetStatusBackFunction or SetStatusBackWnd.