This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Aug 12th, 2012  |  syntax: Java  |  size: 6.19 KB  |  views: 37  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. private native int CRTK_Init(int[] lphRTK);
  2.     private native int CRTK_Term(int hRTK);
  3.  
  4.     private native int CRTK_ScanCheckForCard(int hRTK);
  5.     private native int CRTK_ScanConfigure(int hRTK,int intOwner);
  6.     private native int CRTK_ScanAcquire(int hRTK,int dwTimeout);
  7.     private native int CRTK_ScanAcquireEx(int hRTK,int dwTimeout,int lpfnCallback,byte[] lpData);
  8.     private native int CRTK_ScanGetDeviceParam(int hRTK,String lpszParamName,String[] lpszBuf);
  9.     private native int CRTK_ScanSetDeviceParam(int hRTK,String lpszParamName,String lpszValue);
  10.     private native int CRTK_ScanCalibrate(int hRTK);
  11.  
  12.     private native int CRTK_ImageSave(int hRTK,String lpszFilename);
  13.     private native int CRTK_ImageLoad(int hRTK,String lpszFileame);
  14.     private native int CRTK_ImageExport(int hRTK,String lpszFormat,String lpszFilename);
  15.     private native int CRTK_ImageConvert(int hRTK,int lpfnCallback,byte[] lpData);
  16.     private native int CRTK_ImageConvertEx(int hRTK,int lpfnCallback,byte[] lpData,int dwFlags);
  17.     private native int CRTK_ImageDestroy(int hRTK);
  18.     private native int CRTK_ImageSet(int hRTK,int hDIB);
  19.     private native int CRTK_ImageGet(int hRTK,int[] lphDIB);
  20.  
  21.     private native int CRTK_GetCropRectangle(int hRTK,int[] lpdwLeft,int[] lpdwTop,
  22.                                                 int[] lpdwRight,int[] lpdwBottom);
  23.     private native int CRTK_GetSkewAngle(int hRTK,int[] lpdwSkewAngle);
  24.     private native int CRTK_GetRotateAngle(int hRTK,int[] lpdwRotateAngle);
  25.     private native int CRTK_Recognize(int hRTK,int lpfnCallback,byte[] data);
  26.     private native int CRTK_RecognizeEx(int hRTK,int lpfnCallback,byte[] data,int dwFlags);
  27.     private native int CRTK_GetText(int hRTK,String lpszFieldName,String[] lpszBuf);
  28.     private native int CRTK_GetTextEx(int hRTK,String lpszFieldName,String[] lpszBuf,int[] lpdwOCRIndex);
  29.     private native int CRTK_EnumText(int hRTK,String lpszFieldName,int dwIndex,String[] lpszBuf,
  30.                                         String[] lpszType);
  31.     private native int CRTK_EnumTextEx(int hRTK,String lpszFieldName,int dwIndex,String[] lpszBuf,
  32.                                         String[] lpszType,int[] lpdwOCRIndex);
  33.     private native int CRTK_EnumOCRText(int hRTK,int dwIndex,String[] lpszBuf,int[] lpdwLeft,
  34.                                         int[] lpdwTop,int[] lpdwRight,int[] lpdwBottom,int[] lpdwFont,
  35.                                         int[] lpdwPointSize);
  36.  
  37.     private native int CRTK_DBCreate(int hRTK,String lpszFilename,int[] lphRTKDB);
  38.     private native int CRTK_DBOpen(int hRTK,String lpszFilename,String lpszPassword,int[] lphRTKDB);
  39.     private native int CRTK_DBClose(int hRTKDB);
  40.     private native int CRTK_DBBeginUpdate(int hRTKDB);
  41.     private native int CRTK_DBCommitUpdate(int hRTKDB);
  42.     private native int CRTK_DBCommitUpdateEx(int hRTKDB,int[] lpdwRevision);
  43.     private native int CRTK_DBAbortUpdate(int hRTKDB);
  44.     private native int CRTK_DBGetRevisionNumber(int hRTKDB,int[] lpdwRevision);
  45.     private native int CRTK_DBGetGUID(int hRTKDB,String[] lpszBuf);
  46.     private native int CRTK_DBEnumCategories(int hRTKDB,int dwIndex,String[] lpszBuf);
  47.     private native int CRTK_DBEnumLabels(int hRTKDB,String lpszFieldName,int dwIndex,String[] lpszBuf);
  48.     private native int CRTK_DBEnumChanges(int hRTKDB,int dwStartRevision,int dwIndex,int[] lpdwRevision,
  49.                                             int[] lpdwID,int[] lpdwChangeType,String[] lpszChangeInfo);
  50.     private native int CRTK_DBGetNumberOfCards(int hRTKDB,int[] lpdwResult);
  51.     private native int CRTK_DBGetCard(int hRTKDB,int dwIndex,int[] lpdwID);
  52.     private native int CRTK_DBGetCardByGUID(int hRTKDB,String lpszGUID,int[] lpdwID);
  53.     private native int CRTK_DBGetCardGUID(int hRTKDB,int dwID,String[] lpszBuf);
  54.     private native int CRTK_DBGetValue(int hRTKDB,int dwID,String lpszFieldName,String[] lpszBuf);
  55.     private native int CRTK_DBEnumValue(int hRTKDB,int dwID,String lpszFieldName,int dwIndex,String[] lpszBuf,
  56.                                         String[] lpszLabel);
  57.     private native int CRTK_DBPutValue(int hRTKDB,int dwID,String lpszFieldName,String lpszValue);
  58.     private native int CRTK_DBQueryExists(int hRTKDB,int lpdwID,int[] dwIndex);
  59.     private native int CRTK_DBCreateCard(int hRTKDB,int[] lpdwID,int[] lpdwIndex);
  60.     private native int CRTK_DBCreateCardEx(int hRTKDB,String lpszGUID,int[] lpdwID,int[] lpdwIndex);
  61.     private native int CRTK_DBDeleteCard(int hRTKDB,int dwID);
  62.     private native int CRTK_DBGetNumberOfCategories(int hRTKDB,int[] lpdwResult);
  63.     private native int CRTK_DBGetCategory(int hRTKDB,int dwIndex,int[] lpdwID);
  64.     private native int CRTK_DBGetCategoryName(int hRTKDB,int dwID,String[] lpszBuf);
  65.     private native int CRTK_DBGetCategoryGUID(int hRTKDB,int dwID,String[] lpszBuf);
  66.     private native int CRTK_DBSetCategoryGUID(int hRTKDB,int dwID,String lpszGUID);
  67.     private native int CRTK_DBGetCategoryByName(int hRTKDB,String lpszName,int[] lpdwID);
  68.     private native int CRTK_DBGetCategoryByGUID(int hRTKDB,String lpszGUID,int[] lpdwID);
  69.     private native int CRTK_DBCreateCategory(int hRTKDB,String lpszName,String lpszGUID,
  70.                                              int[] lpdwID,int[] lpdwIndex);
  71.     private native int CRTK_DBDeleteCategory(int hRTKDB,int dwID);
  72.     private native int CRTK_DBRenameCategory(int hRTKDB,int dwID,String lpszName);
  73.     private native int CRTK_DBGetAccuCardStatus(int hRTKDB,int dwID,int[] lpdwStatus);
  74.     private native int CRTK_DBSetAccuCardStatus(int hRTKDB,int dwID,int dwStatus);
  75.     private native int CRTK_DBEnumAccuCardStatus(int hRTKDB,int dwIndex,int[] lpdwID,int[] lpdwStatus);
  76.     private native int CRTK_DBQueryHasImage(int hRTKDB,int dwID);
  77.     private native int CRTK_DBQueryHasImageEx(int hRTKDB,int dwID,int dwIndex);
  78.     private native int CRTK_DBGetImage(int hRTKDB,int dwID,int[] lphDIB);
  79.     private native int CRTK_DBGetImageEx(int hRTKDB,int dwID,int dwIndex,int[] lphDIB);
  80.     private native int CRTK_DBPutImage(int hRTKDB,int dwID,int dwIndex,int hDIB);
  81.     private native int CRTK_GetVersion(int[] lpdwMajor,int[] lpdwMinor);
  82.     private native int CRTK_GetErrorMessage(int dwErrorCode,String[] lpszMsg,String[] lpszRemedy);
clone this paste RAW Paste Data