IBitSet::GetNumberOfSet Method

From Tracker Software PDF SDK
Jump to: navigation, search
Line 3: Line 3:
 
{{#customTitle:IBitSet::GetNumberOfSet Method}}
 
{{#customTitle:IBitSet::GetNumberOfSet Method}}
 
{{#parentPage:PXV:IBitSet#Methods|GetNumberOfSet|method}}
 
{{#parentPage:PXV:IBitSet#Methods|GetNumberOfSet|method}}
{{ToReview}}
+
{{}}
  
Gets number of items with ''true'' values.
+
Gets the number of items set to a ''true'' value.
  
 
== Syntax ==
 
== Syntax ==
Line 14: Line 14:
 
== Parameters ==
 
== Parameters ==
 
;nStartPos
 
;nStartPos
:[in]  Starting position to look for set values.
+
:[in]  Starting position to look for the set values.
 
;nEndPos
 
;nEndPos
:[in]  Ending position to look for set values.
+
:[in]  Ending position to look for the set values.
 
;pCount
 
;pCount
:[out, retval]  Number of set values between starting and ending position in the bit set.
+
:[out, retval]  Number of set values between the starting and ending position in the bit set.
  
 
== Return Value ==
 
== Return Value ==
Returns S_OK if operation was successful or error code in other cases.
+
Returns S_OK if the operation was successful otherwise an error code is returned.
  
 
== See Also ==
 
== See Also ==
 
[[PXV:IBitSet|IBitSet]]
 
[[PXV:IBitSet|IBitSet]]

Revision as of 14:06, 26 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