示例#1
0
        public OciEnvironmentHandle(OciEnvironmentMode mode)
            : base(OciHandleType.Environment, null, IntPtr.Zero)
        {
            IntPtr newHandle = IntPtr.Zero;

            OciCalls.OCIEnvCreate(out newHandle,
                                  mode,
                                  IntPtr.Zero,
                                  IntPtr.Zero,
                                  IntPtr.Zero,
                                  IntPtr.Zero,
                                  0,
                                  IntPtr.Zero);

            SetHandle(newHandle);
        }