Ignore:
Timestamp:
Aug 10, 2001, 9:28:47 PM (24 years ago)
Author:
sandervl
Message:

update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/oleaut32/safearray.c

    r4837 r6507  
    142142  ULONG  ulWholeArraySize;   /* to store the size of the whole thing */
    143143
     144  dprintf(("SafeArrayAllocData %x", psa));
     145
    144146  if(! validArg(psa))
    145147    return E_INVALIDARG;
     
    170172  HRESULT   hRes;
    171173  USHORT    cDim;
     174
     175  dprintf(("SafeArrayCreate %x %d %x", vt, cDims, rgsabound));
    172176
    173177  /* Validate supported VARTYPE */
     
    210214  SAFEARRAY *psa)
    211215{
     216  dprintf(("SafeArrayDestroyDescriptor %x", psa));
     217
    212218  /* Check for lockness before to free... */
    213219  if(psa->cLocks > 0)
     
    233239  SAFEARRAY *psa)
    234240{
     241  dprintf(("SafeArrayLock %x", psa));
     242
    235243  if(! validArg(psa))     
    236244    return E_INVALIDARG;
     
    248256  SAFEARRAY *psa)
    249257{
     258  dprintf(("SafeArrayUnlock %x", psa));
     259
    250260  if(! validArg(psa))
    251261    return E_INVALIDARG;
     
    271281  PVOID elementStorageAddress = NULL; /* Adress to store the data */
    272282  BSTR  pbstrReAllocStr     = NULL; /* BSTR reallocated */
     283
     284  dprintf(("SafeArrayPutElement %x %x %x", psa, rgIndices, pv));
    273285
    274286  /* Validate the index given */
     
    328340  PVOID elementStorageAddress = NULL; /* Adress to store the data */
    329341  BSTR  pbstrReturnedStr    = NULL; /* BSTR reallocated */
     342
     343  dprintf(("SafeArrayGetElement %x %x %x", psa, rgIndices, pv));
    330344
    331345  if(! validArg(psa))
     
    373387  LONG      *plUbound)
    374388{
     389
     390  dprintf(("SafeArrayGetUBound %x %x %x", psa, nDim, plUbound));
     391
    375392  if(! validArg(psa))   
    376393    return E_INVALIDARG;
     
    791808  /* Check whether the size of the chunk makes sense... That's the only thing
    792809     I can think of now... */
    793 
    794810  psaSize = HeapSize(GetProcessHeap(), 0, psa);
    795811  if (psaSize == -1)
Note: See TracChangeset for help on using the changeset viewer.