IRowPosition::Initialize

OLE DB Programmer's Reference

Initializes the row position object by setting the source rowset.

HRESULT Initialize (    IUnknown *   pRowset);

Parameters

pRowset
[in]
Pointer to an interface on the source rowset.

Return Code

S_OK
The method succeeded.
E_FAIL
A provider-specific error occurred.
E_INVALIDARG
pRowset was a null pointer.
E_NOINTERFACE
pRowset does not support the IRowset interface.
DB_E_ALREADYINITIALIZED
The row position object has already been initialized.
E_UNEXPECTED
ITransaction::Commit or ITransaction::Abort was called, and the object is in a zombie state.

1998-2001 Microsoft Corporation. All rights reserved.



Microsoft Ole Db 2.0 Programmer's Reference and Data Access SDK
Microsoft OLE DB 2.0 Programmers Reference and Data Access SDK (Microsoft Professional Editions)
ISBN: 0735605904
EAN: 2147483647
Year: 1998
Pages: 1083

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net