1 2 3 #include "ttwain_utilPD.h" 4 #include "ttwain.h" 5 6 #ifdef __cplusplus 7 extern "C" { 8 #endif 9 GLOBAL_LOCK(TW_HANDLE S)10TW_HANDLE GLOBAL_LOCK(TW_HANDLE S) { 11 HLock(S); 12 return (TW_HANDLE)*S; 13 } 14 TTWAIN_Native2RasterPD(void * handle,void * the_ras,int * lx,int * ly)15int TTWAIN_Native2RasterPD(void *handle, void *the_ras, int *lx, int *ly) { 16 return 0; 17 } 18 19 #ifdef __cplusplus 20 } 21 #endif 22