Shinya Kitaoka 810553
#pragma once
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#ifndef __TTWAIN_CAP_H__
Toshihiro Shimizu 890ddd
#define __TTWAIN_CAP_H__
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#include "ttwain.h"
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#ifdef __cplusplus
Toshihiro Shimizu 890ddd
extern "C" {
Toshihiro Shimizu 890ddd
#endif
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
/*---------------------------------------------------------------------------*/
Toshihiro Shimizu 890ddd
/*	      GET CAP							     */
Toshihiro Shimizu 890ddd
/*---------------------------------------------------------------------------*/
Shinya Kitaoka 120a6e
int TTWAIN_GetCap(TW_UINT16 cap_id, TW_UINT16 conType, void *data,
Shinya Kitaoka 120a6e
                  TUINT32 *cont_size);
Shinya Kitaoka 120a6e
int TTWAIN_GetCapCurrent(TW_UINT16 cap_id, TW_UINT16 conType, void *data,
Shinya Kitaoka 120a6e
                         TUINT32 *cont_size);
Toshihiro Shimizu 890ddd
int TTWAIN_GetCapQuery(TW_UINT16 cap_id, TW_UINT16 *pattern);
Shinya Kitaoka 120a6e
int TTWAIN_SetCap(TW_UINT16 cap_id, TW_UINT16 conType, TW_UINT16 itemType,
Shinya Kitaoka 120a6e
                  TW_UINT32 *value);
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#ifdef __cplusplus
Toshihiro Shimizu 890ddd
}
Toshihiro Shimizu 890ddd
#endif
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#endif