I know that for regular path I can use the MAX_PATH constant to create a string long enough to hold a path. However, how about UNC paths?
According to MSDN, I understand they can be up to 32,767 characters, so is there a constant defined for that? If not, is there any other way to create a string long enough for such paths? I know I can just hard-code it, but would like to avoid this, if possible.
I’m not sure this exists. If you look on the same page but a bit further down, you can see: