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

📄 devart.odac.oracallclr.pas

📁 devent UniDAC 2.003 include sources
💻 PAS
📖 第 1 页 / 共 5 页
字号:
                     pgvpp: IntPtr; pvszsp: pub4; indpp: IntPtr; indszp: pub4): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCIBreak(hndlp: pOCIHandle; errhp: pOCIError): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCIDefineArrayOfStruct(defnp: pOCIDefine; errhp: pOCIError;
                              pvskip: ub4; indskip: ub4; rlskip: ub4; rcskip: ub4): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCIDefineByPos(stmtp: pOCIStmt; var defnpp: pOCIDefine; errhp: pOCIError;
                      position: ub4; valuep: IntPtr; value_sz: sb4; dty: ub2;
                      indp: IntPtr; rlenp: pub2; rcodep: pub2; mode: ub4): sword; external;


  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCIDefineDynamic(defnp: pOCIDefine; errhp: pOCIError; octxp: IntPtr;
                        ocbfp: IntPtr): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCIDefineObject(defnp: pOCIDefine; errhp: pOCIError; const otype: pOCIType;
                        pgvpp: IntPtr; pvszsp: pub4; indpp: IntPtr; indszp: pub4): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCIDescribeAny(svchp: pOCISvcCtx; errhp: pOCIError; objptr: IntPtr;
                      objnm_len: ub4; objptr_typ: ub1; info_level: ub1; objtyp: ub1;  // WAR objtyp: ub1
                      dschp: pOCIDescribe): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCIDescriptorAlloc(parenth: IntPtr; var descpp: pOCIDescriptor;
                          dtype: ub4; xtramem_sz: tsize; usrmempp: IntPtr): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCIDescriptorFree(descp: pOCIDescriptor; dtype: ub4): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCIEnvInit(var envhpp: pOCIEnv; mode: ub4; xtramemsz: tsize;
                  usrmempp: IntPtr): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCIErrorGet(hndlp: pOCIHandle; recordno: ub4; sqlstate: IntPtr;
                   var errcodep: sb4; bufp: IntPtr; bufsiz: ub4; htype: ub4 ): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCIHandleAlloc(parenth: IntPtr; var hndlpp: pOCIHandle; htype: ub4;
                      xtramem_sz: tsize; usrmempp: IntPtr): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCIHandleFree(hndlp: pOCIHandle; htype: ub4): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCIInitialize(mode: ub4; ctxp: IntPtr; malocfp: IntPtr;
                     ralocfp: IntPtr; mfreefp: IntPtr): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCILdaToSvcCtx(var svchpp: pOCISvcCtx; errhp: pOCIError; ldap: IntPtr): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCIParamGet(hndlp: pOCIHandle; htype: ub4; errhp: pOCIError;
                   var parmdpp: pOCIParam; pos: ub4): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCIPasswordChange(svchp: pOCISvcCtx; errhp: pOCIError; const user_name: IntPtr;
                         usernm_len: ub4; const opasswd: IntPtr; opasswd_len: ub4;
                         const npasswd: IntPtr; npasswd_len: sb4; mode: ub4): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCIServerAttach(srvhp: pOCIServer; errhp: pOCIError; dblink: IntPtr;
                       dblink_len: sb4; mode: ub4): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCIServerDetach(srvhp: pOCIServer; errhp: pOCIError; mode: ub4): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCIServerVersion(hndlp: IntPtr; errhp: pOCIError; bufp: IntPtr; bufsz: ub4; hndltype: ub1): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCISessionBegin(svchp: pOCISvcCtx; errhp: pOCIError; usrhp: pOCISession;
                       credt: ub4; mode: ub4): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCISessionEnd(svchp: pOCISvcCtx; errhp: pOCIError; usrhp: pOCISession;
                     mode: ub4): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCISessionGet(envhp: pOCIEnv; errhp: pOCIError; var svchp: pOCISvcCtx;
                     authhp: pOCIAuthInfo; poolName: IntPtr; poolName_len: ub4;
                     tagInfo: IntPtr; tagInfo_len: ub4; var retTagInfo: IntPtr;
                     var retTagInfo_len: ub4; var found: longbool; mode: ub4): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCISessionRelease(svchp: pOCISvcCtx; errhp: pOCIError; tag: IntPtr;
                         tag_len: ub4; mode: ub4): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCISessionPoolCreate(envhp: pOCIEnv; errhp: pOCIError; spoolhp: pOCISpool;
                            var poolName: IntPtr; var poolNameLen: ub4; connStr: IntPtr; connStrLen: ub4;
                            sessMin: ub4; sessMax: ub4; sessIncr: ub4; userid: IntPtr; useridLen: ub4;
                            password: IntPtr; passwordLen: ub4; mode: ub4): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCISessionPoolDestroy(spoolhp: pOCISPool; errhp: pOCIError;
                             mode: ub4): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCITransStart(svchp: pOCISvcCtx; errhp: pOCIError; timeout: word;
                     flags: ub4): sword; external;

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

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

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

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

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

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCIStmtExecute(svchp: pOCISvcCtx; stmtp: pOCIStmt; errhp: pOCIError;
                      iters: ub4; rowoff: ub4; snap_in: pOCISnapshot; snap_out: pOCISnapshot;
                      mode: ub4): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCIStmtFetch(stmtp: pOCIStmt; errhp: pOCIError; nrows: ub4; orientation: ub2;
                     mode: ub4): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCIStmtGetPieceInfo(stmtp: pOCIStmt; errhp: pOCIError; var hndlpp: pOCIHandle;
                           htypep: pub4; in_outp: pub1; iterp: pub4; idxp: pub4;
                           piecep: pub1): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCIStmtPrepare(stmtp: pOCIStmt; errhp: pOCIError; stmt: IntPtr;
                      stmt_len: ub4; language: ub4; mode: ub4): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCIStmtPrepare2(svchp: pOCISvcCtx; var stmtp: pOCIStmt; errhp: pOCIError;
                      stmt: IntPtr; stmt_len: ub4; key: IntPtr; key_len: ub4; language: ub4;
                      mode: ub4): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCIStmtRelease(stmtp: pOCIStmt; errhp: pOCIError; key: IntPtr; key_len: ub4;
                      mode: ub4): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCIStmtSetPieceInfo(hndlp: pOCIHandle; htype: ub4; errhp: pOCIError;
                           const bufp: IntPtr; alenp: pub4; piece: ub1;
                           const indp: IntPtr; rcodep: pub2): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCISvcCtxToLda(srvhp: pOCISvcCtx; errhp: pOCIError; ldap: IntPtr): sword; external;

{ LOB supports }

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

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCILobAssign(envhp: pOCIEnv; errhp: pOCIError;
                     const src_locp: pOCILobLocator; var dst_locpp: pOCILobLocator): sword; external;


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

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCILobCharSetId(envhp: pOCIEnv; errhp: pOCIError;
                        const locp: pOCILobLocator; csid: pub2): sword; external;

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCILobCopy(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 OCILobCreateTemporary(svchp: pOCISvcCtx; errhp: pOCIError; locp: pOCILobLocator;
                    csid: ub2; csfrm: ub1; lobtype: ub1; cache: tbool; duration: OCIDuration): sword; external;

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

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCILobIsTemporary(envhp: pOCIEnv; errhp: pOCIError; locp: pOCILobLocator;
                    var is_temporary: LongBool): sword; external;

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

  [DllImport(OCIDLL, CharSet = CharSet.Ansi, SetLastError = True, CallingConvention=CallingConvention.Cdecl)]
  function OCILobEnableBuffering(svchp: pOCISvcCtx; errhp: pOCIError;

⌨️ 快捷键说明

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