Hi List, During a quick IDL inspection, I've noticed that GetRowCount was in fact QueryPosition in MS specifications. This function returns a fractional position of the cursor in the table (with Numerator and Denominator).
Semantically, the Denominator remains the total number of rows in the
table (unfiltered, filtered, restricted) and updates in your code should
look like:
Before r747:
retval = GetRowCount(&obj_table, &count);
After r746:
retval = QueryPosition(&obj_table, &Numerator, &Denominator);
You will find the same value in Denominator with QueryPosition than you
previously had in count with GetRowCount. Furthermore if you are not
interested in retrieving the Numerator of the fractional position, you
just need to set it to NULL. Similar behavior (while pointless) is
available for Denominator parameter.
retval = QueryPosition(&obj_table, NULL, &Denominator);
retval = QueryPosition(&obj_table, &Numerator, NULL);
Cheers,
Julien.
--
Julien Kerihuel
[EMAIL PROTECTED]
OpenChange Project Manager
GPG Fingerprint: 0B55 783D A781 6329 108A B609 7EF6 FE11 A35F 1F79
signature.asc
Description: This is a digitally signed message part
_______________________________________________ devel mailing list [email protected] http://mailman.openchange.org/listinfo/devel
