Glossary Item Box

ImageMan DLL Suite Version 8 Submit feedback on this topic   

ScanLowCloseJob

int IMAPI ScanLowCloseJob (hJob)

This low level function is called to free the resources allocated by a call to the ScanLowInitTwainJob function.

 

Parameter

Type

Description

hJob

HTWAINJOB

Handle to a TWAIN job returned from ScanLowInitTwainJob.

 

Return Value

The return value is SCAN_OK if the function completed successfully. If the function fails it will return SCAN_FAILED.

Example

#include  imtwain.h

HTWAINJOB hJob;

if( ScanIsTwainAvailable() ) {

hJob = ScanLowInitTwainJob( hWnd );

if( hJob ) {

// Ok to call other low level scanning functions

ScanLowCloseJob(hJob);

} else

// Scanning Failed!

}

 

 


Copyright 2008 Data Techniques, Inc. All Rights Reserved