- Timestamp:
- Aug 10, 2001, 9:28:47 PM (24 years ago)
- Location:
- trunk/src/oleaut32
- Files:
-
- 1 added
- 11 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/oleaut32/safearray.c
r4837 r6507 142 142 ULONG ulWholeArraySize; /* to store the size of the whole thing */ 143 143 144 dprintf(("SafeArrayAllocData %x", psa)); 145 144 146 if(! validArg(psa)) 145 147 return E_INVALIDARG; … … 170 172 HRESULT hRes; 171 173 USHORT cDim; 174 175 dprintf(("SafeArrayCreate %x %d %x", vt, cDims, rgsabound)); 172 176 173 177 /* Validate supported VARTYPE */ … … 210 214 SAFEARRAY *psa) 211 215 { 216 dprintf(("SafeArrayDestroyDescriptor %x", psa)); 217 212 218 /* Check for lockness before to free... */ 213 219 if(psa->cLocks > 0) … … 233 239 SAFEARRAY *psa) 234 240 { 241 dprintf(("SafeArrayLock %x", psa)); 242 235 243 if(! validArg(psa)) 236 244 return E_INVALIDARG; … … 248 256 SAFEARRAY *psa) 249 257 { 258 dprintf(("SafeArrayUnlock %x", psa)); 259 250 260 if(! validArg(psa)) 251 261 return E_INVALIDARG; … … 271 281 PVOID elementStorageAddress = NULL; /* Adress to store the data */ 272 282 BSTR pbstrReAllocStr = NULL; /* BSTR reallocated */ 283 284 dprintf(("SafeArrayPutElement %x %x %x", psa, rgIndices, pv)); 273 285 274 286 /* Validate the index given */ … … 328 340 PVOID elementStorageAddress = NULL; /* Adress to store the data */ 329 341 BSTR pbstrReturnedStr = NULL; /* BSTR reallocated */ 342 343 dprintf(("SafeArrayGetElement %x %x %x", psa, rgIndices, pv)); 330 344 331 345 if(! validArg(psa)) … … 373 387 LONG *plUbound) 374 388 { 389 390 dprintf(("SafeArrayGetUBound %x %x %x", psa, nDim, plUbound)); 391 375 392 if(! validArg(psa)) 376 393 return E_INVALIDARG; … … 791 808 /* Check whether the size of the chunk makes sense... That's the only thing 792 809 I can think of now... */ 793 794 810 psaSize = HeapSize(GetProcessHeap(), 0, psa); 795 811 if (psaSize == -1) -
trunk/src/oleaut32/variant.c
r5840 r6507 48 48 49 49 DEFAULT_DEBUG_CHANNEL(ole); 50 51 #ifdef __WIN32OS2__52 #undef FIXME53 #undef TRACE54 #ifdef DEBUG55 #define FIXME WriteLogNoEOL("FIXME %s: ", __FUNCTION__); WriteLog56 #define TRACE WriteLogNoEOL("%s", __FUNCTION__); WriteLog57 #else58 #define FIXME 1 ? (void)0 : (void)((int (*)(char *, ...)) NULL)59 #define TRACE 1 ? (void)0 : (void)((int (*)(char *, ...)) NULL)60 #endif61 #endif62 50 63 51 #ifndef FLT_MAX
Note:
See TracChangeset
for help on using the changeset viewer.