IsOperationSupported

#include "BiTwain.h"

 

int CALLBACK IsOperationSupported(DWORD dwCap, int iMsg)

Description

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

Parameters

DWORD

dwCap

ID of capability. For example ICAP_UNITS.

int

iMsg

MSG_GET, MSG_GETCURRENT, MSG_GETDEFAULT, MSG_SET, MSG_RESET

Return values

1 - if operation is supported

0 - if operation is not supported

-1 - on error

Requirements

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

Library :    Use BiTwain.lib.

DLLs :       BiTwain.dll.