withQueryInfo : AnyPtr -> Int32 -> (AnyPtr -> IO a) -> IO (Either OracleError a)
Acquire a dpiQueryInfo structure, execute an action, and guarantee cleanup.