⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 devart.odac.oracallclr.pas

📁 devent UniDAC 2.003 include sources
💻 PAS
📖 第 1 页 / 共 5 页
字号:
                             locp: pOCILobLocator): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCILobErase(svchp: pOCISvcCtx; errhp: pOCIError; locp: pOCILobLocator;
                    amount: pub4; offset: ub4): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCILobFileClose(svchp: pOCISvcCtx; errhp: pOCIError; filep: pOCILobLocator): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCILobFileExists(svchp: pOCISvcCtx; errhp: pOCIError; filep: pOCILobLocator;
                        var flag: tbool): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCILobFileGetName(envhp: pOCIEnv; errhp: pOCIError; const filep: pOCILobLocator;
                        dir_alias: IntPtr; d_length: pub2; filename: IntPtr; f_length: pub2): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCILobFileIsOpen(svchp: pOCISvcCtx; errhp: pOCIError; filep: pOCILobLocator;
                        var flag: tbool): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCILobFileOpen(svchp: pOCISvcCtx; errhp: pOCIError; filep: pOCILobLocator;
                      mode: ub1): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCILobFileSetName(envhp: pOCIEnv; errhp: pOCIError; filepp: ppOCILobLocator;
                         const dir_alias: IntPtr; d_length: ub2; const filename: IntPtr;
                         f_length: ub2): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCILobFlushBuffer(svchp: pOCISvcCtx; errhp: pOCIError; locp: pOCILobLocator;
                         flag: ub4): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCILobGetLength(svchp: pOCISvcCtx; errhp: pOCIError; locp: pOCILobLocator;
                       var lenp: ub4): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCILobIsEqual(envhp: pOCIEnv; const x: pOCILobLocator; const y: pOCILobLocator;
                     is_equal: pbool): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCILobLoadFromFile(svchp: pOCISvcCtx; errhp: pOCIError;
                          dst_locp: pOCILobLocator; src_locp: pOCILobLocator;
                          amount: ub4; dst_offset: ub4; src_offset: ub4): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCILobLocatorIsInit(envhp: pOCIEnv; errhp: pOCIError; const locp: pOCILobLocator;
                           var is_initialized: tbool): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCILobRead(svchp: pOCISvcCtx; errhp: pOCIError; locp: pOCILobLocator;
                  var amtp: ub4; offset: ub4; bufp: IntPtr; bufl: ub4; ctxp: IntPtr;
                  cbfp: IntPtr; csid: ub2; csfrm: ub1): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCILobRead2(svchp: pOCISvcCtx; errhp: pOCIError; locp: pOCILobLocator;
                  var byte_amtp: ub8; var char_amtp: ub8; offset: ub8; bufp: IntPtr; bufl: ub8;
                  piece: ub1; ctxp: IntPtr; cbfp: IntPtr; csid: ub2; csfrm: ub1): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCILobTrim(svchp: pOCISvcCtx; errhp: pOCIError; locp: pOCILobLocator;
                  newlen: ub4): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCILobWrite(svchp: pOCISvcCtx; errhp: pOCIError; locp: pOCILobLocator;
                    var amtp: ub4; offset: ub4; bufp: IntPtr; bufl: ub4; piece: ub1;
                    ctxp: IntPtr; cbfp: IntPtr; csid: ub2; csfrm: ub1): sword; external;

