Builds a VARIANT array from an array of Unicode strings.
HRESULT ADsBuildVarArrayStr(
LPWSTR *lppPathNames, //Array of Unicode strings
DWORD dwPathNames, //Number of entries
VARIANT * pVar //Resulting variant array
);
This method supports the standard return values E_FAIL and E_UNEXPECTED, as well as the following:
Windows NT: Use version 4.0 and later.
Windows CE: Unsupported.