The new Code Inspection feature is great!
I found a minor bug with the quick fix for "auto":
LPWSTR* strAttributes = (LPWSTR*)(AllocADsMem(sizeof(LPWSTR)*numAttributes));
is fixed like this:
auto* strAttributes = (LPWSTR*)(AllocADsMem(sizeof(LPWSTR)*numAttributes));
Obviously, the * should be part of the replacement as well.