Ignore:
Timestamp:
Sep 15, 2001, 11:32:00 AM (24 years ago)
Author:
sandervl
Message:

restored old version + wine update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/ole32/memlockbytes.c

    r6648 r6711  
    1 /* $Id: memlockbytes.c,v 1.2 2001-09-05 13:17:10 bird Exp $ */
    21/******************************************************************************
    32 *
     
    2625{
    2726  /*
    28    * Needs to be the first item in the stuct
     27   * Needs to be the first item in the stuct 
    2928   * since we want to cast this in an ILockBytes pointer
    3029   */
     
    189188  HGLOBALLockBytesImpl* newLockBytes;
    190189  newLockBytes = HeapAlloc(GetProcessHeap(), 0, sizeof(HGLOBALLockBytesImpl));
    191 
     190 
    192191  if (newLockBytes!=0)
    193192  {
     
    197196    ICOM_VTBL(newLockBytes) = &HGLOBALLockBytesImpl_Vtbl;
    198197    newLockBytes->ref    = 0;
    199 
     198 
    200199    /*
    201200     * Initialize the support.
     
    399398   * The function returns S_OK if the specified number of bytes were read
    400399   * or the end of the array was reached.
    401    * It returns STG_E_READFAULT if the number of bytes to read does not equal
     400   * It returns STG_E_READFAULT if the number of bytes to read does not equal 
    402401   * the number of bytes actually read.
    403402   */
     
    504503  if (libNewSize.s.HighPart != 0)
    505504    return STG_E_INVALIDFUNCTION;
    506 
     505 
    507506  if (This->byteArraySize.s.LowPart == libNewSize.s.LowPart)
    508507    return S_OK;
     
    519518
    520519  This->byteArraySize.s.LowPart = libNewSize.s.LowPart;
    521 
     520 
    522521  return S_OK;
    523522}
Note: See TracChangeset for help on using the changeset viewer.