"Aric Stewart" aric@codeweavers.com wrote:
Here are 2 patches, the first is resending my handing of -1 in EnumClassesOfCategories, the second patch is a test case for the first patch.
It would be interesting to see how other negative values are supposed to be handled, and if it's only -1 which has a special meaning.
The parameter is a ULONG and the documentation states that -1 is a special value. so i assume that other negative values would be interpreted as their corresponding ULONG positive value causing the api to expect a very large number of classes or categories to match against.
-aric
Dmitry Timoshkov wrote:
"Aric Stewart" aric@codeweavers.com wrote:
Here are 2 patches, the first is resending my handing of -1 in EnumClassesOfCategories, the second patch is a test case for the first patch.
It would be interesting to see how other negative values are supposed to be handled, and if it's only -1 which has a special meaning.