GetAvailableResX

#include "BiTwain.h"

 

BOOL CALLBACK GetAvailableResX(    int*               pRes,
DWORD      bufSize,
LPDWORD pNeeded)

Description

This function retrieves the available horizontal resolution values of the scanner. If the pRes parameter is NULL or the size is too small, the pNeeded parameter retrieves the size of the array required to store the available horizontal resolution values.

Parameters

LPBYTE

pRes

This array will be contain the resolution values.

DWORD

bufSize

Size of the pRes 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.