IRangeException::GetClosedRangeEnd
Gets the upper bound of the range of item IDs to exclude.
HRESULT GetClosedRangeEnd(
BYTE * pbClosedRangeEnd,
DWORD * pcbIdSize);
Parameters
- pbClosedRangeEnd
[in, out, unique, size_is(*pcbIdSize)] Returns the upper bound of the range of item IDs to exclude.
- pcbIdSize
[in, out] Specifies the number of bytes in pbClosedRangeEnd. Returns the number of bytes required to retrieve the ID when pbClosedRangeEnd is too small, or returns the number of bytes written.
Return Value
S_OK
E_INVALIDARG
HRESULT_FROM_WIN32(ERROR_MORE_DATA) when pbClosedRangeEnd is too small. In this case, the required number of bytes is returned in pcbIdSize.