IMAPITable::GetRowCount Method
Retrieves the total number of rows in a table.
Syntax
HRESULT GetRowCount(
ULONG ulFlags,
ULONG *lpulCount
);
Parameters
- ulFlags
ULONG Reserved. Must be set to 0. - lpulCount
ULONG Pointer to a variable of type ULONG that receives the number of rows in the table.
Return Value
HRESULT
The method can return one of the following values.
Return code | Description |
---|---|
S_OK | The operation completed successfully. |
MAPI_E_BUSY | Another operation is in progress that prevents the operation from starting. Either the operation in progress should be allowed to complete itself, or it should be stopped. |
MAPI_E_NO_SUPPORT | The object does not support the requested operation. |
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. |
Remarks
If the number of rows cannot be calculated, the method returns MAPI_E_NO_SUPPORT.
Requirements
Minimum supported client |
Windows 2000 Professional |
Minimum supported server |
Windows 2000 Server |
Product |
Internet Explorer 4.0 |
Header |
Wabdefs.h |
DLL |
Wab32.dll |
See Also
Send comments about this topic to Microsoft
Build date: 6/30/2010