Menu

#789 GlobalDiscard incorrectly declared

closed-fixed
nobody
2014-09-26
2005-06-14
David Golub
No

GlobalDiscard is declared in WINBASE.H as function.
This is incorrect; GlobalDiscard is not exported from
any DLL (and never was, not even in Windows 3.1 and
earlier). It should be declared as a macro:

#define GlobalDiscard(hMem) GlobalReAlloc(hMem, 0,
GMEM_MOVEABLE)

Discussion

  • Danny Smith

    Danny Smith - 2005-06-18

    Logged In: YES
    user_id=11494

    Thanks.
    Fixed in CVS
    Danny

     
  • Danny Smith

    Danny Smith - 2005-06-18
    • status: open --> closed-fixed