IsCapabilitySupported

#include "BiTwain.h"

 

int CALLBACK IsCapabilitySupported(DWORD dwCap, LPINT lpiRet)

Description

This function retrieves whether the specified capability supported or not by the scanner.

Parameters

DWORD

dwCap

ID of capability. For example ICAP_UNITS.

LPINT

lpiRet

1 - if capability is supported

0 - if capability is not supported

-1 - on error

Return values

1 - if capability is supported

0 - if capability is not supported

-1 - on error

Requirements

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

Library :    Use BiTwain.lib.

DLLs :       BiTwain.dll.