public OciEnvironmentHandle (OciEnvironmentMode mode)
: base (OciHandleType.Environment, null, IntPtr.Zero)
{
- int status = 0;
IntPtr newHandle = IntPtr.Zero;
- status = OCIEnvCreate (out newHandle,
+ OciCalls.OCIEnvCreate (out newHandle,
mode,
IntPtr.Zero,
IntPtr.Zero,
#region Methods
- [DllImport ("oci")]
- static extern int OCIEnvCreate (out IntPtr envhpp,
- [MarshalAs (UnmanagedType.U4)] OciEnvironmentMode mode,
- IntPtr ctxp,
- IntPtr malocfp,
- IntPtr ralocfp,
- IntPtr mfreep,
- int xtramem_sz,
- IntPtr usrmempp);
-
public OciErrorInfo HandleError ()
{
int errbufSize = 512;
info.ErrorCode = 0;
info.ErrorMessage = String.Empty;
- OciGlue.OCIErrorGet (handle,
+ OciCalls.OCIErrorGet (Handle,
1,
IntPtr.Zero,
out info.ErrorCode,