mmserv/tms/tmsimpl/src/tmsmembuffer.cpp
changeset 28 ebf79c79991a
parent 20 b67dd1fc57c5
equal deleted inserted replaced
25:6f7ceef7b1d1 28:ebf79c79991a
    59     TRACE_PRN_FN_ENT;
    59     TRACE_PRN_FN_ENT;
    60     TMSMemBuffer* self = new TMSMemBuffer();
    60     TMSMemBuffer* self = new TMSMemBuffer();
    61     if (self)
    61     if (self)
    62         {
    62         {
    63         self->iDataPtr = dataptr;
    63         self->iDataPtr = dataptr;
       
    64         self->iOwnsBuffer = FALSE;
       
    65         self->iBufferSize = size;
    64         ret = TMS_RESULT_SUCCESS;
    66         ret = TMS_RESULT_SUCCESS;
    65         }
    67         }
    66     self->iOwnsBuffer = FALSE;
       
    67     self->iBufferSize = size;
       
    68     tmsbuffer = self;
    68     tmsbuffer = self;
    69     TRACE_PRN_FN_EXT;
    69     TRACE_PRN_FN_EXT;
    70     return ret;
    70     return ret;
    71     }
    71     }
    72 
    72