Ejemplo n.º 1
0
        public void Query(
            ServiceParameterBuffer spb,
            int requestLength,
            byte[] requestBuffer,
            int bufferLength,
            byte[] buffer)
        {
            int[] statusVector = FesConnection.GetNewStatusVector();
            int   svcHandle    = this.Handle;
            int   reserved     = 0;

            FbClient.isc_service_query(
                statusVector,
                ref svcHandle,
                ref reserved,
                (short)spb.Length,
                spb.ToArray(),
                (short)requestLength,
                requestBuffer,
                (short)buffer.Length,
                buffer);

            // Parse status	vector
            this.ParseStatusVector(statusVector);
        }