OnFinalClose Method
Called during the execution of the Close method of a driver.
Syntax
Section titled “Syntax”virtual HRESULT OnFinalClose();Co<MainClass>.cpp
Co<RepCapClass>.cpp
Return value
Section titled “Return value”Returns S_OK if successful, otherwise a failure HRESULT.
Remarks
Section titled “Remarks”The OnFinalClose method can be used to perform driver-specific actions immediately after each client call to IIviDriver::Close. This function is called after the call to the IIviDriver::Close implementation. Repeated capability classes also have an OnFinalClose method that is called before the OnFinalClose of the main driver class.