Windows 3.1 Device Drivers (ddag31qh.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
GDI Priority Queues
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
The GDI library provides the priority-queue data type that is used with
device-specific fonts to sort output strings into the correct order on the
page. Priority queues are accessed through a two-byte value, known as the
key. Each key can also have two bytes of associates information, called a
tag.
 
The following lists the priority-queue functions, and provides a brief
description of each.
 
Function   Description
────────────────────────────────────────────────────────────────────────────
CreatePQ   Creates a priority queue.
 
DeletePQ   Deletes a priority queue.
 
InsertPQ   Inserts a key in a priority queue.
 
MinPQ      Returns the tag having the smallest key in the queue.
 
SizePQ     Sets the size of the priority queue.
 
ExtractPQ  Extracts a key from a priority queue.
 
 
                                      ♦