IBitSet::GetNumberOfSet Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
Line 3: | Line 3: | ||
{{#customTitle:IBitSet::GetNumberOfSet Method}} | {{#customTitle:IBitSet::GetNumberOfSet Method}} | ||
{{#parentPage:PXV:IBitSet#Methods|GetNumberOfSet|method}} | {{#parentPage:PXV:IBitSet#Methods|GetNumberOfSet|method}} | ||
− | |||
Gets the number of items set to a ''true'' value. | Gets the number of items set to a ''true'' value. | ||
Line 10: | Line 9: | ||
<pre class="brush:cpp;gutter:false">HRESULT GetNumberOfSet([in] ULONG nStartPos, | <pre class="brush:cpp;gutter:false">HRESULT GetNumberOfSet([in] ULONG nStartPos, | ||
[in] ULONG nEndPos, | [in] ULONG nEndPos, | ||
− | [out, retval] ULONG* | + | [out, retval] ULONG* nCount);</pre> |
== Parameters == | == Parameters == | ||
Line 17: | Line 16: | ||
;nEndPos | ;nEndPos | ||
:[in] Ending position to look for the set values. | :[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. | :[out, retval] Number of set values, between the starting and ending position, in the bit-set. | ||
Revision as of 01:04, 4 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.