inline DBMEMOWNER CRBase::GetDBMemOwner(ULONG nCol);

Return Value

        DBMEMOWNER_CLIENTOWNED or DBMEMOWNER_PROVIDEROWNED.

Parameter

        [in] nCol:

                A column ordinal.

Remark

        Checks whether a consumer or a provider is responsible for freeing the allocated memory of the column nCol. For some of special data types, a consumer must free the allocated memory from a provider if a consumer is responsible. Otherwise, memory leaking happens. For details and how to avoid memory leaking, click here.

CRBase Class Overview & Class Members