IBM Books

Image, Audio, and Video Extenders Administration and Programming

QbQueryCreate


Image Audio Video
X    

Creates a query object and returns a handle. You can use the handle with other APIs to manipulate the query object.

Authorization

None.

Library file
OS/2 and Windows AIX, HP-UX, and Solaris
dmbqqry.lib libdmbqqry.a (AIX)

libdmbqqry.sl (HP-UX)

libdmbqqry.so (Solaris)

Include file

dmbqbapi.h

Syntax

SQLRETURN QbQueryCreate(
      QbQueryHandle *qObj
      );

Parameters

qObj (out)
A pointer to the query handle. If unsuccessful, this handle is set to 0.

Error codes

qbiECallocation
The system cannot allocate enough memory.

Examples

Create a query object and return the handle in qoHandle:

#include <dmbqbapi.h>
 
rc = QbQueryCreate(&qoHandle);


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]