#include "BiTwain.h"
int CALLBACK SetCapabilityOneStrValue(DWORD dwCap, int iMsg, LPSTR szValue)
Description
This function specifies the value of the capability. You should use this function if the capability container type is TWON_ONEVALUE and type of the value is string.
Parameters
|
DWORD |
dwCap |
Capability ID. For example ICAP_XRESOLUTION. |
|
Int |
IMsg |
MSG_SET or MSG_RESET |
|
LPSTR |
szValue |
Value of the capability to set. |
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.