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.
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.
 
                                      ♦