Skip to content

Latest commit

 

History

History
63 lines (42 loc) · 1.73 KB

File metadata and controls

63 lines (42 loc) · 1.73 KB
description Learn more about: IRowsetIdentityImpl Class
title IRowsetIdentityImpl Class
ms.date 11/04/2016
f1_keywords
ATL::IRowsetIdentityImpl
ATL.IRowsetIdentityImpl
IRowsetIdentityImpl
IRowsetIdentityImpl.IsSameRow
ATL.IRowsetIdentityImpl.IsSameRow
IRowsetIdentityImpl::IsSameRow
ATL::IRowsetIdentityImpl::IsSameRow
helpviewer_keywords
IRowsetIdentityImpl class
IsSameRow method
ms.assetid 56821edf-e045-40c8-96bd-231552cd5799

IRowsetIdentityImpl Class

Implements the OLE DB IRowsetIdentity interface, which enables testing for row identity.

Syntax

template <class T, class RowClass = CSimpleRow>
class ATL_NO_VTABLE IRowsetIdentityImpl
   : public IRowsetIdentity

Parameters

T
A class derived from IRowsetIdentityImpl.

RowClass
The storage unit for the HROW.

Requirements

Header: atldb.h

Members

Methods

Name Description
IsSameRow Compares two row handles to see if they refer to the same row.

IRowsetIdentityImpl::IsSameRow

Compares two row handles to see if they refer to the same row.

Syntax

STDMETHOD(IsSameRow )(HROW hThisRow,
   HROW hThatRow);

Parameters

See IRowsetIdentity::IsSameRow in the OLE DB Programmer's Reference.

Remarks

To compare row handles, this method casts the HROW handles to RowClass members and calls memcmp on the pointers.

See also

OLE DB Provider Templates
OLE DB Provider Template Architecture