GetDuplexEnabled

#include "BiTwain.h"

 

int CALLBACK GetDuplexEnabled (LPINT pEnable)

Description

This function retrieves whether the scanner is set to scan both sides of the paper or only one side.

Parameters

LPINT

pEnable

1: enabled, 0: disabled

Return values

Return TW_OK on success or an error code on failure.

Requirements

Header :     Declared in BiTwain.h; include BiTwain.h.

Library :    Use BiTwain.lib.

DLLs :       BiTwain.dll.