tahoma2d/toonz/sources/common/twain/ttwain_capability.h

28 lines
754 B
C
Raw Normal View History

2016-05-17 03:04:11 +12:00
#pragma once
2016-03-19 06:57:51 +13:00
#ifndef __TTWAIN_CAP_H__
#define __TTWAIN_CAP_H__
#include "ttwain.h"
#ifdef __cplusplus
extern "C" {
#endif
/*---------------------------------------------------------------------------*/
/* GET CAP */
/*---------------------------------------------------------------------------*/
2016-06-15 18:43:10 +12:00
int TTWAIN_GetCap(TW_UINT16 cap_id, TW_UINT16 conType, void *data,
TUINT32 *cont_size);
int TTWAIN_GetCapCurrent(TW_UINT16 cap_id, TW_UINT16 conType, void *data,
TUINT32 *cont_size);
2016-03-19 06:57:51 +13:00
int TTWAIN_GetCapQuery(TW_UINT16 cap_id, TW_UINT16 *pattern);
2016-06-15 18:43:10 +12:00
int TTWAIN_SetCap(TW_UINT16 cap_id, TW_UINT16 conType, TW_UINT16 itemType,
TW_UINT32 *value);
2016-03-19 06:57:51 +13:00
#ifdef __cplusplus
}
#endif
#endif