IBitSet::GetNumberOfSet Method

From Tracker Software PDF SDK
Revision as of 07:38, 25 May 2015 by Palamar (Talk | contribs)

Jump to: navigation, search


Gets number of items with true values.

Syntax

HRESULT GetNumberOfSet([in]           ULONG   nStartPos,
                       [in]           ULONG   nEndPos,
                       [out, retval]  ULONG*  pCount);

Parameters

nStartPos
[in] Starting position to look for set values.
nEndPos
[in] Ending position to look for set values.
pCount
[out, retval] Number of set values between starting and ending position in the bit set.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

IBitSet