static internal extern int OCISessionBegin
 (
     HandleRef svchp,
     HandleRef errhp,
     HandleRef usrhp,
     OCI.CRED credt,
     OCI.MODE mode
 );
Esempio n. 2
0
 internal static void Trace(string fmtPrintfW, OciHandle a1, OciHandle a2, OciHandle a3, OCI.CRED a4, int a5)
 {
     if (((modFlags & ApiGroup.Trace) != ApiGroup.Off) && (modID != NoData))
     {
         NativeMethods.Trace(modID, UIntPtr.Zero, UIntPtr.Zero, fmtPrintfW, OciHandle.HandleValueToTrace(a1), OciHandle.HandleValueToTrace(a2), OciHandle.HandleValueToTrace(a3), a4.ToString(), a5);
     }
 }
Esempio n. 3
0
        internal static int OCISessionBegin(OciHandle svchp, OciHandle errhp, OciHandle usrhp, OCI.CRED credt, OCI.MODE mode)
        {
            if (Bid.AdvancedOn)
            {
                Bid.Trace("<oc.OCISessionBegin|ADV|OCI>         svchp=0x%-07Ix errhp=0x%-07Ix usrhp=0x%-07Ix credt=%ls mode=0x%x{OCI.MODE}\n", svchp, errhp, usrhp, credt, (int)mode);
            }
            int num = System.Data.Common.UnsafeNativeMethods.OCISessionBegin(svchp, errhp, usrhp, credt, mode);

            if (Bid.AdvancedOn)
            {
                Bid.Trace("<oc.OCISessionBegin|ADV|OCI|RET>     rc=%d\n", num);
            }
            return(num);
        }
Esempio n. 4
0
 internal static extern int OCISessionBegin(OciHandle svchp, OciHandle errhp, OciHandle usrhp, [In, MarshalAs(UnmanagedType.U4)] OCI.CRED credt, [In, MarshalAs(UnmanagedType.U4)] OCI.MODE mode);