Update for Ubuntu 18.04 and above
New installations of recent versions of Ubuntu does not use a separate swap partition any more. They use a swap file by default.
Ubuntu needs at least two partitions to work well. One is called the root partition denoted by
/ and is formatted
ext4 and the other is called
Swap with its own format. Windows does not understand these formats.
So you can't use Windows to create these partitions.
What to do?
The partition you created in Windows is not suitable for Ubuntu. Delete the 100GB partition you have created and leave the space unallocated.
When you install Ubuntu, it will find the unallocated space and create the partitions it needs automatically. The
Swap will be a small partition (2-4 GB) used as virtual RAM and the rest of 100GB will be
See How do I install Ubuntu alongside a pre-installed Windows with UEFI?
and Ubuntu installation on Windows7 with D partition for more details.
Hope this helps