Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[SeekRowset is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]
Moves the current position within the rowset.
Syntax
HRESULT SeekRowset(
[in] HROWSET hRowset,
[in] SEEKROWSETTYPE tySeek,
[in] LONG cRows,
[out] LPROWORDINAL piRowNew
);
Parameters
-
hRowset [in]
-
Type: HROWSET
Specifies the Rowset that will be used.
-
tySeek [in]
-
Type: SEEKROWSETTYPE
Specifies how the current position will be moved.
-
cRows [in]
-
Type: LONG
Specifies how far to move the current position in the rowset. If SEEK_ROWSET_BEGIN or SEEK_ROWSET_END is specified, cRows will specify an offset from the beginning or the end of the rows in the set.
-
piRowNew [out]
-
Type: LPROWORDINAL
Optional. Will return the current position of the rowset. Counting starts at 1.
Return value
Type: HRESULT
Returns one of the following codes. Use the SUCCEEDED macro to determine whether the operation succeeded.
| Return code | Description |
|---|---|
|
The operation succeeded. |
|
Indicates there are no records in the Rowset. |
Requirements
| Minimum supported client |
Windows XP [desktop apps only] |
| Minimum supported server |
Windows Server 2003 [desktop apps only] |
| Product |
Outlook Express 6.0 |
| IDL |
|
| DLL |
|