## Printer Device Driver

[prev][next][parent][TOC]

### QueryDefDrivFromQue

If a pointer to a DRIVDATA is invalid, this function queries the current queue for the current DRIVDATA.

A DRIVDATA is considered invalid if the pointer is NULL or if the size is smaller then the DRIVDATA size of OS/2 version 1.3. In either case, the DRIVDATA from the queue is queried.

Memory is allocated to a return pointer and the queue's DRIVDATA is copied.