Changeset 2554 for trunk/src


Ignore:
Timestamp:
Jan 29, 2000, 11:42:38 AM (26 years ago)
Author:
sandervl
Message:

PD: Added GlobalWire/GlobalUnwire

Location:
trunk/src/kernel32
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/KERNEL32.DEF

    r2535 r2554  
    1 ; $Id: KERNEL32.DEF,v 1.66 2000-01-27 21:51:16 sandervl Exp $
     1; $Id: KERNEL32.DEF,v 1.67 2000-01-29 10:42:37 sandervl Exp $
    22
    33;Created by BLAST for IBM's compiler
     
    551551     GlobalReAlloc              = _GlobalReAlloc@12           @449
    552552     GlobalSize                 = _GlobalSize@4               @450
    553 ;    GlobalUnWire               = _GlobalUnWire@??            @451      ;obsolete
     553     GlobalUnWire               = _GlobalUnWire@4             @451      ;obsolete
    554554;    GlobalUnfix                = _GlobalUnfix@??             @452      ;obsolete
    555555     GlobalUnlock               = _GlobalUnlock@4             @453
    556 ;    GlobalWire                 = _GlobalWire@??              @454      ;obsolete
     556     GlobalWire                 = _GlobalWire@4               @454      ;obsolete
    557557;    Heap32First                = _Heap32First@??             @455      ;W95
    558558;    Heap32ListFirst            = _Heap32ListFirst@??         @456      ;W95
  • trunk/src/kernel32/heap.cpp

    r2032 r2554  
    1 /* $Id: heap.cpp,v 1.17 1999-12-09 00:52:20 sandervl Exp $ */
     1/* $Id: heap.cpp,v 1.18 2000-01-29 10:42:38 sandervl Exp $ */
    22
    33/*
     
    386386    return O32_GlobalUnlock(arg1);
    387387}
    388 //******************************************************************************
    389 //******************************************************************************
     388/***********************************************************************
     389 *           GlobalWire
     390 *
     391 * The GlobalWire function is obsolete. It is provided only for compatibility
     392 * with 16-bit versions of Windows. Applications that need to lock a global
     393 * memory object should use the GlobalLock and GlobalUnlock functions.
     394 *
     395 */
     396LPVOID WIN32API GlobalWire(HGLOBAL hmem)
     397{
     398   return GlobalLock( hmem );
     399}
     400
     401
     402/***********************************************************************
     403 *           GlobalUnWire
     404 *
     405 * The GlobalUnWire function is obsolete. It is provided only for compatibility
     406 * with 16-bit versions of Windows. Applications that need to lock a global
     407 * memory object should use the GlobalLock and GlobalUnlock functions.
     408 *
     409 */
     410BOOL WIN32API GlobalUnWire(HGLOBAL hmem)
     411{
     412   return GlobalUnlock( hmem);
     413}
     414//******************************************************************************
     415//******************************************************************************
Note: See TracChangeset for help on using the changeset viewer.