Ignore:
Timestamp:
Mar 19, 2000, 4:35:32 PM (25 years ago)
Author:
davidr
Message:

Ported changes from wine/corel sources

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/ole32/hglobalstream.cpp

    r1033 r3167  
    1 /* $Id: hglobalstream.cpp,v 1.1 1999-09-24 21:49:43 davidr Exp $ */
     1/* $Id: hglobalstream.cpp,v 1.2 2000-03-19 15:33:06 davidr Exp $ */
    22/*
    33 *  HGLOBAL Stream implementation functions.
     
    2626struct HGLOBALStreamImpl
    2727{
    28   ICOM_VTABLE(IStream) *lpvtbl;  /* Needs to be the first item in the stuct
     28  ICOM_VFIELD(IStream);  /* Needs to be the first item in the stuct
    2929                                  * since we want to cast this in a IStream pointer */
    3030 
     
    200200   * Verify that the stream object was created with CreateStreamOnHGlobal.
    201201   */
    202   if (pStream->lpvtbl == &HGLOBALStreamImpl_Vtbl)
     202  if (ICOM_VTBL(pStream) == &HGLOBALStreamImpl_Vtbl)
    203203    *phglobal = pStream->supportHandle;
    204204  else
     
    236236     * Set-up the virtual function table and reference count.
    237237     */
    238     newStream->lpvtbl = &HGLOBALStreamImpl_Vtbl;
     238    ICOM_VTBL(newStream) = &HGLOBALStreamImpl_Vtbl;
    239239    newStream->ref    = 0;
    240240   
Note: See TracChangeset for help on using the changeset viewer.