Windows 3.1 Device Drivers (ddag31qh.hlp) (Table of Contents; Topic list)
InsertPQ
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
BOOL InsertPQ(hPQ, tag, key)
HPQ hPQ;
int tag;
int key;
 
The InsertPQ function inserts the key and its associated tag into the
priority queue.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
 
hPQ        Identifies a priority queue.
 
tag        Specifies a tag associated with the key.
 
key        Specifies a key.
 
Return Value
 
The return value is TRUE if the insertion is successful. Otherwise, it is
-1.
 
                                      ♦