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}} | ||
− | |||
{{ToReview}} | {{ToReview}} | ||
− | + | Gets number of items with ''true'' values. | |
== Syntax == | == Syntax == | ||
Line 15: | Line 14: | ||
== Parameters == | == Parameters == | ||
;nStartPos | ;nStartPos | ||
− | :[in] | + | :[in] Starting position to look for set values. |
;nEndPos | ;nEndPos | ||
− | :[in] | + | :[in] Ending position to look for set values. |
;pCount | ;pCount | ||
− | :[out, retval] | + | :[out, retval] Number of set values between starting and ending position in the bit set. |
== Return Value == | == Return Value == |
Revision as of 06:38, 25 May 2015
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.