ExtractPQ

  int ExtractPQ(hPQ)    
  HPQ hPQ;    

The ExtractPQ function returns the tag associated with the key having the smallest value in the priority queue and removes the key from the queue.

Parameter

hPQ

Identifies a priority queue.

Return Value

The return value is a tag associated with the key in the priority queue.