Rename all enums (yay), hopefully that makes them win32-friendly. Update samples