ADsBuildVarArrayStr

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
);
 

Parameters

lppPathNames
[in] Array of Unicode strings.
dwPathNames
[in] Number of Unicode entries in the given array.
pVar
[out] Pointer to the resulting VARIANT array of values.

Return Values

This method supports the standard return values E_FAIL and E_UNEXPECTED, as well as the following:

S_OK
The array has been built successfully.

QuickInfo

  Windows NT: Use version 4.0 and later.
  Windows CE: Unsupported.

See Also

ADsBuildVarArrayInt