[PATCH] shell32: IShellDispatch_NameSpace: Special-folder argument shouldn't be negative.

Octavian Voicu octavian.voicu at gmail.com
Thu Nov 3 18:45:08 CDT 2011

On Thu, Nov 3, 2011 at 8:00 PM, Christian Inci
<chris.pcguy.inci at gmail.com> wrote:
> But my C is a bit rusty, so I don't know a clean way to enumerating an enum.

You cannot enumerate an enum. An enum is just a way to define a bunch
of related constants. If you don't set explicit values, they will get
consecutive values (first one being 0); otherwise, the range for the
constants might not be sequential.

You can use a for loop starting from first enum value to last enum
value, or you can put all the enum values in an array and loop over
the array.


More information about the wine-devel mailing list