Changeset 3167 for trunk/src/ole32/hglobalstream.cpp
- Timestamp:
- Mar 19, 2000, 4:35:32 PM (25 years ago)
- 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:43davidr Exp $ */1 /* $Id: hglobalstream.cpp,v 1.2 2000-03-19 15:33:06 davidr Exp $ */ 2 2 /* 3 3 * HGLOBAL Stream implementation functions. … … 26 26 struct HGLOBALStreamImpl 27 27 { 28 ICOM_V TABLE(IStream) *lpvtbl; /* Needs to be the first item in the stuct28 ICOM_VFIELD(IStream); /* Needs to be the first item in the stuct 29 29 * since we want to cast this in a IStream pointer */ 30 30 … … 200 200 * Verify that the stream object was created with CreateStreamOnHGlobal. 201 201 */ 202 if ( pStream->lpvtbl== &HGLOBALStreamImpl_Vtbl)202 if (ICOM_VTBL(pStream) == &HGLOBALStreamImpl_Vtbl) 203 203 *phglobal = pStream->supportHandle; 204 204 else … … 236 236 * Set-up the virtual function table and reference count. 237 237 */ 238 newStream->lpvtbl= &HGLOBALStreamImpl_Vtbl;238 ICOM_VTBL(newStream) = &HGLOBALStreamImpl_Vtbl; 239 239 newStream->ref = 0; 240 240
Note:
See TracChangeset
for help on using the changeset viewer.