AFAIK the normal PathFileExists and SHCreateDirectoryEx APIs should work.