Windows allocates a percent of each drive for the Recycle Bin and not a mximum size as you are looking for.
That percent is set by right-clicking on Recycle Bin, choosing Properties, setting the percentage, and clicking on OK.
It is possible to do that programatically.
obislavu