IBitSet::GetNumberOfSet Method

From Tracker Software PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
 
Line 7: Line 7:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT GetNumberOfSet([in]          ULONG  StartPos,
+
<pre class="brush:cpp;gutter:false">HRESULT GetNumberOfSet([in]          ULONG  nStartPos,
                       [in]          ULONG  EndPos,
+
                       [in]          ULONG  nEndPos,
                       [out, retval]  ULONG*  Count);</pre>
+
                       [out, retval]  ULONG*  nCount);</pre>
  
 
== Parameters ==
 
== Parameters ==
;StartPos
+
;nStartPos
 
:[in]  Starting position to look for the set values.
 
:[in]  Starting position to look for the set values.
;EndPos
+
;nEndPos
 
:[in]  Ending position to look for the set values.
 
:[in]  Ending position to look for the set values.
;Count
+
;nCount
 
:[out, retval]  Number of set values, between the starting and ending position, in the bit-set.
 
:[out, retval]  Number of set values, between the starting and ending position, in the bit-set.
  

Latest revision as of 03:12, 15 June 2015

Gets the number of items set to a true value.

Syntax

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

Parameters

nStartPos
[in] Starting position to look for the set values.
nEndPos
[in] Ending position to look for the set values.
nCount
[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