Contents Index Topic Contents | ||
Previous Topic: IABTable::GetLastError Next Topic: IABTable::GetStatus |
IABTable::GetRowCount
HRESULT GetRowCount( ULONG ulFlags, ULONG FAR *lpulCount );Returns the total number of rows in a table view.
- Returns one of the following values:
S_OK The row count was successfully returned. MAPI_E_BUSY Another operation is in progress that prevents the row count retrieval operation from starting. Either the operation in progress should be allowed to complete, or it should be stopped. MAPI_E_NO_SUPPORT The table cannot calculate the number of rows. MAPI_W_APPROX_COUNT The call succeeded, but an approximate row count was returned because the exact row count could not be determined, possibly due to memory constraints. To test for this warning, use the FAILED macro.
- ulFlags
- Reserved; must be zero.
- lpulCount
- Address of the number of rows in the table.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.