1 #pragma once
2 
3 #ifndef __TTWAIN_CAP_H__
4 #define __TTWAIN_CAP_H__
5 
6 #include "ttwain.h"
7 
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11 
12 /*---------------------------------------------------------------------------*/
13 /*	      GET CAP							     */
14 /*---------------------------------------------------------------------------*/
15 int TTWAIN_GetCap(TW_UINT16 cap_id, TW_UINT16 conType, void *data,
16                   TUINT32 *cont_size);
17 int TTWAIN_GetCapCurrent(TW_UINT16 cap_id, TW_UINT16 conType, void *data,
18                          TUINT32 *cont_size);
19 int TTWAIN_GetCapQuery(TW_UINT16 cap_id, TW_UINT16 *pattern);
20 int TTWAIN_SetCap(TW_UINT16 cap_id, TW_UINT16 conType, TW_UINT16 itemType,
21                   TW_UINT32 *value);
22 
23 #ifdef __cplusplus
24 }
25 #endif
26 
27 #endif
28