{ Objects supports }

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCICacheFlush(env: pOCIEnv; err: pOCIError; const svc: pOCISvcCtx;
                     context: IntPtr; get: TGetFlushRef; var ref: pOCIRef): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCICacheFree(env: pOCIEnv; err: pOCIError; const svc: pOCISvcCtx): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCICacheRefresh(env: pOCIEnv; err: pOCIError; const svc: pOCISvcCtx;
                       option: OCIRefreshOpt; context: IntPtr; get: TGetRefreshRef;
                       var ref: pOCIRef): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCICacheUnmark(env: pOCIEnv; err: pOCIError; const svc: pOCISvcCtx): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCICacheUnpin(env: pOCIEnv; err: pOCIError; const svc: pOCISvcCtx): sword; external;


  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCIObjectCopy(env: pOCIEnv; err: pOCIError; const svc: pOCISvcCtx;
                     source: IntPtr; null_source: IntPtr; target: IntPtr;
                     null_target: IntPtr; tdo: pOCIType; duration: OCIDuration;
                     option: ub1): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCIObjectExists(env: pOCIEnv; err: pOCIError; ins: IntPtr; var exist: tbool): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCIObjectFlush(env: pOCIEnv; err: pOCIError; pobject: IntPtr): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCIObjectFree(env: pOCIEnv; err: pOCIError; instance: IntPtr; flags: ub2): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCIObjectGetAttr(env: pOCIEnv; err: pOCIError; instance: IntPtr;
                        null_struct: IntPtr; tdo: pOCIType; namesp: IntPtr;
                        const lengths: pub4; const name_count: ub4; const indexes: pub4;
                        const index_count: ub4; attr_null_status: pOCIInd;
                        attr_null_structp: IntPtr; attr_valuep: IntPtr; attr_tdop: ppOCIType): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCIObjectGetInd(env: pOCIEnv; err: pOCIError; instance: IntPtr; null_structp: IntPtr): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCIObjectGetObjectRef(env: pOCIEnv; err: pOCIError; pobject: IntPtr;
                             object_ref: pOCIRef): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCIObjectGetProperty(env: pOCIEnv; err: pOCIError; const obj: IntPtr;
                            propertyId: OCIObjectPropId; prop: OCIObjectPropId; size: pub4): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCIObjectGetTypeRef(env: pOCIEnv; err: pOCIError; instance: IntPtr;
                           type_ref: pOCIRef): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCIObjectIsDirty(env: pOCIEnv; err: pOCIError; ins: IntPtr; var dirty: tbool): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCIObjectIsLocked(env: pOCIEnv; err: pOCIError; ins: IntPtr; var lock: tbool): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCIObjectLock(env: pOCIEnv; err: pOCIError; pobject: IntPtr): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCIObjectMarkDelete(env: pOCIEnv; err: pOCIError; instance: IntPtr): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCIObjectMarkDeleteByRef(env: pOCIEnv; err: pOCIError; object_ref: pOCIRef): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCIObjectMarkUpdate(env: pOCIEnv; err: pOCIError; pobject: IntPtr): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCIObjectNew(env: pOCIEnv; err: pOCIError; const svc: pOCISvcCtx;
                    typecode: OCITypeCode; tdo: pOCIType; table: IntPtr;
                    duration: OCIDuration; value: tbool; var instance: IntPtr): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCIObjectPin(env: pOCIEnv; err: pOCIError; object_ref: pOCIRef;
                    corhdl: pOCIComplexObject; pin_option: OCIPinOpt; pin_duration: OCIDuration;
                    lock_option: OCILockOpt; pobjectp: IntPtr): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCIObjectPinCountReset(env: pOCIEnv; err: pOCIError; pobject: IntPtr): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCIObjectPinTable(env: pOCIEnv; err: pOCIError; const svc: pOCISvcCtx;
                         const schema_name: IntPtr; s_n_length: ub4; const object_name: IntPtr;
                         o_n_length: ub4; not_used: IntPtr; pin_duration: OCIDuration;
                         var pobject: IntPtr): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCIObjectRefresh(env: pOCIEnv; err: pOCIError; pobject: IntPtr): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCIObjectSetAttr(env: pOCIEnv; err: pOCIError; instance: IntPtr;
                        null_struct: IntPtr; tdo: pOCIType; namesp: IntPtr;
                        const lengths: pub4; const name_count: ub4; const indexes: pub4;
                        const index_count: ub4; const null_status: OCIInd;
                        const attr_null_struct: IntPtr; const attr_value: IntPtr): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCIObjectUnmark(env: pOCIEnv; err: pOCIError; pobject: IntPtr): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCIObjectUnmarkByRef(env: pOCIEnv; err: pOCIError; ref: pOCIRef): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCIObjectUnpin(env: pOCIEnv; err: pOCIError; pobject: IntPtr): sword; external;

  //function OCITypeArrayByName
  //function OCITypeArrayByRef

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCITypeByName(env: pOCIEnv; err: pOCIError; const svc: pOCISvcCtx;
                     const schema_name: IntPtr; s_length: ub4; const type_name: IntPtr;
                     t_length: ub4; version_name: IntPtr; v_length: ub4;
                     pin_duration: OCIDuration; get_option: OCITypeGetOpt; var tdo: pOCIType): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCITypeByRef(env: pOCIEnv; err: pOCIError; const type_ref: pOCIRef;
                    pin_duration: OCIDuration; get_option: OCITypeGetOpt; tdo: pOCIType): sword; external;

{ OTS types }

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -