Ignore:
Timestamp:
Jun 9, 2002, 6:37:22 PM (23 years ago)
Author:
sandervl
Message:

Resync with latest Wine

File:
1 edited

Legend:

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

    r8441 r8620  
    4343{
    4444  /*
    45    * Needs to be the first item in the stuct 
     45   * Needs to be the first item in the stuct
    4646   * since we want to cast this in an ILockBytes pointer
    4747   */
     
    206206  HGLOBALLockBytesImpl* newLockBytes;
    207207  newLockBytes = HeapAlloc(GetProcessHeap(), 0, sizeof(HGLOBALLockBytesImpl));
    208  
     208
    209209  if (newLockBytes!=0)
    210210  {
     
    214214    ICOM_VTBL(newLockBytes) = &HGLOBALLockBytesImpl_Vtbl;
    215215    newLockBytes->ref    = 0;
    216  
     216
    217217    /*
    218218     * Initialize the support.
     
    312312  HGLOBALLockBytesImpl_AddRef(iface);
    313313
    314   return S_OK;;
     314  return S_OK;
    315315}
    316316
     
    416416   * The function returns S_OK if the specified number of bytes were read
    417417   * or the end of the array was reached.
    418    * It returns STG_E_READFAULT if the number of bytes to read does not equal 
     418   * It returns STG_E_READFAULT if the number of bytes to read does not equal
    419419   * the number of bytes actually read.
    420420   */
     
    521521  if (libNewSize.s.HighPart != 0)
    522522    return STG_E_INVALIDFUNCTION;
    523  
     523
    524524  if (This->byteArraySize.s.LowPart == libNewSize.s.LowPart)
    525525    return S_OK;
     
    536536
    537537  This->byteArraySize.s.LowPart = libNewSize.s.LowPart;
    538  
     538
    539539  return S_OK;
    540540}
Note: See TracChangeset for help on using the changeset viewer.