inline ULONG* CRBase::GetStatusPtr(ULONG nCol);

Return Value

        A pointer to a status data.

Parameter

        [in] nCol:

                A column ordinal.

Remark

        Gets a pointer to buffer containing a status data. If either the column nCol is discarded or its DBPART is not set with DBPART_STATUS by calling CRBase::SetDBPart, a NULL value is always returned; otherwise the returned pointer will point to a buffer with a status data set from a provider.

        As long as neither CRBase::SetDataType nor CRBase::SetDBPart is called, the returned pointer itself will not be changed but the pointed status value may be changed.

CRBase Class Overview & Class Members