IBitSet::GetNumberOfSet Method

From PDF XChange PDF SDK
Jump to: navigation, search
Line 18: Line 18:
 
:[in]  Ending position to look for the set values.
 
:[in]  Ending position to look for the set values.
 
;pCount
 
;pCount
:[out, retval]  Number of set values, between the starting and ending position, in the bitset.
+
:[out, retval]  Number of set values, between the starting and ending position, in the bit-set.
  
 
== Return Value ==
 
== Return Value ==

Revision as of 11:10, 28 May 2015


Gets the number of items set to a true value.

Syntax

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

Parameters

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

Return Value

Returns S_OK if the operation was successful, otherwise an error code is returned.

See Also

IBitSet