GetAvailableScanModes

#include "BiTwain.h"

 

BOOL CALLBACK GetAvailableScanModes(    LPBYTE       pModes,
DWORD       bufSize,
LPDWORD  pNeeded)

Description

This function retrieves the available scanning modes of the scanner. If the pModes parameter is NULL or size is too small, the pNeeded parameter retrieves the size of the array required to store the available scanning modes.

Parameters

LPBYTE

pRes

This array will be contain the scanning modes.

DWORD

bufSize

Size of the pModes array.

LPDWORD

pNeeded

Size of the array to store all elements.

Return values

TRUE on success, otherwise FALSE.

Requirements

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

Library :    Use BiTwain.lib.

DLLs :       BiTwain.dll.