GlobalLRUNewest

2.x

  HGLOBAL GlobalLRUNewest(hglb)    
  HGLOBAL hglb; /* handle of memory object to move */

The GlobalLRUNewest function moves a global memory object to the newest least-recently-used (LRU) position in memory. This greatly reduces the likelihood that the object will be discarded soon, but does not prevent the object from eventually being discarded.

Parameters

hglb

Identifies the global memory object to be moved.

Return Value

The return value is NULL if the hglb parameter is not a valid handle.

Comments

The GlobalLRUNewest function is useful only if the given object is discardable.

See Also

GlobalLRUOldest