SetCapabilityNumArray

#include "BiTwain.h"

 

int CALLBACK SetCapabilityNumArray(DWORD dwCap, double* pdValue, DWORD cbBuf, LPDWORD)

Description

This function specifies the values of the capability. You should use this function if the capability container type is TWON_ARRAY and type of the value is numeric.

Parameters

DWORD

dwCap

Capability ID. For example CAP_SUPPORTEDCAPS.

double*

pdValue

This parameter stores the values of capability array as doubles to set.

DWORD

cbBuf

Number of itmes in pdValue.

Return values

Returns TW_OK on success, otherwise the error code.

Requirements

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

Library :    Use BiTwain.lib.

DLLs :       BiTwain.dll.